/* Otto — landing page
   Preto de verdade, cartões em grafite e o logotipo em prata. O azul Otto
   só aparece como sinal (foco, links, item ativo); verde, âmbar e vermelho
   só indicam status. O único degradê é o prata do logotipo.
   Assinatura gráfica: o corte de 45° da marca (fita de NRs, rótulos, trajetos).
   Movimento: tudo que anima fica sob `.anim` (posta no <html> quando o
   visitante não pediu menos movimento). Sem `.anim`, cada tela aparece pronta.
   Tema: escuro é o padrão; `data-theme="light"` no <html> liga o claro. */

:root {
  --bg: #000000;
  --surface: #111113;
  --surface-2: #1C1C1E;
  --border: #2C2C2E;
  --border-2: #3A3A3C;
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --text-3: #8E8E93;
  --primary: #FFFFFF;
  --on-primary: #000000;
  --accent: #0A84FF;
  --link: #4DA3FF;
  --accent-soft: #0A1E36;
  --ok: #4FD69C;
  --ok-soft: #0F2A22;
  --warn: #FFC457;
  --warn-soft: #2E2410;
  --bad: #FF8589;
  --bad-soft: #33161B;
  --seg: #A1A1A6;
  --frame: #3A3A3C;

  --font: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --surface-2: #FFFFFF;
  --border: #D2D2D7;
  --border-2: #C7C7CC;
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --text-3: #6E6E73;
  --primary: #000000;
  --on-primary: #FFFFFF;
  --link: #0066CC;
  --accent-soft: #E8F2FF;
  --ok: #0E7A4E;
  --ok-soft: #E3F5EC;
  --warn: #8A5A00;
  --warn-soft: #FFF1D6;
  --bad: #C4262E;
  --bad-soft: #FDE8E9;
  --seg: #6E6E73;
  --frame: #1D1D1F;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
.mono { font-family: var(--mono); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Defs escondidas (degradê prata e ícones). Não use display:none: o Firefox
   deixa de pintar o degradê referenciado. */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --- Logotipo ------------------------------------------------------------
   Prata sobre preto; no claro, a versão chapada em preto. Sem sombra,
   sem contorno, sem rotação. */
.logo { height: 22px; width: auto; }
.logo .logo-mark { fill: url(#otto-prata); }
.logo .logo-seg { fill: var(--seg); }
[data-theme="light"] .logo .logo-mark { fill: var(--text); }
.logo-full { height: 32px; } /* com "SEG": sempre 24 px ou mais */

/* --- Ícones da marca (24 px, traço 1,5, currentColor) -------------------- */
.ico { width: 20px; height: 20px; flex: none; color: var(--text-2); }

/* --- Sublinhado de destaque ----------------------------------------------
   Uma linha fina que corre da esquerda para a direita sob o trecho. */
.hl {
  background-image: linear-gradient(var(--hl, currentColor), var(--hl, currentColor));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  padding-bottom: 2px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  transition: background-size .7s var(--ease-io);
}

/* --- Botões ------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  font: 600 16px/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14.5px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 86%, var(--bg)); }
.btn-line { border-color: var(--border-2); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--text-2); background: var(--surface); }

.link-quiet { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text-2); }
.link-quiet:hover { color: var(--text); }

/* --- Navegação ---------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 36px; height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); padding: 6px 0; }
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a { position: relative; text-decoration: none; font-size: 14.5px; color: var(--text-2); padding: 6px 0; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
/* Item ativo: o ponto azul é o sinal da marca. */
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: -4px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .3s var(--ease);
}
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { transform: scale(1); }
.nav-cta { display: flex; align-items: center; gap: 20px; margin-left: auto; }

/* --- Tipografia de seção ----------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-3);
  margin-bottom: 20px;
}
/* O corte de 45° da marca, como marcador. */
.eyebrow::before, .cut::before {
  content: ''; flex: none; width: 3px; height: 11px; background: currentColor; transform: skewX(-45deg);
}

h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.04; letter-spacing: -0.028em;
  font-weight: 600;
  max-width: 13ch;
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1; letter-spacing: -0.024em;
  font-weight: 600;
  max-width: 21ch;
  text-wrap: balance;
}
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }

.lede { font-size: 19px; color: var(--text-2); max-width: 34em; margin-top: 26px; text-wrap: pretty; }
.sec-lede { font-size: 18px; color: var(--text-2); max-width: 38em; margin-top: 20px; text-wrap: pretty; }

/* Entrada das seções: curta, só uma vez. */
.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.anim .reveal.in { opacity: 1; transform: none; }

/* Entrada do hero ao carregar */
.anim .hero-copy > * { animation: rise .9s var(--ease) both; }
.anim .hero-copy > :nth-child(2) { animation-delay: .06s; }
.anim .hero-copy > :nth-child(3) { animation-delay: .14s; }
.anim .hero-copy > :nth-child(4) { animation-delay: .22s; }
.anim .hero-copy > :nth-child(5) { animation-delay: .3s; }
.anim .doc { animation: doc-in 1.1s var(--ease) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes doc-in { from { opacity: 0; transform: translateY(28px); } }

/* --- Hero --------------------------------------------------------------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.hero-copy { padding-top: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: 15px; color: var(--text-3); max-width: 30em; }
.hero-note b { color: var(--text); font-weight: 500; }

.hero-visual { position: relative; padding-bottom: 150px; }

/* O documento: é o PDF da empresa de SST, então continua papel branco
   nos dois temas. Cores próprias, independentes do tema da página. */
.doc {
  --d-ink: #1D1D1F;
  --d-ink-2: #3A3A3C;
  --d-ink-3: #6E6E73;
  --d-line: #D2D2D7;
  --d-bad: #C4262E;
  --d-bad-soft: #FDE8E9;
  --rot: -1deg;
  background: #FFFFFF;
  color: var(--d-ink);
  border: 1px solid var(--d-line);
  border-radius: 3px;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .7);
  padding: 26px 28px 22px;
  font-size: 13px; line-height: 1.45;
  transform: rotate(var(--rot));
  transform-origin: 60% 40%;
  max-width: 540px;
  margin-left: auto;
}
[data-theme="light"] .doc { box-shadow: 0 30px 60px -32px rgb(0 0 0 / .28); }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--d-ink); }
.doc-org { display: flex; gap: 10px; align-items: center; }
.org-logo {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  background: #1f3b5c; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em;
}
.doc-org strong { display: block; font-size: 13px; font-weight: 600; }
.doc-org div span { display: block; font-size: 11px; color: var(--d-ink-3); }
.doc-code { font-size: 12px; padding: 3px 7px; border: 1px solid var(--d-line); white-space: nowrap; }
.doc-title { font-size: 19px; margin: 16px 0 12px; letter-spacing: -0.02em; }
.doc-meta { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--d-line); border-left: 1px solid var(--d-line); }
.doc-meta div { padding: 6px 9px; border-right: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); }
.doc-meta dt { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--d-ink-3); }
.doc-meta dd { font-size: 12.5px; }
.doc-meta b { font-weight: 600; --hl: var(--d-ink); }
.doc-sec { margin-top: 16px; }
.doc-sec h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.doc-list { list-style: none; }
.doc-list li { padding-left: 14px; position: relative; }
.doc-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 5px; height: 1.5px; background: var(--d-ink); }
.tag { font-size: 10px; letter-spacing: .03em; padding: 2px 6px; border-radius: 3px; text-transform: none; font-weight: 600; }
.tag-bad { background: var(--d-bad-soft); color: var(--d-bad); }
.nc { display: grid; grid-template-columns: 172px 1fr; gap: 14px; }
.nc-photo { margin: 0; }
.nc-photo svg { width: 100%; height: auto; aspect-ratio: 200 / 130; }
.nc-photo figcaption { font-size: 10.5px; color: var(--d-ink-3); margin-top: 5px; line-height: 1.35; }
.nc-body { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-content: start; }
.nc-body dt { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--d-ink-3); padding-top: 2px; }
.nc-body dd { font-size: 12.5px; }
.nc-legal { min-height: 1.45em; }
.typing::after { content: ''; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.doc-sign .sig { border-top: 1px solid var(--d-ink-2); padding-top: 4px; position: relative; }
.doc-sign svg { position: absolute; bottom: 100%; left: 6px; width: 120px; height: 34px; }
.doc-sign span { font-size: 10.5px; color: var(--d-ink-3); }

/* A polia gira devagar, só para a foto não parecer um desenho parado. */
.anim .pulley { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* A mensagem enviada ao cliente */
.msg {
  --rot: 1.2deg;
  position: absolute; left: -8%; bottom: 0;
  width: min(296px, 64%);
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px 8px;
  font-size: 13.5px; line-height: 1.4;
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / .8);
  transform: rotate(var(--rot));
}
[data-theme="light"] .msg { box-shadow: 0 20px 40px -24px rgb(0 0 0 / .3); }
.msg-who { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.msg-who .ico { width: 14px; height: 14px; }
.msg-file { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 8px; margin-bottom: 8px; }
.msg-file b { display: block; font-size: 12.5px; font-weight: 500; }
.msg-file small { display: block; font-size: 11.5px; color: var(--text-3); }
.pdf-ico {
  flex: none; width: 34px; height: 40px; display: grid; place-items: end center; padding-bottom: 5px;
  border: 1px solid var(--border-2); border-radius: 4px 10px 4px 4px;
  color: var(--text-2); font: 600 9.5px/1 var(--mono); letter-spacing: .04em;
}
.msg-time { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.msg-time svg { width: 16px; height: 10px; color: var(--link); }

.replay {
  position: absolute; right: 0; bottom: 8px;
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  font-size: 13px; color: var(--text-3);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2);
  opacity: 0; pointer-events: none; transition: opacity .4s, color .2s;
}
.replay:hover { color: var(--text); }
.anim .scene-hero.done .replay { opacity: 1; pointer-events: auto; }

/* Linha do tempo do hero (só com movimento).
   Traços com pathLength=1: animation em vez de transition (a transição de
   stroke-dashoffset em <path> com pathLength falha em alguns Chromium). */
.anim .scene-hero .mark-box, .anim .scene-hero .sig path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.anim .scene-hero.s1 .mark-box { animation: draw .75s var(--ease-io) forwards; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.anim .scene-hero .mark-badge { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .4s var(--spring) .55s; }
.anim .scene-hero.s1 .mark-badge { transform: scale(1); }
.anim .scene-hero:not(.s2) .nc-legal { color: transparent; }
.anim .scene-hero .nc-late { opacity: 0; transform: translateY(4px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.anim .scene-hero.s2 .nc-late { opacity: 1; transform: none; transition-delay: .7s; }
.anim .scene-hero.s2 dd.nc-late:last-child { transition-delay: .85s; }
.anim .scene-hero.s3 .sig-1 path, .anim .scene-hero.s4 .sig-2 path { animation: draw .9s var(--ease-io) forwards; }
.anim .scene-hero:not(.s5) .hl-visit { background-size: 0% 2px; }
.anim .scene-hero .msg { opacity: 0; transform: translateY(26px) rotate(calc(var(--rot) - 2deg)); transition: opacity .5s var(--ease), transform .8s var(--spring); }
.anim .scene-hero.s6 .msg { opacity: 1; transform: rotate(var(--rot)); }
/* --- Seções ------------------------------------------------------------- */
.sec { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.sec-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-line { border-top: 1px solid var(--border); }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-h { margin-bottom: clamp(32px, 4vw, 56px); }

/* Como funciona: quatro passos numa linha, sem cartão. */
.how { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--border-2); }
.how li { padding: 22px 24px 0 0; }
.how li + li { padding-left: 24px; border-left: 1px solid var(--border); }
.how .mono { display: block; font-size: 12.5px; color: var(--text-3); margin-bottom: 14px; }
.how b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.how p { font-size: 15.5px; color: var(--text-2); text-wrap: pretty; }

/* --- Régua do dia ------------------------------------------------------- */
.ruler {
  margin: 0 0 clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 24px; row-gap: 0;
  align-items: center;
}
.r-scale { position: relative; height: 22px; font-size: 12px; color: var(--text-3); }
.r-scale span { position: absolute; left: calc((var(--h) - 6) / 17 * 100%); transform: translateX(-50%); }
.r-scale span:first-child { transform: none; }
.r-label { padding: 18px 0; border-top: 1px solid var(--border-2); }
.r-label b { display: block; font-size: 16px; font-weight: 600; }
.r-label span { font-size: 14px; color: var(--text-3); }
.r-label em { font-style: normal; font-weight: 600; }
.r-bad { color: var(--bad); }
.r-good { color: var(--ok); }
.r-track {
  position: relative;
  border-top: 1px solid var(--border-2);
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px);
  background-size: calc(100% / 17) 100%;
  align-self: stretch;
  min-height: 76px;
}
.seg {
  position: absolute; top: 50%; height: 22px; margin-top: -11px;
  left: calc((var(--a) - 6) / 17 * 100%);
  width: max(4px, calc((var(--b) - var(--a)) / 17 * 100%));
  border-radius: 2px;
  transform-origin: 0 50%;
  transition: transform .45s var(--ease);
  transition-delay: calc((var(--a) - 6) / 17 * 2.6s);
}
/* Trajeto: listras a 45°, o mesmo corte do logotipo. */
.seg-trip { background: repeating-linear-gradient(135deg, var(--border-2) 0 2px, transparent 2px 6px); }
.seg-visit { background: var(--text-2); }
.seg-old { background: var(--bad); }
.seg-new { background: var(--ok); }
.seg-tag {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 500; font-style: normal; white-space: nowrap; color: var(--ok);
  transition: opacity .4s; transition-delay: inherit;
}
.seg-old .seg-tag { color: var(--bad); }
.r-track::after {
  content: ''; position: absolute; top: 8px; bottom: 8px; left: 0; width: 1px;
  background: var(--text); opacity: 0; pointer-events: none;
}
.r-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12px; color: var(--text-3); padding-top: 14px; border-top: 1px solid var(--border-2); }
.r-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { display: inline-block; width: 18px; height: 10px; border-radius: 2px; }
.sw-trip { background: repeating-linear-gradient(135deg, var(--border-2) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--border); }
.sw-visit { background: var(--text-2); }
.sw-old { background: linear-gradient(90deg, var(--bad) 50%, var(--ok) 50%); }

.anim .ruler:not(.in) .seg { transform: scaleX(0); }
.anim .ruler:not(.in) .seg-tag { opacity: 0; }
.anim .ruler.in .r-track::after { animation: sweep 2.6s linear forwards; }
@keyframes sweep {
  0% { left: 0; opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* --- Preço ------------------------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.price .sec-h { margin-bottom: 0; }
.price-note { margin-top: 20px; font-size: 15.5px; color: var(--text-3); max-width: 30em; }

/* Painel do plano: um só, com a troca mensal/anual em CSS (:has). */
.plan-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
}
.bill { display: flex; margin: 0 0 28px; padding: 4px; border: 0; background: var(--bg); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); }
.bill input { position: absolute; opacity: 0; pointer-events: none; }
.bill label {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--text-2); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.bill label:hover { color: var(--text); }
.bill input:checked + label { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-2); }
.bill input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.bill-save { font: 500 12px/1 var(--mono); color: var(--ok); }
@media (max-width: 420px) { .bill label { gap: 5px; font-size: 14px; } .bill-save { font-size: 10.5px; letter-spacing: -0.02em; } }

.pb-amt { display: flex; align-items: baseline; gap: 6px; }
.pb-amt b { font-size: clamp(52px, 5.4vw, 68px); line-height: 1; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.pb-amt span { font-size: 18px; color: var(--text-2); }
.pb-sub { margin-top: 12px; font-size: 15px; color: var(--text-2); min-height: 3em; }
.pb-was { margin-left: 4px; color: var(--text-3); text-decoration-thickness: 1.5px; }

.pr-a { display: none; }
.plan-box:has(#bill-a:checked) .pr-a { display: block; }
.plan-box:has(#bill-a:checked) .pr-m { display: none; }
.pb-fine span.pr-m { display: inline; }
.plan-box:has(#bill-a:checked) .pb-fine span.pr-m { display: none; }

.pb-list { list-style: none; margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.pb-list li { position: relative; padding-left: 26px; font-size: 15.5px; }
.pb-list li::before {
  content: ''; position: absolute; left: 2px; top: .38em; width: 10px; height: 6px;
  border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg);
}
.pb-btn { width: 100%; }
.pb-fine { margin-top: 14px; font-size: 13.5px; color: var(--text-3); text-align: center; text-wrap: balance; }
.pb-fine b { color: var(--text-2); font-weight: 500; }

.faq-a a, .prose a, .link { color: var(--link); text-underline-offset: 3px; }

/* --- FAQ ---------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
.faq-grid .sec-h { margin: 0; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  transition: color .2s;
}
.faq summary:hover { color: var(--text-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-weight: 400; font-size: 22px; color: var(--text-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a p { padding: 0 0 22px; color: var(--text-2); max-width: 40em; }
.anim .faq details[open] .faq-a { animation: faq-open .45s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* --- CTA ---------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--surface); border-top: 1px solid var(--border); padding: clamp(64px, 9vw, 112px) 0; }
.cta-in { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { max-width: 16ch; }
.cta p { margin-top: 16px; font-size: 18px; max-width: 32em; color: var(--text-2); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* --- Rodapé ------------------------------------------------------------- */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--border); }
.cta + .foot, .foot-plain { border-top-color: var(--border); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 40px; align-items: center; }
.foot p { color: var(--text-2); font-size: 15px; }
.foot-soon { font-size: 13.5px !important; color: var(--text-3) !important; }
.foot-small { grid-column: 2 / -1; font-size: 13px !important; color: var(--text-3) !important; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.foot-links a { color: var(--text-2); text-underline-offset: 3px; }
.foot-links a:hover { color: var(--text); }
.theme-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border-2); border-radius: 999px;
  height: 32px; padding: 0 12px; font-size: 13px; color: var(--text-2); cursor: pointer;
}
.theme-btn[hidden] { display: none; }
.foot-small .theme-btn { margin-left: 10px; vertical-align: middle; }
.theme-btn:hover { color: var(--text); border-color: var(--text-2); }
.theme-btn i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* CTA fixo no celular */
.dock { display: none; }

/* --- Responsivo --------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .doc { margin: 0 auto; }
  .msg { left: auto; right: 0; }
  .faq-grid, .price { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .how li:nth-child(3) { border-left: 0; padding-left: 0; }
  .foot-in { grid-template-columns: auto 1fr; }
  .foot-in .foot-links { grid-column: 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-in { gap: 16px; }
  .nav-cta { gap: 14px; }
  .nav-cta .btn-sm { padding: 0 14px; }
  .lede { font-size: 17px; }
  .hero-visual { padding-bottom: 214px; }
  .doc { --rot: 0deg; padding: 18px 16px 16px; font-size: 12px; }
  .doc-head { flex-direction: column; }
  .nc { grid-template-columns: 1fr; }
  .msg { --rot: .6deg; width: 82%; right: 4px; bottom: 34px; }

  .ruler { grid-template-columns: 1fr; }
  .ruler > div:empty { display: none; }
  .r-label { border-top: 1px solid var(--border-2); padding: 16px 0 0; }
  .r-track { border-top: 0; min-height: 64px; }
  .r-scale .r-minor { display: none; }
  .r-legend { border-top: 1px solid var(--border-2); }

  .how { grid-template-columns: 1fr; }
  .how { row-gap: 0; }
  .how li { padding: 18px 0; }
  .how li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .faq summary { font-size: 17px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .foot { padding-bottom: 104px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-small, .foot-in .foot-links { grid-column: 1; }

  .dock {
    display: block; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--border);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .dock .btn { width: 100%; }
  .dock.show { transform: none; }
}

@media (max-width: 400px) {
  .nav-cta .btn-sm { font-size: 13.5px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* --- Páginas legais (termos.html, privacidade.html) ---------------------
   Mesmo preto e grafite da landing, com leitura longa: coluna de ~70
   caracteres e sumário fixo ao lado no desktop. `.ph` (fundo âmbar) marca o
   que ainda precisa ser preenchido com os dados da empresa antes de publicar. */
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); }
.legal-head { padding-bottom: 32px; border-bottom: 1px solid var(--border-2); }
.legal-head h1 { font-size: clamp(38px, 5.2vw, 64px); max-width: none; }
.legal-meta { margin-top: 18px; font-size: 13px; color: var(--text-3); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal-tabs a {
  text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 16px; border: 1px solid var(--border-2); border-radius: 999px; color: var(--text-2);
}
.legal-tabs a:hover { color: var(--text); border-color: var(--text-2); }
.legal-tabs a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.legal-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; margin-top: 40px; }
.toc { position: sticky; top: 88px; align-self: start; font-size: 14px; }
.toc-h { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: toc; border-left: 1px solid var(--border); }
.toc li { counter-increment: toc; }
.toc a {
  display: grid; grid-template-columns: 26px 1fr; padding: 5px 0 5px 14px;
  text-decoration: none; color: var(--text-2); line-height: 1.35;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--text-3); padding-top: 1px; }
