/* =========================================================
   Studio Daiana Duarte | Landing principal
   CSS puro, mobile-first, sem build. Design system herdado da bio aprovada
   (bio-pilates-daiana/assets/css/style.css): tokens :root idênticos.

   Ordem: tokens > base > utilitários > botões > header/menu > seções
   (na ordem da página) > cta-bar > estados de animação (Fase 1)
   > ganchos da Fase 2 (GSAP) > reduced-motion.

   Regra de animação: estados iniciais "escondidos" só valem com html.js
   e prefers-reduced-motion: no-preference. Sem JS ou com reduced-motion,
   tudo aparece no estado final.
   ========================================================= */

/* ---------------------------------------------------------
   TOKENS (idênticos aos da bio)
   --------------------------------------------------------- */
:root {
  /* Cores de marca */
  --verde-profundo: #405A4A;
  --verde-profundo-2: #324A3D;
  --verde-salvia: #81947F;      /* decorativo (linhas, riscos), não usar em texto pequeno */
  --salvia-texto: #53614E;      /* eyebrows sobre bege/off-white (AA) */
  --areia: #D4C1A5;
  --bege-claro: #E9DED0;
  --off-white: #F7F3EC;
  --preto-verde: #141A16;
  --argila: #9A5F3C;            /* acento quente; texto só sobre off-white/branco */

  --texto: #2F3B34;
  --texto-claro: #55605A;
  --branco: #FFFFFF;

  /* Foco visível */
  --foco: #405A4A;
  --foco-escuro: #D4C1A5;

  /* Tipografia */
  --fonte-titulo: 'Fraunces', Georgia, 'Times New Roman', serif;
  --fonte-corpo: 'Jost', 'Segoe UI', Arial, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.75rem, 6.5vw, 2.5rem);
  --fs-h1: clamp(2.6rem, 11vw, 3.75rem);

  /* Raios */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;
  --r-arco: 999px 999px 28px 28px;

  /* Sombras suaves esverdeadas */
  --sombra-sm: 0 1px 2px rgba(50, 74, 61, .06), 0 4px 12px rgba(50, 74, 61, .07);
  --sombra-md: 0 2px 4px rgba(50, 74, 61, .06), 0 12px 28px rgba(50, 74, 61, .12);
  --sombra-lg: 0 4px 8px rgba(50, 74, 61, .08), 0 24px 56px rgba(50, 74, 61, .18);
  --borda-sutil: 1px solid rgba(64, 90, 74, .14);

  /* Layout */
  --gutter: 1.25rem;
  --container: 1120px;
  --container-narrow: 760px;
  --topbar-h: 64px;
  --cta-bar-h: 56px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------
   BASE
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { overflow-x: clip; } /* clip (e não hidden) para não quebrar position: sticky */
body {
  margin: 0;
  font-family: var(--fonte-corpo);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--texto);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  color: var(--verde-profundo);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
em { font-style: italic; }
strong { font-weight: 600; }
[hidden] { display: none !important; }

/* Sem textura de grão em tela cheia (decisão da auditoria: repinta a cada scroll no Android) */

/* Foco visível */
:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
  border-radius: 6px;
}
.is-dark :focus-visible,
.cta-bar :focus-visible { outline-color: var(--foco-escuro); }
main:focus { outline: none; }

/* Âncoras não ficam escondidas atrás do header */
section[id] { scroll-margin-top: calc(var(--topbar-h) + 8px); }

/* ---------------------------------------------------------
   UTILITÁRIOS
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  left: .75rem;
  top: .75rem;
  z-index: 1200;
  padding: .8em 1.2em;
  border-radius: var(--r-sm);
  background: var(--verde-profundo);
  color: var(--branco);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); outline-color: var(--areia); }

.section { padding-block: clamp(3.5rem, 11vw, 6.5rem); }

/* Eyebrow: texto simples em --salvia-texto (sem pílula) */
.eyebrow {
  display: block;
  margin: 0 0 .9em;
  font-family: var(--fonte-corpo);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--salvia-texto);
}
.section-title { font-size: var(--fs-h2); text-wrap: balance; }
.section-title em { color: var(--argila); }
.section-lead {
  font-size: var(--fs-base);
  color: var(--texto);
  max-width: 36rem;
}
.section-head { margin-bottom: clamp(2rem, 6vw, 3rem); }
.section-head--center { text-align: center; max-width: 40rem; margin-inline: auto; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head .section-lead:last-child { margin-bottom: 0; }

.inline-link {
  color: var(--verde-profundo);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(64, 90, 74, .45);
  transition: text-decoration-color .2s ease;
}
.inline-link:hover { text-decoration-color: currentColor; }

/* Moldura em arco (mesma da foto da bio) */
.photo-frame--arch,
.photo-arch { border-radius: var(--r-arco); overflow: hidden; }

/* ---------------------------------------------------------
   BOTÕES
   --------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .75em 1.5em;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--fonte-corpo);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 56px; padding-inline: 1.75em; }
.btn--block { width: 100%; }
@media (max-width: 400px) {
  .btn--lg { padding-inline: 1.15em; }
}

/* CTA principal: cor da marca, texto branco (contraste 7,6:1) */
.btn--primary {
  background: var(--verde-profundo);
  color: var(--branco);
  box-shadow: 0 8px 22px rgba(50, 74, 61, .28);
}
.btn--primary:hover { background: var(--verde-profundo-2); box-shadow: 0 10px 26px rgba(50, 74, 61, .34); }

.btn--light {
  background: var(--off-white);
  color: var(--verde-profundo);
  box-shadow: 0 10px 30px rgba(20, 26, 22, .28);
}
.btn--light:hover { background: var(--branco); }

.btn--outline {
  background: transparent;
  color: var(--verde-profundo);
  border: 1.5px solid rgba(64, 90, 74, .55);
}
.btn--outline:hover { background: rgba(64, 90, 74, .07); border-color: var(--verde-profundo); }

.btn--light-outline {
  min-height: 48px;
  background: rgba(247, 243, 236, .96);
  color: var(--verde-profundo);
  border: 1.5px solid rgba(64, 90, 74, .35);
  box-shadow: var(--sombra-sm);
}
.btn--light-outline:hover { background: var(--branco); border-color: var(--verde-profundo); }

.cta-micro {
  margin: .7rem 0 0;
  font-size: var(--fs-sm);
  color: var(--texto-claro);
}

/* Glint: brilho que atravessa o botão UMA vez quando ele entra na tela */
.glint { overflow: hidden; isolation: isolate; }
.glint::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .glint.is-glinted::after { animation: glint 1s var(--ease-out) .35s 1 both; }
  @keyframes glint {
    0%   { opacity: 1; transform: translateX(0) skewX(-18deg); }
    100% { opacity: 1; transform: translateX(420%) skewX(-18deg); }
  }
}

