/* ============================================================
   SPYCE — Landing page (pública, sem auth)
   Segue o Spyce Design System (public/DESIGN.md) na variante
   escura: --shell como base, dourado só em kicker/filete, vinho
   só na ação, hairlines, radius 3, zero sombra, zero gradiente
   decorativo. O luxo vem da tipografia e do movimento.

   Stylesheet autônomo de propósito: não importa style.css (que é
   claro e pesado). Os tokens abaixo espelham os canônicos.
   ============================================================ */

:root {
  /* Neutros (espelham os tokens canônicos do DS) */
  --shell:        #0E0D0C;
  --shell-ink:    #F5F3EF;
  --shell-muted:  #8F8B84;
  --ink:          #111110;

  /* Hairline na variante escura: o --hair do DS é para fundo claro. */
  --hair-dark:        rgba(245, 243, 239, .13);
  --hair-dark-strong: rgba(245, 243, 239, .28);

  /* Terceiro nível de texto (fontes, nota de rodapé). Mais apagado que
     --shell-muted sem cair abaixo de WCAG AA: 4.67:1 sobre --shell. Existe
     porque a legenda legal (18+, consentimento) mora nele — texto que o
     visitante precisa conseguir ler de verdade, não só "ver que tem". */
  --shell-faint:  #7F7C77;

  /* Acentos */
  --wine:       #6E1423;
  --wine-deep:  #55101C;
  --gold:       #C9A96E;

  /* Tipografia */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 3px;

  /* Curva única de movimento — dá a assinatura "premium" (saída suave). */
  --ease: cubic-bezier(.16, 1, .3, 1);

  --maxw: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--shell);
  color: var(--shell-ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--wine); color: #fff; }

/* Grão de filme — exceção deliberada da landing (superfície de marketing,
   não tela de app). Textura, não gradiente: mantém o preto vivo em telas
   grandes em vez de chapado. Bem abaixo do limiar de "efeito".

   POR CIMA DE TUDO (z-index alto), e isto é o ponto: em z-index 0 ele ficava
   ATRÁS do .hero-media, que tem fundo próprio. O grão morria na borda esquerda
   daquele container e desenhava uma linha vertical no meio do hero — o preto
   com grão de um lado, o preto liso do outro. No mobile não aparecia porque lá
   o container ocupa 100% da largura e não sobra "fora" para comparar.
   Grão é do quadro inteiro, como em filme: cobre tudo ou não cobre nada.
   `pointer-events: none` é o que mantém isso seguro sobre os botões. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Primitivos editoriais ===== */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

/* Kicker — assinatura do sistema: 11px, .14em, uppercase, dourado. */
.kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

/* Filete dourado: micro-detalhe, desenha-se ao entrar. */
.rule {
  width: 44px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0 0 26px;
  transform-origin: left center;
}

.display {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
}

.lede {
  color: var(--shell-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0;
}

/* ===== Botões (DS: radius 3, 13.5/600, sem uppercase) ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
  min-height: 44px; /* touch target */
}
/* Vinho é a única cor de ação — e só um por vista. */
.btn-primary {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}
.btn-primary:hover { background: var(--wine-deep); border-color: var(--wine-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--shell-ink);
  border-color: var(--hair-dark-strong);
}
.btn-ghost:hover { border-color: var(--shell-ink); transform: translateY(-1px); }

.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== Nav ===== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(14, 13, 12, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
/* Só ganha corpo depois que a página rola — no topo ele é invisível.
   Opaco, sem backdrop-filter: blur translúcido é glassmorphism, que o DS
   proíbe explicitamente (DESIGN.md §1.2, regra 3). Quem separa a nav do
   conteúdo é a hairline — "a hairline é o contorno, não a sombra". */
.nav.is-stuck {
  background: var(--shell);
  border-bottom-color: var(--hair-dark);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
}
.nav-logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--shell-muted);
  margin-top: 3px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* touch target do DS — sem isto fica ~40px */
  font-size: 13.5px;
  font-weight: 500;
  color: var(--shell-muted);
  padding: 10px 8px;
  transition: color .25s var(--ease);
}
.nav-link:hover { color: var(--shell-ink); }
.nav-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ===== Painel de login lateral ===== */

.signin { position: fixed; inset: 0; z-index: 100; }
.signin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 4, .72);
  animation: signinFade .3s var(--ease) both;
}
.signin-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  overflow-y: auto;
  padding: 72px 40px 40px;
  background: var(--shell);
  border-left: 1px solid var(--hair-dark);
  animation: signinSlide .45s var(--ease) both;
}
@keyframes signinFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes signinSlide { from { transform: translateX(100%) } to { transform: none } }

