/* Nevian — site publico (nevian.io).
   Sistema visual: paleta "Navy only" do painel (marinho da marca #1d2b5e, tinta, linhas, fundo cinza-claro) e a
   pilha de fontes do sistema. Assinatura da marca: o traco tonal marinho (#1d2b5e -> #344584 -> #4e63ae), usado so
   onde ele representa o caminho do anuncio ate a venda (jornada do mock, passos de "How it works", marca do eyebrow,
   faixa do CTA). Logo: lockup "Nevian Track" em SVG com o texto em curvas (assets/nevian-track.svg no cabecalho e no
   rodape; assets/nevian-track-on-dark.svg, o monocromatico, na barra grafite do mock, que e a barra do painel);
   nenhuma fonte web e carregada.
   Tipografia so por tokens (--fs-*, --fw-*): pesos 400/500/600/700 existem em qualquer fonte estatica
   (Arial, Segoe UI), entao a hierarquia e a mesma no Windows e no Mac. 280/720 ficam so na dupla leve/negrito
   dos titulos do hero e do CTA.
   Links no meio do texto (paginas legais, linha de contato da landing) sao sublinhados: o marinho dos links fica
   perto da tinta do texto, entao a cor sozinha nao os distingue.
   Sem estilos inline nas paginas: a CSP em _headers bloqueia atributos style. */

/* ------------------------------------------------------------------ TOKENS */
:root {
  --navy: #0d1a33;
  /* barra do mock = barra superior do painel, a mesma nos dois temas (dono, 28/09/2026 a noite, depois do teste da
     barra clara): grafite, filete branco de 7 % embaixo, sem o traco da marca, tinta branca e a assinatura
     monocromatica (web/src/styles.css --topbar-*). Mudou a barra do painel, estes tres mudam junto */
  --bar: #1c1c1e;
  --bar-line: rgba(255, 255, 255, .07);
  --bar-ink: #fff;           /* 17.0:1 na barra; abas a 72 % 9.3:1, aba ativa 11.9:1 */
  --graphite: #1d2b5e;       /* identidade: marinho da marca: icones de confianca e CTA */
  --brand-btn: #1d2b5e;      /* botao principal: marinho chapado, texto branco 13.47:1 */
  --brand-btn-hover: #16214a;
  --navy-2: #182b54;
  --ink: #1d2433;
  --ink-2: #3c4557;
  --muted: #586174;          /* texto secundario: contraste AA sobre branco e sobre --bg */
  --line: #e3e7ee;
  --line-2: #d4d9e2;
  --bg: #f3f5f9;
  --well: #f8f9fc;
  --card: #ffffff;
  --blue: #1d2b5e;           /* links, rotulos de secao e icones de destaque: o marinho da marca (12.34:1 no --bg) */
  --blue-2: #16214a;         /* hover / pressionado */
  --data-blue: #4e63ae;      /* dados do mock (linha de receita, icone de gasto): igual ao --data-blue/--spend-ic do painel */
  --green: #137a43;
  --trace-1: #1d2b5e;        /* traco tonal: marinho -> marinho 500 (como o filete da barra do painel) */
  --trace-2: #344584;
  --trace-3: #4e63ae;
  --trace: linear-gradient(90deg, var(--trace-1), var(--trace-2) 55%, var(--trace-3));
  --trace-v: linear-gradient(180deg, var(--trace-1), var(--trace-2) 55%, var(--trace-3));
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', Inter, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  /* Escala de texto: tamanhos inteiros; titulos grandes usam clamp() proprio. */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-ui: 14px;             /* navegacao, botoes pequenos, rotulos, sumario */
  --fs-md: 15px;             /* texto de cartoes e botoes */
  --fs-base: 16px;
  --fs-read: 17px;           /* leitura longa: textos legais (medida de ~80 caracteres por linha) */
  --fs-lg: 18px;
  --fs-xl: 20px;
  /* Pesos: so os que toda fonte tem; os da dupla leve/negrito dos titulos do hero e do CTA ficam a parte. */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-brand-light: 280;
  --fw-brand-bold: 720;

  --radius: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 64px;
  --shadow-sm: 0 1px 2px rgba(13, 26, 51, .06);
  --shadow-lg: 0 1px 1px rgba(13, 26, 51, .04), 0 14px 28px -10px rgba(13, 26, 51, .12), 0 48px 96px -32px rgba(13, 26, 51, .22);
  --shadow-menu: 0 24px 40px -24px rgba(13, 26, 51, .25);

  /* Movimento: as mesmas curvas de mola do painel (web/src/styles.css, docs/design-system.md), calculadas da equacao
     de mola. --spring = amortecimento 1.0 (sem ultrapassar), resposta 0.35 s; com --spring-fast-dur equivale a 0.25 s. */
  --spring: linear(0, 0.0054 1.17%, 0.0201 2.33%, 0.0458 3.67%, 0.0832 5.17%, 0.1168 6.33%, 0.1638 7.83%, 0.3648 13.83%, 0.4598 16.83%, 0.5089 18.5%, 0.555 20.17%, 0.5979 21.83%, 0.6377 23.5%, 0.6742 25.17%, 0.7077 26.83%, 0.7661 30.17%, 0.8162 33.67%, 0.8598 37.5%, 0.8989 42%, 0.9293 46.83%, 0.9534 52.33%, 0.971 58.5%, 0.9831 65.33%, 0.9913 73.67%, 0.996 83.17%, 1);
  --spring-dur: 514ms;
  --spring-fast-dur: 367ms;
  --ease: cubic-bezier(.2, .7, .2, 1);  /* so a entrada unica da jornada no mock (animacao de apresentacao, nao de controle) */
  --dur-fast: 120ms;                    /* hover e cor */
  --dur-base: 220ms;                    /* esmaecer e saidas */
  --press-scale: .97;                   /* resposta no pointer-down */
  --press-scale-sm: .92;                /* controles so de icone */
  --press-dur: 100ms;

  /* Material: so no cabecalho fixo, onde o conteudo rola por baixo; nunca um translucido sobre outro */
  --material: rgba(255, 255, 255, .84);
  --material-blur: saturate(180%) blur(20px);
  --scrim: rgba(13, 26, 51, .32);
  --focus-ring: 2px solid var(--blue);

  /* Espacamento entre letras por tamanho (quanto maior o texto, mais apertado) e entrelinha inversa ao tamanho */
  --tr-hero: -.04em;       /* 56-72 px: hero e CTA */
  --tr-display: -.032em;   /* 30-56 px: titulos de secao e de documento */
  --tr-title: -.015em;     /* 16-23 px: titulos de cartao, passo e secao do texto */
  --tr-body: 0;            /* 14-17 px */
  --tr-caption: .01em;     /* 12-13 px: rotulos, legendas, fichas */
}