/* =========================================================
   0. HEADER + MENU
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
  background: rgba(247, 243, 236, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(64, 90, 74, .08);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 243, 236, .96);
  box-shadow: 0 6px 18px rgba(50, 74, 61, .1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--topbar-h);
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.logo-link { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.logo-img { width: 150px; height: auto; }

/* Barra de progresso de leitura (2px, transform: scaleX) */
.read-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--areia);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}

.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; }

.header-cta {
  display: none;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  padding: .5em 1.15em;
  border-radius: var(--r-pill);
  background: var(--verde-profundo);
  color: var(--branco);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(50, 74, 61, .2);
  transition: background-color .2s ease, transform .15s ease;
}
.header-cta:hover { background: var(--verde-profundo-2); }
.header-cta:active { transform: scale(.98); }
.header-cta svg { width: 18px; height: 18px; }
/* Sem JS no celular: não há cta-bar nem menu, então o botão do header aparece */
.no-js .header-cta { display: inline-flex; }
.no-js .header-cta span { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  min-width: 44px;
  padding: .4rem .85rem;
  border: 1px solid rgba(64, 90, 74, .25);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--verde-profundo);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background-color .2s ease;
}
.menu-toggle:hover { background: rgba(64, 90, 74, .07); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
  .no-js .header-cta span { display: inline; }
  .logo-img { width: 170px; }
}

@media (min-width: 1150px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: block; }
  .nav-list { display: flex; gap: 1.6rem; }
  .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--texto);
    transition: color .2s ease;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--verde-salvia);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s var(--ease-out);
  }
  .nav-link:hover { color: var(--verde-profundo); }
  .nav-link:hover::after { transform: scaleX(.5); }
  .nav-link[aria-current="true"] { color: var(--verde-profundo); font-weight: 600; }
  .nav-link[aria-current="true"]::after { transform: scaleX(1); background: var(--verde-profundo); }
}

/* Menu em tela cheia (abaixo de 1150px) */
.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: 900;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding:
    env(safe-area-inset-top, 0px)
    max(var(--gutter), env(safe-area-inset-right))
    calc(1.25rem + env(safe-area-inset-bottom, 0px))
    max(var(--gutter), env(safe-area-inset-left));
  background: var(--off-white);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-h);
}
.menu-mobile-title { font-family: var(--fonte-titulo); font-size: 1.0625rem; color: var(--verde-profundo); }
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(64, 90, 74, .25);
  border-radius: 50%;
  background: var(--branco);
  color: var(--verde-profundo);
}
.menu-close svg { width: 22px; height: 22px; }
.menu-mobile nav { flex: 1; display: flex; align-items: center; padding-block: 1.5rem; }
.menu-mobile-list { width: 100%; display: grid; gap: .25rem; }
.menu-mobile-list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.75rem, 8vw, 2.4rem);
  line-height: 1.15;
  color: var(--verde-profundo);
  border-bottom: 1px solid rgba(64, 90, 74, .1);
}
.menu-mobile-list a[aria-current="true"] { font-style: italic; color: var(--argila); }
.menu-mobile-foot { display: grid; gap: .9rem; }
.menu-mobile-addr { margin: 0; font-size: var(--fs-sm); color: var(--texto-claro); text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .menu-mobile.is-open { animation: menuIn .28s var(--ease-out) both; }
  .menu-mobile.is-open .menu-mobile-list li { animation: menuItemIn .45s var(--ease-out) both; animation-delay: calc(80ms + var(--i, 0) * 45ms); }
  @keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes menuItemIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
html.menu-open { overflow: hidden; }
@media (min-width: 1150px) { .menu-mobile { display: none !important; } }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--topbar-h) + 1.25rem);
  padding-bottom: clamp(3rem, 9vw, 5.5rem);
  /* Fundo estático, sem blobs animados */
  background: linear-gradient(170deg, var(--off-white) 0%, var(--off-white) 58%, var(--bege-claro) 100%);
}
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-text .eyebrow { max-width: 30rem; }
.hero-title {
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--verde-profundo);
  margin-bottom: .4em;
  max-width: 13em;
  text-wrap: balance;
}
/* Itálico em areia (como na bio). Sobre fundo claro, a areia pura não tem contraste
   suficiente; o tom abaixo é a areia escurecida (mesmo matiz), AA para texto grande. */
.hero-title em { font-style: italic; color: #80633E; } /* 5,0:1 sobre off-white */
.hero-sub {
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--texto);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; }
.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  min-height: 44px;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--verde-profundo);
  text-decoration: underline;
  text-decoration-color: rgba(64, 90, 74, .4);
  text-underline-offset: 4px;
}
.hero-link svg { width: 18px; height: 18px; }
.hero-link:hover { text-decoration-color: currentColor; }
.hero-micro {
  margin: .25rem 0 0;
  font-size: var(--fs-sm);
  color: var(--texto-claro);
  text-align: center;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.hero-tags li {
  padding: .4em .95em;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--verde-profundo);
  background: var(--branco);
  border: var(--borda-sutil);
}

/* Foto em arco com bloco areia deslocado atrás */
.hero-media { position: relative; margin-inline: .25rem 1rem; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border-radius: var(--r-arco);
  background: var(--areia);
}
.hero-photo {
  position: relative;
  height: min(46svh, 440px);
  background: var(--bege-claro);
  box-shadow: var(--sombra-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

@media (min-width: 480px) {
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; }
  .hero-micro { text-align: left; }
}
@media (min-width: 600px) and (max-width: 899px) {
  /* Tablet: o arco não vira uma cúpula larga */
  .hero-media { width: min(100%, 460px); margin-inline: auto; }
  .hero-photo { height: min(50svh, 480px); }
  .como-media { aspect-ratio: 16 / 9; }
}
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--topbar-h) + 3rem); }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; }
  .hero-photo { height: auto; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--topbar-h) - 6rem); }
  .hero-media { margin-inline: 0 14px; }
}

/* Entrada no load: blur-to-focus em sequência (CSS puro).
   O H1 só desfoca (opacity 1), para não atrasar um eventual LCP de texto. */