.signin-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--shell-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.signin-close:hover { color: var(--shell-ink); }
.signin-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.signin-title { font-size: 28px; margin-bottom: 32px; }

.signin-form { display: grid; gap: 16px; }
.signin-field { display: flex; flex-direction: column; gap: 6px; }
.signin-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--shell-muted);
}
.signin-field input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  min-height: 44px;
  border: 1px solid var(--hair-dark-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--shell-ink);
  transition: border-color .2s var(--ease);
}
.signin-field input:focus { outline: none; border-color: var(--gold); }

.signin-err {
  margin: 0;
  font-size: 13px;
  color: #E08A96; /* vinho não é legível sobre o shell — clareado só para erro */
}
.signin-submit { width: 100%; margin-top: 4px; }

.signin-alt {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--shell-muted);
}
.signin-alt a { color: var(--shell-ink); border-bottom: 1px solid var(--hair-dark-strong); }
.signin-alt a:hover { border-bottom-color: var(--gold); }

@media (max-width: 520px) {
  .signin-panel { width: 100%; padding: 72px 24px 32px; border-left: 0; }
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}

/* A foto entra pela direita e some no preto. As duas imagens do projeto já
   têm o corpo à direita e preto à esquerda — a máscara só dissolve a emenda.
   (Máscara é composição de foto, não gradiente decorativo do DS.) */
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  z-index: 0;
  pointer-events: none;
  /* O preto da página, explícito, para o `screen` do filho ter contra o que
     compor. Sem isto o blend acontece contra transparente e não resolve nada
     — o z-index acima isola o empilhamento. */
  background: var(--shell);
}
.hero-media::after {
  /* Vinheta de baixo, para o texto respirar no mobile. */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--shell) 100%);
}
.hero-media-img {
  position: absolute;
  inset: -8% 0 -8% 0;
  /* PNG primeiro, WebP depois: quem entende os dois fica com o último que
     souber ler (16 KB contra 1,2 MB); quem não entende WebP ignora a segunda
     regra e fica com o PNG. Fallback sem <picture> nem JS. */
  background-image: url('images/landing/sensual-bg.png');
  background-image: url('images/landing/sensual-bg.webp');
  background-size: cover;
  /* A foto é 16:9 e este container é alto e estreito: o `cover` descarta mais
     da metade da largura. Medido nos pixels, o corpo vive entre 56% e 83% da
     foto — 62% cortava a curva do quadril fora. 72% traz a janela visível para
     ~38%–85%: o corpo entra inteiro, encostado à direita, e o que sobra à
     esquerda é o preto que a máscara dissolve. */
  background-position: 72% center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(112%);
  /* O preto da foto é rgb 0–6; o da página é rgb 14. Pintada por cima, ela
     vira um retângulo MAIS ESCURO que o fundo — dá para ver a emenda, e o
     contrast() acima piora (esmaga os quase-pretos para 0). Com `screen`,
     screen(14, 0) = 14: o preto da foto vira exatamente o preto da página e a
     emenda deixa de existir. Só o que tem luz sobrevive ao blend. */
  mix-blend-mode: screen;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 42%, #000 100%);
}

.hero-inner { position: relative; z-index: 2; max-width: 640px; }

.hero-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(40px, 7.2vw, 82px);
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0 0 30px;
}
/* Revelação linha a linha: cada linha sobe de dentro da própria máscara.
   O `overflow: hidden` é a máscara — e com line-height 1.06 a borda de corte
   cai ACIMA das caudas do Playfair, decepando o "y" e o "p" (a linha dourada
   "They fall out of practice." perde as duas). O padding empurra a borda para
   baixo das caudas e a margem negativa devolve o espaço ao layout, então o
   ritmo vertical não muda. */
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}
.hero-line > span { display: block; }

/* A terceira linha é o gancho — dourado, o único da vista. */
.hero-line--accent > span { color: var(--gold); font-style: italic; }

.hero-sub { max-width: 46ch; margin: 0 0 36px; color: var(--shell-muted); font-size: 16px; line-height: 1.65; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* Linha de confiança logo abaixo dos CTAs — o dourado do kicker, discreta. */
.hero-privacy {
  margin: 22px 0 0;
  max-width: 42ch;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--shell-muted);
}

.hero-scroll {
  position: absolute;
  left: var(--gutter); bottom: 34px;
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--shell-muted);
}
.hero-scroll-line {
  width: 42px; height: 1px; background: var(--hair-dark-strong);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: scrollHint 2.6s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ===== Seções ===== */

.section { padding: 104px 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 640px; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); }

.section--hair { border-top: 1px solid var(--hair-dark); }

