/* =========================================================
   Studio Daiana Duarte - Pilates & Fisioterapia
   CSS "vanilla", mobile-first, sem dependencia de build.
   ========================================================= */

:root {
  --verde-profundo: #405A4A;
  --verde-salvia: #81947F;
  --verde-salvia-texto: #5F6E5A; /* variante escurecida de verde-salvia, usada em texto/icones para atingir contraste WCAG AA (4.5:1+) sobre fundos claros */
  --areia: #D4C1A5;
  --bege-claro: #E9DED0;
  --off-white: #F7F3EC;

  --texto: #33413A;
  --texto-claro: #56605A; /* escurecido para garantir contraste AA (4.5:1+) sobre off-white/branco */
  --branco: #FFFFFF;

  --fonte-titulo: 'Fraunces', Georgia, serif;
  --fonte-corpo: 'Jost', 'Segoe UI', Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --sombra: 0 10px 30px rgba(64, 90, 74, 0.12);
  --sombra-sm: 0 2px 8px rgba(64, 90, 74, 0.08);   /* cards de conteudo secundario */
  --sombra-md: 0 8px 20px rgba(64, 90, 74, 0.10);  /* citacao, destaques */
  --sombra-lg: 0 16px 40px rgba(64, 90, 74, 0.14); /* fotografia real */
  --borda-sutil: 1px solid rgba(64, 90, 74, 0.12);

  --container-max: 1180px;
}

/* ---------- Reset basico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* overflow-x:clip (nao hidden): hidden faz o overflow-y computado virar
   "auto" automaticamente (spec CSS, quando so um eixo e definido) - com
   body tambem tendo position:relative (para a textura de grao,
   body::before, mais abaixo), body passava a se qualificar como
   ancestral com mecanismo de scroll para o position:sticky do header
   (.site-header), que ai nunca "gruda" de verdade (body nao rola
   sozinho, so cresce com o conteudo) - o header saia de tela junto com
   o resto da pagina. clip corta o overflow horizontal sem acoplar o
   eixo vertical nem criar contexto de scroll nos descendentes - mesmo
   efeito de conter o menu mobile off-canvas (transform:translateX) e o
   skip-link (left:-999px), sem quebrar o sticky. Precisa ficar em
   sincronia com o mesmo bloco no CSS critico inline de index.php. */
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--fonte-corpo);
  color: var(--texto);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); color: var(--verde-profundo); margin: 0 0 0.6em; line-height: 1.2; font-weight: 600; }
h1 { font-weight: 700; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* *::before/*::after explicitos: o seletor universal * sozinho nao
     alcanca conteudo gerado (spec), entao blobs decorativos animados
     via ::before/::after (Hero, Experiencia, Heroi, Vilao, Falsas
     Solucoes, Virada, Fechamento etc.) nao paravam com reduced-motion
     sem isso (achado real, auditoria qa-performance 2026-09-21). */
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Foco acessivel (WCAG 2.4.11) ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--verde-profundo);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--verde-profundo);
  color: var(--branco);
  padding: 0.8em 1.2em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Layout util ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }

/* Compensa o header sticky ao navegar por link/ancora */
#hero, #experiencia, #absolvicao, #vilao, #falsas-solucoes, #como-funciona,
#sobre, #estudio, #planos, #oferta, #evidencia, #custo, #faq, #agendar {
  scroll-margin-top: 90px;
}

/* Seguranca contra overflow em itens de grid/flex com texto longo */
.hero-grid > *, .virada-grid > *, .heroi-grid > *, .oferta-grid > *,
.evidencia-grid > *, .footer-inner > *, .evidencia-col > * {
  min-width: 0;
}

.eyebrow {
  font-family: var(--fonte-corpo);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--texto);
  background: var(--areia);
  display: inline-block;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin: 0 0 0.9em;
  /* Em telas bem estreitas (320px) o texto mais longo (Experiencia)
     quebra em 2 linhas dentro do selo em pilula - balance evita que
     uma linha fique cheia e a outra com so 1 palavra "sobrando". Nao
     tem efeito quando o texto cabe em 1 linha (maioria dos casos). */
  text-wrap: balance;
}
/* display:block (sobrescrevendo o inline-block de .eyebrow) e necessario
   aqui: margin:auto so centraliza elementos block-level - em
   inline-block, os margins auto viram 0 e o selo fica "preso" na
   esquerda mesmo com width:fit-content (bug encontrado em revisao de
   alinhamento: o selo so parecia centralizado em telas estreitas,
   porque ali o texto ja ocupa a largura toda do container). */
.eyebrow-center { display: block; text-align: center; width: fit-content; margin-left: auto; margin-right: auto; }

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  max-width: 46rem;
}
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title.light { color: var(--off-white); }

.section-lead {
  font-size: 1.08rem;
  color: var(--texto);
  max-width: 42rem;
}
.section-lead.center { text-align: left; margin: 0 auto 1.2em; }
.section-lead.light { color: var(--bege-claro); }