@media (prefers-reduced-motion: no-preference) {
  .hero-anim { animation: heroIn .7s var(--ease-out) both; animation-delay: calc(100ms + var(--i, 0) * 80ms); }
  .hero-anim--title { animation-name: heroInTitle; animation-duration: .8s; }
  .hero-photo { animation: heroPhotoIn .9s var(--ease-out) .2s both; }
  @keyframes heroIn {
    from { opacity: 0; filter: blur(4px); transform: translateY(10px); }
    to   { opacity: 1; filter: none; transform: none; }
  }
  @keyframes heroInTitle {
    from { filter: blur(8px); }
    to   { filter: none; }
  }
  @keyframes heroPhotoIn {
    from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); }
    to   { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); }
  }
}

/* =========================================================
   2. DIFERENÇA (cartões empilhados com risco)
   ========================================================= */
.section--diferenca { background: var(--bege-claro); }

.stack { margin: 0; padding: 0; }
.stack-card {
  position: sticky;
  top: calc(var(--topbar-h) + 16px + var(--i, 0) * 14px);
  display: grid;
  gap: 1.1rem;
  min-height: min(60svh, 22rem);
  align-content: start;
  margin-bottom: 24svh;
  padding: 1.5rem 1.4rem 1.6rem;
  border: var(--borda-sutil);
  border-radius: var(--r-lg);
  background: var(--off-white);
  box-shadow: var(--sombra-md);
}
.stack-card:last-child { margin-bottom: 0; }
.stack-num {
  font-family: var(--fonte-titulo);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--argila);
  line-height: 1;
}
.stack-side { display: grid; gap: .35rem; }
.stack-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--texto-claro);
}
.stack-label--here { color: var(--salvia-texto); }
.stack-here { padding-top: 1.1rem; border-top: 1px dashed rgba(64, 90, 74, .25); }
.stack-generic-text { margin: 0; font-size: var(--fs-base); color: var(--texto-claro); }
/* Risco desenhado: linha de fundo em cada linha do texto (funciona com quebra de linha) */
.strike {
  background-image: linear-gradient(var(--verde-salvia), var(--verde-salvia));
  background-repeat: no-repeat;
  background-position: 0 58%;
  background-size: 100% 2px;
}
.stack-here-text {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.375rem, 5.6vw, 1.625rem);
  line-height: 1.22;
  color: var(--verde-profundo);
}

.ponte {
  max-width: 34rem;
  margin: clamp(2.5rem, 8vw, 4rem) auto 0;
  text-align: center;
  color: var(--texto);
}
.ponte p { margin: 0 0 .4em; }
.ponte p:last-child { font-weight: 500; color: var(--verde-profundo); margin: 0; }

.diferenca-close {
  margin: 1.75rem auto 0;
  max-width: 34rem;
  text-align: center;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.375rem, 5.2vw, 1.75rem);
  line-height: 1.35;
  color: var(--texto);
}
.diferenca-close em { color: var(--verde-profundo); }
/* Marca-texto em areia (se desenha na Fase 1) */
.marca-texto {
  background-image: linear-gradient(rgba(212, 193, 165, .85), rgba(212, 193, 165, .85));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% .42em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (min-width: 768px) {
  .stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .stack-card { position: relative; top: auto; margin-bottom: 0; min-height: 0; }
  .stack-here-text { font-size: 1.375rem; }
}

/* =========================================================
   3. COMO FUNCIONA (linha do tempo + "Onde dói?")
   ========================================================= */
.section--como { background: var(--off-white); }
.como-grid { display: grid; gap: 2rem; }
.como-grid > * { min-width: 0; }
.como-intro .section-lead { margin-bottom: 1.75rem; }

/* Foto com 8% de folga em cima e embaixo (parallax da Fase 2) */
.como-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bege-claro);
  box-shadow: var(--sombra-md);
}
.como-media img {
  position: absolute;
  left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover;
  object-position: center 55%;
}

.timeline { position: relative; }
.timeline::before,
.timeline-line {
  content: "";
  position: absolute;
  left: 21px;
  top: 24px;
  bottom: 48px;
  width: 2px;
  border-radius: 2px;
}
.timeline::before { background: rgba(64, 90, 74, .16); }
.timeline-line {
  display: block;
  background: var(--verde-profundo);
  transform-origin: top center;
  transform: scaleY(var(--line-progress, 1));
}
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding-bottom: 1.75rem;
}
.timeline-step:last-child { padding-bottom: 0; }
.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-family: var(--fonte-titulo);
  font-size: var(--fs-lg);
  /* estado final (aceso) é o padrão: vale sem JS e em reduced-motion */
  background: var(--verde-profundo);
  color: var(--off-white);
  box-shadow: 0 0 0 6px var(--off-white);
}
.step-body { padding-top: .45rem; }
.step-title { font-size: var(--fs-h3); margin-bottom: .25em; line-height: 1.3; }
.step-body p { margin: 0; color: var(--texto-claro); }

.como-destaque {
  margin: 2rem 0 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--areia);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--bege-claro);
  font-family: var(--fonte-titulo);
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--verde-profundo);
}

/* Seletor "Onde dói?" (rádios nativos estilizados como chips) */
.onde-doi {
  margin: 2rem 0 0;
  padding: 1.25rem 1.15rem 1.1rem;
  border: var(--borda-sutil);
  border-radius: var(--r-md);
  background: var(--branco);
  box-shadow: var(--sombra-sm);
  min-width: 0;
}
.no-js .onde-doi { display: none; }
.onde-doi-legend {
  float: left; /* legend dentro do fluxo (evita o recorte da borda do fieldset) */
  width: 100%;
  padding: 0;
  margin-bottom: .9rem;
  font-family: var(--fonte-titulo);
  font-size: var(--fs-lg);
  line-height: 1.3;
  color: var(--verde-profundo);
}
.onde-doi-legend span {
  display: block;
  margin-top: .2rem;
  font-family: var(--fonte-corpo);
  font-size: var(--fs-sm);
  color: var(--texto-claro);
}
.chips { clear: both; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  padding: .45em 1em;
  border: 1.5px solid rgba(64, 90, 74, .3);
  border-radius: var(--r-pill);
  background: var(--off-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--verde-profundo);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.chip span:hover { border-color: var(--verde-profundo); }
.chip input:checked + span {
  background: var(--verde-profundo);
  border-color: var(--verde-profundo);
  color: var(--branco);
}
.chip input:checked + span::before {
  content: "";
  width: .45em; height: .8em;
  margin-right: .1em;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-.1em) rotate(45deg);
}
.chip input:focus-visible + span { outline: 3px solid var(--foco); outline-offset: 2px; }
.onde-doi-preview {
  margin: .9rem 0 0;
  font-size: var(--fs-sm);
  color: var(--texto-claro);
  min-height: 1.5em;
}
.onde-doi-preview:empty { display: none; }
.onde-doi-preview q {
  quotes: "\201C" "\201D";
  font-style: italic;
  color: var(--texto);
}

