/* ===== SERVIÇOS | PÁGINA ===== */

.services-page{
  width: 100%;
}

/* ===== HERO SERVIÇOS ===== */

.services-hero{
  padding: 90px 0 70px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.services-hero--light{
  background: #fef9f5;
}

/* textos no hero claro */
.services-hero--light .services-hero__eyebrow{
  color: var(--brand);
}

.services-hero--light .services-hero__title{
  color: #000;
}

.services-hero--light .services-hero__text{
  color: #333;
}

.services-hero--light .services-hero__chip{
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.12);
}

.services-hero--light .services-hero__chip:hover{
  border-color: var(--brand);
}


.services-hero__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.services-hero__eyebrow{
  display: inline-block;
  color: var(--brand);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.services-hero__title{
  margin: 0 0 14px;
  color: var(--text);
  font-weight: 900;
  line-height: 1.08;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.02em;
}

.services-hero__text{
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  max-width: 720px;
}

.services-hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* chips/âncoras */
.services-hero__nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-content: flex-start;
  padding-top: 10px;
}

.services-hero__chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;

  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  font-size: 13px;

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.services-hero__chip:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(204,0,0,.35);
}

/* ===== SEÇÕES DE SERVIÇO (ALTERNADAS) ===== */

.service-block{
  padding: 90px 0;
}

.service-block--dark{
  background: var(--bg);
}

.service-block--light{
  background: #fef9f5;
}

.service-block__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

/* imagem esquerda/direita (sem gambiarra) */
.service-block__grid--image-left{
  grid-template-areas: "media content";
}
.service-block__grid--image-right{
  grid-template-areas: "content media";
}

.service-block__media{ grid-area: media; }
.service-block__content{ grid-area: content; }

.service-block__content{
  max-width: 560px;
}

.service-block__kicker{
  display: inline-block;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* títulos/textos */
.service-block__title{
  margin: 0 0 12px;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  line-height: 1.1;
}

.service-block__text{
  margin: 0 0 16px;
  line-height: 1.75;
  font-size: 16px;
}

.service-block__bullets{
  margin: 0 0 22px;
  padding-left: 18px;
  line-height: 1.7;
}

.service-block__bullets li{
  margin-bottom: 10px;
}

.service-block__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* cores por fundo */
.service-block--dark .service-block__kicker{ color: var(--brand); }
.service-block--dark .service-block__title{ color: var(--text); }
.service-block--dark .service-block__text,
.service-block--dark .service-block__bullets{ color: var(--muted); }

.service-block--light .service-block__kicker{ color: var(--brand); }
.service-block--light .service-block__title{ color: #000; }
.service-block--light .service-block__text,
.service-block--light .service-block__bullets{ color: #222; }

/* ===== IMAGEM + OVERLAY NOS BLOCOS ESCUROS ===== */

.service-block__media{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  width: 100%;
  height: 100%;              /* 🔴 ESSENCIAL */
  min-height: 400px;         /* ajuste conforme seu layout */

}

.service-block--light .service-block__media{
  border: 1px solid rgba(0,0,0,.08);
}

.service-block__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease;
}

.service-block__media:hover img{
  transform: scale(1.06);
}

/* overlay leve só nos blocos escuros */
.service-block__media--overlay::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.55)),
    radial-gradient(700px 380px at 20% 20%, rgba(204,0,0,.16), transparent 60%);
  pointer-events: none;
}

/* ===== MICRO-ANIMAÇÃO AO SCROLL (fallback + enhanced) ===== */

/* fallback: animação suave ao carregar (não depende de JS) */
.service-block,
.services-cta__box,
.services-hero__content,
.services-hero__nav{
  animation: fadeUp .6s ease both;
}

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* enhanced: quando suportado, anima ao entrar na viewport */
@supports (animation-timeline: view()){
  .service-block__grid,
  .services-cta__box{
    animation: fadeUp .7s ease both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
  }
}

/* ===== CTA FINAL DA PÁGINA ===== */

.services-cta{
  background: #fef9f5;
  padding: 90px 0 110px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.services-cta__box{
  background: #fff;
  border-radius: 22px;
  padding: 26px 22px;

  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.10);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.services-cta__title{
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
}

.services-cta__text{
  margin: 0;
  color: #222;
  line-height: 1.7;
  max-width: 680px;
}

.services-cta__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Botão outline escuro (para fundos claros) ===== */
.btn--outline-dark{
  background: transparent;
  color: #111;
  border: 1px solid rgba(0,0,0,.18);
}

.btn--outline-dark:hover{
  background: rgba(0,0,0,.04);
}

/* ===== RESPONSIVO ===== */

@media (max-width: 980px){
  .services-hero__grid{
    grid-template-columns: 1fr;
  }

  .service-block{
    padding: 64px 0;
  }

  .service-block__grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content";
  }

  .service-block__content{
    max-width: 100%;
  }

  .services-cta__box{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px){
  .services-hero{
    padding: 70px 0 50px;
  }

  .service-block__media{
    min-height: 260px;
  }
}
