/* ==========================================================================
   VESSAR — Consultoria de Valores Mobiliários
   Filme de scroll. Palco escuro contínuo, um só acento (ouro champanhe),
   frases curtas, uma inversão de fundo no clímax. DNA Revert, pele Vessar.
   ========================================================================== */

/* ---------- Fontes (self-hosted, gate de perf) ---------- */
@font-face {
  font-family: 'Cinzel';
  src: url('../fonts/Cinzel-var.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-var.woff2') format('woff2');
  font-weight: 300 600;
  font-display: swap;
  font-style: normal;
}

/* ---------- Tokens ---------- */
:root {
  /* fundo escuro (ancorado no #080b10 real da marca) */
  --ink: #080b10;
  --ink-card: #0c1017;
  --ink-line: rgba(226, 190, 117, .16);
  --vignette: #04060a;

  /* claro (seção invertida) */
  --cream: #f5f5f2;
  --cream-bg: #f6f3ec;
  --cream-card: #ffffff;

  /* texto */
  --fg: #f5f5f2;
  --fg-dim: rgba(245, 245, 242, .60);
  --fg-dimmer: rgba(245, 245, 242, .34);
  --on-cream: #0b0f16;
  --on-cream-dim: rgba(11, 15, 22, .60);

  /* acento único: ouro champanhe real da Vessar */
  --gold: #e2be75;
  --gold-soft: #eac993;
  --gold-deep: #c99a4b;
  --on-gold: #17110a;
  --role: #8a6e2e;

  --error: #c8564c;

  /* fontes */
  --display: 'Cinzel', 'Times New Roman', serif;
  --body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ritmo */
  --gutter: clamp(22px, 5vw, 64px);
  --read: 54ch;
  --ease: cubic-bezier(.22, .8, .32, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-weight: 300;
  background: var(--ink);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--gold); color: var(--on-gold); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .005em;
  text-wrap: balance;
}

/* palavra em destaque: o único ouro do quadro */
.hl { color: var(--gold); }
.strike { position: relative; color: var(--fg-dimmer); }
.strike::after {
  content: '';
  position: absolute; left: -2%; right: -2%; top: 52%; height: 2px;
  background: var(--fg-dimmer);
  transform: scaleX(var(--strike, 1));
  transform-origin: left center;
}

/* ==========================================================================
   PALCO fixo (canvas atrás de tudo) + inversão de fundo
   ========================================================================== */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#stageCanvas { width: 100%; height: 100%; }

/* a cor do palco é dirigida por classe no <body> (o JS troca conforme o beat) */
body {
  transition: background-color .7s var(--ease);
}
body.is-light { background: var(--cream-bg); color: var(--on-cream); }

/* ==========================================================================
   CHROME persistente
   ========================================================================== */
.chrome {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.4vw, 30px) var(--gutter);
  pointer-events: none;
}
.chrome > * { pointer-events: auto; }

.wordmark {
  display: flex; align-items: center; gap: 12px;
}
.wordmark__mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  color: var(--gold);
}
/* a 30px as duas hastes do simbolo se fundiam e viravam borrao */
.wordmark__v { height: 38px; width: auto; display: block; }
.wordmark__nome { display: grid; gap: 3px; }
.wordmark__name {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; letter-spacing: .16em; color: var(--fg);
  display: block; line-height: 1;
}
/* o que a Vessar e, legivel na rolagem inteira e nao so no rodape */
.wordmark__sub {
  font-size: 8.5px; letter-spacing: .19em; text-transform: uppercase;
  color: var(--gold); opacity: .82; line-height: 1; white-space: nowrap;
}
body.is-light .wordmark__name { color: var(--on-cream); }
body.is-light .wordmark__sub { color: var(--gold-deep, #8a6a2f); opacity: .9; }
@media (max-width: 400px) { .wordmark__sub { font-size: 7.5px; letter-spacing: .14em; } }

.cvm-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .04em; color: var(--fg-dim);
  border: 1px solid var(--ink-line);
  border-radius: 999px; padding: 8px 16px;
  background: rgba(8, 11, 16, .4);
  backdrop-filter: blur(6px);
}
.cvm-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: #3fb97a; box-shadow: 0 0 0 4px rgba(63, 185, 122, .18); }
body.is-light .cvm-badge { color: var(--on-cream-dim); border-color: rgba(11,15,22,.14); background: rgba(255,255,255,.5); }

.sound {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold);
  transition: background-color .3s, transform .3s;
}
.sound:hover { background: rgba(226,190,117,.1); }
.sound__wave { display: flex; align-items: center; gap: 2px; height: 14px; }
.sound__wave span { width: 2px; background: currentColor; border-radius: 2px; height: 40%; }
.sound.is-on .sound__wave span { animation: eq 1s var(--ease) infinite; }
.sound.is-on .sound__wave span:nth-child(2) { animation-delay: .15s; }
.sound.is-on .sound__wave span:nth-child(3) { animation-delay: .3s; }
.sound.is-on .sound__wave span:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 95%; } }