.como-cta { margin-top: 1.75rem; text-align: center; }
.como-cta .btn { width: 100%; max-width: 420px; }

@media (min-width: 900px) {
  .como-grid { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; }
  .como-intro { position: sticky; top: calc(var(--topbar-h) + 2rem); }
  .como-media { aspect-ratio: 4 / 4.4; }
  .timeline-step { padding-bottom: 2.25rem; }
  .como-cta { text-align: left; }
  .como-cta .btn { width: auto; }
}

/* =========================================================
   4. QUEM AVALIA (fundo escuro, foto em arco, contadores)
   ========================================================= */
.section--quem {
  /* Gradiente estático (sem glow infinito) */
  background:
    radial-gradient(ellipse at 15% 0%, rgba(129, 148, 127, .25), transparent 60%),
    linear-gradient(170deg, var(--verde-profundo), var(--verde-profundo-2));
  color: var(--bege-claro);
}
.section--quem .eyebrow { color: #E6D7C0; } /* areia clareada: 5,3:1 sobre o verde (a areia pura dá 4,3:1) */
.section--quem .section-title { color: var(--off-white); }
.section--quem .section-lead { color: var(--bege-claro); }
.section--quem .section-lead strong { color: var(--off-white); font-weight: 500; }

.quem-grid { display: grid; gap: 2.5rem; align-items: center; }
.quem-grid > * { min-width: 0; }
.daiana-photo {
  position: relative;
  width: min(78vw, 320px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  background: var(--verde-profundo-2);
  box-shadow: 0 30px 60px rgba(20, 26, 22, .35);
  outline: 1px solid rgba(212, 193, 165, .45);
  outline-offset: 10px;
  overflow: hidden;
}
/* Folga de 8% em cima e embaixo para o parallax da Fase 2 */
.daiana-photo img {
  position: absolute;
  left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover;
  object-position: center 22%;
}
.daiana-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(64, 90, 74, 0) 55%, rgba(50, 74, 61, .35) 100%);
  pointer-events: none;
}
.quem-text { text-align: center; }
.quem-text .section-lead { margin-inline: auto; margin-bottom: 1.75rem; }
.quem-name { font-size: clamp(2.1rem, 8vw, 3rem); margin-bottom: .2em; }
.quem-role { margin: 0 0 1.75rem; font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em; color: #E6D7C0; }

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 0 0 1.75rem;
}
.counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1rem .5rem .9rem;
  border: 1px solid rgba(212, 193, 165, .28);
  border-radius: var(--r-md);
  background: rgba(20, 26, 22, .16);
}
.counter-num {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.2rem, 10vw, 3rem);
  line-height: 1;
  color: var(--off-white);
  font-variant-numeric: tabular-nums;
}
.counter-prefix { color: var(--areia); }
.counter-label { font-size: var(--fs-xs); line-height: 1.35; color: var(--bege-claro); text-align: center; }

.quem-cred {
  margin: 0 auto 1.5rem;
  display: grid;
  gap: .55rem;
  max-width: 26rem;
  font-size: var(--fs-sm);
  color: var(--off-white);
}
.quem-cred li { display: flex; align-items: flex-start; gap: .6rem; text-align: left; line-height: 1.45; }
.quem-cred li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  margin-top: .5em;
  border-radius: 50%;
  background: var(--areia);
}

/* Capa de vídeo (abre o Reels no Instagram) */
.video-capa {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 26rem;
  margin-inline: auto;
  padding: .6rem 1.1rem .6rem .6rem;
  border: 1px solid rgba(212, 193, 165, .4);
  border-radius: var(--r-md);
  background: rgba(20, 26, 22, .18);
  text-align: left;
  transition: background-color .2s ease, border-color .2s ease;
}
.video-capa:hover { background: rgba(20, 26, 22, .3); border-color: var(--areia); }
.video-capa-thumb {
  position: relative;
  flex: 0 0 76px;
  height: 96px;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.video-capa-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 25%; }
.video-capa-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(247, 243, 236, .92);
  color: var(--verde-profundo);
}
.video-capa-play svg { width: 18px; height: 18px; margin-left: 2px; }
.video-capa-text { display: grid; gap: .15rem; }
.video-capa-label { font-family: var(--fonte-titulo); font-size: var(--fs-lg); line-height: 1.25; color: var(--off-white); }
.video-capa-sub { font-size: var(--fs-xs); color: var(--bege-claro); }

@media (min-width: 768px) {
  .quem-grid { grid-template-columns: 5fr 6fr; gap: 4rem; }
  .daiana-photo { width: 100%; max-width: 400px; }
  .quem-text { text-align: left; }
  .quem-text .section-lead { margin-inline: 0; font-size: var(--fs-lg); line-height: 1.5; }
  .quem-cred, .video-capa { margin-inline: 0; }
  .counter { align-items: flex-start; padding-inline: 1rem; }
  .counter-label { text-align: left; }
}

/* =========================================================
   5. FORMATOS (comparativo Grupo x Individual)
   ========================================================= */
.section--formatos { background: var(--off-white); }
.formatos-grid { display: grid; gap: 2rem; }
.formatos-grid > * { min-width: 0; }
.formatos-media { display: none; }

/* Controle segmentado (mobile) */
.seg-control {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 360px;
  margin: 0 auto 1.25rem;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--bege-claro);
  border: var(--borda-sutil);
}
.no-js .seg-control { display: none; }
.seg-btn {
  position: relative;
  z-index: 1;
  min-height: 44px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--texto-claro);
  transition: color .25s ease;
}
.seg-btn[aria-pressed="true"] { color: var(--branco); }
.seg-btn:focus-visible { outline-offset: 1px; }
.seg-thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: var(--r-pill);
  background: var(--verde-profundo);
  box-shadow: 0 4px 12px rgba(50, 74, 61, .25);
  transition: transform .3s var(--ease-out);
}
.seg-control[data-active="1"] .seg-thumb { transform: translateX(100%); }