.section-closing {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--verde-profundo);
  max-width: 40rem;
  margin: 2rem auto 0;
}
.section-closing.center { text-align: left; }

/* ---------- Botoes ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  min-height: 44px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  /* Auditoria de layout: alguns CTAs com texto mais longo (ex.
     ".planos-cta") quebram em 2 linhas em telas bem estreitas (~320-
     375px). Sem balance, a quebra as vezes deixa 1 palavra sozinha na
     2a linha (ex. so "Meu"); com balance, as 2 linhas ficam com largura
     parecida. So tem efeito quando o texto realmente quebra - botoes
     que cabem em 1 linha (maioria) ficam identicos. */
  text-wrap: balance;
}
.btn-primary {
  background: var(--verde-profundo);
  color: var(--branco);
}
.btn-primary:hover { background: #34493c; transform: translateY(-1px); box-shadow: var(--sombra); }
.btn-secondary {
  background: var(--areia);
  color: #37503F; /* ajuste so nesse par de cores para atingir contraste WCAG AA (~5,02:1 sobre --areia, min. exigido 4.5:1); nao altera --verde-profundo global */
}
.btn-secondary:hover { background: var(--bege-claro); transform: translateY(-1px); box-shadow: var(--sombra); }
.btn-lg { padding: 1.05em 2.1em; font-size: 1.05rem; }

.microcopy {
  font-size: 0.88rem;
  color: var(--texto-claro);
  margin-top: 0.8em;
  max-width: 30rem;
}

/* =========================================================
   SCROLL REVEAL (fade + slide sutil, acessivel)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); will-change: auto; }

  .reveal-group > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
  }
  .reveal-group.is-visible > * { opacity: 1; transform: translateY(0); will-change: auto; }
  /* Bug conhecido (PLANO-MOTION.md secao 6, item 11): stagger so ia ate o
     5o filho, insuficiente para Galeria (9 itens) e FAQ (6 itens).
     Estendido ate o 12o filho para dar folga a mudancas futuras de
     contagem, sem depender de GSAP so para isso. */
  .reveal-group.is-visible > *:nth-child(2)  { transition-delay: 0.08s; }
  .reveal-group.is-visible > *:nth-child(3)  { transition-delay: 0.16s; }
  .reveal-group.is-visible > *:nth-child(4)  { transition-delay: 0.24s; }
  .reveal-group.is-visible > *:nth-child(5)  { transition-delay: 0.32s; }
  .reveal-group.is-visible > *:nth-child(6)  { transition-delay: 0.40s; }
  .reveal-group.is-visible > *:nth-child(7)  { transition-delay: 0.48s; }
  .reveal-group.is-visible > *:nth-child(8)  { transition-delay: 0.56s; }
  .reveal-group.is-visible > *:nth-child(9)  { transition-delay: 0.64s; }
  .reveal-group.is-visible > *:nth-child(10) { transition-delay: 0.72s; }
  .reveal-group.is-visible > *:nth-child(11) { transition-delay: 0.80s; }
  .reveal-group.is-visible > *:nth-child(12) { transition-delay: 0.88s; }

  /* Quote-card (Absolvicao) entra com leve "assentamento" (scale) alem
     do fade/slide padrao do .reveal - especificidade maior que .reveal
     sozinho, entao sobrescreve so o transform. */
  .quote-card.reveal { transform: translateY(24px) scale(0.97); }
  .quote-card.reveal.is-visible { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes heroReveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* Correcao de LCP (auditoria qa-performance): H1 e hero-media sao os
     2 maiores candidatos a Largest Contentful Paint da pagina. Um
     opacity:0 inicial + animation-delay os mantinha invisiveis por
     mais de 1s, empurrando o LCP mesmo sem nenhum video na hero.
     Removida a entrada animada desses 2 especificamente - pintam
     imediatamente. Eyebrow/hero-sub/hero-cta (menores, nao sao
     candidatos a LCP) mantem o reveal original. */
  .hero-text .eyebrow { animation: heroReveal 0.7s ease-out both; }
  .hero-sub           { animation: heroReveal 0.7s ease-out 0.2s both; }
  .hero-cta           { animation: heroReveal 0.7s ease-out 0.3s both; }
}

/* =========================================================
   TEXTURA DE GRAO SUTIL (opacidade minima, so escurece via
   multiply; nao interfere em contraste de texto/botoes)
   ========================================================= */
body { position: relative; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(247, 243, 236, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(6px);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--bege-claro);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
/* Leve intensificacao de sombra/opacidade apos ~80px de scroll
   (assets/js/motion.js, listener passivo). Puro polish, nao essencial. */
.site-header.is-scrolled {
  background: rgba(247, 243, 236, 0.98);
  box-shadow: 0 8px 24px rgba(64, 90, 74, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  gap: 1rem;
}
.logo-link { display: block; flex-shrink: 0; }
.logo-img { width: 168px; height: auto; }

.nav-toggle {
  /* position:relative + z-index (achado qa-performance): sem isso, o
     .site-nav aberto (position:fixed, mesmo sem z-index proprio) pinta
     por cima do botao na ordem de empilhamento do CSS2.1 (elemento
     posicionado sempre fica acima de conteudo nao-posicionado, mesmo
     vindo antes no DOM) - clique/toque real no botao para FECHAR o menu
     nao alcancava o #navToggle, so o painel por cima dele. z-index:1 ja
     basta porque so precisa vencer o .site-nav (z-index:auto, dentro do
     mesmo contexto de empilhamento de .site-header, que por sua vez ja
     tem z-index:500, acima do .nav-scrim em 400). */
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--verde-profundo);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: var(--off-white);
  box-shadow: -12px 0 30px rgba(0,0,0,0.12);
  padding: 5.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.site-nav.is-open { transform: translateX(0); }
.nav-list { display: flex; flex-direction: column; gap: 1.3rem; }
.nav-link {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--verde-profundo);
  display: inline-block;
  padding: 0.2em 0;
}
.nav-cta { align-self: flex-start; }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(51, 65, 58, 0.45);
  z-index: 400;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-scrim.is-open { opacity: 1; }

/* min-width 1150px (nao 900px): auditoria de layout mediu que o nav
   horizontal (6 links + botao "Agendar Avaliacao") mais a logo so cabem
   sem quebrar texto a partir de ~1100px de largura real de conteudo.
   Entre 900px e 1080px o nav ficava sem espaco, forcando "Como
   Funciona", "Quem Avalia", "O Estudio" e o botao a quebrar no meio da
   palavra (bug real encontrado em tablets como iPad 1024x768 landscape).
   Empurrar o breakpoint para 1150px (com folga) mantem o menu mobile
   (hamburguer) nessa faixa intermediaria, onde ele ja funciona bem. */
@media (min-width: 1150px) {
  .logo-img { width: 210px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 2.2rem;
    transform: none;
  }
  .nav-list { flex-direction: row; gap: 1.8rem; }
  .nav-cta { align-self: center; }
}

/* =========================================================
   MOTION AMBIENTE - blobs decorativos (keyframes compartilhados)
   Amplitude pequena de proposito ("sentido, nao visto"); cobertos
   pela regra global de prefers-reduced-motion no topo do arquivo
   (animation-duration vira 0.001ms, sem necessidade de duplicar
   media query aqui).
   ========================================================= */
@keyframes blobDriftA {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-3%, 4%) scale(1.06); }
}
@keyframes blobDriftB {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4%, -3%) scale(1.08); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(155deg, var(--off-white) 0%, var(--off-white) 55%, var(--bege-claro) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -8%;
  right: -6%;
  width: 46vw;
  height: 46vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle at 30% 30%, rgba(129, 148, 127, 0.32), rgba(129, 148, 127, 0) 70%);
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftA 26s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -12%;
  left: -8%;
  width: 30vw;
  height: 30vw;
  max-width: 380px;
  max-height: 380px;
  background: radial-gradient(circle at 60% 40%, rgba(212, 193, 165, 0.55), rgba(212, 193, 165, 0) 70%);
  border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftB 22s ease-in-out infinite alternate;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 34rem;
}
/* Moldura com profundidade atras da foto (camada solida deslocada) */
.hero-media {
  position: relative;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  background: var(--areia);
  border-radius: var(--radius);
  z-index: -1;
}
/* Overlay duotom sutil: nao usa overflow:hidden no wrapper para nao cortar a
   box-shadow da foto nem a moldura acima; o proprio ::after recebe border-radius. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(64, 90, 74, 0.16) 0%, rgba(64, 90, 74, 0) 45%, rgba(212, 193, 165, 0.12) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-media img {
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--sombra-lg);
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* =========================================================
   GRADING DE COR UNIFICADOR + OVERLAY DUOTOM NAS FOTOS GRANDES
   (hero-media ja recebeu o proprio overlay acima; galeria e
   video-capa ficam de fora do overlay por decisao de design)
   ========================================================= */