/* barra de progresso */
.progress {
  position: fixed; top: 0; left: 0; z-index: 45;
  height: 2px; width: 100%;
  background: transparent;
}
.progress__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  box-shadow: 0 0 12px rgba(226, 190, 117, .5);
  transition: width .1s linear;
}

/* indicador de scroll */
.scroll-hint {
  position: fixed; left: 50%; bottom: 26px; z-index: 40;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .32em; color: var(--fg-dim);
  transition: opacity .5s;
}
.scroll-hint span { text-transform: lowercase; }
.scroll-hint__line { width: 1px; height: 46px; background: linear-gradient(var(--fg-dimmer), transparent); position: relative; overflow: hidden; }
.scroll-hint__line::after { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 45%; background: linear-gradient(var(--gold), transparent); animation: scrolldrop 1.9s var(--ease) infinite; }
@keyframes scrolldrop { 0% { transform: translateY(-110%); } 60%, 100% { transform: translateY(240%); } }
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }

/* ==========================================================================
   BEATS — cada beat pina seu conteúdo por uma fração de scroll
   ========================================================================== */
main { position: relative; z-index: 10; }

.beat {
  position: relative;
  min-height: 175vh;               /* dá "tempo" de scroll ao beat */
}
.beat--short { min-height: 130vh; }
.beat--tall { min-height: 210vh; }

.beat__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px var(--gutter);
  text-align: center;
}
.beat__box {
  width: min(1080px, 100%);
  margin-inline: auto;
  will-change: transform;   /* o JS desliza a caixa junto com o scroll */
}

/* reveal: entra suave quando o beat fica ativo, sai quando passa */
.beat__inner .rise {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.beat.is-active .beat__inner .rise { opacity: 1; transform: none; }
.beat.is-active .beat__inner .rise:nth-child(2) { transition-delay: .08s; }
.beat.is-active .beat__inner .rise:nth-child(3) { transition-delay: .16s; }
.beat.is-active .beat__inner .rise:nth-child(4) { transition-delay: .24s; }
.beat.is-past .beat__inner { opacity: 0; transition: opacity .5s var(--ease); }

/* tipografia dos statements */
.statement {
  font-size: clamp(2.1rem, 1rem + 5.4vw, 5rem);
  font-weight: 600;
  line-height: 1.06;
}
.statement--sm { font-size: clamp(1.9rem, 1rem + 4vw, 3.6rem); }
.lead {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(1.02rem, .95rem + .5vw, 1.3rem);
  color: var(--fg-dim);
  max-width: var(--read);
  margin: 28px auto 0;
  line-height: 1.65;
}
body.is-light .lead { color: var(--on-cream-dim); }

/* ---------- Beat 1 · Hero ---------- */
.hero__title { margin-bottom: 4px; }

/* ---------- Beat 2 · Tese de mercado (gráfico) ---------- */
.chart {
  margin: 44px auto 0;
  width: min(640px, 100%);
}
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart__cap { margin-top: 14px; font-size: 12px; letter-spacing: .12em; color: var(--fg-dimmer); text-transform: uppercase; }

/* ---------- Beat 3 · A escolha (duas colunas) ---------- */
.fork {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 90px);
  margin-top: 8px; align-items: start;
}
.fork__side { text-align: left; }
.fork__side:last-child { text-align: right; }
.fork__k {
  font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  color: var(--fg-dim); margin-bottom: 14px;
}
.fork__side--gold .fork__k { color: var(--gold); }
.fork__t { font-size: clamp(1.3rem, .9rem + 1.9vw, 2.2rem); font-weight: 300; font-family: var(--body); line-height: 1.3; }
.fork__side--gold .fork__t { color: var(--gold); }

/* ---------- Beat 5 · Voz do cliente ---------- */
.voices { display: grid; gap: clamp(20px, 4vw, 44px); }
.voice {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.3rem, .9rem + 1.9vw, 2.3rem);
  line-height: 1.24; max-width: 20ch;
  padding-left: 20px; border-left: 2px solid var(--gold);
  text-align: left;
}
.voice:nth-child(odd) { justify-self: start; }
.voice:nth-child(even) { justify-self: end; text-align: right; border-left: none; border-right: 2px solid var(--gold); padding-left: 0; padding-right: 20px; }