.formatos-cards { display: grid; gap: 1rem; }
/* Com JS no mobile: os 2 cards ocupam a mesma célula e trocam com cross-fade */
.js .formatos-cards { grid-template-areas: "card"; }
.js .formatos-cards > .formato-card { grid-area: card; }
.js .formato-card:not(.is-active) { visibility: hidden; opacity: 0; }
.js .formato-card { transition: opacity .35s ease, visibility 0s linear .35s; }
.js .formato-card.is-active { transition: opacity .35s ease .05s, visibility 0s; }

.formato-card { position: relative; }
.formato-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 1.5rem 1.4rem 1.35rem;
  border: var(--borda-sutil);
  border-radius: var(--r-lg);
  background: var(--branco);
  box-shadow: var(--sombra-md);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease, box-shadow .25s ease;
}
/* Brilho diagonal que atravessa o card UMA vez na entrada */
.formato-inner::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(212, 193, 165, .32), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.formato-badge {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .3em .85em;
  border-radius: var(--r-pill);
  background: var(--bege-claro);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--salvia-texto);
}
.formato-title { font-size: clamp(1.6rem, 6vw, 1.9rem); margin-bottom: .15em; }
.formato-lead { margin: 0 0 1.1rem; font-weight: 500; color: var(--argila); }
.formato-dl { margin: 0; display: grid; }
.formato-dl > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: .75rem;
  padding: .7rem 0;
  border-top: 1px solid rgba(64, 90, 74, .12);
}
.formato-dl dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-claro); padding-top: .2em; }
.formato-dl dd { margin: 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--texto); }
.dd-sim { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--verde-profundo) !important; }
.dd-sim svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--verde-profundo); color: var(--branco); }
.formato-valor {
  margin: .4rem 0 0;
  padding-top: .85rem;
  border-top: 1px dashed rgba(64, 90, 74, .25);
  font-family: var(--fonte-titulo);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--verde-profundo);
}
.formatos-cta { margin-top: 1.75rem; text-align: center; }
.formatos-cta .btn { width: 100%; max-width: 420px; }
.formatos-cta .cta-micro { max-width: 26rem; margin-inline: auto; }

@media (min-width: 768px) {
  .seg-control { display: none; }
  .formatos-cards,
  .js .formatos-cards { grid-template-columns: 1fr 1fr; grid-template-areas: none; gap: 1.25rem; }
  .js .formatos-cards > .formato-card { grid-area: auto; }
  .js .formato-card:not(.is-active) { visibility: visible; opacity: 1; }
}
@media (min-width: 1024px) {
  .formatos-grid { grid-template-columns: 4fr 7fr; gap: 3rem; align-items: center; }
  .formatos-media {
    display: block;
    border-radius: var(--r-arco);
    overflow: hidden;
    aspect-ratio: 3 / 4.2;
    box-shadow: var(--sombra-lg);
  }
  .formatos-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .formatos-cta { text-align: left; }
  .formatos-cta .btn { width: auto; }
  .formatos-cta .cta-micro { margin-inline: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .formato-inner:hover { box-shadow: var(--sombra-lg); }
}

/* =========================================================
   6. ESTÚDIO (marquee + carrossel / grid bento)
   ========================================================= */
.marquee {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem max(var(--gutter), env(safe-area-inset-right)) .6rem 0;
  background: var(--bege-claro);
  border-block: 1px solid rgba(64, 90, 74, .1);
}
.marquee-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-group li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--fonte-titulo);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--verde-profundo);
  padding-inline: .9rem;
}
.marquee-group li::after {
  content: "·";
  font-style: normal;
  color: var(--argila);
  margin-left: 1.8rem;
}
.marquee-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(64, 90, 74, .3);
  border-radius: 50%;
  background: var(--off-white);
  color: var(--verde-profundo);
  transition: background-color .2s ease;
}
.marquee-toggle:hover { background: var(--branco); }
.marquee-toggle svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 35s linear infinite; }
  .marquee.is-paused .marquee-track,
  .marquee.is-offscreen .marquee-track,
  .marquee-viewport:hover .marquee-track,
  .marquee:focus-within .marquee-track,
  .is-tab-hidden .marquee-track { animation-play-state: paused; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Faixa estática: uma cópia só, quebrando linha */
  .marquee { padding-left: var(--gutter); }
  .marquee-viewport { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; }
  .marquee-group { flex-wrap: wrap; justify-content: center; flex-shrink: 1; }
  .marquee-group[aria-hidden="true"], .marquee-toggle { display: none; }
}

.section--estudio { background: var(--off-white); }

/* Carrossel (mobile/tablet) */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: .875rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: .25rem var(--gutter) .75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -3px; }
.carousel-slide {
  flex: 0 0 82%;
  max-width: 360px;
  scroll-snap-align: start;
}
.carousel-slide figure {
  aspect-ratio: 3 / 4;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bege-claro);
  box-shadow: var(--sombra-md);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(64, 90, 74, .3);
  border-radius: 50%;
  background: var(--branco);
  color: var(--verde-profundo);
  box-shadow: var(--sombra-sm);
  transition: background-color .2s ease, opacity .2s ease, transform .15s ease;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover { background: var(--bege-claro); }
.carousel-btn:active { transform: scale(.96); }
.carousel-btn:disabled { opacity: .4; cursor: default; }
.carousel-dots { display: flex; gap: .4rem; }
.carousel-dots span {
  width: 8px; height: 8px;
  border-radius: var(--r-pill);
  background: rgba(64, 90, 74, .25);
  transition: width .25s ease, background-color .25s ease;
}
.carousel-dots span.is-active { width: 22px; background: var(--verde-profundo); }

/* Desktop: grid bento de 4 colunas (estudio-06 em destaque 2x2, estudio-10 alta) */
@media (min-width: 960px) {
  .carousel-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 1rem;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .carousel-slide { max-width: none; }
  .carousel-slide figure { aspect-ratio: auto; }
  .carousel-slide--destaque { grid-column: span 2; grid-row: span 2; }
  .carousel-slide--alta { grid-row: span 2; }
  .carousel-controls { display: none; }
}

/* =========================================================
   7. DEPOIMENTOS (avaliações do Google)
   ========================================================= */