.hero-media img,
.virada-media img,
.heroi-perfil img,
.oferta-media img,
.evidencia-media img,
.galeria-grid img,
.video-capa img {
  filter: saturate(1.04) contrast(1.02) brightness(1.01) sepia(3%);
}

.virada-media,
.heroi-perfil,
.oferta-media,
.evidencia-media {
  position: relative;
}
.virada-media::after,
.heroi-perfil::after,
.oferta-media::after,
.evidencia-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(64, 90, 74, 0.16) 0%, rgba(64, 90, 74, 0) 45%, rgba(212, 193, 165, 0.12) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* =========================================================
   EXPERIENCIA (fundo com blobs/mesh animado - CSS puro, sem
   midia nova; secao logo apos o hero, custo de rede zero)
   ========================================================= */
.experiencia {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.experiencia::before {
  content: "";
  position: absolute;
  top: -18%;
  left: -10%;
  width: 38vw;
  height: 38vw;
  max-width: 480px;
  max-height: 480px;
  background: radial-gradient(circle at 40% 40%, rgba(212, 193, 165, 0.5), rgba(212, 193, 165, 0) 70%);
  border-radius: 46% 54% 62% 38% / 40% 46% 54% 60%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftB 28s ease-in-out infinite alternate;
}
.experiencia::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -8%;
  width: 30vw;
  height: 30vw;
  max-width: 360px;
  max-height: 360px;
  background: radial-gradient(circle at 60% 40%, rgba(129, 148, 127, 0.3), rgba(129, 148, 127, 0) 70%);
  border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftA 24s ease-in-out infinite alternate;
}