.toc a:hover { color: var(--text); }

.prose { max-width: 70ch; font-size: 17px; }
.prose section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--border); scroll-margin-top: 80px; }
.prose section:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.prose h2 { font-size: clamp(22px, 2.4vw, 27px); max-width: none; display: flex; gap: 12px; align-items: baseline; }
.prose h2 .n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.prose h3 { font-size: 18px; margin-top: 24px; }
.prose p, .prose ul, .prose ol, .prose .table-scroll { margin-top: 14px; }
.prose p, .prose li { color: var(--text-2); text-wrap: pretty; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--text-3); }

.summary {
  margin-bottom: 40px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 22px 24px; border-radius: var(--radius);
}
.summary .summary-h { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-top: 0; }
.summary .summary-h::before { content: ''; flex: none; width: 3px; height: 11px; background: currentColor; transform: skewX(-45deg); }
.summary ul { margin-top: 10px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.prose table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); background: var(--surface-2); }
[data-theme="light"] .prose th { background: var(--bg); }
.prose td { color: var(--text-2); }
.prose td:first-child { color: var(--text); font-weight: 600; width: 26%; }

.note { padding-left: 14px; border-left: 2px solid var(--border-2); font-size: 15.5px; }
.ph { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 35%, transparent); }

@media (max-width: 980px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 12px; }
  .toc ol { columns: 2; column-gap: 24px; border-left: 0; }
  .toc li { break-inside: avoid; }
  .toc a { padding-left: 0; }
}
@media (max-width: 760px) {
  .prose { font-size: 16px; }
  .toc ol { columns: 1; }
  .summary { padding: 18px; }
  .foot-plain { padding-bottom: 48px; }
}