.section--depoimentos { background: var(--bege-claro); }
.depo-list {
  margin: 0 calc(var(--gutter) * -1);
  padding: .5rem var(--gutter) 1rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.depo-list::-webkit-scrollbar { display: none; }
.depo-list:focus-visible { outline: 3px solid var(--foco); outline-offset: -3px; border-radius: var(--r-md); }
.depo-card {
  position: relative;
  flex: 0 0 min(85%, 340px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--branco);
  border: var(--borda-sutil);
  border-radius: var(--r-md);
  box-shadow: var(--sombra-sm);
}
.depo-quote {
  width: 40px; height: 30px;
  fill: none;
  stroke: var(--areia);
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.depo-quote path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.depo-card blockquote { margin: 0; flex: 1; }
.depo-card blockquote p {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--texto);
}
.depo-autor { margin: 0; display: flex; flex-direction: column; }
.depo-name { font-weight: 600; font-size: var(--fs-sm); color: var(--verde-profundo); }
.depo-tipo { font-size: var(--fs-xs); color: var(--texto-claro); }
.depo-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  margin: .25rem 0 0;
  font-size: var(--fs-xs);
  color: var(--texto-claro);
}
.depo-hint svg { width: 16px; height: 16px; }
.depo-cta { margin-top: 2rem; text-align: center; }
.depo-cta .btn { width: 100%; max-width: 360px; }

@media (min-width: 900px) {
  .depo-list {
    margin: 0;
    padding: 0;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .depo-hint { display: none; }
  .depo-cta .btn { width: auto; }
}

/* =========================================================
   8. LOCALIZAÇÃO (endereço, PcD, mapa sob demanda)
   ========================================================= */
.section--local { background: var(--off-white); }
.local-grid { display: grid; gap: 2.25rem; }
.local-grid > * { min-width: 0; }

.local-address,
.local-hours {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: 0 0 1.1rem;
  font-style: normal;
  line-height: 1.5;
}
.local-address { font-family: var(--fonte-titulo); font-size: var(--fs-lg); color: var(--verde-profundo); }
.local-address svg, .local-hours svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: .15em; color: var(--salvia-texto); }
.local-hours { font-size: var(--fs-sm); color: var(--texto); }
.local-hours strong { color: var(--verde-profundo); }

.pcd-seal {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  background: var(--verde-profundo);
  color: var(--off-white);
  font-weight: 500;
  line-height: 1.35;
  box-shadow: var(--sombra-md);
}
.pcd-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--verde-profundo);
}
.pcd-icon svg { width: 26px; height: 26px; }

.local-actions { display: grid; gap: .75rem; margin-top: 1.5rem; }
.local-actions .btn { width: 100%; }

.local-media { display: grid; gap: 1rem; }
.fachada {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bege-claro);
  box-shadow: var(--sombra-md);
}
.fachada img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.map-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  border: var(--borda-sutil);
  background: var(--bege-claro);
}
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-streets path { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 9; }
.route-line { fill: none; stroke: var(--verde-profundo); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 8; }
.route-mask { fill: none; stroke: #fff; stroke-width: 10; stroke-dasharray: 1; stroke-dashoffset: 0; }
.route-start { fill: var(--branco); stroke: var(--verde-profundo); stroke-width: 3; }
.route-pin { color: var(--argila); }
.map-placeholder-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .75rem;
  padding: .8rem 1rem;
  background: linear-gradient(180deg, rgba(233, 222, 208, 0), rgba(233, 222, 208, .95) 35%);
}
.map-placeholder-text p { margin: 0; font-size: var(--fs-xs); color: var(--texto); max-width: 15rem; }

@media (min-width: 600px) {
  .local-actions { grid-template-columns: 1fr 1fr; }
  .local-media { grid-template-columns: 1fr 1fr; }
  .fachada { aspect-ratio: auto; height: 100%; min-height: 260px; }
  .map-card { aspect-ratio: auto; height: 100%; min-height: 260px; }
}
@media (min-width: 960px) {
  .local-grid { grid-template-columns: 5fr 6fr; gap: 3.5rem; align-items: center; }
  .local-actions { grid-template-columns: 1fr; justify-items: start; }
  .local-actions .btn { width: auto; }
  .local-media { grid-template-columns: 1fr; }
  .fachada { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .map-card { aspect-ratio: 16 / 10; height: auto; }
}

/* =========================================================
   9. DÚVIDAS (FAQ em card com <details> animado)
   ========================================================= */
.section--duvidas { background: var(--bege-claro); }
.duvidas-grid { display: grid; gap: 0; }
.duvidas-grid > * { min-width: 0; }
.duvidas-head { text-align: center; }
.duvidas-aside { margin: 0; color: var(--texto); }

.faq { display: grid; gap: .75rem; }
.faq-item {
  border: var(--borda-sutil);
  border-radius: var(--r-md);
  background: var(--off-white);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1rem 1.15rem 1rem 1.25rem;
  font-family: var(--fonte-titulo);
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--verde-profundo);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.faq-chev {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--salvia-texto);
  transition: transform .28s var(--ease-out);
}
.faq-item[open]:not(.is-closing) .faq-chev { transform: rotate(180deg); }
.faq-body { overflow: hidden; }
.faq-inner { padding: 0 1.25rem 1.25rem; }
.faq-inner p { margin: 0 0 .75em; color: var(--texto); }
.faq-inner p:last-child { margin-bottom: 0; }
.faq-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.faq-links .inline-link { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 900px) {
  .duvidas-grid { grid-template-columns: 4fr 7fr; gap: 4rem; align-items: start; }
  .duvidas-head { text-align: left; position: sticky; top: calc(var(--topbar-h) + 2rem); margin-bottom: 0; }
}

/* =========================================================
   10. CTA FINAL
   ========================================================= */
.section--final {
  position: relative;
  text-align: center;
  color: var(--bege-claro);
  /* Gradiente estático (sem glow animado) */
  background:
    radial-gradient(circle at 18% 12%, rgba(129, 148, 127, .32), transparent 55%),
    radial-gradient(circle at 86% 92%, rgba(212, 193, 165, .16), transparent 55%),
    linear-gradient(160deg, var(--verde-profundo), var(--verde-profundo-2));
}
.cta-final-title {
  font-size: clamp(2rem, 8vw, 3.25rem);
  line-height: 1.12;
  color: var(--off-white);
  margin-bottom: .6em;
  text-wrap: balance;
}
.cta-final-title .word { display: inline-block; }
.final-text { max-width: 32rem; margin: 0 auto 2rem; font-size: var(--fs-base); color: var(--bege-claro); }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.final-actions .btn { width: 100%; max-width: 360px; }
.final-ig {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  font-size: var(--fs-sm);
  color: var(--bege-claro);
  text-decoration: underline;
  text-decoration-color: rgba(233, 222, 208, .4);
  text-underline-offset: 3px;
}
.final-ig:hover { color: var(--off-white); text-decoration-color: currentColor; }
.final-ig svg { width: 20px; height: 20px; }