/* ------------------------------------------------------------------ BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: var(--fs-base); line-height: 1.6; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: var(--fw-semibold); letter-spacing: var(--tr-title); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
code, kbd, pre { font-family: var(--mono); }
:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: #d6ddf3; color: var(--ink); }
[hidden] { display: none !important; }
/* Icones do sprite: traco na cor do texto. */
.i { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  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: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--navy); color: #fff; font-weight: var(--fw-semibold); font-size: var(--fs-ui); transition: top var(--spring-fast-dur) var(--spring);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ------------------------------------------------------------------ BOTOES */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-md); font: inherit; font-size: var(--fs-md); font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-body); line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--spring-fast-dur) var(--spring);
  -webkit-user-select: none; user-select: none;
}
/* resposta no pointer-down (instantanea); a volta usa a mola */
.btn:active { transform: scale(var(--press-scale)); transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast), var(--press-dur); }
/* a seta aponta para onde o clique leva */
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--spring-fast-dur) var(--spring); }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--brand-btn); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 2px rgba(29, 43, 94, .28); }
.btn-primary:hover { background: var(--brand-btn-hover); color: #fff; }
.btn-primary:active { background: var(--brand-btn-hover); filter: brightness(.94); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--ink); border-color: #b8c0cd; }
.btn-secondary:active { background: var(--well); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef2f9; color: var(--navy); }
.btn-light:active { background: #e2e8f3; }
.btn-light:focus-visible { outline-color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: var(--fs-ui); border-radius: var(--radius-sm); }
/* botao so de texto ("Sign in" do cabecalho): peso medio, fundo so no hover */
.btn-text { background: transparent; color: var(--ink-2); font-weight: var(--fw-medium); }
.btn-text:hover { background: var(--bg); color: var(--ink); }
.btn-text:active { background: #e8ecf3; }

/* ------------------------------------------------------------------ CABECALHO */
/* Cabecalho fixo em material translucido (o conteudo rola por baixo). Borda de rolagem em vez de divisoria fixa:
   no topo da pagina nao ha linha; o site.js marca data-scrolled e so entao aparece o fio + sombra suave.
   Sem JavaScript a linha fica sempre (nada depende do script). */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--material);
  -webkit-backdrop-filter: var(--material-blur); backdrop-filter: var(--material-blur);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.js .site-header { border-bottom-color: transparent; }
.js .site-header[data-scrolled] { border-bottom-color: var(--line); box-shadow: 0 8px 16px -14px rgba(13, 26, 51, .28); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
/* Lockup "Nevian Track" (SVG, 158x20): 20px de altura no cabecalho e no rodape (sem o TM, que a marca so usa com
   letra de 24px ou mais). */
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { width: auto; height: 20px; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-size: var(--fs-ui); font-weight: var(--fw-medium);
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.nav-links a:hover { color: var(--ink); background: var(--bg); }
.nav-links a:active { background: #e8ecf3; transition-duration: 0s; }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color var(--dur-fast), transform var(--spring-fast-dur) var(--spring);
}
.nav-toggle:active { transform: scale(var(--press-scale-sm)); background: var(--well); transition-duration: var(--dur-fast), var(--press-dur); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 899px) {
  .header-inner { gap: 16px; }
  /* Sem JavaScript: os links ficam visiveis numa segunda linha rolavel. */
  .site-header .header-inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px; }
  .site-nav { flex-basis: 100%; flex-wrap: wrap; row-gap: 8px; }
  .nav-links a, .nav-actions .btn { white-space: nowrap; }
  .nav-links a { padding: 0 10px; }
  .nav-actions { margin-left: 0; }
  /* Com JavaScript: botao de menu e painel recolhivel. */
  .js .site-header .header-inner { flex-wrap: nowrap; height: var(--header-h); padding-top: 0; padding-bottom: 0; }
  .js .nav-toggle { display: inline-flex; }
  /* Painel do menu: desce de baixo do cabecalho e volta pelo mesmo caminho (mola; reabrir no meio da saida reverte
     do ponto atual). A pagina escurece atras (tarefa modal) e tocar no veu fecha (site.js). Painel solido: nunca um
     translucido sobre o material do cabecalho. Escondido com visibility: fora da ordem do Tab enquanto fechado.
     Opacidade curta (painel solido nao fica "vazado" sobre o texto) e deslocamento na mola. */
  .js .site-nav {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-menu);
    visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity var(--dur-fast) ease, transform var(--spring-dur) var(--spring), visibility 0s linear var(--dur-fast);
  }
  .js .site-nav.is-open {
    visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    transition: opacity var(--dur-fast) ease, transform var(--spring-dur) var(--spring), visibility 0s;
  }
  .js .site-nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: var(--scrim); }
  .js .nav-links { flex-direction: column; align-items: stretch; }
  .js .nav-links a { display: flex; height: 48px; font-size: var(--fs-base); padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .nav-links a:hover { background: transparent; }
  .js .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; }
  .js .nav-actions .btn { height: 48px; font-size: var(--fs-base); }
  .js .nav-actions .btn-text { border-color: var(--line-2); }
}

/* ------------------------------------------------------------------ SECOES (compartilhado) */
.section { padding: clamp(80px, 10vw, 128px) 0; scroll-margin-top: var(--header-h); }
.section-alt { background: var(--bg); }
.section-head { max-width: 700px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-label { display: block; margin-bottom: 14px; font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--blue); letter-spacing: var(--tr-body); }
.section-head h2, .split-copy h2 {
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: var(--tr-display); font-weight: var(--fw-bold); text-wrap: balance;
}
/* Paragrafo de abertura da secao: so o <p> sem classe (linhas com classe propria, como .contact-line, ficam de fora). */
.section-head > p, .split-copy > p:not([class]) { margin-top: 18px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 620px; }

/* ------------------------------------------------------------------ HERO */
.hero { position: relative; padding-top: clamp(56px, 8vw, 104px); overflow: hidden; }
/* Textura discreta: grade fina que some em direcao ao texto (preenche o lado direito sem imagem). */
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 88% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 88% 0%, #000 0%, transparent 72%);
  opacity: .75;
}
.hero-copy { position: relative; }
/* Publico do produto, acima do titulo. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 6px; margin-bottom: 28px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm); font-weight: var(--fw-medium); letter-spacing: var(--tr-caption); color: var(--ink-2);
}
.eyebrow-mark { width: 22px; height: 4px; border-radius: 4px; background: var(--trace); }
.hero h1 {
  max-width: 1120px; font-size: clamp(40px, 5.3vw, 72px); line-height: 1.04; letter-spacing: var(--tr-hero); font-weight: var(--fw-brand-bold);
  text-wrap: balance;
}
/* Dupla leve/negrito do titulo: linha leve + linha em negrito. */
.hero h1 .h-light { display: block; font-weight: var(--fw-brand-light); letter-spacing: var(--tr-hero); }
.hero-lead { margin-top: 26px; max-width: 640px; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; list-style: none; font-size: var(--fs-ui); color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* Palco do mock: faixa cinza que comeca no meio do painel. */
.stage { position: relative; margin-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(64px, 8vw, 104px); }
.stage::before {
  content: ""; position: absolute; left: 0; right: 0; top: clamp(90px, 14vw, 180px); bottom: 0;
  background: var(--bg); border-top: 1px solid var(--line);
}
.stage .container { position: relative; }
.mock-figure { margin: 0; }
.mock-caption { margin-top: 18px; text-align: center; font-size: var(--fs-sm); letter-spacing: var(--tr-caption); color: var(--muted); }

/* ------------------------------------------------------------------ MOCK DO PAINEL (ilustrativo) */
.mock {
  position: relative; overflow: hidden; border-radius: var(--radius); background: #fff;
  border: 1px solid rgba(13, 26, 51, .1); box-shadow: var(--shadow-lg); font-size: var(--fs-sm); color: var(--ink);
  user-select: none;
}
/* Barra grafite com filete branco de 7 %, como a barra do painel (sem o traco da marca); lockup monocromatico de 13px
   (minimo da marca: 10px de letra). */
.mock-bar { display: flex; align-items: center; gap: 22px; height: 46px; padding: 0 18px; color: var(--bar-ink);
  background: var(--bar); box-shadow: inset 0 -1px 0 var(--bar-line); }
.mock-brand { display: inline-flex; align-items: center; }
.mock-brand img { width: auto; height: 13px; }
.mock-tabs { display: flex; gap: 4px; list-style: none; }
.mock-tabs li { padding: 5px 10px; border-radius: 6px; font-size: var(--fs-xs); color: rgba(255, 255, 255, .72); }
.mock-tabs li.is-active { background: rgba(255, 255, 255, .12); color: var(--bar-ink); font-weight: var(--fw-medium); }
.mock-range {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; font-size: var(--fs-xs); color: rgba(255, 255, 255, .9);
}
.mock-range svg { width: 13px; height: 13px; }
.mock-avatar { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.mock-body { display: grid; gap: 16px; padding: 20px; background: var(--bg); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.kpi-head { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink-2); }
.kpi-ic { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: #fff; flex: none; }
.kpi-ic svg { width: 15px; height: 15px; }
.kpi-ic.is-spend { background: var(--data-blue); }
.kpi-ic.is-revenue { background: #3ba55c; }
.kpi-ic.is-roas { background: #f0a33a; }
.kpi-value { margin-top: 14px; font-size: 30px; line-height: 1.1; font-weight: var(--fw-semibold); letter-spacing: var(--tr-display); font-variant-numeric: tabular-nums; }
.kpi-delta { margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); }
.kpi-delta b { color: var(--green); font-weight: var(--fw-semibold); }
.kpi-delta b.is-neutral { color: var(--ink-2); }
.mock-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; }
.panel { min-width: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 12px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.legend { display: flex; gap: 14px; font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--muted); white-space: nowrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 3px; border-radius: 2px; background: var(--data-blue); }
.legend i.is-spend { background: #9aa3b2; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.pill-green { background: #e5f5eb; color: #11683a; }

/* Jornada da venda: o traco tonal liga o anuncio a venda (assinatura); os pontos seguem o traco. */
.trace-steps { position: relative; list-style: none; display: grid; gap: 12px; padding-left: 26px; }
.trace-steps::before {
  content: ""; position: absolute; left: 6px; top: 7px; bottom: 7px; width: 2px; border-radius: 2px;
  background: var(--trace-v); transform-origin: top;
}
.trace-steps li { position: relative; display: flex; justify-content: space-between; gap: 10px; }
.trace-steps li::before {
  content: ""; position: absolute; left: -26px; top: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--dot, var(--trace-1)); box-sizing: border-box;
}
.trace-steps li:nth-child(1) { --dot: var(--trace-1); }
.trace-steps li:nth-child(2) { --dot: color-mix(in srgb, var(--trace-1) 50%, var(--trace-2)); }
.trace-steps li:nth-child(3) { --dot: var(--trace-2); }
.trace-steps li:nth-child(4) { --dot: color-mix(in srgb, var(--trace-2) 50%, var(--trace-3)); }
.trace-steps li:nth-child(5) { --dot: var(--trace-3); }
.trace-steps li:nth-child(5)::before { background: var(--trace-3); }
.t-main { min-width: 0; }
.t-main b { display: block; font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-main > span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-side { flex: none; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.t-amount { font-variant-numeric: tabular-nums; }

.mock-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.mock-table th { padding: 0 0 8px; text-align: right; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--muted); border-bottom: 1px solid var(--line); }
.mock-table td { padding: 9px 0; text-align: right; border-bottom: 1px solid var(--line); }
.mock-table tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.mock-table th:first-child, .mock-table td:first-child { text-align: left; }
.mock-table td:first-child { font-weight: var(--fw-medium); }
.mock-table .roas { color: var(--green); font-weight: var(--fw-semibold); }

/* Entrada orquestrada da jornada (respeita reduced motion). */
@media (prefers-reduced-motion: no-preference) {
  .trace-steps::before { animation: bt-draw 1.1s var(--ease) .35s both; }
  .trace-steps li { animation: bt-rise .5s var(--ease) both; }
  .trace-steps li:nth-child(1) { animation-delay: .3s; }
  .trace-steps li:nth-child(2) { animation-delay: .5s; }
  .trace-steps li:nth-child(3) { animation-delay: .7s; }
  .trace-steps li:nth-child(4) { animation-delay: .9s; }
  .trace-steps li:nth-child(5) { animation-delay: 1.1s; }
}
@keyframes bt-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bt-rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ RECURSOS */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); list-style: none;
}
.feature { display: flex; flex-direction: column; padding: 30px 28px 32px; background: #fff; }
.feature-ic {
  width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--well); color: var(--navy);
}
.feature-ic svg { width: 20px; height: 20px; }
.feature h3 { font-size: var(--fs-base); line-height: 1.35; font-weight: var(--fw-semibold); letter-spacing: var(--tr-title); }
.feature p { margin-top: 10px; font-size: var(--fs-md); line-height: 1.6; color: var(--muted); }
.feature-spec { margin-top: auto; padding-top: 20px; font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: -.01em; }

/* ------------------------------------------------------------------ INTEGRACOES E SEGURANCA (texto + conteudo) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-copy .section-label { margin-bottom: 14px; }
.int-groups { display: grid; gap: 28px; }
.int-group h3 { margin-bottom: 14px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--muted); letter-spacing: var(--tr-caption); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  font-size: var(--fs-md); font-weight: var(--fw-semibold); letter-spacing: var(--tr-body); color: var(--ink);
}
.badge-code { font-family: var(--mono); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-2); border-style: dashed; box-shadow: none; background: transparent; }
.int-meta { display: grid; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.int-meta-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 22px; background: #fff; }
.int-meta-head strong { font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: var(--tr-title); }
.int-meta-head span { font-size: var(--fs-sm); color: var(--muted); }
.int-meta-row { margin: 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; padding: 14px 22px; background: #fff; font-size: var(--fs-md); }
.int-meta-row dt { font-weight: var(--fw-semibold); color: var(--ink); }
.int-meta-row dd { margin: 0; color: var(--muted); }
.fineprint { margin-top: 22px; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }

/* ------------------------------------------------------------------ COMO FUNCIONA (sequencia real: numeros) */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; }
.steps::before {
  content: ""; position: absolute; top: 17px; left: 18px; right: calc((100% - 96px) / 4 - 18px); height: 2px;
  border-radius: 2px; background: var(--trace); opacity: .9;
}
.step { position: relative; display: flex; flex-direction: column; }
.step-num {
  position: relative; width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px #fff;
  font-family: var(--mono); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--navy);
}
.step h3 { font-size: var(--fs-lg); line-height: 1.3; font-weight: var(--fw-semibold); letter-spacing: var(--tr-title); }
.step p { margin-top: 10px; margin-bottom: 22px; font-size: var(--fs-md); line-height: 1.6; color: var(--muted); }
/* Exemplo no pe de cada passo: sempre encostado embaixo, para os quatro ficarem na mesma linha. */
.step-artifact {
  margin-top: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--well);
  font-family: var(--mono); font-size: var(--fs-xs); line-height: 1.65; color: var(--ink-2); overflow-wrap: anywhere;
}
.step-artifact pre { margin: 0; white-space: pre-wrap; font: inherit; }
.tok-tag { color: var(--navy); font-weight: var(--fw-semibold); }
.tok-attr { color: #7a4fc4; }
.tok-str { color: var(--blue-2); }
.art-row { display: flex; justify-content: space-between; gap: 12px; }
.art-row span:first-child { flex: none; white-space: nowrap; }
.art-row span:last-child { text-align: right; }
.art-row + .art-row { margin-top: 4px; }
.art-ok { color: var(--green); font-weight: var(--fw-semibold); }
.chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-family: var(--font); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-2); }