/* ===== Estatísticas (a "pesquisa") ===== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair-dark);
}
.stat {
  padding: 34px 26px 34px 0;
  border-right: 1px solid var(--hair-dark);
}
.stat:last-child { border-right: 0; padding-right: 0; }
.stat-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--shell-muted); font-size: 13.5px; line-height: 1.55; margin: 0 0 12px; }
.stat-source {
  font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--shell-faint);
  margin: 0;
}

/* ===== Objetivo (com a segunda silhueta) ===== */

.objective { position: relative; overflow: hidden; }
.objective-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.objective-body { color: var(--shell-muted); font-size: 16px; line-height: 1.75; margin: 0; }
.objective-body strong { color: var(--shell-ink); font-weight: 600; }

.objective-media {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  /* Mesmo motivo do hero: o `screen` do filho precisa do preto da página
     como base. `isolation` garante o blend local — o .wrap ancestral já cria
     um contexto de empilhamento, e sem isto o resultado dependeria dele. */
  background: var(--shell);
  isolation: isolate;
}
.objective-media-img {
  position: absolute;
  inset: -10% 0;
  /* Mesmo fallback do hero: PNG primeiro, WebP vence em quem souber ler. */
  background-image: url('images/landing/sensual-img.png');
  background-image: url('images/landing/sensual-img.webp');
  background-size: cover;
  background-position: 58% center;
  filter: grayscale(100%) contrast(110%);
  mix-blend-mode: screen; /* ver a nota do hero */
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

/* ===== Features ===== */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair-dark);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
}
/* Cards colados por hairline (o "gap: 1px" sobre o fundo) — malha editorial,
   sem sombra e sem borda dupla. */
.feature {
  background: var(--shell);
  padding: 34px 28px 38px;
  transition: background-color .4s var(--ease);
  position: relative;
}
.feature:hover { background: #131211; }
.feature-index {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.feature-name {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.25;
}
.feature-tagline {
  color: var(--gold);
  font-size: 12.5px;
  font-style: italic;
  margin: 0 0 16px;
  opacity: .85;
}
.feature-desc { color: var(--shell-muted); font-size: 13.5px; line-height: 1.65; margin: 0; }

/* ===== Espectro de dificuldade ===== */

.tiers { border-top: 1px solid var(--hair-dark); }
.tier {
  display: grid;
  grid-template-columns: 60px 200px 1fr 120px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--hair-dark);
}
.tier-index {
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.tier-name {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
}
.tier-blurb { color: var(--shell-muted); font-size: 13.5px; line-height: 1.6; margin: 0; }
/* Medidor: cada nível preenche mais. Contém o calor sem colorir a página. */
.tier-meter { height: 2px; background: var(--hair-dark); position: relative; overflow: hidden; }
.tier-meter::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--shell-ink);
  transform-origin: left center;
  transform: scaleX(var(--fill-target, 1));
}
.tier:nth-child(1) { --fill-target: .25; }
.tier:nth-child(2) { --fill-target: .5; }
.tier:nth-child(3) { --fill-target: .75; }
.tier:nth-child(4) { --fill-target: 1; }
/* O topo do espectro é o único que herda o preto+dourado do badge "Extremo". */
.tier:nth-child(4) .tier-name { color: var(--gold); }
.tier:nth-child(4) .tier-meter::after { background: var(--gold); }

/* ===== Prova social ===== */

.proof-statline {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 56px;
  max-width: 20ch;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
  margin-bottom: 56px;
}
.metric-value {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}
.metric-label {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--shell-muted);
  margin: 0;
}

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quote { border-left: 1px solid var(--hair-dark); padding-left: 24px; }
.quote-text {
  font-family: var(--font-head);
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 16px;
  color: var(--shell-ink);
}
.quote-author {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--shell-muted);
}

/* ===== CTA final ===== */

/* Faixa de privacidade — antes do CTA final. */
.privacy-heading { font-size: clamp(24px, 3.2vw, 38px); max-width: 22ch; margin-bottom: 34px; }
.privacy-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.privacy-point {
  font-size: 14px;
  line-height: 1.6;
  color: var(--shell-muted);
  padding-top: 18px;
  border-top: 1px solid var(--hair-dark);
}
.privacy-point strong { display: block; color: var(--shell-ink); font-weight: 600; margin-bottom: 4px; }

.cta { padding: 128px 0; text-align: center; border-top: 1px solid var(--hair-dark); }
.cta .rule { margin-left: auto; margin-right: auto; transform-origin: center; }
.cta-heading {
  font-size: clamp(30px, 4.6vw, 56px);
  margin: 0 auto 22px;
  max-width: 18ch;
}
.cta-sub { margin: 0 auto 38px; text-align: center; max-width: 50ch; }