/* =========================================================
   11. RODAPÉ
   ========================================================= */
.rodape {
  background: var(--preto-verde);
  color: var(--bege-claro);
  padding: 3rem 0 calc(2rem + var(--cta-bar-h) + env(safe-area-inset-bottom, 0px)); /* não fica atrás da barra fixa */
}
.rodape-grid { display: grid; gap: 2rem; text-align: center; }
.rodape-grid > * { min-width: 0; }
.rodape-logo {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .7rem .9rem;
  border-radius: var(--r-sm);
  background: var(--off-white);
}
.rodape-logo img { width: 150px; }
.rodape-brand p { margin: 0; font-size: var(--fs-sm); }
.rodape-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.25rem; }
.rodape-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-sm);
  color: var(--bege-claro);
}
.rodape-nav a:hover { color: var(--off-white); text-decoration: underline; text-underline-offset: 3px; }
.rodape-endereco {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.rodape-endereco a { color: var(--bege-claro); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(212, 193, 165, .5); }
.rodape-endereco a:hover { color: var(--off-white); }
.rodape-endereco span { font-size: var(--fs-xs); color: rgba(233, 222, 208, .82); }
.rodape-social { display: flex; justify-content: center; gap: .9rem; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(233, 222, 208, .4);
  color: var(--bege-claro);
  transition: background-color .2s ease, color .2s ease;
}
.social-icon svg { width: 22px; height: 22px; }
.social-icon:hover { background: var(--bege-claro); color: var(--verde-profundo); }
.rodape-bottom {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(233, 222, 208, .14);
  font-size: var(--fs-xs);
  color: rgba(233, 222, 208, .82);
  text-align: center;
}
.rodape-bottom p { margin: 0 0 .4em; }

@media (min-width: 768px) {
  .rodape { padding-bottom: 2.25rem; }
}
@media (min-width: 960px) {
  .rodape-grid { grid-template-columns: 1.2fr 1fr 1fr; text-align: left; align-items: start; }
  .rodape-nav { flex-direction: column; justify-content: flex-start; }
  .rodape-nav a { min-height: 36px; }
  .rodape-social { justify-content: flex-start; }
}

/* =========================================================
   BARRA FIXA DE CTA (abaixo de 768px)
   ========================================================= */
.cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 700;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(64, 90, 74, .96);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 -8px 24px rgba(20, 26, 22, .18);
}
.no-js .cta-bar { display: none; }
.cta-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  width: 100%;
  min-height: var(--cta-bar-h);
  padding-inline: var(--gutter);
  color: var(--branco);
  font-size: var(--fs-base);
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease;
}
.cta-bar-btn svg { width: 22px; height: 22px; }
.cta-bar-btn:active { transform: scale(.98); }
.cta-bar-btn:focus-visible { outline-offset: -4px; }
@media (min-width: 768px) { .cta-bar { display: none; } }

/* =========================================================
   ESTADOS DE ANIMAÇÃO (FASE 1, vanilla)
   Só com JS ativo e sem reduced-motion. Animam só transform, opacity,
   clip-path e (uma vez, em textos curtos) filter.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* Títulos: blur 8px -> 0 + translateY 12px */
  .js .reveal-title {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(12px);
    transition: opacity .55s var(--ease-out), filter .55s var(--ease-out), transform .55s var(--ease-out);
  }
  .js .quem-name.reveal-title { filter: blur(10px); }
  .js .reveal-title.is-visible { opacity: 1; filter: none; transform: none; }

  /* Blocos de texto: fade + blur leve */
  .js .reveal {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(14px);
    transition: opacity .6s var(--ease-out), filter .6s var(--ease-out), transform .6s var(--ease-out);
    transition-delay: 80ms;
  }
  .js .reveal.is-visible { opacity: 1; filter: none; transform: none; }

  /* Grupos com stagger por índice (--i setado pelo JS), teto de 6 itens */
  .js .reveal-group > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
    transition-delay: calc(min(var(--i, 0), 6) * 70ms);
  }
  .js .reveal-group.is-visible > * { opacity: 1; transform: none; }

  /* Diferença: risco desenhado + "Aqui" com blur-to-focus */
  .js .strike { background-size: 0% 2px; transition: background-size .5s ease-out; }
  .js .stack-card.is-on .strike { background-size: 100% 2px; }
  .js .stack-here {
    opacity: 0;
    filter: blur(4px);
    transition: opacity .5s var(--ease-out) .3s, filter .5s var(--ease-out) .3s;
  }
  .js .stack-card.is-on .stack-here { opacity: 1; filter: none; }
  /* Marca-texto do fechamento */
  .js .marca-texto { background-size: 0% .42em; transition: background-size .7s var(--ease-out) .35s; }
  .js .diferenca-close.is-visible .marca-texto { background-size: 100% .42em; }

  /* Como funciona: números acendem quando a linha passa (.is-lit, setado pelo script.js) */
  .js .step-num { transition: background-color .35s ease, color .35s ease, transform .35s var(--ease-out); }
  .js .timeline.is-tracking .timeline-step:not(.is-lit) .step-num {
    background: var(--bege-claro);
    color: var(--verde-profundo);
    transform: scale(.9);
  }
  /* Foto: clip-path lateral */
  .js .como-media { clip-path: inset(0 100% 0 0 round 16px); transition: clip-path 1s var(--ease-out); }
  .js .como-intro.is-visible .como-media { clip-path: inset(0 0 0 0 round 16px); }

  /* Quem avalia: foto revelada de baixo para cima (gatilho no .quem-grid) */
  .js .daiana-photo { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-out); }
  .js .quem-grid.is-visible .daiana-photo { clip-path: inset(-120px); } /* negativo para não cortar contorno e sombra */

  /* Formatos: brilho diagonal uma vez por card */
  .js .formatos-cards.is-visible .formato-inner::after {
    animation: cardSheen 1.1s var(--ease-out) both;
    animation-delay: calc(300ms + var(--i, 0) * 150ms);
  }
  @keyframes cardSheen {
    0%   { opacity: 1; transform: translateX(0) skewX(-18deg); }
    100% { opacity: 1; transform: translateX(480%) skewX(-18deg); }
  }

  /* Estúdio: fotos entram com scale 1.06 -> 1 + fade */
  .js .carousel-slide img {
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .7s ease, transform .9s var(--ease-out);
  }
  .js .carousel-slide.is-in img { opacity: 1; transform: none; }

  /* Depoimentos: aspas desenham o traço, nome entra 200ms depois */
  .js .depo-quote path { stroke-dashoffset: 1; transition: stroke-dashoffset .6s ease-out; transition-delay: calc(min(var(--i, 0), 6) * 70ms + 150ms); }
  .js .depo-list.is-visible .depo-quote path { stroke-dashoffset: 0; }
  .js .depo-name { opacity: 0; transition: opacity .5s ease; transition-delay: calc(min(var(--i, 0), 6) * 70ms + 200ms); }
  .js .depo-list.is-visible .depo-name { opacity: 1; }

  /* Localização: rota se desenha, pino cai, selo PcD entra depois */
  .js .route-mask { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.45, 0, .2, 1); }
  .js .map-card.is-drawn .route-mask { stroke-dashoffset: 0; }
  .js .route-pin { opacity: 0; transform: translateY(-12px); }
  .js .map-card.is-drawn .route-pin { animation: pinDrop .55s cubic-bezier(.3, 1.6, .5, 1) 1.3s both; }
  @keyframes pinDrop {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: none; }
  }
  .js .pcd-seal { opacity: 0; transform: scale(.9); transition: opacity .45s ease, transform .45s var(--ease-out); transition-delay: .2s; }
  .js .pcd-seal.is-visible { opacity: 1; transform: none; }
  .js .fachada { clip-path: inset(100% 0 0 0 round 16px); transition: clip-path .9s var(--ease-out); }
  .js .local-media.is-visible .fachada { clip-path: inset(0 0 0 0 round 16px); }

  /* CTA final: título palavra por palavra, depois texto, depois botão */
  .js .cta-final-title .word {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(8px);
    transition: opacity .6s var(--ease-out), filter .6s var(--ease-out), transform .6s var(--ease-out);
    transition-delay: calc(var(--w, 0) * 60ms);
  }
  .js .section--final.is-visible .cta-final-title .word { opacity: 1; filter: none; transform: none; }
  .js .final-text {
    opacity: 0;
    filter: blur(4px);
    transition: opacity .6s var(--ease-out), filter .6s var(--ease-out);
    transition-delay: var(--after, 600ms);
  }
  .js .final-actions {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
    transition-delay: calc(var(--after, 600ms) + 200ms);
  }
  .js .section--final.is-visible .final-text { opacity: 1; filter: none; }
  .js .section--final.is-visible .final-actions { opacity: 1; transform: none; }

  /* Barra fixa: entra/sai com translateY (250ms), sem pulso */
  .js .cta-bar {
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .js .cta-bar.is-shown {
    transform: none;
    visibility: visible;
    transition: transform .25s ease, visibility 0s;
  }
}