/* =========================================================
   ABSOLVICAO / QUOTE
   ========================================================= */
.quote-card {
  position: relative;
  isolation: isolate;
  margin: 2.5rem auto 0;
  max-width: 44rem;
  background: var(--branco);
  border-left: 5px solid var(--verde-salvia);
  border-radius: var(--radius-sm);
  padding: 1.8rem 2rem;
  box-shadow: var(--sombra-md);
}
.quote-card p { font-family: var(--fonte-titulo); font-style: italic; font-size: 1.1rem; color: var(--verde-profundo); }
.quote-card footer { font-size: 0.9rem; color: var(--texto-claro); }
.quote-card cite { font-style: normal; }
/* Glow/spotlight atras do card, respirando bem devagar (so opacidade) */
.quote-card::before {
  content: "";
  position: absolute;
  inset: -14% -8%;
  z-index: -1;
  background: radial-gradient(circle, rgba(129, 148, 127, 0.4), rgba(129, 148, 127, 0) 70%);
  filter: blur(18px);
  pointer-events: none;
  animation: quoteGlow 6s ease-in-out infinite alternate;
}
@keyframes quoteGlow {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}

/* =========================================================
   CARDS 3 (Isolamento do vilao)
   ========================================================= */
.vilao {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--off-white);
}
/* Blobs decorativos animados (mesmo padrao do Hero/Experiencia - ver
   "MOTION AMBIENTE" no topo do arquivo para os @keyframes
   compartilhados), no lugar da antiga textura de fundo em foto. */
.vilao::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 40vw;
  height: 40vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle at 35% 35%, rgba(129, 148, 127, 0.3), rgba(129, 148, 127, 0) 70%);
  border-radius: 44% 56% 60% 40% / 42% 44% 56% 58%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftA 25s ease-in-out infinite alternate;
}
.vilao::after {
  content: "";
  position: absolute;
  bottom: -16%;
  left: -10%;
  width: 26vw;
  height: 26vw;
  max-width: 320px;
  max-height: 320px;
  background: radial-gradient(circle at 55% 45%, rgba(212, 193, 165, 0.5), rgba(212, 193, 165, 0) 70%);
  border-radius: 58% 42% 38% 62% / 52% 58% 42% 48%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftB 21s ease-in-out infinite alternate;
}
.cards-3 {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.vilao-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--sombra-sm);
  border: var(--borda-sutil);
}
.vilao-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--areia);
  color: var(--verde-profundo);
  margin-bottom: 1rem;
}
.vilao-icon svg { width: 28px; height: 28px; }
.vilao-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.vilao-card p { color: var(--texto); margin: 0; }

/* Entrada "settle" dos icones (scale com leve overshoot), disparada
   junto com o stagger do .reveal-group existente - nao e loop infinito
   de proposito (loop circular poderia ler como alerta/erro). */
@media (prefers-reduced-motion: no-preference) {
  .reveal-group.is-visible .vilao-card:nth-child(1) .vilao-icon { animation: iconSettle 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .reveal-group.is-visible .vilao-card:nth-child(2) .vilao-icon { animation: iconSettle 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s both; }
  .reveal-group.is-visible .vilao-card:nth-child(3) .vilao-icon { animation: iconSettle 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.16s both; }
}
@keyframes iconSettle {
  from { transform: scale(0.75); opacity: 0.6; }
  to   { transform: scale(1); opacity: 1; }
}

@media (min-width: 700px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   CARDS 2 (Falsas solucoes)
   ========================================================= */
.falsas-solucoes {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bege-claro);
}
/* Blobs decorativos animados (mesmo padrao do Hero/Experiencia), no
   lugar da antiga silhueta em foto usada so para quebrar a "parede de
   2 cards". */
.falsas-solucoes::before {
  content: "";
  position: absolute;
  top: -16%;
  right: -12%;
  width: 34vw;
  height: 34vw;
  max-width: 440px;
  max-height: 440px;
  background: radial-gradient(circle at 45% 35%, rgba(129, 148, 127, 0.32), rgba(129, 148, 127, 0) 70%);
  border-radius: 50% 50% 42% 58% / 46% 54% 46% 54%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftB 23s ease-in-out infinite alternate;
}
.falsas-solucoes::after {
  content: "";
  position: absolute;
  bottom: -14%;
  left: -6%;
  width: 24vw;
  height: 24vw;
  max-width: 300px;
  max-height: 300px;
  background: radial-gradient(circle at 60% 50%, rgba(212, 193, 165, 0.55), rgba(212, 193, 165, 0) 70%);
  border-radius: 62% 38% 44% 56% / 50% 56% 44% 50%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftA 19s ease-in-out infinite alternate;
}
.cards-2 {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.falsa-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--sombra-sm);
  border: var(--borda-sutil);
}
.falsa-card h3 { font-size: 1.25rem; }
.falsa-card p { margin: 0; }