/* ===== Footer ===== */

.footer { border-top: 1px solid var(--hair-dark); padding: 44px 0 56px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-note { color: var(--shell-faint); font-size: 11.5px; line-height: 1.7; margin: 0; max-width: 72ch; }
.footer-mark { font-family: var(--font-head); font-size: 15px; font-weight: 700; }
/* Canal de dúvidas/sugestões no rodapé da landing: só a marca do X. */
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  color: var(--shell-faint);
  transition: color .15s, border-color .15s;
}
.footer-social svg { width: 14px; height: 14px; display: block; }
.footer-social:hover { color: var(--shell-ink); border-color: rgba(255,255,255,.5); }

/* ===== Motor de revelação =====
   CONTRATO: o estado FINAL (visível) é o padrão do CSS acima. Só quando o JS
   está de fato vivo — a classe `.js` é escrita no <head> — é que o estado
   "antes da animação" entra em cena.

   O motivo é concreto: revelar por IntersectionObserver significa esconder com
   opacity:0 e depender do JS para devolver. Se o script falhar, for bloqueado
   ou o observer não disparar, a landing vira uma página preta em branco — e é
   uma página de marketing, que precisa sobreviver a crawler, leitor sem JS e
   erro de rede. Invertendo o padrão, o pior caso é uma página estática. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* O hero não usa translate (as linhas já têm o próprio clip). */
.js .hero [data-reveal] { transform: none; }

/* 120% e não 105%: a máscara agora tem .16em de padding para as caudas, então
   o span precisa começar mais abaixo para não aparecer um filete dele antes da
   animação. (1.06em de linha + .16em de padding) / 1.06em = 115% no limite. */
.js .hero-line > span {
  transform: translateY(120%);
  transition: transform 1.15s var(--ease);
}
.js .hero-line:nth-child(1) > span { transition-delay: .10s; }
.js .hero-line:nth-child(2) > span { transition-delay: .22s; }
.js .hero-line:nth-child(3) > span { transition-delay: .34s; }
.js .is-in .hero-line > span { transform: translateY(0); }

.js .rule {
  transform: scaleX(0);
  transition: transform 1s var(--ease) .1s;
}
.js .is-in .rule, .js .rule.is-in { transform: scaleX(1); }

.js .tier-meter::after {
  transform: scaleX(var(--fill, 0));
  transition: transform 1.1s var(--ease);
}
.js .tiers.is-in .tier { --fill: var(--fill-target); }

/* ===== Responsivo ===== */

@media (max-width: 1023px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-right: 24px; }
  .stat:nth-child(2n) { border-right: 0; padding-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hair-dark); }
  .objective-grid { grid-template-columns: 1fr; gap: 40px; }
  .objective-media { min-height: 380px; order: -1; }
  .quotes { grid-template-columns: 1fr; gap: 24px; }
  .hero-media { width: 78%; opacity: .8; }
}

@media (max-width: 767px) {
  .section { padding: 72px 0; }
  .cta { padding: 88px 0; }
  .features, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; padding: 28px 0; border-bottom: 1px solid var(--hair-dark); }
  .stat:last-child { border-bottom: 0; }
  .metrics { grid-template-columns: 1fr; gap: 32px; }
  .privacy-points { grid-template-columns: 1fr; gap: 0; }
  .privacy-point { padding: 20px 0; border-top: 1px solid var(--hair-dark); }

  /* Mobile: a foto vira fundo atrás do texto, não coluna. */
  .hero { min-height: auto; padding: 128px 0 72px; }
  .hero-media { width: 100%; opacity: .42; }
  .hero-media-img {
    /* Container mais estreito ainda ⇒ corte maior: 76% para o corpo (56–83%)
       não perder o quadril. Ver a nota do desktop acima. */
    background-position: 76% center;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
  }
  .hero-scroll { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .tier { grid-template-columns: 34px 1fr; gap: 8px 16px; padding: 22px 0; }
  .tier-meter { grid-column: 2; }
  .tier-blurb { grid-column: 2; }
  .footer-inner { flex-direction: column; }
}

/* ===== Acessibilidade — guard global de movimento =====
   Mesmo contrato do style.css: nada de movimento imposto a quem pediu para
   reduzir. Os estados finais têm de ser os visíveis. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  /* Prefixados com .js e !important de propósito: as regras de animação acima
     também são .js, e sem isso venceriam por especificidade — deixando quem
     pediu menos movimento olhando para uma página vazia. */
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero-line > span { transform: none !important; }
  .js .rule { transform: scaleX(1) !important; }
  .js .tier-meter::after { transform: scaleX(var(--fill-target, 1)) !important; }
}