/* ------------------------------------------------------------------ SEGURANCA E PRIVACIDADE */
.policy-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; list-style: none; font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.policy-links a { display: inline-flex; align-items: center; gap: 6px; }
.policy-links svg { width: 15px; height: 15px; transition: transform var(--spring-fast-dur) var(--spring); }
.policy-links a:hover svg { transform: translateX(2px); }
.contact-line { margin-top: 22px; font-size: var(--fs-md); color: var(--muted); }
.contact-line a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.trust { padding: 26px 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.trust-ic { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 18px; border-radius: var(--radius-sm); background: var(--graphite); color: #fff; }
.trust-ic svg { width: 18px; height: 18px; }
.trust h3 { font-size: var(--fs-base); font-weight: var(--fw-semibold); letter-spacing: var(--tr-title); }
.trust p { margin-top: 8px; font-size: var(--fs-md); line-height: 1.6; color: var(--muted); }

/* ------------------------------------------------------------------ CTA FINAL */
.cta { position: relative; padding: clamp(80px, 10vw, 128px) 0; background: var(--graphite); color: #fff; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--trace); }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: var(--tr-hero); font-weight: var(--fw-brand-bold); }
.cta h2 .h-light { display: block; font-weight: var(--fw-brand-light); letter-spacing: var(--tr-hero); }
.cta p { margin-top: 20px; max-width: 520px; font-size: var(--fs-lg); line-height: 1.55; color: rgba(255, 255, 255, .78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ RODAPE */
.site-footer { border-top: 1px solid var(--line); background: #fff; font-size: var(--fs-ui); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 64px 0 48px; }
.footer-brand p { margin-top: 16px; max-width: 320px; color: var(--muted); line-height: 1.6; }
.footer-col h2 { margin-bottom: 14px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: var(--tr-caption); color: var(--ink); }
.footer-col ul { display: grid; gap: 10px; list-style: none; }
.footer-col a { color: var(--muted); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--ink); }
.footer-col a[aria-current="page"] { color: var(--ink); font-weight: var(--fw-semibold); }  /* pagina atual (marcada pelo build.py) */
.footer-legal { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; padding: 24px 0 36px; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.65; color: var(--muted); }
.footer-legal strong { color: var(--ink-2); font-weight: var(--fw-semibold); }
/* Dado pendente de confirmacao pelo dono (ex.: nome do encarregado). Some sozinho quando o site_constants.py sincroniza o valor real. */
[data-pending] { padding: 0 4px; border-radius: 4px; background: #fff4d6; color: #7a5200; white-space: nowrap; }

/* ------------------------------------------------------------------ PAGINAS DE TEXTO (templates/page.html) */
.page-main { background: #fff; }
/* Medida de leitura: 660px a 17px = ~80 caracteres por linha. */
.prose { max-width: 660px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px); box-sizing: content-box; counter-reset: doc-sec; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.08; letter-spacing: var(--tr-display); font-weight: var(--fw-bold); text-wrap: balance; }
/* Datas do documento: cada rotulo fica junto da sua data quando a linha quebra. */
.prose .doc-meta { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 14px 0 32px; font-size: var(--fs-ui); color: var(--muted); }
.prose .doc-meta > span { white-space: nowrap; }
/* Primeiro paragrafo depois da data funciona como abertura do documento. */
.prose .doc-meta + p:not([class]) { font-size: var(--fs-lg); line-height: 1.65; color: var(--ink-2); }
.prose h2 { margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 23px; line-height: 1.25; letter-spacing: var(--tr-title); scroll-margin-top: calc(var(--header-h) + 20px); }
/* Secoes numeradas como no sumario (1. Summary ... 16. Contact us); o build.py garante a mesma ordem. */
.prose > h2 { counter-increment: doc-sec; }
.prose > h2::before { content: counter(doc-sec) ". "; color: var(--muted); font-variant-numeric: tabular-nums; }
.prose h3 { margin: 32px 0 10px; font-size: var(--fs-lg); line-height: 1.35; letter-spacing: var(--tr-title); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose p, .prose li, .prose dd { font-size: var(--fs-read); line-height: 1.7; color: var(--ink-2); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; padding-left: 4px; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: var(--fw-semibold); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose code { padding: 2px 6px; border-radius: 5px; background: var(--bg); font-size: .88em; color: var(--ink); }
.prose .toc { margin: 36px 0 8px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--well); }
.prose .toc > p { margin: 0 0 10px; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.prose .toc > p strong { color: inherit; font-weight: var(--fw-semibold); }
.prose .toc ol { margin: 0; columns: 2; column-gap: 32px; }
/* padding (e nao margin) para as duas colunas comecarem alinhadas. */
.prose .toc li { margin: 0; padding: 3px 0 3px 4px; font-size: var(--fs-ui); line-height: 1.5; break-inside: avoid; }
.prose .toc li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
/* Sumario sem sublinhado: lista de navegacao, nao links no meio do texto (o foco usa o contorno global). */
.prose .toc a { color: var(--ink-2); text-decoration: none; transition: color var(--dur-fast); }
.prose .toc a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
/* Link permanente dos titulos (gerado pelo site/build.py): o proprio titulo e o link, sem cara de link.
   O "#" fica na margem esquerda e aparece no hover, no foco do teclado e na secao aberta pelo sumario (:target).
   content "#" / "" = texto alternativo vazio: o "#" nao entra no nome lido pelo leitor de tela. */
.prose h2, .prose h3 { position: relative; }
.prose .heading-anchor, .prose .heading-anchor:hover { color: inherit; text-decoration: none; }
.prose .heading-anchor::before { content: "#"; content: "#" / ""; position: absolute; left: -.95em; font-weight: var(--fw-medium); color: var(--muted); opacity: 0; transition: opacity var(--dur-fast); }
.prose .heading-anchor:hover::before, .prose .heading-anchor:focus-visible::before { opacity: 1; }
.prose :target > .heading-anchor::before { opacity: 1; color: var(--blue); }

/* Trilho lateral "On this page" (copia do sumario, montada pelo build.py): so em telas largas, onde substitui o
   sumario do texto. O site.js marca a secao visivel com aria-current. */
.doc-rail { display: none; }
.doc-rail-title { margin: 0 0 12px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--muted); }
.doc-rail ol { margin: 0; padding-left: 24px; }
.doc-rail li { padding: 4px 0; font-size: var(--fs-ui); line-height: 1.45; }
.doc-rail li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.doc-rail a { color: var(--ink-2); transition: color var(--dur-fast); }
.doc-rail a:hover { color: var(--blue); }
.doc-rail a[aria-current] { color: var(--ink); font-weight: var(--fw-semibold); }
.doc-rail li:has(> a[aria-current])::marker { color: var(--blue); }
@media (min-width: 1280px) {
  .doc-shell { display: grid; grid-template-columns: 220px minmax(0, 660px); gap: 64px; justify-content: center; padding: 0 var(--gutter); }
  .doc-shell .prose { max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
  .doc-shell .prose .toc { display: none; }
  .doc-rail {
    display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start;
    max-height: calc(100vh - var(--header-h) - 64px); overflow: auto; overscroll-behavior: contain;
    margin-top: clamp(48px, 7vw, 96px); padding: 2px 8px 2px 2px;
  }
}

/* Status do pedido de exclusao de dados (preenchido pelo site.js em /data-deletion?code=). */
.deletion-status { margin: 32px 0; scroll-margin-top: calc(var(--header-h) + 24px); padding: 22px 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.deletion-status .ds-title { margin: 0; padding: 0; border: 0; font-size: var(--fs-lg); letter-spacing: var(--tr-title); }
.ds-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ds-badge { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); background: var(--bg); color: var(--ink-2); }
.ds-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ds-badge.is-pending { background: #fff3dc; color: #7f4f00; }
.ds-badge.is-completed { background: #e5f5eb; color: #11683a; }
.ds-badge.is-refused, .ds-badge.is-error { background: #fdecee; color: #a4242b; }
.ds-badge.is-loading::before { animation: bt-pulse 1s ease-in-out infinite alternate; }
/* resultado da consulta: o conteudo novo esmaece no lugar (mudanca de estado, sem deslocamento) */
.deletion-status:not([data-state="loading"]) > * { transition: opacity var(--dur-base) ease; }
@starting-style { .deletion-status:not([data-state="loading"]) > * { opacity: 0; } }
@keyframes bt-pulse { from { opacity: .25; } to { opacity: 1; } }
.prose .deletion-status .ds-text { margin: 14px 0 0; }
.ds-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-ui); }
.ds-list dt { color: var(--muted); }
.prose .ds-list dd { margin: 0; font-size: var(--fs-ui); line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.ds-code { font-family: var(--mono); font-size: var(--fs-sm); }
.ds-retry { margin-top: 16px; }

/* ------------------------------------------------------------------ 404 */
.notfound { padding: clamp(80px, 12vw, 160px) 0; }
.notfound-code { font-family: var(--mono); font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--blue); }
.notfound h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: var(--tr-hero); font-weight: var(--fw-bold); }
.notfound p { margin-top: 18px; max-width: 520px; font-size: var(--fs-lg); color: var(--ink-2); }
.notfound .hero-actions { margin-top: 32px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; list-style: none; font-size: var(--fs-md); font-weight: var(--fw-semibold); }

/* ------------------------------------------------------------------ RESPONSIVO */
@media (min-width: 1081px) {
  /* Exemplos de "How it works" com a mesma altura nas quatro colunas. */
  .step-artifact { min-height: 98px; }
  /* O texto da secao acompanha a rolagem ao lado da coluna mais alta (integracoes, cartoes de seguranca). */
  .split-copy { position: sticky; top: calc(var(--header-h) + 40px); }
}
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  /* Texto e conteudo empilhados: em duas colunas os cartoes ficariam estreitos demais (~250px). */
  .split { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .mock-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .mock-tabs, .mock-avatar { display: none; }
  .mock-body { padding: 12px; gap: 12px; }
  .kpis { gap: 8px; }
  .kpi { padding: 12px; }
  .kpi-head { flex-direction: column; align-items: flex-start; gap: 8px; font-size: var(--fs-xs); }
  .kpi-ic { width: 24px; height: 24px; }
  .kpi-value { margin-top: 8px; font-size: 19px; }
  .kpi-delta { display: none; }
  .panel { padding: 14px; }
  .panel-table { display: none; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .int-meta-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .prose .toc ol { columns: 1; }
  .prose .heading-anchor::before { display: none; }  /* sem margem lateral para o "#" no celular */
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  /* Celular: icone ao lado do titulo (cartoes mais curtos, lista menos longa). */
  .feature, .trust { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .feature { padding: 22px 20px 24px; }
  .trust { padding: 22px 20px 24px; }
  .feature-ic, .trust-ic { margin-bottom: 0; }
  .feature-ic { width: 36px; height: 36px; }
  .feature p, .feature-spec, .trust p { grid-column: 1 / -1; }
  .feature p { margin-top: 12px; }
  .trust p { margin-top: 12px; }
  .feature-spec { padding-top: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-left: 0; }
  .steps::before { display: block; top: 18px; bottom: 18px; left: 17px; right: auto; width: 2px; height: auto; background: var(--trace-v); }
  .step { padding-left: 60px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  /* Botoes do hero e do CTA final ocupam a largura toda, do mesmo jeito. */
  .cta-actions { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 48px; }
  .ds-list { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ds-list dd + dt { margin-top: 10px; }
}

/* ------------------------------------------------------------------ IMPRESSAO (textos legais em papel ou PDF) */
@media print {
  .site-header, .skip-link, .footer-top, .doc-rail { display: none; }
  body { display: block; }
  .prose { max-width: none; padding: 0; }
  .prose h2, .prose h3 { break-after: avoid; }
  .prose .toc { break-inside: avoid; }
  .prose .heading-anchor::before { display: none; }
  .prose a { color: inherit; }
  .footer-legal { border-top: 1px solid #999; }
}

/* ------------------------------------------------------------------ ACESSIBILIDADE */
/* Movimento reduzido: sem deslocamento nem mola, so esmaecer curto; cor e opacidade continuam informando.
   (A entrada da jornada no mock ja so roda com no-preference.) */
@media (prefers-reduced-motion: reduce) {
  :root { --spring: ease; --spring-dur: 180ms; --spring-fast-dur: 140ms; --press-scale: 1; --press-scale-sm: 1; }
  html { scroll-behavior: auto; }
  .js .site-nav { transform: none; }
  .btn:hover svg, .policy-links a:hover svg { transform: none; }
  .ds-badge.is-loading::before { animation: none; }
}
/* Transparencia reduzida: o cabecalho vira superficie solida */
@media (prefers-reduced-transparency: reduce) {
  :root { --material: #fff; --material-blur: none; }
}
/* Contraste alto: linhas definidas, texto secundario mais escuro, cabecalho solido com borda sempre visivel */
@media (prefers-contrast: more) {
  :root { --line: #b3bac7; --line-2: #8f98a8; --muted: #3f4757; --material: #fff; --material-blur: none; --scrim: rgba(13, 26, 51, .5); }
  .js .site-header { border-bottom-color: var(--line); }
}