@media (min-width: 700px) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   VIRADA DE MECANISMO
   1o "momento de impacto" do site: blobs decorativos animados em CSS
   puro (mesmo padrao do Hero/Experiencia), sem imagem/video de fundo.
   A secao seguinte no scroll (.heroi, id #sobre) ja e um bloco solido
   escuro - manter .virada clara (off-white, texto padrao) evita 2
   secoes escuras seguidas, que ficariam pesadas/repetitivas.
   ========================================================= */
.virada {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--off-white);
}
.virada::before {
  content: "";
  position: absolute;
  top: -14%;
  left: -8%;
  width: 34vw;
  height: 34vw;
  max-width: 440px;
  max-height: 440px;
  background: radial-gradient(circle at 40% 40%, rgba(212, 193, 165, 0.5), rgba(212, 193, 165, 0) 70%);
  border-radius: 48% 52% 58% 42% / 44% 48% 52% 56%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftA 27s ease-in-out infinite alternate;
}
.virada::after {
  content: "";
  position: absolute;
  bottom: -18%;
  right: -10%;
  width: 28vw;
  height: 28vw;
  max-width: 360px;
  max-height: 360px;
  background: radial-gradient(circle at 55% 45%, rgba(129, 148, 127, 0.3), rgba(129, 148, 127, 0) 70%);
  border-radius: 56% 44% 40% 60% / 50% 56% 44% 50%;
  z-index: -1;
  pointer-events: none;
  animation: blobDriftB 20s ease-in-out infinite alternate;
}
.virada-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.virada-media {
  /* box-shadow/border-radius/overflow no wrapper (mesmo padrao de
     .heroi-perfil): overflow:hidden contem o parallax com scrub do
     GSAP (assets/js/motion.js) sem revelar "costura" na borda, sem
     cortar a sombra (que e do proprio elemento, nao afetada pelo
     overflow que ele aplica aos filhos). */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-lg);
}
.virada-media img {
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.checklist { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.checklist li {
  position: relative;
  padding-left: 2.1em;
  font-weight: 500;
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5em;
  height: 1.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--verde-profundo);
  color: var(--branco);
  border-radius: 50%;
  font-size: 0.8em;
  transform-origin: center;
}
/* Check aparece com leve bounce, em stagger (reutiliza .checklist como
   .reveal-group - ver index.php) */
@media (prefers-reduced-motion: no-preference) {
  .checklist.reveal-group.is-visible li:nth-child(1)::before { animation: checkBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .checklist.reveal-group.is-visible li:nth-child(2)::before { animation: checkBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s both; }
  .checklist.reveal-group.is-visible li:nth-child(3)::before { animation: checkBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.16s both; }
}
@keyframes checkBounce {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@media (min-width: 900px) {
  .virada-grid { grid-template-columns: 0.85fr 1.15fr; }
}

/* =========================================================
   ENTRADA DO HEROI
   ========================================================= */
.heroi {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--verde-profundo);
}
/* Glow radial suave, deslocando posicao bem devagar (luz de estudio se
   movendo) - so CSS, sem midia nova. */
.heroi::before {
  content: "";
  position: absolute;
  top: -25%;
  left: 40%;
  width: 55vw;
  height: 55vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(129, 148, 127, 0.35), rgba(129, 148, 127, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: heroiGlowDrift 30s ease-in-out infinite alternate;
}
@keyframes heroiGlowDrift {
  from { transform: translate(-60%, 0) scale(1); }
  to   { transform: translate(-30%, 14%) scale(1.15); }
}
.heroi .section-title,
.heroi .section-lead { color: var(--off-white); }
.heroi-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.heroi-perfil {
  /* box-shadow/border-radius/overflow movidos para o wrapper (mesmo
     padrao ja usado em .video-capa neste arquivo): overflow:hidden
     contem o parallax leve aplicado via JS na img (assets/js/motion.js)
     sem revelar "costura" nas bordas, e sem cortar a sombra (que e do
     proprio elemento, nao e afetada pelo overflow que ele aplica aos
     filhos). */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-lg);
}
.heroi-perfil img {
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: 100%;
  /* scale(1.08) so e aplicado via JS (assets/js/motion.js), junto com
     o translateY do parallax - sem JS/com reduced-motion, a foto fica
     no enquadramento original (scale 1), sem "zoom" permanente. */
}
.heroi-video { margin-top: 2rem; max-width: 22rem; }
.video-capa {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-lg);
}
.video-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-capa-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 243, 236, 0.92); /* off-white translucido */
  color: var(--verde-profundo);
  box-shadow: var(--sombra-md);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-capa-play svg { margin-left: 3px; /* centralizacao optica do triangulo de play */ }
