﻿/* ==================================================
   SERVIÇOS - BASE
================================================== */
body.services-page {
  background: #05050a;
  color: #ffffff;
}

/* ==================================================
   HERO / GRID
================================================== */
.services-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 120px;
  overflow: hidden;
}

.services-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.78), rgba(5, 5, 10, 0.88)),
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 45%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.18), transparent 45%),
    url("img/back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
  z-index: 0;
}

.services-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.services-title {
  font-size: 2.8rem;
  line-height: 1.08;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.services-title span {
  background: linear-gradient(90deg, #a3e635, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-subtitle {
  max-width: 820px;
  margin: 0 auto 50px;
  color: #cbd5f5;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  text-align: left;
}

/* ==================================================
   CARD
================================================== */
.service-card {
  position: relative;
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;

  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at top left, rgba(163, 230, 53, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(163, 230, 53, 0.35);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #a3e635, #22c55e);
  color: #05230f;
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.55);
}

.service-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(5, 35, 15, 0.35));
}

.service-title {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.service-text {
  position: relative;
  z-index: 1;
  color: #cbd5f5;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #a3e635;
  color: #06140d;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(163, 230, 53, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(163, 230, 53, 0.45);
  filter: brightness(1.05);
}

/* ==================================================
   REVEAL
================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   RESPONSIVO
================================================== */
@media (max-width: 1024px) {
  .services-title {
    font-size: 2.3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 120px 0 90px;
  }

  .services-title {
    font-size: 2rem;
  }

  .services-subtitle {
    margin-bottom: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }
}