/* ---------- Beat 6 · Hexágono das 6 dimensões ---------- */
.hexwrap { margin: 40px auto 0; width: min(560px, 100%); }
.hexwrap svg { width: 100%; height: auto; overflow: visible; }
.hex-dim { fill: none; }
.hex-label { font-family: var(--display); font-size: 15px; font-weight: 600; fill: var(--on-cream); }
.hex-sub { font-family: var(--body); font-size: 10.5px; fill: var(--on-cream-dim); }

/* ---------- Beat 4 · As dores ---------- */
.dores { display: grid; gap: clamp(14px, 2.4vw, 22px); margin-top: clamp(22px, 3vw, 34px); text-align: left; list-style: none; }
.dores li {
  font-family: var(--body); font-weight: 300;
  font-size: clamp(1.02rem, .92rem + .62vw, 1.32rem);
  line-height: 1.45; color: var(--fg-dim);
  padding-left: 22px; position: relative;
}
/* fio curto no lugar de marcador: o ponto de lista destoa do resto da página */
.dores li::before {
  content: ''; position: absolute; left: 0; top: .72em;
  width: 12px; height: 1px; background: var(--gold); opacity: .75;
}
.dores b { font-weight: 500; color: var(--fg); }

/* ---------- Beat 6 · Destaque de impacto ---------- */
.impacto {
  font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 3rem);
  line-height: 1.22; max-width: 22ch; margin: 0 auto;
  text-wrap: balance;
}

/* ---------- Beat 8 · O contraste ---------- */
.contraste {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;      /* cabeçalho + dois itens */
  column-gap: clamp(20px, 5vw, 64px); row-gap: 0;
  margin-top: clamp(18px, 3vw, 30px); text-align: left;
}
/* Numa tabela de comparação, divisor fora de esquadro entrega o improviso.
   As duas colunas herdam as mesmas linhas do pai, então "ganha por giro" e
   "alinhamento fiduciário" fecham na mesma altura mesmo com textos de
   tamanhos diferentes. Onde subgrid não existir, cai no empilhamento normal:
   desalinha, mas continua legível. */
.contraste__col {
  display: grid; grid-row: 1 / -1;
  grid-template-rows: subgrid; row-gap: 0;
}
.contraste__cab {
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  font-weight: 600; color: var(--on-cream-dim);
  padding-bottom: 14px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(11, 15, 22, .14);
}
.contraste__col--gold .contraste__cab { color: var(--gold-deep); border-bottom-color: rgba(201, 154, 75, .34); }
.contraste__item {
  font-family: var(--body); font-weight: 300;
  font-size: clamp(.95rem, .88rem + .42vw, 1.12rem);
  line-height: 1.5; color: var(--on-cream-dim);
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(11, 15, 22, .09);
}
.contraste__item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.contraste__item b { font-weight: 500; color: var(--on-cream); }
.contraste__col--gold .contraste__item b { color: var(--gold-deep); }
/* a seção nasce clara; se o tema virar, o texto acompanha */
body:not(.is-light) .contraste__cab,
body:not(.is-light) .contraste__item { color: var(--fg-dim); }
body:not(.is-light) .contraste__item b { color: var(--fg); }

/* ---------- Beat 9 · Como funciona ---------- */
.etapas {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;      /* número + título + descrição */
  column-gap: clamp(22px, 4vw, 48px); row-gap: 0;
  margin-top: clamp(26px, 4vw, 44px); text-align: left; list-style: none;
}
/* "Acompanhamento contínuo" ocupa duas linhas e os outros dois títulos uma
   só: sem as linhas compartilhadas, as descrições começariam em alturas
   diferentes e a sequência 01-02-03 perderia a leitura horizontal. */
.etapas li {
  display: grid; grid-row: 1 / -1;
  grid-template-rows: subgrid; row-gap: 0;
}
.etapas__n {
  display: block; font-weight: 600;
  font-size: .82rem; letter-spacing: .16em; color: var(--gold-deep);
  padding-bottom: 12px; margin-bottom: 16px;
  border-top: 1px solid rgba(201, 154, 75, .38); padding-top: 14px;
}
.etapas h3 {
  font-family: var(--body); font-weight: 500;
  font-size: clamp(1.08rem, .95rem + .6vw, 1.42rem);
  line-height: 1.24; color: var(--on-cream); margin-bottom: 10px;
}
.etapas p {
  font-family: var(--body); font-weight: 300;
  font-size: clamp(.92rem, .86rem + .36vw, 1.05rem);
  line-height: 1.5; color: var(--on-cream-dim);
}
body:not(.is-light) .etapas h3 { color: var(--fg); }
body:not(.is-light) .etapas p { color: var(--fg-dim); }