.video-capa:hover .video-capa-play,
.video-capa:focus-visible .video-capa-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--off-white);
}
.video-capa-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.8rem 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--off-white);
  background: linear-gradient(to top, rgba(51, 65, 58, 0.78), rgba(51, 65, 58, 0));
}

@media (min-width: 900px) {
  .heroi-grid { grid-template-columns: 0.8fr 1.2fr; }
}

/* =========================================================
   GALERIA
   ========================================================= */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 2.5rem;
}
.galeria-grid img {
  border-radius: var(--radius-sm);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: var(--sombra-lg);
}
/* Zoom-in leve na entrada de cada foto, sincronizado com o fade/slide
   do .reveal-group (sobrescreve so o transform, especificidade maior). */
@media (prefers-reduced-motion: no-preference) {
  .galeria-grid.reveal-group > img { transform: translateY(20px) scale(1.06); }
  .galeria-grid.reveal-group.is-visible > img { transform: translateY(0) scale(1); }
}

@media (min-width: 700px) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .galeria-grid { grid-template-columns: repeat(4, 1fr); }
  /* Destaque ocupa 2 colunas E 2 linhas (nao so 2 colunas): como cada
     imagem normal usa aspect-ratio 3/4 (retrato), um destaque de so
     "span 2" colunas numa unica linha auto ficaria ~2x mais alto que as
     linhas vizinhas (a foto e vertical - aluna em parada de maos), o
     que forcava as 2 fotos vizinhas na mesma linha (height:100%) a
     esticar/cortar bem mais que o normal para acompanhar essa altura.
     Com 2 colunas x 2 linhas, a area alocada fica numa proporcao bem
     proxima de 3/4 de novo (2 colunas de largura : 2 linhas normais de
     altura), entao o destaque cresce sem distorcer a altura das fotos
     vizinhas nem deixar sobra de linha no fim da grade. */
  .galeria-destaque { grid-column: span 2; grid-row: span 2; }
}

/* =========================================================
   OFERTA (passo a passo)
   ========================================================= */
.oferta { background: var(--bege-claro); }
.oferta-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.oferta-media img {
  border-radius: var(--radius);
  box-shadow: var(--sombra-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.steps-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 2rem 0 2.2rem;
}
/* A linha "desenha" de cima para baixo conforme o scroll: JS define
   --line-progress (0 a 1) em assets/js/motion.js. Sem JS/com reduced
   motion, o fallback (var nao definida) mantem a linha 100% visivel,
   igual ao comportamento estatico original. */
.steps-list::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 1px;
  height: calc(var(--line-progress, 1) * (100% - 2.4rem));
  background: linear-gradient(to bottom, var(--verde-salvia), rgba(129, 148, 127, 0.1));
  z-index: 0;
}
.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-number {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--verde-profundo);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  transform-origin: center;
}
.steps-list h3 { font-size: 1.1rem; margin-bottom: 0.2em; }
.steps-list p { margin: 0; }

/* Cada step-number aparece em sequencia com pequeno bounce, sincronizado
   com o avanco da linha (reutiliza o .reveal-group ja existente). */
@media (prefers-reduced-motion: no-preference) {
  .steps-list.reveal-group.is-visible li:nth-child(1) .step-number { animation: stepBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .steps-list.reveal-group.is-visible li:nth-child(2) .step-number { animation: stepBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s both; }
  .steps-list.reveal-group.is-visible li:nth-child(3) .step-number { animation: stepBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.16s both; }
  .steps-list.reveal-group.is-visible li:nth-child(4) .step-number { animation: stepBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.24s both; }
}
@keyframes stepBounce {
  from { transform: scale(0.5); opacity: 0.4; }
  to   { transform: scale(1); opacity: 1; }
}

@media (min-width: 900px) {
  .oferta-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* =========================================================
   EVIDENCIA
   ========================================================= */
.evidencia-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: start;
}
.evidencia-col { display: flex; flex-direction: column; gap: 1.5rem; }
.evidencia-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--sombra-sm);
  border: var(--borda-sutil);
}
.evidencia-quote {
  font-family: var(--fonte-titulo);
  font-size: 1.15rem;
  color: var(--verde-profundo);
}
.evidencia-fonte { font-size: 0.85rem; color: var(--texto-claro); margin: 0; }
.evidencia-em-construcao {
  background: var(--branco);
  border-left: 5px solid var(--areia);
  box-shadow: var(--sombra-sm);
}
.evidencia-em-construcao a { text-decoration: underline; color: var(--verde-profundo); font-weight: 600; }
.evidencia-eyebrow {
  font-family: var(--fonte-corpo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--verde-salvia-texto);
}
.evidencia-media img {
  border-radius: var(--radius);
  box-shadow: var(--sombra-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (min-width: 900px) {
  .evidencia-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* =========================================================
   CUSTO / TABELA
   ========================================================= */
.tabela-wrap { margin-top: 2.5rem; overflow-x: auto; }
.tabela-custo {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-md);
  min-width: 640px;
}
.tabela-custo th, .tabela-custo td {
  padding: 1.1rem 1.3rem;
  text-align: left;
  border-bottom: 1px solid var(--bege-claro);
  vertical-align: top;
}
.tabela-custo th {
  background: var(--verde-profundo);
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-weight: 600;
}
.tabela-custo th:nth-child(3) { background: var(--verde-salvia-texto); }
.tabela-custo td:nth-child(3) { background: var(--bege-claro); font-weight: 500; }
.tabela-custo-selo {
  display: block;
  width: fit-content;
  background: var(--verde-salvia-texto);
  color: var(--branco);
  font-family: var(--fonte-corpo);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  margin-bottom: 0.5em;
  animation: seloGlow 3.2s ease-in-out infinite;
}
@keyframes seloGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(95, 110, 90, 0); }
  50%      { box-shadow: 0 0 14px rgba(95, 110, 90, 0.55); }
}
.tabela-custo tbody tr:last-child td { border-bottom: none; }
.tabela-custo tbody tr:nth-child(odd) { background: var(--off-white); }

