/* Granus AI · landing — mundo "Cédula" (ver DESIGN.md) no ritmo de página da
   referência: hero centralizado → filme do produto → seções alternando papel
   e noite → hub → abas → fechamento. Papel de algodão e tinta talho-doce; o
   azul da nota de R$ 100 é o único sinal; as denominações só selam e colorem
   séries; guilloché é a única ornamentação. */

:root {
  /* Papel (dia) */
  --paper-page: #e9ece7;
  --paper: #f6f7f3;
  --paper-well: #eef0eb;
  --paper-raised: #e2e6df;
  --line: #cfd5cc;
  --line-strong: #b4bcb2;

  /* Tinta talho-doce */
  --ink-strong: #0b1a2d;
  --ink: #16263b;
  --muted: #46536a;
  --subtle: #566275;
  --faint: #7d8796;

  /* Azul-cédula: único sinal interativo */
  --azul: #1f4e8c;
  --azul-hover: #183f73;
  --azul-active: #12345f;
  --azul-night: #3a72c4;
  --azul-night-hover: #3367b3;
  --azul-night-text: #a9c7f6;
  --blue: var(--azul);

  /* Denominações do Real (dia) */
  --note-100: #2b5c99;
  --note-50: #a8711f;
  --note-10: #b03636;
  --note-5: #6a4a9a;
  --note-20: #c47a12;
  --note-2: #2a7482;
  --note-200: #7a5a45;

  /* Noite */
  --night-page: #0b121d;
  --night-surface: #131c2a;
  --night-well: #0f1723;
  --night-raised: #1c2738;
  --night-line: #253348;
  --night-line-strong: #34465f;
  --night-strong: #f8fafd;
  --night-text: #e4eaf2;
  --night-muted: #aab7c9;
  --night-subtle: #93a2b7;

  --danger: #b03636;
  --danger-text: #932a2a;
  --danger-bg: #f6e3e1;
  --danger-night: #e06767;
  --success: #2f7a4f;
  --success-night: #4cb37a;

  --watermark: 0.12;
  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --shadow: 0 24px 64px rgba(16, 32, 52, 0.2), 0 2px 6px rgba(16, 32, 52, 0.1);
  --pop: 0 8px 24px rgba(16, 32, 52, 0.12), 0 1px 2px rgba(16, 32, 52, 0.08);
  --lift-night: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.35);

  /* O filme do produto é o app no tema noturno da Cédula. */
  --app-bg: #0b121d;
  --app-sunken: #08111d;
  --app-surface: #131c2a;
  --app-line: #253348;
  --app-line-2: #34465f;
  --app-ink: #e4eaf2;
  --app-ink-strong: #f8fafd;
  --app-muted: #aab7c9;
  --app-indigo: #3a72c4;
  --app-series-a: #5b8fd6;
  --app-series-b: #d39a44;
  --app-green: #4cb37a;
  --app-coral: #e06767;
  --app-amber: #d9a043;

  /* Tom da seção (papel por padrão) */
  --bg: var(--paper-page);
  --fg: var(--ink);
  --fg-strong: var(--ink-strong);
  --fg-muted: var(--muted);
  --fg-subtle: var(--subtle);
  --rule: var(--line);
  --rule-strong: var(--line-strong);
  --surface: var(--paper);
  --accent: var(--azul);
  --accent-hover: var(--azul-hover);
  --accent-ink: #ffffff;
  --link: var(--azul);
  --ok: var(--success);
  --bad: var(--danger);
}

/* ── Tons de seção ───────────────────────────────────────────────────── */

.tone-paper { --bg: var(--paper-page); }
.tone-cotton { --bg: var(--paper); --surface: #fbfcf9; }

.tone-night {
  --bg: var(--night-page);
  --fg: var(--night-text);
  --fg-strong: var(--night-strong);
  --fg-muted: var(--night-muted);
  --fg-subtle: var(--night-subtle);
  --rule: var(--night-line);
  --rule-strong: var(--night-line-strong);
  --surface: var(--night-surface);
  --accent: var(--azul-night);
  --accent-hover: var(--azul-night-hover);
  --link: var(--azul-night-text);
  --ok: var(--success-night);
  --bad: var(--danger-night);
  --note-100: #5b8fd6;
  --note-50: #d39a44;
  --note-10: #e06767;
  --note-5: #a185d4;
  --note-20: #e8a23c;
  --note-2: #4fa6b5;
  --note-200: #b48d72;
  --watermark: 0.13;
}

/* ── Base ────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper-page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-optical-sizing: auto;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: color-mix(in srgb, var(--azul) 22%, transparent); color: var(--ink-strong); }
.tone-night ::selection { background: color-mix(in srgb, var(--azul-night-text) 35%, transparent); color: #fff; }

html { scrollbar-color: var(--line-strong) var(--paper-page); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

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

.sr-only {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--azul);
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 50;
}
.skip-link:focus { top: 12px; }

/* Lucide troca <i> por <svg class="lucide">. */
.lucide { flex: none; height: 1em; width: 1em; stroke-width: 1.9; }

h1, h2, h3, h4 {
  color: var(--fg-strong);
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 1.2rem + 4.2vw, 76px);
  font-variation-settings: "wdth" 112;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.01;
}

h2 {
  font-size: clamp(30px, 1rem + 2.6vw, 50px);
  font-variation-settings: "wdth" 110;
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.06;
}

h3 {
  font-size: 19px;
  font-weight: 640;
  letter-spacing: -0.008em;
  line-height: 1.25;
}

p { text-wrap: pretty; }

/* ── Botões ──────────────────────────────────────────────────────────── */

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
  height: 40px;
  justify-content: center;
  padding: 0 16px;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
  white-space: nowrap;
}

.btn .lucide { height: 17px; width: 17px; transition: transform 200ms var(--ease); }
.btn:hover .lucide { transform: translateX(2px); }

.btn-lg { font-size: 16px; height: 50px; padding: 0 22px; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--azul-active); }

.btn-quiet {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--fg);
}
.btn-quiet:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); border-color: var(--accent); }

/* ── Header ──────────────────────────────────────────────────────────── */

.site-header {
  align-items: center;
  background: var(--paper);
  display: flex;
  gap: 28px;
  height: 68px;
  justify-content: space-between;
  padding: 0 var(--gutter);
  position: sticky;
  top: 0;
  z-index: 30;
}

/* Fio de segurança: as sete denominações numa faixa de 3px, como na borda
   do header do app. */
.security-thread {
  background: linear-gradient(90deg,
    var(--note-100) 0 30%, var(--note-50) 30% 46%, var(--note-10) 46% 58%,
    var(--note-5) 58% 70%, var(--note-20) 70% 80%, var(--note-2) 80% 90%, var(--note-200) 90% 100%);
  bottom: 0;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.brand {
  align-items: center;
  color: var(--fg-strong);
  display: inline-flex;
  gap: 10px;
  white-space: nowrap;
}

/* Marca + nome numa peça só (SVG em contornos, sem depender da fonte carregar).
   G inclinado que desenha o cubo (cada traço é uma aresta real: a barra é a aresta do topo até o centro
   e a espora desce pela aresta frontal); traço igual à haste da Chakra Petch Bold; nome em Chakra Petch
   Bold apertado, "AI" no âmbar das notas (azul + âmbar = os dois provedores). */
.brand-lockup {
  --brand-ai: var(--note-50, #a8711f);
  color: var(--azul);
  display: block;
  flex: none;
  height: 23.0px;
  width: 128.2px;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
}

.site-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 160ms var(--ease);
  white-space: nowrap;
}

.site-nav a::after {
  background: var(--azul);
  bottom: 0;
  content: "";
  height: 1.5px;
  left: 0;
  position: absolute;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover { color: var(--ink-strong); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  align-items: center;
  display: flex;
  gap: 14px;
}

.landing-locale {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  padding: 2px;
}

.landing-locale a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--subtle);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  height: 28px;
  padding: 0 9px;
  text-decoration: none;
}

.landing-locale a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.landing-locale a:hover:not([aria-current="page"]) { color: var(--ink-strong); }

.link-action {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.link-action:hover { color: var(--azul); }

/* Fechamento: a conversa com vendas como alternativa discreta ao formulário. */
.closing-sales { color: color-mix(in srgb, var(--fg) 80%, transparent); font-size: 15px; margin: 14px 0 0; }
.closing-sales a { color: var(--fg-strong); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.closing-sales a:hover { text-decoration-thickness: 2px; }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  background: var(--bg);
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) var(--gutter) 0;
  position: relative;
  text-align: center;
}

/* Papel de segurança: rosácea grande sangrando atrás do título e ondas de
   guilloché atravessando a página — o equivalente Cédula das trilhas de
   circuito da referência. */