/* ---------- Beat 10 · Convite / CTA ---------- */
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 34px;
  background: var(--gold); color: var(--on-gold);
  font-family: var(--body); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .01em;
  padding: 18px 36px; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s, background-color .3s;
  box-shadow: 0 18px 50px -18px rgba(226, 190, 117, .6);
}
.cta-btn:hover { transform: translateY(-3px); background: var(--gold-soft); box-shadow: 0 24px 60px -18px rgba(226, 190, 117, .8); }
.cta-btn__arrow { transition: transform .3s var(--ease); }
.cta-btn:hover .cta-btn__arrow { transform: translateX(5px); }
.cta-alt { margin-top: 22px; font-size: .9rem; color: var(--fg-dim); }
.cta-alt a { color: var(--gold); }
.cta-micro { margin-top: 16px; font-size: .84rem; color: var(--fg-dimmer); }

/* ---------- Beat 11 · Formulário ---------- */
.form-sheet {
  width: min(520px, 100%); margin: 32px auto 0;
  background: var(--cream-card); color: var(--on-cream);
  border-radius: 24px; padding: clamp(28px, 4vw, 44px);
  text-align: left; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
}
.form-sheet h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); margin-bottom: 6px; }
.form-sheet p { color: var(--on-cream-dim); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--role); margin-bottom: 8px; }
.field input {
  width: 100%; padding: 15px 16px; font: inherit; font-size: 1rem;
  border: 1px solid rgba(11,15,22,.16); border-radius: 12px;
  background: #fbfaf7; color: var(--on-cream); transition: border-color .25s;
}
.field input:focus { outline: none; border-color: var(--gold-deep); }
.field input.invalid { border-color: var(--error); }
.form-submit {
  width: 100%; margin-top: 8px; padding: 16px;
  background: var(--on-cream); color: var(--cream);
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  border-radius: 12px; transition: opacity .25s;
}
.form-submit:hover { opacity: .9; }
.form-lgpd { margin-top: 16px; font-size: .8rem; color: var(--on-cream-dim); line-height: 1.5; }
.form-alt { margin-top: 14px; font-size: .85rem; }
.form-alt a { color: var(--gold-deep); font-weight: 500; }
.form-ok { text-align: center; font-family: var(--display); font-size: 1.6rem; color: var(--gold-deep); padding: 30px 0; }

/* ==========================================================================
   SEO fallback — copy canônica pra crawler, fora da tela
   ========================================================================== */
.seo-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Fonte unificada — títulos na MESMA família do corpo (Montserrat), peso regular.
   O wordmark segue sendo a única assinatura em Cinzel.
   ========================================================================== */
h1, h2, h3, .statement, .voice, .fork__k, .impacto,
.contraste__cab, .etapas__n, .form-sheet h2, .form-ok {
  font-family: var(--body);
}
.statement { font-weight: 400; letter-spacing: -.02em; }
.statement--xs { font-size: clamp(1.55rem, .95rem + 2.5vw, 2.8rem); font-weight: 400; }
.lead--tight { margin-top: 18px; max-width: 46ch; }
.voice { font-weight: 400; font-size: clamp(1.12rem, .85rem + 1.35vw, 1.85rem); }
.fork__k { font-weight: 500; }
.impacto { font-weight: 400; letter-spacing: -.015em; }
.contraste__cab { font-weight: 500; }
.etapas__n { font-weight: 600; }
.form-sheet h2 { font-weight: 500; }
.form-ok { font-weight: 500; }

/* beat 5 — as quatro falas cabem numa tela só */
.beat[data-beat="5"] .voices { gap: clamp(14px, 2.3vh, 28px); }

/* beat 6 — título no topo, hexágono de partículas ocupa o centro/baixo */
.beat__inner--top { align-items: start; }
.beat--hex .beat__inner { padding-top: clamp(64px, 9vh, 110px); }

/* rótulos das 6 dimensões, posicionados nos vértices do hexágono (JS) */
/* A malha atras do texto nao dizia nada e sujava a leitura: um veu da cor do
   fundo abre uma clareira no centro e deixa a rede viva so nas beiradas. */
.beat[data-beat="7"] .beat__inner::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(68% 42% at 50% 50%,
    var(--cream-bg) 0%, var(--cream-bg) 42%, rgba(246,243,236,.72) 62%, transparent 84%);
}