/* Com JS mas em reduced-motion: barra aparece/some sem animação */
@media (prefers-reduced-motion: reduce) {
  .js .cta-bar { visibility: hidden; }
  .js .cta-bar.is-shown { visibility: visible; }
}

/* =========================================================
   FASE 2 (GSAP / ScrollTrigger, assets/js/motion.js)
   O motion.js adiciona .has-gsap no <html> (só com GSAP carregado e sem reduced-motion).
   - [data-motion="hero-content"] (opacity/y) e a foto dentro de [data-motion="hero-media"]
     (scale 1 -> 1.06, dentro da moldura): saída do hero em scrub.
   - [data-motion="stack-card"]: profundidade dos cartões (só mobile), com o véu
     .stack-shade abaixo (opacity) em vez de opacity no cartão.
   - [data-motion="como-media-img"], [data-motion="daiana-photo-img"]: parallax só
     desktop (as imagens têm 8% de folga em cima e embaixo; o motion.js limita a ±6%).
   - [data-motion="timeline"]: o GSAP assume a linha e marca data-gsap="on";
     o script.js para de atualizar --line-progress / .is-lit.
   ========================================================= */
.has-gsap .timeline-line { transition: none; }
.stack-shade {
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  background: var(--bege-claro);
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   LIGHTBOX DA GALERIA (script.js, <dialog> nativo; não depende do GSAP)
   Sem JS nada disso aparece: os botões e o <dialog> são criados pelo script.js.
   ========================================================= */
.has-lightbox { position: relative; }
.lightbox-trigger {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}
.lightbox-trigger:focus-visible { outline: 3px solid var(--foco); outline-offset: -3px; }

html.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: rgba(20, 26, 22, .94);
  color: var(--off-white);
}
.lightbox::backdrop { background: transparent; }
.lightbox :focus-visible { outline: 3px solid var(--foco-escuro); outline-offset: 3px; }
.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 68px 16px 92px;
}
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
}
.lightbox-img {
  width: auto;
  height: auto;
  max-width: min(100%, 1000px);
  max-height: calc(100svh - 68px - 92px - 4.5rem);
  object-fit: contain;
  border-radius: var(--r-md);
  background: var(--verde-profundo-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.lightbox-caption {
  max-width: 36rem;
  text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--bege-claro);
}
.lightbox-count {
  display: block;
  margin-bottom: .2rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #E6D7C0;
}
.lightbox-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(247, 243, 236, .35);
  border-radius: 50%;
  background: rgba(247, 243, 236, .1);
  color: var(--off-white);
  transition: background-color .2s ease;
}
.lightbox-btn:hover { background: rgba(247, 243, 236, .22); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-close { top: 12px; right: 12px; }
/* Celular: anterior/próxima embaixo, centralizados (não cobrem a foto) */
.lightbox-prev { bottom: 24px; left: calc(50% - 64px); }
.lightbox-next { bottom: 24px; left: calc(50% + 16px); }
@media (min-width: 768px) {
  .lightbox-stage { padding: 72px 96px 40px; }
  .lightbox-img { max-height: calc(100svh - 72px - 40px - 4.5rem); }
  .lightbox-close { top: 20px; right: 20px; }
  .lightbox-prev, .lightbox-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox-prev { left: 24px; }
  .lightbox-next { left: auto; right: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lightboxIn .25s ease both; }
  .lightbox[open] .lightbox-figure { animation: lightboxFigIn .35s var(--ease-out) both; }
  @keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lightboxFigIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
}

/* =========================================================
   REDUCED MOTION (rede de segurança global)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}