@media (max-width: 699px) {
  .tabela-wrap { overflow: visible; }
  .tabela-custo { min-width: 0; }
  .tabela-custo thead { display: none; }
  .tabela-custo, .tabela-custo tbody, .tabela-custo tr, .tabela-custo td { display: block; width: 100%; }
  .tabela-custo tr { margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sombra); }
  .tabela-custo td {
    border-bottom: 1px solid var(--bege-claro);
    padding: 0.9rem 1.1rem;
  }
  .tabela-custo td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--verde-salvia-texto);
    margin-bottom: 0.3em;
  }
}

.custo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--areia);
}
/* Fundo de cor solida "parece parado" - sheen diagonal bem sutil
   atravessa devagar, sem tirar foco da tabela. */
.custo::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.4) 48%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.4) 52%, transparent 65%);
  background-size: 250% 250%;
  mix-blend-mode: soft-light;
  pointer-events: none;
  animation: custoSheen 8s ease-in-out infinite;
}
@keyframes custoSheen {
  0%   { background-position: -40% -40%; }
  50%  { background-position: 140% 140%; }
  100% { background-position: -40% -40%; }
}
.custo-placeholder {
  background: var(--branco);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--sombra-sm);
  border-left: 4px solid var(--verde-salvia);
  font-size: 1rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { margin-top: 2.5rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--areia);
  padding: 0.4rem 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.2rem;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--verde-profundo);
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--verde-salvia-texto); }
.faq-item .chevron { flex-shrink: 0; width: 22px; height: 22px; transition: transform 0.2s ease; color: var(--verde-salvia-texto); }
.faq-item[open] .chevron { transform: rotate(180deg); }
.faq-item p { padding: 0 0.2rem 1.2rem; margin: 0; color: var(--texto); }
/* Acordeao com transicao suave de altura via JS (assets/js/motion.js),
   mantendo a semantica nativa de details/summary. Sem JS, o <details>
   continua funcionando normalmente (abre/fecha instantaneo). */
.faq-item.is-animating { overflow: hidden; }

/* =========================================================
   FECHAMENTO
   2o "momento de impacto" do site: fundo solido --verde-profundo (nao
   depende de imagem/video), com um glow radial suave se deslocando bem
   devagar - mesma tecnica de .heroi::before (unico outro lugar do site
   com blob sobre fundo escuro), so que com posicao/duracao proprias
   para as 2 secoes nao "respirarem" em sincronia visual.
   ========================================================= */