.hex-labels { position: fixed; inset: 0; z-index: 15; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.hex-labels.show { opacity: 1; }
.hexlab { position: absolute; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; }
.hexlab b { display: block; font-weight: 600; font-size: clamp(.82rem, .7rem + .45vw, 1.02rem); color: var(--on-cream); letter-spacing: .01em; }
.hexlab i { display: block; font-style: normal; font-size: 10.5px; color: var(--on-cream-dim); margin-top: 3px; letter-spacing: .01em; }

/* beats 2 e 3 — conteúdo no topo pra liberar a malha/bifurcação embaixo */
.beat--upper .beat__inner { align-items: start; padding-top: clamp(112px, 15vh, 200px); }
/* beat 3 mais longo: dá scroll pra percorrer a via pelo caminho direito antes do vórtice */
/* o cliente pediu o caminho mais longo: mais scroll antes do mergulho */
.beat[data-beat="3"] { min-height: 380vh; }
.beat--upper .lead--mid { margin-top: clamp(120px, 22vh, 260px); }

/* beat 8 — título à esquerda, pessoa à direita (desktop) */
.beat__box--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; text-align: left; }
.beat__box--split .statement { text-align: left; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.footer {
  position: relative; z-index: 10;
  background: var(--vignette);
  border-top: 1px solid var(--ink-line);
  padding: clamp(48px, 7vw, 88px) var(--gutter) 38px;
  color: var(--fg-dim);
}
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--ink-line); }
.footer__mark { pointer-events: auto; }
.footer__cvm { font-size: 13px; line-height: 1.65; color: var(--fg-dim); text-align: right; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 32px 0; font-size: 13px; line-height: 1.95; }
.footer__grid a { color: var(--gold); }
.footer__k { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
/* a 12px o --fg-dimmer dava contraste 2.8 contra o fundo do rodapé, abaixo do
   mínimo legível. Este tom é só do rodapé: o --fg-dimmer continua apagado onde
   isso é intenção de design (a palavra riscada, por exemplo). */
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 12px; letter-spacing: .04em; color: rgba(245, 245, 242, .56); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 720px) {
  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__cvm { text-align: left; }
  .footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .hexlab i { display: none; }
  .hexlab b { font-size: .76rem; }
  .beat--upper .lead--mid { margin-top: clamp(56px, 12vh, 130px); }
  .beat__inner { padding: 90px 22px; }
  /* fork: dois caminhos empilhados mas escalonados — um puxa pra esquerda, o outro pra direita (dá a ler dois caminhos) */
  .fork { grid-template-columns: 1fr; gap: clamp(26px, 7vw, 46px); text-align: left; }
  .fork__side { text-align: left; max-width: 23ch; margin-right: auto; }
  .fork__side:last-child { text-align: right; margin-right: 0; margin-left: auto; }
  /* vozes: quatro falas alternando esquerda/direita (quatro caminhos), fonte e linha menores */
  .beat[data-beat="5"] .voices { gap: clamp(52px, 9vh, 80px); }   /* ~3 enters entre as falas no mobile */
  .voice { font-size: clamp(1rem, .82rem + 2vw, 1.5rem); max-width: 19ch; }
  .voice:nth-child(odd) { justify-self: start; text-align: left; border-left: 2px solid var(--gold); border-right: none; padding-left: 13px; padding-right: 0; }
  .voice:nth-child(even) { justify-self: end; text-align: right; border-right: 2px solid var(--gold); border-left: none; padding-right: 13px; padding-left: 0; }
  .cvm-badge { display: none; }
  /* contraste: duas colunas de 2ch não se leem no celular. Empilha, e o
     cabeçalho de cada lado vira o divisor entre os dois blocos. */
  .contraste { grid-template-columns: 1fr; grid-template-rows: none; row-gap: clamp(30px, 7vw, 46px); }
  .contraste__col { grid-row: auto; grid-template-rows: none; }
  .contraste__cab { margin-bottom: 18px; padding-bottom: 11px; }
  .contraste__item { padding-bottom: 17px; margin-bottom: 17px; }
  /* como funciona: uma etapa embaixo da outra, na ordem em que acontecem */
  .etapas { grid-template-columns: 1fr; grid-template-rows: none; row-gap: clamp(24px, 6vw, 38px); }
  .etapas li { grid-row: auto; grid-template-rows: none; }
  .etapas__n { padding-top: 12px; margin-bottom: 12px; padding-bottom: 8px; }
  .impacto { max-width: 17ch; }
  .dores { padding-left: 2px; }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .beat__inner .rise { opacity: 1 !important; transform: none !important; transition: none; }
  body { transition: none; }
  .scroll-hint__mouse i { animation: none; }
}