.hero-ornament {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.guilloche-rosette {
  background: var(--azul);
  height: min(1180px, 120vw);
  left: 50%;
  -webkit-mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
          mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
  opacity: 0.1;
  position: absolute;
  top: max(-520px, -44vw);
  transform: translateX(-50%);
  width: min(1180px, 120vw);
}

/* As ondas atravessam a página por trás do filme do produto e reaparecem
   nas laterais da moldura. */
.hero-stage::before {
  background: var(--note-2);
  content: "";
  height: 64px;
  left: 50%;
  -webkit-mask: url('../assets/cedula/guilloche-band.svg') left center / 480px 64px repeat-x;
          mask: url('../assets/cedula/guilloche-band.svg') left center / 480px 64px repeat-x;
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
  top: 34%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: -1;
}

.hero-stage::after {
  background: var(--azul);
  content: "";
  height: 64px;
  left: 50%;
  -webkit-mask: url('../assets/cedula/guilloche-band.svg') 240px center / 480px 64px repeat-x;
          mask: url('../assets/cedula/guilloche-band.svg') 240px center / 480px 64px repeat-x;
  opacity: 0.12;
  pointer-events: none;
  position: absolute;
  top: calc(34% + 40px);
  transform: translateX(-50%);
  width: 100vw;
  z-index: -1;
}

.hero-copy {
  margin: 0 auto;
  max-width: 1080px;
  position: relative;
  z-index: 1;
}

/* Papel limpo sob o texto: a rosácea continua sangrando pelas bordas, mas
   some atrás do título e do subtítulo, onde atrapalhava a leitura. */
.hero-copy::before {
  background: radial-gradient(closest-side, var(--bg) 64%, color-mix(in srgb, var(--bg) 70%, transparent) 84%, transparent);
  content: "";
  inset: -90px -160px -90px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero h1 {
  font-size: clamp(36px, 1rem + 3vw, 56px);
  margin: 0 auto;
  max-width: 32ch;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(17px, 0.95rem + 0.35vw, 20px);
  line-height: 1.55;
  margin: 26px auto 0;
  max-width: 64ch;
  text-wrap: balance;
}

.hero-lead strong { color: var(--ink-strong); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

/* Garantias numa linha de checks: texto em tinta cheia, cada check num
   pequeno selo azul. Sem cartões; as explicações vivem na seção Segurança. */
.hero-facts {
  align-items: center;
  color: var(--fg-strong);
  display: flex;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 560;
  gap: 12px 22px;
  justify-content: center;
  list-style: none;
  margin: 32px auto 0;
  max-width: 1080px;
  padding: 0;
}

/* No desktop as três garantias cabem numa linha (~1040px na Archivo). Sem
   nowrap, a fonte de reserva, um pouco mais larga, quebrava a lista em duas
   linhas até a Archivo chegar: o vídeo descia 34px e voltava (CLS ~0,15). */
@media (min-width: 1100px) {
  .hero-facts { flex-wrap: nowrap; }
}

.hero-facts li { align-items: center; display: inline-flex; gap: 9px; white-space: nowrap; }
/* Antes de o Lucide trocar o <i> pelo SVG, o check já ocupa os 20px finais. */
.hero-facts i[data-lucide] { display: inline-block; flex: none; height: 20px; width: 20px; }
.hero-facts .lucide {
  background: color-mix(in srgb, var(--azul) 16%, transparent);
  border-radius: 999px;
  box-sizing: content-box;
  color: var(--azul);
  flex: none;
  height: 12px;
  padding: 4px;
  stroke-width: 3;
  width: 12px;
}

/* O filme do produto, emoldurado como uma nota: filetes gravados em volta da
   tela, como a moldura do KPI "nota" do app. */
.hero-stage {
  margin: clamp(48px, 6vw, 76px) auto 0;
  max-width: 1160px;
  position: relative;
  z-index: 1;
}

.video-frame {
  aspect-ratio: 16 / 10;
  background: var(--night-page);
  border: 1px solid var(--night-line-strong);
  border-radius: 8px;
  box-shadow:
    0 0 0 7px var(--paper),
    0 0 0 8px color-mix(in srgb, var(--azul) 40%, transparent),
    0 0 0 11px var(--paper),
    0 0 0 12px color-mix(in srgb, var(--azul) 22%, transparent),
    var(--shadow);
  margin: 12px;
  overflow: hidden;
}

.video-frame video { display: block; height: 100%; object-fit: cover; width: 100%; }

.video-bar {
  align-items: center;
  display: flex;
  gap: 14px;
  margin: 26px auto 0;
  max-width: 760px;
}

.video-play {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink-strong);
  cursor: pointer;
  display: inline-flex;
  flex: none;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.video-play .lucide { height: 16px; width: 16px; }
.hero-video:not(.is-paused) .when-paused,
.hero-video.is-paused .when-playing { display: none; }

.video-chapters { display: grid; flex: 1; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.video-chapters button {
  background: none;
  border: 0;
  color: var(--subtle);
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  padding: 4px 0;
  text-align: left;
  width: 100%;
}

.video-chapters button[aria-current="step"] { color: var(--ink-strong); }

.vbar { background: var(--line); border-radius: 2px; display: block; height: 3px; overflow: hidden; }
.vbar i { background: var(--azul); display: block; height: 100%; transform: scaleX(var(--p)); transform-origin: left; }

.video-chapters button:focus-visible,
.video-play:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }

.video-caption {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  margin: 18px auto 0;
  max-width: 60ch;
  min-height: 1.5em;
  text-align: center;
}

/* Proveniência discreta: os números dos vídeos são de exemplo. */
.frame-tag {
  background: color-mix(in srgb, var(--night-page) 78%, transparent);
  border: 1px solid var(--night-line-strong);
  border-radius: 999px;
  color: var(--night-muted);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  pointer-events: none;
  bottom: 10px;
  position: absolute;
  right: 10px;
  z-index: 1;
}

.video-frame { position: relative; }

/* Legenda que acompanha o clipe: troca de frase conforme o que aparece na tela. */
.stage-caption {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  margin: 18px 8px 0;
  min-height: 2.9em;
  transition: opacity .25s ease;
}

.stage-caption.is-swapping { opacity: 0; }
.inline-caption { display: none; }

.connects-band {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  justify-content: center;
  margin: clamp(56px, 7vw, 88px) auto 0;
  max-width: 1160px;
  padding: 30px 0 44px;
  position: relative;
  z-index: 1;
}

.connects-band > p { color: var(--subtle); font-size: 14px; }
.connects-band > p:first-child { flex-basis: 100%; text-align: center; }

.connects-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  max-width: 920px;
}

.provider-mark {
  align-items: center;
  color: var(--ink-strong);
  display: inline-flex;
  font-size: 18px;
  font-variation-settings: "wdth" 112;
  font-weight: 650;
  gap: 9px;
  letter-spacing: -0.015em;
}

.provider-mark svg { flex: none; height: 20px; width: 20px; }
.provider-word { font-variation-settings: "wdth" 118; font-weight: 700; letter-spacing: 0.01em; }

.connects-band .connects-reads { flex-basis: 100%; font-size: 13px; }

/* ── Seções ──────────────────────────────────────────────────────────── */

.section {
  background: var(--bg);
  color: var(--fg);
  /* clip (não hidden): recorta as marcas-d'água sem virar contêiner de rolagem, o que quebraria o sticky. */
  overflow: clip;
  padding: clamp(84px, 10vw, 140px) var(--gutter);
  position: relative;
}

/* Pergunta/rótulo acima do título da seção. */
.section-kicker { color: var(--accent, var(--azul)); font-size: 13px; font-weight: 650; letter-spacing: 0.08em; margin-bottom: 14px; text-transform: uppercase; }
.tone-night .section-kicker { color: var(--note-50); }

.section-head {
  margin: 0 auto clamp(44px, 5.5vw, 72px);
  max-width: 880px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.section-head h2 { margin: 0 auto; max-width: 25ch; }

.section-lead {
  color: var(--fg-muted);
  font-size: clamp(17px, 0.95rem + 0.25vw, 19px);
  line-height: 1.6;
  margin: 20px auto 0;
  max-width: 62ch;
}

.section-head.is-left { margin: 0; text-align: left; }
.section-head.is-left h2,
.section-head.is-left .section-lead { margin-left: 0; }

.section-coda {
  color: var(--fg-muted);
  font-size: 17px;
  margin: clamp(44px, 5vw, 64px) auto 0;
  max-width: 64ch;
  position: relative;
  text-align: center;
  z-index: 1;
}

.section-coda a {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-guilloche {
  background: var(--note-100);
  height: 760px;
  -webkit-mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
          mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
  opacity: var(--watermark);
  pointer-events: none;
  position: absolute;
  right: -260px;
  top: -200px;
  width: 760px;
}


/* Selo de denominação: filete curto de 3px no topo, como nos cards do app. */
.has-seal,
.audience-pair article { position: relative; }

.audience-pair article::before {
  background: var(--seal);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: -1px;
  width: 44px;
}

/* ── Problema ────────────────────────────────────────────────────────── */

.problem-layout {
  align-items: start;
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin: 0 auto;
  max-width: 1160px;
  position: relative;
  z-index: 1;
}

.problem-layout .section-head { margin: 0; position: sticky; top: 108px; }

/* Dois recortes de console desencontrados: a mesma pergunta em duas línguas. */
.pain-body { display: grid; gap: clamp(36px, 4vw, 52px); }

.console-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0;
  position: relative;
}

.console-frag {
  background: var(--surface);
  border: 1px solid var(--night-line-strong);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
}

.console-frag::before {
  background: var(--seal);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  width: 44px;
}

/* Só o recorte de cima flutua sobre o outro. */
.console-frag.is-offset {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 26px rgba(0, 0, 0, 0.45);
  margin: 56px 0 0 -18px;
  z-index: 1;
}

.console-bar {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-strong);
  display: flex;
  font-size: 15px;
  font-weight: 650;
  gap: 8px;
  padding: 14px 18px 12px;
}

.console-logo { fill: currentColor; height: 17px; width: 17px; }

.console-bar small {
  color: var(--fg-muted);
  font-size: 12.5px;
  font-weight: 500;
  margin-left: auto;
}

.console-frag dl > div {
  display: grid;
  gap: 3px;
  padding: 12px 18px 13px;
}

.console-frag dl > div + div { border-top: 1px dashed var(--rule); }

.console-frag dt { color: var(--fg-muted); font-size: 12.5px; }

.console-frag dd {
  color: var(--fg-strong);
  font-size: 17px;
  font-variation-settings: "wdth" 108;
  font-weight: 620;
}

.console-pair figcaption {
  color: var(--fg-muted);
  font-size: 13.5px;
  grid-column: 1 / -1;
  margin-top: 16px;
}

.pain-litany {
  border-top: 1px solid var(--rule);
  color: var(--fg-muted);
  display: grid;
  font-size: clamp(20px, 1rem + 0.6vw, 25px);
  font-variation-settings: "wdth" 108;
  font-weight: 560;
  gap: 4px;
  line-height: 1.3;
  padding-top: 26px;
}

.pain-litany span:last-child { color: var(--fg-strong); font-weight: 680; }

.problem-section .section-coda {
  color: var(--fg-strong);
  font-size: clamp(19px, 1rem + 0.5vw, 23px);
  font-variation-settings: "wdth" 108;
  font-weight: 600;
}

/* ── Hub: visão geral (provedores → Granus → saídas, em rodízio) ────────── */
/* Sem orbe brilhante nem pulsos: os fios são traçados uma vez, como tinta, na cor de
   cada série; o selo é o carimbo da marca e, com os pacotes correndo, "processa"
   (faixa de leitura por dentro do quadrado), sem nada girando em volta. */

.hub {
  align-items: stretch;
  display: grid;
  gap: 0;
  grid-template-columns: 236px minmax(0, 1fr) 300px;
  margin: 0 auto;
  max-width: 1080px;
  position: relative;
  z-index: 1;
}

.hub-col { display: grid; height: 400px; }
.hub-in { align-items: center; grid-template-rows: repeat(4, 1fr); justify-items: end; }
.hub-out { align-items: center; grid-template-rows: repeat(4, 1fr); }

/* Entrada: 4 vagas, cada uma reveza dois provedores (logo em cima, nome embaixo). */
.hub-node {
  background: var(--night-surface);
  border: 1px solid var(--night-line);
  border-top: 2px solid var(--seal);
  border-radius: 10px;
  box-shadow: var(--lift-night);
  display: grid;
  height: 84px;
  place-items: center;
  width: 148px;
}

.hub-node-face {
  align-content: center;
  display: grid;
  gap: 8px;
  grid-area: 1 / 1;
  justify-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.hub-node-face.is-active { opacity: 1; transform: none; }
.hub-node-face .pmark { color: var(--night-strong); height: 28px; width: 28px; }
.hub-node-face b { color: var(--night-text); font-size: 12.5px; font-weight: 650; line-height: 1.2; text-align: center; }

.hub-lines { height: 400px; overflow: visible; width: 100%; }

.hub-lines path {
  fill: none;
  stroke: color-mix(in srgb, var(--seal) 55%, var(--night-line-strong));
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

/* Pacotes: registros andando pela pipeline. Entram na cor do provedor, saem na cor da dimensão. */
.hub-packets rect { opacity: 0.95; }
.hub-packets .k-100 { fill: var(--note-100); }
.hub-packets .k-50 { fill: var(--note-50); }
.hub-packets .k-2 { fill: var(--note-2); }
.hub-packets .k-5 { fill: var(--note-5); }
.hub-packets .k-20 { fill: var(--note-20); }
.hub-packets .k-200 { fill: var(--note-200); }
.hub-packets .k-10 { fill: var(--note-10); }
.hub.is-armed:not(.is-flowing) .hub-packets { opacity: 0; }
.hub-packets { transition: opacity .5s ease; }
/* Pacotes do layout empilhado (montados em landing.js): acima dos fios, abaixo dos cartões e do selo. */
.hub-stack { display: none; height: 100%; inset: 0; overflow: visible; pointer-events: none; position: absolute; width: 100%; z-index: 0; }
.hub-stack path { fill: none; stroke: none; }

/* Selo: carimbo da marca. Rosácea guilhochê em marca-d'água, sem giro, sem brilho. */
.hub-seal {
  align-items: center;
  display: grid;
  height: 176px;
  justify-items: center;
  /* Centro da coluna do meio (236px | fios | 300px), onde os fios convergem: as colunas laterais
     têm larguras diferentes, então 50% do diagrama deixaria o selo fora do ponto de encontro. */
  left: calc(236px + (100% - 536px) / 2);
  position: absolute;
  top: 200px;
  transform: translate(-50%, -50%);
  width: 176px;
}

.hub-seal-rosette {
  background: var(--night-muted);
  inset: 0;
  -webkit-mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
          mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
  opacity: 0.1;
  position: absolute;
}

.hub-seal-core {
  color: #a3c4f0;
  align-items: center;
  background: var(--night-surface);
  border-radius: 14px;
  box-shadow: 0 0 0 6px var(--night-page), 0 0 0 7px var(--night-line-strong);
  display: inline-flex;
  height: 64px;
  justify-content: center;
  position: relative;
  width: 64px;
}

.hub-seal-core svg { height: 36px; width: 32px; }

/* Processamento: com os pacotes correndo, uma faixa de luz passa por dentro do selo, de cima para
   baixo, como a leitura de um scanner. Fica dentro do quadrado (nada girando em volta, que se
   confundiria com "carregando"); pausa fora da tela (.is-visible) e não existe com movimento reduzido. */
.hub-seal-core { overflow: hidden; }
.hub-seal-core::after {
  animation: hub-scan 2.6s cubic-bezier(.45, .05, .55, .95) infinite paused;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--note-100) 22%, transparent) 42%, color-mix(in srgb, #a3c4f0 45%, transparent) 50%, color-mix(in srgb, var(--note-100) 22%, transparent) 58%, transparent 100%) 0 0 / 100% 260% no-repeat;
  border-radius: inherit;
  content: '';
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity .6s ease;
}
.hub.is-flowing .hub-seal-core::after { opacity: 1; }
.hub.is-flowing .hub-seal-core { box-shadow: 0 0 0 6px var(--night-page), 0 0 0 7px color-mix(in srgb, var(--note-100) 50%, var(--night-line-strong)), 0 14px 34px -14px color-mix(in srgb, var(--note-100) 70%, transparent); }
.hub.is-flowing.is-visible .hub-seal-core::after { animation-play-state: running; }
@keyframes hub-scan { from { background-position: 0 100%; } to { background-position: 0 0; } }

.hub-seal b {
  bottom: 4px;
  color: var(--night-strong);
  font-size: 14px;
  font-variation-settings: "wdth" 118;
  font-weight: 750;
  position: absolute;
}

/* Saída: cada dimensão mostra o item que lidera agora, o valor e a variação.
   Os exemplos se revezam (landing.js → bindHub) para passar a ideia de painel vivo. */
.hub-out li {
  align-items: center;
  background: var(--night-surface);
  border: 1px solid var(--night-line);
  border-radius: 8px;
  box-shadow: var(--lift-night);
  display: grid;
  gap: 0 11px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  min-height: 68px;
  overflow: hidden;
  padding: 10px 14px 12px 11px;
  position: relative;
}

.hub-dim-body, .hub-dim-val { display: grid; gap: 0; line-height: 1.25; min-width: 0; }
.hub-dim-body small {
  color: var(--night-subtle);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hub-dim-body b {
  color: var(--night-strong);
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 14.5px;
  font-weight: 650;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  line-height: 1.25;
  overflow: hidden;
}
.hub-dim-val { justify-items: end; text-align: right; }
.hub-dim-val small { color: var(--night-subtle); font-size: 11.5px; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.hub-dim-val small.is-up { color: var(--bad); }
.hub-dim-val small.is-down { color: var(--ok); }
.hub-dim-val small.is-save { color: var(--note-20); }

/* Troca de exemplo: rótulo, ícone, nome e variação saem e assentam; o número conta até o
   novo valor quando a unidade é a mesma, senão troca junto com o resto. */
.hub-out [data-hub-label], .hub-out [data-hub-name], .hub-out [data-hub-delta], .hub-out .hub-dim-icon,
.hub-out [data-hub-value] { transition: opacity .28s ease, transform .28s ease, color .28s ease, background-color .28s ease; }
.hub-out li.is-swapping [data-hub-label],
.hub-out li.is-swapping [data-hub-name],
.hub-out li.is-swapping [data-hub-delta],
.hub-out li.is-swapping .hub-dim-icon,
.hub-out li.is-swapping.is-unit-change [data-hub-value] { opacity: 0; transform: translateY(5px); }
.hub-dim-icon > .lucide:not(.is-active) { display: none; }
.hub-out li.no-meter .hub-dim-meter { opacity: 0; }
.hub-dim-meter { transition: opacity .28s ease; }

.hub-dim-meter {
  background: color-mix(in srgb, var(--seal) 12%, transparent);
  bottom: 0;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}
.hub-dim-meter i { background: var(--seal); display: block; height: 100%; transition: width .7s cubic-bezier(.2,.7,.2,1); }

.hub-dim-icon {
  background: color-mix(in srgb, var(--seal) 18%, transparent);
  border-radius: 6px;
  color: var(--seal);
  display: grid;
  flex: none;
  height: 28px;
  place-items: center;
  width: 28px;
}

.hub-dim-icon .lucide { height: 16px; width: 16px; }

.hub-out li em {
  color: var(--night-strong);
  font-size: 16px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 118;
  font-weight: 720;
  white-space: nowrap;
}
/* Traçado único ao entrar na tela: fios de entrada → selo assenta → fios de saída → valores. */
.hub.is-armed .hub-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hub.is-armed .hub-seal-core { opacity: 0; transform: scale(.92); }
.hub.is-armed .hub-dim-val, .hub.is-armed .hub-dim-meter i { opacity: 0; }

.hub.is-on .hub-lines path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.45,.05,.25,1) var(--at); }
.hub.is-on .hub-seal-core { opacity: 1; transform: none; transition: opacity .35s ease .6s, transform .45s cubic-bezier(.2,.7,.2,1) .6s; }
.hub.is-on .hub-dim-val, .hub.is-on .hub-dim-meter i { opacity: 1; transition: opacity .4s ease var(--at), width .7s cubic-bezier(.2,.7,.2,1); }

.translate-head {
  border-top: 1px solid var(--night-line);
  margin: clamp(56px, 7vw, 96px) auto clamp(28px, 3vw, 40px);
  max-width: 1120px;
  padding-top: clamp(40px, 5vw, 56px);
  position: relative;
  z-index: 1;
}

.translate-head h3 {
  color: var(--night-strong);
  font-size: clamp(22px, 1rem + 0.9vw, 28px);
  font-variation-settings: "wdth" 110;
  max-width: 30ch;
}

.translate-head p { color: var(--night-muted); font-size: 16.5px; line-height: 1.55; margin-top: 10px; max-width: 60ch; }

/* ── Tradução: registros crus de cada provedor viram uma tabela só ───── */

.hub-section { border-top: 1px solid var(--night-line); }

.translate {
  align-items: start;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.translate > div { min-width: 0; }

.translate-label {
  color: var(--night-subtle);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.raw-lines { border-top: 1px solid var(--night-line); margin-top: 47px; }

.raw-lines li {
  align-items: center;
  border-bottom: 1px solid var(--night-line);
  color: var(--night-muted);
  column-gap: 10px;
  display: grid;
  font-size: 13px;
  grid-template-columns: 16px 64px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  height: 60px;
  padding: 0 12px 0 0;
  position: relative;
  row-gap: 2px;
  transition: color 0.4s, background-color 0.4s;
}

.raw-lines .pmark { color: var(--seal); fill: currentColor; grid-row: span 2; height: 16px; width: 16px; }
.raw-kind { color: var(--night-subtle); font-size: 12px; grid-row: span 2; }

.raw-lines code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.raw-lines code + code { color: var(--night-subtle); grid-column: 3; }

.raw-amt {
  color: var(--night-text);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  grid-column: 4;
  grid-row: 1 / span 2;
  text-align: right;
}

.raw-amt small { color: var(--night-subtle); font-size: 11px; }

.ledger {
  border-collapse: collapse;
  table-layout: auto;
  font-size: 15px;
  width: 100%;
}

.ledger th {
  border-bottom: 1px solid var(--night-line-strong);
  color: var(--night-subtle);
  font-size: 12.5px;
  font-weight: 600;
  height: 35px;
  padding: 0 10px 10px 0;
  text-align: left;
  vertical-align: bottom;
}

.ledger td {
  border-bottom: 1px solid var(--night-line);
  color: var(--night-strong);
  font-weight: 560;
  height: 60px;
  padding: 0 10px 0 0;
  white-space: nowrap;
}

.ledger tbody td:first-child { box-shadow: inset 3px 0 0 var(--seal); padding-left: 12px; }
.ledger th:first-child { padding-left: 12px; }
.ledger td:nth-child(2) { color: var(--night-muted); font-weight: 500; }

.ledger th:last-child,
.ledger td:last-child {
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  padding-right: 0;
  text-align: right;
}

.ledger tfoot td {
  border-bottom: 0;
  border-top: 1px solid var(--night-line-strong);
  color: var(--night-muted);
  font-weight: 500;
  padding-left: 12px;
}

.ledger tfoot td:last-child { color: var(--night-strong); font-size: 19px; padding-left: 0; }

/* Animação = a própria tradução: cada registro acende e a linha correspondente assenta na tabela. */
.translate.is-armed .raw-lines li { color: var(--night-subtle); }
.translate.is-armed .ledger tbody tr td { opacity: 0; transform: translateX(-10px); transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2,.7,.2,1); }
.translate.is-armed .ledger tfoot td:last-child { opacity: 0; transition: opacity 0.5s ease; }

.translate.is-armed .raw-lines li.is-read { color: var(--night-muted); }
.translate.is-armed .raw-lines li.is-reading { background: color-mix(in srgb, var(--seal) 10%, transparent); color: var(--night-text); }
.translate.is-armed .ledger tbody tr.is-set td { opacity: 1; transform: none; }
.translate.is-armed .ledger tbody tr.is-set td:nth-child(2) { transition-delay: 0.06s; }
.translate.is-armed .ledger tbody tr.is-set td:nth-child(3) { transition-delay: 0.12s; }
.translate.is-armed .ledger tbody tr.is-set td:nth-child(4) { transition-delay: 0.18s; }
.translate.is-armed.is-done .ledger tfoot td:last-child { opacity: 1; }

.hub-section .hub-note { color: var(--night-subtle); font-size: 12px; margin: 22px auto 0; text-align: center; }

/* ── Para quem é ─────────────────────────────────────────────────────── */

.audience-pair {
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}

.audience-pair article { padding: 44px 44px 48px 0; }
.audience-pair article + article { border-left: 1px solid var(--rule); padding-left: 44px; padding-right: 0; }
.audience-pair article + article::before { left: 44px; }

.audience-pair .lucide { color: var(--seal); height: 28px; margin-bottom: 22px; width: 28px; }

.audience-pair h3 {
  font-size: clamp(22px, 1rem + 0.7vw, 28px);
  font-variation-settings: "wdth" 108;
  font-weight: 680;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.audience-pair p { color: var(--fg-muted); font-size: 17px; line-height: 1.65; max-width: 52ch; }

/* ── Como funciona ───────────────────────────────────────────────────── */

.steps {
  counter-reset: step;
  display: grid;
  gap: 0 clamp(24px, 3vw, 44px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.steps li {
  padding-top: 30px;
  position: relative;
}

/* Divisor de guilloché no lugar de uma linha reta: a sequência é impressa. */
.steps li::before {
  background: var(--azul);
  content: "";
  height: 12px;
  left: 0;
  -webkit-mask: url('../assets/cedula/guilloche-divider.svg') left center / 240px 12px repeat-x;
          mask: url('../assets/cedula/guilloche-divider.svg') left center / 240px 12px repeat-x;
  opacity: 0.55;
  position: absolute;
  right: 0;
  top: 0;
}

.step-figure {
  color: var(--azul);
  display: block;
  font-size: clamp(56px, 2rem + 3vw, 88px);
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 118;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 22px;
}

.steps h3 { font-size: 21px; margin-bottom: 10px; }
.steps p { color: var(--fg-muted); font-size: 16px; line-height: 1.6; max-width: 40ch; }

/* ── Descobertas ─────────────────────────────────────────────────────── */

.findings { margin: 0 auto; max-width: 1080px; position: relative; z-index: 1; }

.findings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.findings-tabs button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--night-line-strong);
  border-radius: 999px;
  color: var(--night-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 9px;
  height: 44px;
  padding: 0 18px 0 15px;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.findings-tabs .lucide { color: var(--seal); height: 17px; width: 17px; }
.findings-tabs button:hover { border-color: var(--seal); color: var(--night-strong); }

.findings-tabs button[aria-selected="true"] {
  background: var(--night-raised);
  border-color: color-mix(in srgb, var(--seal) 70%, transparent);
  color: var(--night-strong);
}

.findings-panel {
  align-items: center;
  border-top: 1px solid var(--night-line);
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  margin-top: 36px;
  padding: clamp(32px, 4vw, 48px) 0 0;
  position: relative;
}

.findings-panel[hidden] { display: none; }

.findings-panel::before {
  background: var(--seal);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: -2px;
  width: 64px;
}

.findings-panel:not([hidden]) { animation: panel-in 420ms var(--ease); }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}

.finding-copy h3 {
  font-size: clamp(24px, 1rem + 1vw, 32px);
  font-variation-settings: "wdth" 108;
  font-weight: 680;
  letter-spacing: -0.018em;
  margin-bottom: 14px;
}

.finding-copy p { color: var(--night-muted); font-size: 18px; line-height: 1.6; }

.finding-slip {
  background: var(--night-well);
  border: 1px solid var(--night-line);
  border-radius: 6px;
  display: grid;
  overflow: hidden;
  padding: 20px 22px 22px;
  position: relative;
}

.finding-slip::after {
  background: var(--seal);
  bottom: -90px;
  content: "";
  height: 240px;
  -webkit-mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
          mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
  position: absolute;
  right: -80px;
  width: 240px;
}

.slip-head,
.slip-row {
  align-items: baseline;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.slip-head { padding-bottom: 14px; }
.slip-head span, .slip-row span { color: var(--night-subtle); font-size: 13px; }
.slip-head b { color: var(--night-strong); font-size: 16px; font-weight: 650; }

.slip-row {
  border-top: 1px solid var(--night-line);
  padding: 11px 0;
}

.slip-row b {
  color: var(--night-text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.slip-figure {
  border-top: 1px solid var(--night-line-strong);
  display: grid;
  gap: 4px;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}

.slip-figure small { color: var(--night-subtle); font-size: 13px; }

.slip-figure strong {
  color: var(--night-strong);
  font-size: clamp(28px, 1.2rem + 1.2vw, 38px);
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 118;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.slip-figure .per { font-size: 15px; font-variation-settings: "wdth" 100; font-weight: 600; letter-spacing: 0; margin-left: 2px; }

/* Proveniência: estimativa em tinta mais leve, nunca vazada. */
.slip-figure .is-estimate { color: var(--night-muted); }
.slip-figure .is-alert { color: var(--danger-night); }

.slip-weeks {
  align-items: end;
  border-top: 1px solid var(--night-line);
  display: flex;
  gap: 8px;
  height: 84px;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

.slip-weeks span {
  background: color-mix(in srgb, var(--seal) 18%, transparent);
  background-image: repeating-linear-gradient(135deg, var(--seal) 0 1.2px, transparent 1.2px 5px);
  border-radius: 3px 3px 1px 1px;
  flex: 1;
  height: var(--h);
  opacity: 0.55;
}

.slip-weeks span:last-child { opacity: 1; }

/* ── Recursos ────────────────────────────────────────────────────────── */

/* Produto: uma funcionalidade por passo, à esquerda; o clipe do app real acompanha, fixo à direita. */
.product-layout {
  align-items: start;
  display: grid;
  gap: clamp(40px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin: 0 auto;
  max-width: 1200px;
}

.feature-step {
  border-top: 1px solid var(--rule);
  min-height: min(62vh, 560px);
  opacity: 0.42;
  padding: 30px 0 48px;
  position: relative;
  transition: opacity 0.4s ease;
}

.feature-step:last-child { min-height: 0; }
.feature-step.is-active { opacity: 1; }

.feature-step::before {
  background: var(--seal);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: -1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
  width: 44px;
}

.feature-step.is-active::before { transform: none; }

.feature-icon {
  background: color-mix(in srgb, var(--seal) 14%, transparent);
  border-radius: 7px;
  color: var(--seal);
  display: inline-grid;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  width: 34px;
}

.feature-icon .lucide { height: 18px; width: 18px; }
.feature-step h3 { color: var(--fg-strong); font-size: clamp(21px, 1rem + 0.6vw, 25px); font-variation-settings: "wdth" 110; margin-bottom: 10px; max-width: 24ch; }
.feature-step p { color: var(--fg-muted); font-size: 16.5px; line-height: 1.6; max-width: 46ch; }
.feature-step ul { display: grid; gap: 12px; margin-top: 18px; }

/* Sobretítulo do recurso (como os rótulos da Erathos): diz a categoria antes do resultado. */
.feature-step .feature-eyebrow { color: var(--seal); font-size: 13px; line-height: 1.3; max-width: none; font-weight: 650; letter-spacing: 0.06em; margin-bottom: 6px; text-transform: uppercase; }

.feature-step li {
  color: var(--fg-strong);
  display: grid;
  font-size: 15px;
  gap: 2px;
  padding-left: 18px;
  position: relative;
}

.feature-step li b { font-weight: 620; }
.feature-step li span { color: var(--fg-muted); font-size: 14.5px; line-height: 1.5; }

.feature-step li::before {
  background: var(--seal);
  border-radius: 1px;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.55em;
  width: 6px;
}

.feature-video-inline { display: none; }

.product-stage { position: sticky; top: max(96px, calc(50vh - 250px)); }

.product-frame {
  aspect-ratio: 16 / 10;
  background: var(--night-page);
  border: 1px solid var(--night-line-strong);
  border-radius: 8px;
  box-shadow:
    0 0 0 7px var(--paper),
    0 0 0 8px color-mix(in srgb, var(--azul) 40%, transparent),
    var(--shadow);
  margin: 8px;
  overflow: hidden;
  position: relative;
}

.product-frame video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 0.45s ease;
  width: 100%;
}

.product-frame video.is-active { opacity: 1; }

/* Lista em linhas ao lado do título: recursos e agências. */
.split-head {
  align-items: end;
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto clamp(44px, 5vw, 64px);
  max-width: 1120px;
}

.split-head .section-head { margin: 0; }

.platform-head.section-head.is-left { margin: 0 auto clamp(44px, 5vw, 64px); max-width: 1120px; }
.platform-head .section-lead { max-width: 58ch; }

.feature-rows > div {
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 6px;
  padding: 18px 0;
}

.feature-rows > div:last-child { border-bottom: 1px solid var(--rule); }

.feature-rows dt {
  align-items: center;
  color: var(--fg-strong);
  display: flex;
  font-size: 18px;
  font-weight: 640;
  gap: 10px;
}

.feature-rows dt .lucide { color: var(--accent); height: 19px; width: 19px; }
.feature-rows dd { color: var(--fg-muted); font-size: 16px; line-height: 1.6; padding-left: 29px; }

/* ── Agências: extrato de repasse ────────────────────────────────────── */

.agency-layout {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1160px;
}

.agency-layout .section-head { margin-bottom: 32px; }

.statement {
  background: var(--night-surface);
  border: 1px solid var(--night-line);
  border-radius: 8px;
  box-shadow: var(--lift-night);
  overflow: hidden;
  padding: 26px 28px 22px;
  position: relative;
}

.statement::before {
  background: linear-gradient(90deg,
    var(--note-100) 0 30%, var(--note-50) 30% 46%, var(--note-10) 46% 58%,
    var(--note-5) 58% 70%, var(--note-20) 70% 80%, var(--note-2) 80% 90%, var(--note-200) 90% 100%);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.statement-rosette {
  background: var(--note-100);
  height: 320px;
  -webkit-mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
          mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
  opacity: var(--watermark);
  pointer-events: none;
  position: absolute;
  right: -110px;
  top: -110px;
  width: 320px;
}

.statement-head {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
  position: relative;
}

.statement-head b { color: var(--night-strong); font-size: 17px; font-weight: 650; }
.statement-head span { color: var(--night-subtle); font-size: 12px; }

.statement-table {
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  position: relative;
  width: 100%;
}

.statement-table th,
.statement-table td {
  border-top: 1px solid var(--night-line);
  font-size: 15px;
  padding: 13px 0;
  text-align: right;
}

.statement-table th:first-child { text-align: left; }
.statement-table thead th { border-top: 0; color: var(--night-subtle); font-size: 12.5px; font-weight: 500; padding-top: 4px; }
.statement-table tbody th { color: var(--night-strong); font-weight: 600; }
.statement-table tbody th::before {
  background: var(--seal);
  border-radius: 2px;
  content: "";
  display: inline-block;
  height: 9px;
  margin-right: 10px;
  width: 9px;
}
.statement-table td { color: var(--night-text); }
.statement-table td:last-child { color: var(--night-strong); font-variation-settings: "wdth" 112; font-weight: 650; }
.statement-table .is-over td:last-child { color: var(--danger-night); }
.statement-table em { display: block; font-size: 12px; font-style: normal; font-variation-settings: "wdth" 100; font-weight: 500; }

.statement-table tfoot th,
.statement-table tfoot td {
  border-top: 1px solid var(--night-line-strong);
  color: var(--night-strong);
  padding-top: 16px;
}

.statement-table tfoot td:last-child {
  font-size: clamp(26px, 1rem + 1.2vw, 34px);
  font-variation-settings: "wdth" 118;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.statement figcaption { color: var(--night-subtle); font-size: 12.5px; margin-top: 14px; position: relative; }

/* ── Segurança ───────────────────────────────────────────────────────── */

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}

.security-col { padding-right: clamp(24px, 4vw, 56px); }
.security-col + .security-col { border-left: 1px solid var(--rule); padding-left: clamp(24px, 4vw, 56px); padding-right: 0; }

.security-col-title {
  color: var(--fg-strong);
  font-size: 22px;
  font-variation-settings: "wdth" 108;
  font-weight: 680;
  margin-bottom: 10px;
}

.security-list li {
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 16px;
  grid-template-columns: 22px minmax(0, 1fr);
  padding: 20px 0;
}

.security-list .lucide { color: var(--ok); height: 20px; margin-top: 2px; width: 20px; }
.security-col.is-negative .lucide { color: var(--bad); }

.security-list b { color: var(--fg-strong); display: block; font-size: 17px; font-weight: 640; margin-bottom: 4px; }
.security-list span { color: var(--fg-muted); display: block; font-size: 15.5px; line-height: 1.6; }

/* ── Direto da fonte: sem gateway + proveniência ───────────────────────── */

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}

.source-col { min-width: 0; padding-right: clamp(24px, 4vw, 56px); }
.source-col + .source-col { border-left: 1px solid var(--rule); padding-left: clamp(24px, 4vw, 56px); padding-right: 0; }
.source-section .security-list .lucide { color: var(--azul); }

.provenance-ledger { margin: 0; }

.provenance-row {
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 16px;
  grid-template-columns: 116px minmax(0, 1fr);
  padding: 20px 0;
}

.provenance-row dt { margin: 0; }
.provenance-row dd { margin: 0; }

.provenance-tag {
  border: 1px solid currentColor;
  border-radius: 4px;
  display: inline-block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  text-transform: uppercase;
}

.provenance-row.is-real .provenance-tag { color: var(--azul); }
.provenance-row.is-estimate .provenance-tag { color: var(--note-50); }
.provenance-row.is-missing .provenance-tag { color: var(--fg-muted); border-style: dashed; }

.provenance-value {
  color: var(--fg-strong);
  display: block;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-weight: 680;
  line-height: 1.2;
  margin-bottom: 6px;
}

.provenance-row.is-missing .provenance-value { color: var(--fg-muted); }
.provenance-row dd span { color: var(--fg-muted); display: block; font-size: 15.5px; line-height: 1.6; }

.provenance-note {
  border-top: 1px solid var(--rule);
  color: var(--fg-muted);
  font-size: 13px;
  padding-top: 14px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq-layout {
  align-items: start;
  display: grid;
  gap: clamp(32px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1160px;
}

.faq-layout .section-head { position: sticky; top: 108px; }

.faq-list { border-bottom: 1px solid var(--line); }

.faq-list details { border-top: 1px solid var(--line); }

.faq-list summary {
  align-items: center;
  color: var(--ink-strong);
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 620;
  gap: 20px;
  justify-content: space-between;
  list-style: none;
  padding: 22px 0;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  background: var(--azul);
  content: "";
  flex: none;
  height: 18px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 220ms var(--ease);
  width: 18px;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--azul); }

.faq-list details p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 64ch;
  padding: 0 40px 24px 0;
}

/* ── Fechamento + lista de espera ────────────────────────────────────── */

.closing-section { padding-top: clamp(96px, 12vw, 168px); }

.closing-rosette {
  background: var(--azul-night-text);
  height: 1040px;
  left: 50%;
  -webkit-mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
          mask: url('../assets/cedula/guilloche-rosette.svg') center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
  position: absolute;
  top: -460px;
  transform: translateX(-50%);
  width: 1040px;
}

.closing-section .section-head h2 { font-size: clamp(34px, 1rem + 3.4vw, 60px); max-width: 18ch; }

.closing-actions { margin-top: 30px; }

.waitlist-panel {
  align-items: start;
  background: var(--night-surface);
  border: 1px solid var(--night-line);
  border-radius: 8px;
  box-shadow: var(--lift-night);
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  margin: 0 auto;
  max-width: 1120px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

.waitlist-panel::before {
  background: linear-gradient(90deg,
    var(--note-100) 0 30%, var(--note-50) 30% 46%, var(--note-10) 46% 58%,
    var(--note-5) 58% 70%, var(--note-20) 70% 80%, var(--note-2) 80% 90%, var(--note-200) 90% 100%);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.waitlist-copy { position: sticky; top: 108px; }
.waitlist-copy h3 { font-size: 24px; font-variation-settings: "wdth" 108; font-weight: 680; margin-bottom: 12px; }
.waitlist-copy p { color: var(--night-muted); font-size: 16px; line-height: 1.6; }

.waitlist-points { display: grid; gap: 10px; margin-top: 22px; }
.waitlist-points li { align-items: center; color: var(--night-text); display: flex; font-size: 15px; gap: 10px; }
.waitlist-points .lucide { color: var(--success-night); height: 17px; width: 17px; }

.waitlist-form {
  display: grid;
  gap: 16px;
}

.waitlist-step { display: none; }
.waitlist-step.is-active { display: grid; gap: 18px; }

.form-step-heading {
  border-bottom: 1px solid var(--night-line);
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
}

.step-rule { display: flex; gap: 6px; margin-bottom: 6px; }
.step-rule i { background: var(--night-line-strong); border-radius: 2px; height: 3px; width: 40px; }
.step-rule i.is-on { background: var(--azul-night-text); }
.form-step-heading h4,
.waitlist-done h4 { color: var(--night-strong); font-size: 22px; font-weight: 680; line-height: 1.2; }
.form-step-heading p,
.waitlist-done p { color: var(--night-muted); font-size: 15px; line-height: 1.55; }

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.waitlist-form label { display: grid; gap: 7px; }
.waitlist-form label > span { color: var(--night-text); font-size: 14px; font-weight: 550; }

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  appearance: none;
  background: var(--night-well);
  border: 1px solid var(--night-line-strong);
  border-radius: 6px;
  caret-color: var(--azul-night-text);
  color: var(--night-strong);
  font-size: 15px;
  min-height: 46px;
  outline: none;
  padding: 10px 12px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
  width: 100%;
}

.waitlist-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab7c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 36px;
}

.waitlist-form select option { background: var(--night-surface); color: var(--night-strong); }

.waitlist-form textarea { line-height: 1.5; min-height: 104px; resize: vertical; }

.waitlist-form input:hover,
.waitlist-form select:hover,
.waitlist-form textarea:hover { border-color: #46597a; }

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  border-color: var(--azul-night);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--azul-night) 40%, transparent);
}

.choice-field { border: 0; display: block; margin: 0; padding: 0; }
.choice-field legend { color: var(--night-text); font-size: 14px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; padding: 0; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.waitlist-form .chip { cursor: pointer; display: inline-flex; position: relative; }

/* O controle real cobre o chip inteiro: invisível, mas focável e anunciado
   pelo leitor de tela com o estado certo (checkbox/radio nativos). */
.waitlist-form .chip input {
  height: 100%;
  left: 0;
  margin: 0;
  min-height: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.waitlist-form .chip span {
  background: transparent;
  border: 1px dashed var(--night-line-strong);
  border-radius: 999px;
  color: var(--night-muted);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.2;
  padding: 9px 14px;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
  user-select: none;
}

.waitlist-form .chip:hover input:not(:checked) + span { border-color: var(--azul-night); color: var(--night-strong); }

/* Preenchimento sólido, não só mudança de matiz: o estado continua legível
   sem depender de distinguir cor. */
.waitlist-form .chip input:checked + span {
  background: color-mix(in srgb, var(--azul-night) 22%, transparent);
  border-color: color-mix(in srgb, var(--azul-night) 70%, transparent);
  border-style: solid;
  color: var(--night-strong);
}

.waitlist-form .chip input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--azul-night) 45%, transparent); }

.waitlist-form .choice-other { margin-top: 8px; max-width: 340px; }

.waitlist-submit { margin-top: 4px; width: 100%; }
.waitlist-submit:disabled { cursor: wait; opacity: 0.68; }

.waitlist-feedback { color: var(--night-muted); font-size: 14px; min-height: 20px; }
.waitlist-feedback.success { color: var(--success-night); }
.waitlist-feedback.error { color: var(--danger-night); }
.waitlist-feedback.muted { color: var(--night-muted); }

.waitlist-done {
  align-items: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 280px;
  padding: 28px 12px;
  text-align: center;
}

.waitlist-done .lucide { color: var(--success-night); height: 44px; width: 44px; }

/* Honeypot da lista de espera: fora da tela, mas não `display:none` — alguns
   robôs pulam campos escondidos por display e caem nos que só estão deslocados. */
.waitlist-hp { height: 1px; left: -9999px; overflow: hidden; position: absolute; width: 1px; }

/* ── Rodapé ──────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--paper);
  display: grid;
  gap: 40px 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 64px var(--gutter) 40px;
  position: relative;
}

.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 40ch; }

.footer-nav { display: flex; gap: clamp(40px, 6vw, 96px); }
.footer-nav > div { display: grid; gap: 10px; align-content: start; }
.footer-nav h2 { color: var(--ink-strong); font-size: 14px; font-variation-settings: "wdth" 100; font-weight: 650; letter-spacing: 0; margin-bottom: 4px; }
.footer-nav a { color: var(--muted); font-size: 15px; }
.footer-nav a:hover { color: var(--azul); }

.footer-legal {
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 13px;
  grid-column: 1 / -1;
  padding-top: 22px;
}
.footer-legal { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer-social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.footer-social li:has(a:not([href^="https://"])) { display: none; }
.footer-social a { align-items: center; border-radius: 999px; color: var(--muted); display: inline-flex; height: 40px; justify-content: center; transition: color .15s ease, background-color .15s ease; width: 40px; }
.footer-social a:hover { background: color-mix(in srgb, var(--azul) 8%, transparent); color: var(--azul); }
.footer-social a:focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; }
.footer-social svg { height: 20px; width: 20px; }
@media (prefers-reduced-motion: reduce) { .footer-social a { transition: none; } }

.footer-band {
  background: var(--azul);
  bottom: 0;
  height: 44px;
  left: 0;
  -webkit-mask: url('../assets/cedula/guilloche-band.svg') left center / 480px 64px repeat-x;
          mask: url('../assets/cedula/guilloche-band.svg') left center / 480px 64px repeat-x;
  opacity: 0.08;
  pointer-events: none;
  position: absolute;
  right: 0;
}

/* ── Sem app publicado ───────────────────────────────────────────────── */

[data-app-only][hidden] { display: none !important; }

/* ── Responsivo ──────────────────────────────────────────────────────── */

@media (max-width: 1120px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 14px; }
}

@media (max-width: 980px) {
  .site-nav { display: none; }


  .steps,
  .problem-layout,
  .split-head,
  .agency-layout { grid-template-columns: 1fr; }

  .problem-layout { gap: 36px; }
  .translate { grid-template-columns: 1fr; max-width: 640px; }
  .product-layout { grid-template-columns: 1fr; max-width: 640px; }
  .product-stage { display: none; }
  .feature-step, .feature-step.is-active { min-height: 0; opacity: 1; }
  .feature-step::before { transform: none; }
  .feature-video-inline { aspect-ratio: 16 / 10; background: var(--night-page); border: 1px solid var(--night-line-strong); border-radius: 8px; display: block; margin-top: 22px; overflow: hidden; }
  .feature-video-inline { position: relative; }
  .feature-video-inline video { display: block; height: 100%; object-fit: cover; width: 100%; }
  .inline-caption { display: block; font-size: 14.5px; margin: 12px 0 0; min-height: 0; }
  .hub { grid-template-columns: 1fr; max-width: 520px; }
  .hub-col { height: auto; }
  .hub-in { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .hub-out { gap: 10px; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .hub-lines { display: none; }
  .hub-stack { display: block; }
  .hub-seal { height: 150px; left: auto; margin: 4px auto; position: relative; top: auto; transform: none; }
  .hub-seal b { bottom: 0; }
  .hub-seal b, .hub-seal-core { z-index: 1; }
  /* Empilhado, as curvas viram fios verticais: provedores (2×2) descem a um tronco que entra no selo
     e sai dele para as dimensões. Os fios correm por trás dos cartões, aparecendo nos vãos. */
  .hub { --hub-wire: color-mix(in srgb, var(--note-100) 55%, var(--night-line-strong)); }
  .hub-in { display: grid; gap: 8px 16px; grid-template-columns: repeat(2, 148px); grid-template-rows: none; justify-content: center; padding-bottom: 22px; position: relative; }
  .hub-in::before { border: 1.4px solid var(--hub-wire); border-radius: 0 0 12px 12px; border-top: 0; bottom: 0; content: ''; left: calc(50% - 82px); position: absolute; top: 42px; width: 164px; }
  .hub-node { position: relative; z-index: 1; }
  .hub-seal { margin: 0 auto; }
  .hub-seal::before { border-left: 1.4px solid var(--hub-wire); bottom: 0; content: ''; left: calc(50% - 0.7px); position: absolute; top: 0; }
  /* Rótulo ao lado do selo: embaixo dele, cobriria o fio e o tronco pareceria cortado. */
  .hub-seal { height: 132px; }
  .hub-seal b { bottom: auto; left: calc(50% + 46px); top: 50%; transform: translateY(-50%); }
  .hub-out { padding-top: 22px; position: relative; }
  .hub-out::before { border: 1.4px solid var(--hub-wire); border-bottom: 0; border-radius: 12px 12px 0 0; bottom: 34px; content: ''; left: calc(25% - 2.5px); position: absolute; right: calc(25% - 2.5px); top: 0; }
  .hub-out li { z-index: 1; }
  .raw-lines { margin-top: 0; }
  .console-pair { max-width: 640px; }
  .problem-layout .section-head { position: static; }
  .split-head { gap: 28px; }
  .steps { gap: 40px; }

  .audience-pair { grid-template-columns: 1fr; }
  .audience-pair article,
  .audience-pair article + article { border-left: 0; padding: 36px 0 40px; }
  .audience-pair article + article { border-top: 1px solid var(--rule); }
  .audience-pair article + article::before { left: 0; }

  .findings-panel { grid-template-columns: 1fr; }


  .security-grid { grid-template-columns: 1fr; gap: 40px; }
  .source-grid { grid-template-columns: 1fr; gap: 40px; }
  .source-col,
  .source-col + .source-col { border-left: 0; padding: 0; }
  .security-col,
  .security-col + .security-col { border-left: 0; padding: 0; }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }

  .waitlist-panel { grid-template-columns: 1fr; }
  .waitlist-copy { position: static; }
}

@media (max-width: 680px) {
  .brand-lockup { height: 21.0px; width: 117.0px; }
  .site-header { gap: 12px; height: 60px; }
  .link-action { display: none; }
  .header-actions { gap: 10px; }
  .header-actions .btn { font-size: 14px; height: 36px; padding: 0 12px; }

  .hero { padding-top: 44px; }
  .hero-actions .btn-lg { width: 100%; }
  .hero-facts { align-items: flex-start; flex-direction: column; gap: 12px; margin-left: auto; margin-right: auto; max-width: 100%; width: max-content; }
  .hero-facts li { white-space: normal; }
  .hero-stage { margin-top: 40px; }

  .video-frame { margin: 6px; }
  .video-bar { gap: 10px; margin-top: 20px; }
  .video-chapters { gap: 6px; }
  .video-chapters button { font-size: 12.5px; }
  .video-caption { font-size: 15px; }

  .console-pair { grid-template-columns: 1fr; }
  .console-frag.is-offset { margin: -10px 0 0 22px; }
  .console-frag:not(.is-offset) { margin-right: 22px; }

  .connects-band { gap: 16px; }
  .connects-band > p:first-child { flex-basis: 100%; }
  .connects-list { gap: 10px 20px; }
  .provider-mark { font-size: 16px; }

  .section-head { text-align: left; }
  .section-head h2, .section-lead { margin-left: 0; }
  .section-coda { text-align: left; }

  .hub-out { grid-template-columns: 1fr; }
  .hub-out::before { border-radius: 0; border-right: 0; border-top: 0; left: calc(50% - 0.7px); right: auto; width: 0; }
  .ledger { font-size: 14px; }
  .raw-lines li { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .raw-kind { display: none; }
  .raw-lines code,
  .raw-lines code + code { grid-column: 2; }
  .raw-amt { grid-column: 3; }
  .ledger tbody td:nth-child(3), .ledger th:nth-child(3), .ledger tfoot td:nth-child(2) { display: none; }

  .findings-tabs { flex-wrap: nowrap; justify-content: flex-start; margin: 0 calc(var(--gutter) * -1); overflow-x: auto; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .findings-tabs::-webkit-scrollbar { display: none; }
  .findings-tabs button { flex: none; }


  .form-grid { grid-template-columns: 1fr; }
  .faq-list details p { padding-right: 0; }

  .site-footer { grid-template-columns: 1fr; padding-top: 48px; }
}

/* Celulares comuns (360–430px): marca + PT/EN + "Agendar demonstração" não
   cabiam e a página inteira ganhava rolagem lateral (o navegador reduzia o zoom). */
@media (max-width: 430px) {
  .site-header { gap: 8px; }
  .header-actions { gap: 8px; }
  .landing-locale a { padding: 0 7px; }
  .brand-lockup { height: 19.0px; width: 105.9px; }
  .header-actions .btn { font-size: 13.5px; padding: 0 10px; }
}

@media (max-width: 370px) {
  .header-actions .btn { font-size: 13px; padding: 0 8px; }
  .landing-locale a { padding: 0 6px; }
}

@media (pointer: coarse) {
  .waitlist-form .chip span { padding: 12px 16px; }
}

/* ── Movimento reduzido ──────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .findings-panel:not([hidden]) { animation: none; }
  .hub .hub-lines path, .hub .hub-seal-core, .hub .hub-dim-val, .hub .hub-dim-meter i { transition: none; }
  .feature-step, .feature-step::before, .product-frame video { transition: none; }
  .hub-packets { display: none; }
  .hub-seal-core::after { animation: none; }
  .btn, .btn .lucide, .site-nav a::after, .faq-list summary::after, .waitlist-form .chip span { transition: none; }
}

/* ── Valor para o negócio (resultados, laudo, custo real) ───────────────
   Resultados é lista, não grade de cartões: ganho à esquerda, o "como" em
   texto menor à direita. Laudo e conciliação reaproveitam o extrato
   (.statement) das agências — o mesmo documento-cédula do produto. */

.value-head.section-head.is-left { margin: 0 auto clamp(36px, 4vw, 56px); max-width: 1120px; }
.value-head .section-lead { max-width: 60ch; }

.value-list {
  border-top: 1px solid var(--rule);
  list-style: none;
  margin: 0 auto;
  max-width: 1120px;
  padding: 0;
}

.value-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 10px clamp(24px, 4vw, 64px);
  grid-template-columns: 44px minmax(0, 1.35fr) minmax(0, 1fr);
  padding: clamp(26px, 3vw, 36px) 0;
}

.value-num {
  color: var(--seal);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 118;
  font-weight: 750;
}

.value-gain h3 {
  font-size: clamp(21px, 1rem + 0.55vw, 26px);
  font-variation-settings: "wdth" 108;
  font-weight: 680;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.value-gain p { color: var(--fg-muted); font-size: 17px; line-height: 1.65; max-width: 58ch; }

.value-how { color: var(--fg-muted); display: grid; font-size: 15px; gap: 6px; line-height: 1.6; }
.value-how span:first-child {
  color: var(--fg-strong);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-section .section-head .section-lead { margin-left: auto; margin-right: auto; max-width: 62ch; }
.laudo-mock { margin: clamp(44px, 5vw, 72px) auto 0; max-width: 820px; }
.laudo-mock .statement-table td:nth-child(2) { color: var(--night-subtle); font-size: 14px; }

.statement figcaption {
  color: var(--night-subtle);
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 14px;
  position: relative;
}

.pain-bill .statement-table td.is-unknown { color: var(--night-subtle); font-weight: 600; }

.fx-table th, .fx-table td { padding: 11px 0; }

.audience-pair.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1160px; }
.audience-pair.is-three article { padding: 40px 32px 44px 0; }
.audience-pair.is-three article + article { padding-left: 32px; }
.audience-pair.is-three article:last-child { padding-right: 0; }
.audience-pair.is-three article + article::before { left: 32px; }
.audience-pair.is-three p { font-size: 16px; }

.security-details { margin: 0 auto; max-width: 1120px; }
.security-details > summary {
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--fg-strong);
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
  list-style: none;
  margin: 0 auto;
  padding: 10px 18px;
  width: fit-content;
}
.security-details > summary::-webkit-details-marker { display: none; }
.security-details > summary .lucide { height: 16px; transition: transform .2s ease; width: 16px; }
.security-details[open] > summary { margin-bottom: clamp(32px, 4vw, 48px); }
.security-details[open] > summary .lucide { transform: rotate(180deg); }
.security-details > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 980px) {
  .value-list li { grid-template-columns: 36px minmax(0, 1fr); }
  .value-how { grid-column: 2; }
  .audience-pair.is-three { grid-template-columns: 1fr; }
  .audience-pair.is-three article,
  .audience-pair.is-three article + article { padding: 32px 0 36px; }
  .audience-pair.is-three article + article::before { left: 0; }
}

@media (max-width: 680px) {
  .pain-bill .statement-table th, .pain-bill .statement-table td { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) { .security-details > summary .lucide { transition: none; } }

/* Governança: o extrato de acessos usa a coluna do meio para as ferramentas. */
.gov-stmt .statement-table td:nth-child(2) { color: var(--night-subtle); font-size: 13.5px; }

.footer-legal p a { color: var(--fg-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal p a:hover { color: var(--accent); }

/* Hoje × Com o Granus: o custo de não fazer nada, em duas colunas, sem alarme. */
.compare { margin: clamp(56px, 7vw, 96px) auto 0; max-width: 1160px; position: relative; z-index: 1; }
.compare-table { border-collapse: collapse; width: 100%; }
.compare-table caption {
  color: var(--fg-strong);
  font-size: clamp(22px, 1rem + 0.8vw, 30px);
  font-variation-settings: "wdth" 108;
  font-weight: 680;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  text-align: left;
}
.compare-table th {
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  padding: 0 24px 12px 0;
  text-align: left;
  text-transform: uppercase;
  width: 50%;
}
.compare-table th + th { color: var(--accent); }
.compare-table td {
  border-top: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.5;
  padding: 16px 24px 16px 0;
  vertical-align: top;
}
.compare-table td:first-child { color: var(--fg-muted); }
.compare-table td:last-child { color: var(--fg-strong); }
.compare-table td { display: table-cell; }
.compare-table td > span { display: inline; }
.compare-table .lucide { display: inline-block; height: 16px; margin-right: 10px; vertical-align: -3px; width: 16px; }
.compare-table td:first-child .lucide { color: var(--fg-muted); }
.compare-table td:last-child .lucide { color: var(--accent); }

@media (max-width: 680px) {
  .compare-table td { font-size: 14.5px; padding-right: 14px; }
  .compare-table .lucide { display: none; }
}

/* ── Proposta 2026-11-23: listas, personas e notas ─────────────────────── */

.value-tagline {
  color: var(--fg-strong);
  font-size: clamp(18px, 1rem + 0.3vw, 21px);
  font-weight: 650;
  margin-top: 18px;
}
.value-list.is-compact li { grid-template-columns: 44px minmax(0, 1fr); }
.value-list.is-compact .value-gain p { max-width: 72ch; }

.list-title { color: var(--fg-strong); font-size: 15px; font-weight: 650; margin: 0 0 12px; }

.bullet-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.bullet-list li { align-items: baseline; color: var(--fg-muted); display: flex; font-size: 16px; gap: 10px; line-height: 1.55; }
.bullet-list .lucide { color: var(--accent); flex: none; height: 16px; transform: translateY(3px); width: 16px; }

.claim {
  border-left: 3px solid var(--accent);
  color: var(--fg-strong);
  font-size: clamp(18px, 1rem + 0.35vw, 22px);
  font-weight: 650;
  line-height: 1.4;
  margin-top: 28px;
  padding-left: 16px;
}

.section-coda.is-note { font-size: 13.5px; font-weight: 400; color: var(--fg-muted); max-width: 70ch; }
.first-section .agency-layout,
.gov-section .agency-layout,
.fx-section .agency-layout { align-items: start; }

.pain-points { margin-top: 8px; }
.pain-points dd { color: var(--fg-muted); }

.results-section .compare { margin-top: 0; }
.results-section .compare-table caption {
  font-size: clamp(30px, 1.2rem + 2vw, 48px);
  line-height: 1.08;
  margin-bottom: 36px;
  max-width: 22ch;
}

.persona-list {
  display: grid;
  gap: 0 clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}
.persona-list article { border-top: 1px solid var(--rule); padding: 28px 0 32px; position: relative; }
.persona-list article::before { background: var(--seal); content: ""; height: 3px; left: 0; position: absolute; top: -2px; width: 44px; }
.persona-list .lucide { color: var(--seal); height: 24px; margin-bottom: 16px; width: 24px; }
.persona-list h3 { font-size: clamp(19px, 1rem + 0.4vw, 22px); font-weight: 680; margin-bottom: 10px; }
.persona-list p { color: var(--fg-muted); font-size: 16px; line-height: 1.6; }

.section-actions { justify-content: center; margin-top: clamp(36px, 4vw, 52px); }
.source-section .security-details { margin-top: clamp(40px, 5vw, 64px); }

/* Laudo de exemplo: o total não quebra entre moeda e número */
.statement-table tfoot td:last-child { white-space: nowrap; }
.first-section .laudo-mock .statement-table tfoot td:last-child { font-size: clamp(28px, 1.2rem + 1.4vw, 40px); }
.laudo-mock .statement-table td:nth-child(2) { padding-right: 16px; }