.fechamento {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--verde-profundo);
}
.fechamento::before {
  content: "";
  position: absolute;
  bottom: -30%;
  right: 30%;
  width: 50vw;
  height: 50vw;
  max-width: 580px;
  max-height: 580px;
  background: radial-gradient(circle, rgba(129, 148, 127, 0.35), rgba(129, 148, 127, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: fechamentoGlowDrift 32s ease-in-out infinite alternate;
}
@keyframes fechamentoGlowDrift {
  from { transform: translate(30%, 0) scale(1); }
  to   { transform: translate(10%, -14%) scale(1.15); }
}
.fechamento-cta { margin-top: 1.8rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--verde-profundo);
  color: var(--bege-claro);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(233, 222, 208, 0.25);
}
.footer-logo-badge {
  display: inline-block;
  background: var(--off-white);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.footer-logo {
  width: 150px;
  height: auto;
}
.footer-brand p { color: var(--bege-claro); max-width: 22rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a { color: var(--bege-claro); }
.footer-nav a:hover { color: var(--off-white); text-decoration: underline; }
.footer-social { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--bege-claro);
  color: var(--bege-claro);
}
.social-icon:hover { background: var(--bege-claro); color: var(--verde-profundo); }
.footer-bottom { padding-top: 1.5rem; font-size: 0.82rem; color: rgba(233, 222, 208, 0.85); }
.footer-bottom p { margin: 0 0 0.4em; }

@media (min-width: 700px) {
  .footer-inner { grid-template-columns: 1.3fr 0.8fr 1fr; }
}

/* =========================================================
   PLANOS (tickets estilo ingresso: aula em grupo ou individual)
   Efeito adaptado de um cartao holografico, com paleta e
   tipografia da marca no lugar das cores originais.
   ========================================================= */
.planos { background: var(--bege-claro); }
.planos-cta { margin: 2.5rem auto 0; display: flex; width: fit-content; }

.tickets {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
  justify-items: center;
}

.ticket-filter-defs { position: absolute; width: 0; height: 0; }

.ticket-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  width: 100%;
  max-width: 260px;
  min-height: 320px;
  padding: 14px 0;
  overflow: hidden;
  isolation: isolate;
  filter: drop-shadow(0 2px 1px rgba(64, 90, 74, 0.12)) drop-shadow(0 10px 20px rgba(64, 90, 74, 0.16));
  animation: ticketHover 3s ease infinite;
}

@keyframes ticketHover {
  50% {
    filter: drop-shadow(0 4px 3px rgba(64, 90, 74, 0.08)) drop-shadow(0 20px 30px rgba(64, 90, 74, 0.14));
    transform: translateY(-6px) scale(1.015);
  }
}

.ticket-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-sm);
  background-color: var(--off-white);
  filter: url(#ticketBump);
  mask:
    radial-gradient(circle at 50% 0, #fff0 7px, #000 8px),
    radial-gradient(circle at 50% 100%, #fff0 7px, #000 8px),
    radial-gradient(circle 8px at left center, #000 98%, #0000 100%),
    radial-gradient(circle 8px at right center, #000 98%, #0000 100%),
    repeating-linear-gradient(90deg, #000 10px, #000 15px, #0000 16px, #0000 24px);
  mask-repeat: repeat-x, repeat-x, no-repeat, no-repeat, repeat-x;
  mask-size: 24px 100%, 24px 100%, 16px 16px, 16px 16px, 10px 2px;
  mask-position: 6px top, 6px bottom, left 68px, right 68px, 0 75px;
  mask-composite: intersect, exclude, add, add;
}

.ticket-holo {
  background-image:
    linear-gradient(to bottom, rgba(212, 193, 165, 0.55), 90%, rgba(64, 90, 74, 0.05)),
    conic-gradient(at 60% 50%, var(--bege-claro), var(--areia), var(--verde-salvia), var(--off-white), var(--verde-profundo), var(--bege-claro));
}
.ticket-holo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 70% 20%, rgba(129, 148, 127, 0.5), #0000),
    repeating-radial-gradient(circle at 30% 80%, #fff, var(--areia) 48px, var(--off-white) 150px);
  mix-blend-mode: color-burn;
}
.ticket-holo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(64, 90, 74, 0.35), rgba(129, 148, 127, 0.5), rgba(212, 193, 165, 0.5), rgba(64, 90, 74, 0.35));
  mix-blend-mode: soft-light;
  animation: ticketHoloShift 3s ease-in-out infinite alternate;
  background-position: 0 0;
  background-size: 100% 300%;
  background-repeat: repeat;
}
@keyframes ticketHoloShift {
  to { background-position: 0 500px; }
}

.ticket-header {
  position: relative;
  margin: 0 8px;
  text-align: center;
  z-index: 1;
  font-family: var(--fonte-titulo);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--verde-profundo);
}
.ticket-symbol {
  position: absolute;
  top: 1.4em;
  right: 4px;
  rotate: 185deg;
  font-size: 0.9em;
  color: var(--verde-profundo);
  opacity: 0.35;
}
.ticket-body {
  position: relative;
  z-index: 1;
  margin: 0 1.4em;
  padding: 0.5em 0;
  color: var(--texto);
}
.ticket-body em {
  font-family: var(--fonte-titulo);
  font-style: normal;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--verde-profundo);
}
.ticket-footer { position: relative; z-index: 1; margin: 0 1.2em 1.1em; }
.ticket-formato {
  margin-bottom: 0.7rem;
  text-align: center;
  color: var(--texto);
  font-weight: 500;
}
.ticket-formato .bold { font-weight: 700; color: var(--verde-profundo); }
.ticket-barcode {
  width: 74px;
  height: 30px;
  margin: 0 auto;
  background-image: repeating-linear-gradient(90deg, var(--verde-profundo) 0 2px, transparent 2px 5px);
  opacity: 0.7;
}
.ticket-notes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-size: 2.6rem;
  letter-spacing: 0.3em;
  color: var(--areia);
  text-align: center;
  mix-blend-mode: multiply;
  opacity: 0.5;
  transform: translateY(10%);
  z-index: 0;
}

@media (min-width: 640px) {
  .tickets { grid-template-columns: repeat(2, minmax(220px, 260px)); }
}
