/* ==========================================================================
   ZAVYN — Design system "Órbita" (site institucional)
   --------------------------------------------------------------------------
   A identidade da LOGO, a mesma do painel (Zavyn-pagamentos-web/DESIGN.md):
   o preto da marca, o azul elétrico como luz, o anel com o ponto de luz, o Z
   e o nome em cromo; títulos em Sora, texto em Geist, números tabulares.
   Substituiu o "Cédula" (papel creme e serifa) em out/2026. As regras novas
   estão na seção 11 (a camada Órbita), no fim do arquivo.

   1. Tokens (papel / tinta noturna)
   2. Base e tipografia
   3. Utilitários e rótulos
   4. Componentes (botões, listas, campos, janela de código)
   5. Header e navegação
   6. Hero (comprovante, roseta, indicadores)
   7. Seções da home
   8. Footer e WhatsApp
   9. Movimento
   10. Responsivo
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  /* Superfícies — o "alumínio": cinza-claro neutro, folhas brancas */
  --paper: #F5F5F7;
  --paper-2: #FFFFFF;
  --paper-3: #EDEEF2;
  --rule: #E4E5EA;
  --rule-2: #D1D4DC;

  /* Tinta — quase preta; a cor fica só na marca */
  --ink: #0B0D12;
  --ink-2: #565C6C;
  --ink-3: #6B7285;

  /* Marca: o azul elétrico da logo */
  --blue: #0134EE;
  --blue-hover: #0128C4;
  --blue-ink: #0134EE;
  --blue-soft: rgba(1, 52, 238, 0.07);
  --cyan: #08DCFD;
  --guilloche: rgba(1, 52, 238, 0.32);
  --halo: rgba(1, 52, 238, 0.06);

  /* Identificador (id, nº) em azul-série; pago em verde */
  --serial: #056CE6;
  --paid: #15803D;
  --paid-soft: rgba(21, 128, 61, 0.1);
  --danger: #DC2626;

  /* Faixa escura (o "cofre") — o preto da logo, nos dois temas */
  --night: #020308;
  --night-2: #0B0D15;
  --night-rule: #1D2130;
  --night-ink: #F5F7FB;
  --night-ink-2: #A1A8BA;

  /* Tipografia: --serif é o TÍTULO (Sora), --mono é o RÓTULO/NÚMERO (Geist,
     tabular) e --code é o único lugar da Geist Mono: código de verdade. */
  --serif: 'Sora', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --code: 'Geist Mono', ui-monospace, 'Cascadia Code', Consolas, 'Liberation Mono', monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --section-y: clamp(72px, 9vw, 132px);

  /* Forma: cantos de produto, não de documento */
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow-doc: 0 1px 2px rgba(0, 0, 0, 0.05), 0 28px 56px -28px rgba(11, 13, 18, 0.3);

  /* Movimento: chegar com peso (expo-out), nunca linear */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-base: 240ms;

  /* Sem grão: o acabamento vem do que NÃO está na tela */
  --grain: none;

  /* Aliases usados pelas páginas legais (legal.css) */
  --primary: var(--blue-ink);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-2);
  --text-muted: var(--ink-3);
  --border: var(--rule);
  --surface: var(--paper-2);
  --surface-secondary: var(--paper-3);
}

html.dark {
  color-scheme: dark;
  /* O preto da logo, com superfícies neutras em degraus de tom */
  --paper: #020308;
  --paper-2: #0B0D15;
  --paper-3: #131621;
  --rule: #1D2130;
  --rule-2: #2C3246;
  --ink: #F5F7FB;
  --ink-2: #A1A8BA;
  --ink-3: #7D8499;
  --blue-ink: #4D8DFF;
  --blue-soft: rgba(77, 141, 255, 0.12);
  --guilloche: rgba(77, 141, 255, 0.4);
  --halo: rgba(30, 92, 255, 0.16);
  --serial: #78BEFF;
  --paid: #4ADE80;
  --paid-soft: rgba(74, 222, 128, 0.12);
  --danger: #F87171;
  --night: #020308;
  --night-2: #0B0D15;
  --shadow-doc: 0 0 0 1px var(--rule), 0 28px 56px -28px rgba(0, 0, 0, 0.75);
  --grain: none;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--paper);
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper) var(--grain);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--t-base) ease, color var(--t-base) ease;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h1 em, h2 em { font-style: italic; color: var(--blue-ink); }
h3, h4 { font-family: var(--sans); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
h3 { font-size: 1.12rem; }
h4 { font-size: 1rem; }

p { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }
code, pre { font-family: var(--code); }

::selection { background: rgba(1, 52, 238, 0.18); color: inherit; }
html.dark ::selection { background: rgba(124, 152, 255, 0.3); }

:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: var(--r-sm); }

/* ---------- 3. Utilitários e rótulos ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-md);
  background: var(--blue); color: #fff; font-weight: 500;
  transform: translateY(-160%); transition: transform var(--t-base) var(--ease);
}
.skip-link:focus { transform: none; }

.label, .sec-label {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.sec-label span { color: var(--blue-ink); margin-right: 0.9em; }
.serial { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--serial); }

.section { position: relative; padding: var(--section-y) 0; scroll-margin-top: var(--header-h); }
.section--wash { background: color-mix(in srgb, var(--paper-3) 55%, transparent); }
.section--tight { padding-top: calc(var(--section-y) * 0.6); }

/* Cabeçalho de seção: régua de tinta, rótulo numerado à esquerda, título em serifa à direita */
.sec-head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px 40px;
  padding-top: 20px; border-top: 1px solid var(--ink);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sec-head h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.02; max-width: 19ch; }
.sec-lead { margin-top: 20px; max-width: 42rem; font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); }
.sec-head--stack { grid-template-columns: minmax(0, 1fr); }
.sec-head--stack .sec-label { margin-bottom: 4px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.section-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; color: var(--blue-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Máscaras de guilhoché: a cor vem do background, o desenho do SVG */
.rosette {
  display: block; aspect-ratio: 1; background: var(--guilloche);
  -webkit-mask: url(/public/assets/guilloche-rosette.svg) center / contain no-repeat;
  mask: url(/public/assets/guilloche-rosette.svg) center / contain no-repeat;
}

/* ---------- 4. Componentes ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px;
  border-radius: var(--r-md); border: 1px solid transparent;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem; line-height: 1; letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer; user-select: none;
  transition: background-color var(--t-base) ease, color var(--t-base) ease, border-color var(--t-base) ease, transform var(--t-base) var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--paper-2); }
.btn-light { background: #FBF9F4; color: #0A1633; }
.btn-light:hover { background: #fff; }
.btn-outline-light { color: var(--night-ink); border-color: rgba(239, 235, 225, 0.42); }
.btn-outline-light:hover { background: rgba(239, 235, 225, 0.06); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--r-md); border: 1px solid var(--rule); color: var(--ink);
  transition: border-color var(--t-base) ease, background-color var(--t-base) ease;
}
.icon-btn:hover { border-color: var(--ink); background: var(--paper-2); }
.icon-btn svg { width: 18px; height: 18px; }

.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; line-height: 1.55; color: var(--ink-2); }
.check-list b { color: var(--ink); font-weight: 500; }
.check-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--paid); }

.status-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paid); vertical-align: middle;
}
.status-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-dot--box { padding: 5px 9px; border: 1px solid currentColor; border-radius: var(--r-sm); }

/* Campos: formulário de banco, sublinhados e numerados */
.field { display: grid; gap: 6px; }
.field label { display: flex; gap: 10px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.field label span { color: var(--blue-ink); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 44px; padding: 8px 0;
  border: 0; border-bottom: 1px solid var(--rule-2); border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 0.8; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--blue-ink); box-shadow: 0 1px 0 var(--blue-ink); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737B92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px;
}
html.dark .field select option { background: var(--paper-2); }

/* Janela de código */
.code-window {
  background: #040A1E; color: var(--night-ink);
  border: 1px solid var(--night-rule); border-radius: var(--r-sm);
  overflow: hidden; font-size: 0.84rem;
}
.code-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--night-rule); }
.code-top i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(239, 235, 225, 0.3); }
.code-top span { margin-left: 8px; font-family: var(--mono); font-size: 0.74rem; color: var(--night-ink-2); }
.code-window pre { padding: 20px 22px; overflow-x: auto; line-height: 1.75; tab-size: 2; }
.tk-m { color: var(--cyan); font-weight: 500; }
.tk-u { color: #C7D3EC; }
.tk-k { color: #93AEFF; }
.tk-s { color: #B5E3A0; }
.tk-n { color: #F8FAFC; }
.tk-c { color: rgba(239, 235, 225, 0.42); font-style: italic; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) ease, background-color var(--t-base) ease;
}
.site-header.scrolled, .site-header.menu-open { border-bottom-color: var(--rule); }

.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { font-family: var(--mono); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.32em; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-links a {
  display: inline-flex; padding: 8px 12px; font-size: 0.9rem; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 6px;
  transition: color var(--t-fast) ease, text-decoration-color var(--t-fast) ease;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); text-decoration-color: currentColor; }
.nav-links a[aria-current] { text-decoration-color: var(--blue-ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta-short { display: none; }

.theme-btn .icon-sun { display: none; }
html.dark .theme-btn .icon-sun { display: block; }
html.dark .theme-btn .icon-moon { display: none; }

.menu-btn { display: none; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.menu-btn[aria-expanded="true"] .icon-burger { display: none; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  display: none; flex-direction: column; padding: 8px var(--gutter) 32px;
  background: var(--paper) var(--grain); overflow-y: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity var(--t-base) ease, transform var(--t-base) var(--ease);
}
.mobile-menu.is-visible { display: flex; }
.mobile-menu.open { opacity: 1; transform: none; }
.mobile-menu-group { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.mobile-menu-group:last-of-type { border-bottom: 0; }
.mobile-menu-title { padding: 12px 0 6px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; font-size: 1.05rem; color: var(--ink);
}
.mobile-menu a:not(.btn) svg { width: 18px; height: 18px; color: var(--ink-3); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }
.mobile-menu .btn + .btn { margin-top: 10px; }
.mobile-menu-contact { display: grid; gap: 4px; margin-top: 18px; font-size: 0.9rem; }
.mobile-menu-contact a { color: var(--blue-ink); padding: 6px 0; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.hero-copy > * { animation: rise 0.7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.14s; }
.hero-copy > :nth-child(4) { animation-delay: 0.22s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Fallback: o JS marca html.hero-settled após 2,2 s e o hero assume o estado final */
html.hero-settled .hero-copy > *, html.hero-settled .stamp { animation: none; opacity: 1; transform: none; }

.serial-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.serial-line .serial { font-size: inherit; }
.holo { color: var(--blue-ink); }
.hero h1 { font-size: clamp(3.1rem, 7.2vw, 6.4rem); line-height: 0.96; letter-spacing: -0.02em; margin: 24px 0 26px; max-width: 12.5ch; }
.hero .lead { font-size: clamp(1.05rem, 1.35vw, 1.18rem); line-height: 1.65; color: var(--ink-2); max-width: 34rem; }
.hero .cta-row { margin-top: 34px; }

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.rosette--hero {
  position: absolute; left: 50%; top: 50%; width: min(700px, 140%);
  translate: -50% -50%; animation: spin 240s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

/* Comprovante PIX */
.receipt {
  position: relative; z-index: 1; width: min(352px, 100%);
  padding: 22px 22px 26px; rotate: -2.5deg;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-sm);
  box-shadow: var(--shadow-doc);
  font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2);
}
/* serrilha de papel destacado na base */
.receipt::after {
  content: ''; position: absolute; left: -1px; right: -1px; bottom: -9px; height: 10px;
  background: var(--paper-2);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.receipt-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--rule-2); }
.receipt-head img { width: 28px; height: 28px; }
.receipt-head b { display: block; font-family: var(--sans); font-size: 0.92rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.receipt-head span { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.receipt-amount { padding: 18px 0 14px; }
.receipt-amount > span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.receipt-amount strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 2.6rem; font-weight: 400; line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.receipt-data { display: grid; gap: 7px; padding: 12px 0; border-block: 1px dashed var(--rule-2); }
.receipt-data div { display: flex; justify-content: space-between; gap: 12px; }
.receipt-data dd { color: var(--ink); }
.receipt-checks { display: grid; gap: 6px; padding-top: 12px; }
.receipt-checks li { display: flex; align-items: center; gap: 8px; }
.receipt-checks svg { width: 14px; height: 14px; color: var(--paid); }
.receipt-id { margin-top: 14px; font-size: 0.62rem; letter-spacing: 0.06em; color: var(--ink-3); word-break: break-all; }

.stamp {
  position: absolute; right: 16px; top: 74px; width: 104px; height: 104px;
  display: grid; place-items: center; color: var(--paid); rotate: -14deg;
  animation: stamp-in 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) 1.1s both;
}
.stamp::before {
  content: ''; position: absolute; inset: 0; background: currentColor; opacity: 0.55;
  -webkit-mask: url(/public/assets/guilloche-seal.svg) center / contain no-repeat;
  mask: url(/public/assets/guilloche-seal.svg) center / contain no-repeat;
}
.stamp span {
  position: relative; padding: 3px 8px; border: 1.5px solid currentColor; border-radius: var(--r-sm);
  background: var(--paper-2); font-family: var(--mono); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
}
@keyframes stamp-in { from { opacity: 0; scale: 1.7; } to { opacity: 1; scale: 1; } }

/* Indicadores */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.fact { padding: 24px 24px 30px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--rule); }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 3.4vw, 3.1rem); line-height: 1; color: var(--ink); }
.fact-desc { display: block; margin-top: 12px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); max-width: 22ch; }

/* Faixa de microtexto */
.microstrip {
  overflow: hidden; border-block: 1px solid var(--rule); padding: 11px 0;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3);
}
.microstrip .marquee-track { display: flex; white-space: nowrap; }
.microstrip li::after { content: '•'; margin: 0 22px; color: var(--blue-ink); }

/* ---------- 7. Seções da home ---------- */

/* § 01 Livro-razão do ecossistema */
.ledger { border-top: 1px solid var(--ink); }
.ledger-head, .ledger-row summary, .ledger-body {
  display: grid; grid-template-columns: 52px minmax(0, 190px) minmax(0, 1fr) auto 34px; gap: 20px; align-items: center;
}
.ledger-head { padding: 10px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.ledger-head span:last-child { grid-column: 4 / 6; }
.ledger-row { border-bottom: 1px solid var(--rule); }
.ledger-row summary { padding: 22px 0; cursor: pointer; list-style: none; }
.ledger-row summary::-webkit-details-marker { display: none; }
.ledger-row summary:hover .ledger-title { color: var(--blue-ink); }
.ledger-n { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); }
.ledger-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink); }
.ledger-title { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; color: var(--ink); transition: color var(--t-fast) ease; }
.ledger-status {
  padding: 4px 8px; border: 1px solid currentColor; border-radius: var(--r-sm); rotate: -3deg;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paid);
}
.ledger-toggle { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink-2); transition: transform var(--t-base) var(--ease), background-color var(--t-base) ease; }
.ledger-toggle svg { width: 14px; height: 14px; }
.ledger-row[open] .ledger-toggle { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ledger-body { align-items: start; padding: 0 0 28px; }
.ledger-body > * { grid-column: 3 / 4; }
.ledger-body p { color: var(--ink-2); max-width: 44rem; }
.ledger-body .check-list { margin-top: 14px; }
.ledger-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 20px 0; border-bottom: 3px double var(--ink);
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.ledger-total strong { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.ledger-total small { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); margin-left: 4px; }
.included-line { margin-top: 18px; font-family: var(--mono); font-size: 0.78rem; line-height: 1.7; color: var(--ink-2); }
.included-line b { font-weight: 500; color: var(--ink); }

/* § 02 PIX */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.points { border-top: 1px solid var(--rule); }
.point { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.point-n { font-family: var(--mono); font-size: 0.78rem; color: var(--blue-ink); padding-top: 3px; }
.point h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 6px; }
.point p { color: var(--ink-2); font-size: 0.97rem; }

.statement { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-sm); box-shadow: var(--shadow-doc); font-family: var(--mono); margin-top: 8px; }
.statement-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px dashed var(--rule-2); }
.statement-head b { display: block; margin-top: 4px; font-size: 0.86rem; font-weight: 500; color: var(--ink); }
.timeline { padding: 10px 22px 14px; }
.timeline li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: start; padding: 12px 0; }
.timeline li::before { content: ''; position: absolute; left: 10px; top: 34px; bottom: -8px; border-left: 1px dotted var(--rule-2); }
.timeline li:last-child::before { display: none; }
.timeline .dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--paid); color: var(--paid); }
.timeline .dot svg { width: 12px; height: 12px; }
.timeline .dot--now { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 5px var(--blue-soft); }
.timeline b { display: block; font-family: var(--sans); font-size: 0.93rem; font-weight: 500; color: var(--ink); }
.timeline span { display: block; font-size: 0.74rem; color: var(--ink-3); margin-top: 2px; }
.timeline time { font-size: 0.74rem; color: var(--ink-2); white-space: nowrap; padding-top: 3px; }
.statement-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 22px; border-top: 1px dashed var(--rule-2); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.statement-foot strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }

/* § 03 e § 06: grade de células com réguas */
.cells { display: grid; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.cells--3 { grid-template-columns: repeat(3, 1fr); }
.cells--4 { grid-template-columns: repeat(4, 1fr); }
.cell { position: relative; padding: 30px 28px 34px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background-color var(--t-base) ease; }
.cell:hover { background: var(--paper-2); }
.cell-n { position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.cell-ico { width: 26px; height: 26px; color: var(--blue-ink); margin-bottom: 30px; stroke-width: 1.5; }
.cell h3 { margin-bottom: 8px; }
.cell p { font-size: 0.95rem; color: var(--ink-2); }

/* § 04 Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.step { padding: 30px 32px 36px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--rule); }
.step-numeral { display: block; margin-bottom: 22px; font-family: var(--serif); font-style: italic; font-size: 4.4rem; line-height: 0.9; color: var(--blue-ink); }
.step .label { display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.97rem; }

.support {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
  margin-top: 48px; padding: 26px 32px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-sm);
}
.support h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin-bottom: 6px; }
.support p { color: var(--ink-2); max-width: 40rem; }
.seal { position: relative; width: 124px; height: 124px; color: var(--blue-ink); }
.seal-guilloche {
  position: absolute; inset: 0; background: currentColor; opacity: 0.32; animation: spin 80s linear infinite;
  -webkit-mask: url(/public/assets/guilloche-seal.svg) center / contain no-repeat;
  mask: url(/public/assets/guilloche-seal.svg) center / contain no-repeat;
}
.seal-text { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; font-family: var(--mono); font-size: 12.5px; letter-spacing: 2.6px; animation: spin 40s linear infinite reverse; }
.seal-ico { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; }

/* § 05 Antes e depois */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; }
.compare-col { position: relative; padding: clamp(24px, 3vw, 40px); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; margin: 10px 0 20px; font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.compare-col h3 img { width: 24px; height: 24px; }
.compare-col li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--rule); font-size: 0.97rem; }
.compare-col li svg { width: 17px; height: 17px; margin-top: 3px; }
.compare-col--before { color: var(--ink-3); }
.compare-col--before h3 { color: var(--ink-2); }
.compare-col--before li svg { color: var(--danger); opacity: 0.7; }
.compare-col--after { background: var(--paper-2); border-left: 1px solid var(--rule); color: var(--ink); }
.compare-col--after li svg { color: var(--paid); }
.compare-col--after::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 46px; background: var(--guilloche); opacity: 0.5;
  -webkit-mask: url(/public/assets/guilloche-wave.svg) left bottom / auto 100% repeat-x;
  mask: url(/public/assets/guilloche-wave.svg) left bottom / auto 100% repeat-x;
}
.compare-col--after ul { margin-bottom: 30px; }

/* Cofre: API + Segurança */
.vault { position: relative; overflow: hidden; background: var(--night); color: var(--night-ink); }
.vault::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 56px; background: rgba(124, 152, 255, 0.35);
  -webkit-mask: url(/public/assets/guilloche-wave.svg) left center / auto 100% repeat-x;
  mask: url(/public/assets/guilloche-wave.svg) left center / auto 100% repeat-x;
}
.vault .section + .section { border-top: 1px solid var(--night-rule); }
.vault .sec-head { border-top-color: var(--night-ink); }
.vault h2, .vault h3 { color: var(--night-ink); }
.vault h2 em { color: #93AEFF; }
.vault .sec-label { color: var(--night-ink-2); }
.vault .sec-label span { color: var(--cyan); }
.vault .sec-lead { color: var(--night-ink-2); }
.split--api { align-items: center; }
.api-points { display: grid; gap: 16px; margin-top: 28px; }
.api-points li { display: flex; gap: 14px; font-size: 0.98rem; line-height: 1.55; color: var(--night-ink-2); }
.api-points b { color: var(--night-ink); font-weight: 500; }
.api-points .check { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 1px solid rgba(8, 220, 253, 0.5); border-radius: 50%; color: var(--cyan); }
.api-points .check svg { width: 12px; height: 12px; }
.split--api .cta-row { margin-top: 32px; }
.code-note { margin-top: 12px; font-family: var(--mono); font-size: 0.72rem; color: var(--night-ink-2); text-align: right; }

.layers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--night-rule); }
.layer { display: grid; grid-template-columns: 52px 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--night-rule); }
.layer-n { font-family: var(--mono); font-size: 0.72rem; color: var(--cyan); padding-top: 4px; }
.layer-ico { width: 22px; height: 22px; color: var(--night-ink-2); margin-top: 1px; }
.layer h3 { font-size: 1.05rem; margin-bottom: 4px; }
.layer p { font-size: 0.92rem; color: var(--night-ink-2); }
.layer--feature { grid-column: 1 / -1; }
.layer--feature h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }

/* § 09 Termo de compromisso */
.contract {
  position: relative; max-width: 1000px; margin-inline: auto;
  padding: clamp(28px, 4.5vw, 60px);
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-sm); box-shadow: var(--shadow-doc);
}
.contract::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none; }
.contract-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.clauses { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.clause { padding: 26px 0; border-bottom: 1px dashed var(--rule-2); }
.clause-n { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--serial); }
.clause h3 { margin: 8px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: 1.1; }
.clause p { color: var(--ink-2); font-size: 0.97rem; }
.contract-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 36px; }
.sign-block { display: grid; gap: 6px; }
.signature { width: 210px; height: auto; color: var(--blue-ink); }
.sign-line { display: grid; gap: 2px; min-width: 280px; padding-top: 10px; border-top: 1px solid var(--ink); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ink-2); }
.sign-line b { font-weight: 500; color: var(--ink); }
.contract-seal {
  width: 116px; height: 116px; flex-shrink: 0; background: var(--serial); opacity: 0.55; rotate: 12deg;
  -webkit-mask: url(/public/assets/guilloche-seal.svg) center / contain no-repeat;
  mask: url(/public/assets/guilloche-seal.svg) center / contain no-repeat;
}

/* § 10 Integrações */
.integ-marquee { border-block: 1px solid var(--rule); overflow: hidden; }
.integ-marquee .marquee-track { display: flex; flex-wrap: wrap; justify-content: center; }
.integ { display: flex; align-items: baseline; gap: 12px; padding: 20px 30px; border-right: 1px solid var(--rule); }
.integ strong { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 400; line-height: 1; color: var(--ink); }
.integ small { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.integ-notes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--rule); }
.integ-notes div { padding: 18px 24px 0 0; }
.integ-notes div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.integ-notes dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 6px; }
.integ-notes dd { color: var(--ink-2); font-size: 0.95rem; }

/* § 11 Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.quote { display: flex; flex-direction: column; gap: 28px; padding: 32px 32px 8px 0; }
.quote + .quote { padding-left: 32px; border-left: 1px solid var(--rule); }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.22; color: var(--ink); }
.quote blockquote::before { content: '“'; display: block; height: 0.55em; margin-bottom: 8px; font-size: 3.6rem; line-height: 1; color: var(--blue-ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption b { display: block; font-size: 0.92rem; font-weight: 500; }
.quote figcaption span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--ink-3); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; font-weight: 600; color: #fff; background: var(--blue); }

/* § 13 Placas da premiação: cédulas em formato paisagem, uma liga por metal/pedra */
.bills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; padding: 8px 0 16px; }
.bill {
  --bill-bg: linear-gradient(135deg, #8C8A85 0%, #E7E5E0 34%, #A9A7A1 54%, #DDDAD4 74%, #85837E 100%);
  --bill-ink: #1B1A17; --bill-line: rgba(20, 26, 39, 0.16); --bill-frame: rgba(20, 26, 39, 0.28); --bill-serial: #9A2A17;
  position: relative; overflow: hidden; aspect-ratio: 1.85 / 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto auto;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.2vw, 28px);
  border-radius: var(--r-lg); color: var(--bill-ink); background: var(--bill-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 24px 40px -26px rgba(10, 22, 51, 0.65);
}
.bill:nth-child(odd) { rotate: -1deg; }
.bill:nth-child(even) { rotate: 1deg; }
.bill::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--bill-frame); border-radius: 6px; pointer-events: none; }
.bill-art {
  position: absolute; right: -16%; top: 50%; width: 78%; aspect-ratio: 1; translate: 0 -50%;
  background: var(--bill-line);
  -webkit-mask: url(/public/assets/guilloche-rosette.svg) center / contain no-repeat;
  mask: url(/public/assets/guilloche-rosette.svg) center / contain no-repeat;
}
.bill-serial { position: relative; grid-column: 1; grid-row: 1; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--bill-serial); }
.bill-ico { position: relative; grid-column: 2; grid-row: 1 / 3; width: 30px; height: 30px; opacity: 0.85; }
.bill-tier { position: relative; grid-column: 1 / -1; grid-row: 3; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.bill-value { position: relative; grid-column: 1 / -1; grid-row: 4; margin: 4px 0 2px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 400; line-height: 1; }
.bill-desc { position: relative; grid-column: 1 / -1; grid-row: 5; font-size: 0.88rem; opacity: 0.78; }

.bill--ouro { --bill-bg: linear-gradient(135deg, #8F6A1F 0%, #E7C870 32%, #B48A33 54%, #F1D98F 74%, #87621C 100%); --bill-ink: #23180A; --bill-line: rgba(35, 24, 10, 0.18); --bill-frame: rgba(35, 24, 10, 0.3); }
.bill--platina { --bill-bg: linear-gradient(135deg, #9DB0CA 0%, #F4F8FD 34%, #BCCBE2 54%, #EAF1FA 74%, #91A5C1 100%); --bill-ink: #101B30; --bill-line: rgba(16, 27, 48, 0.15); --bill-frame: rgba(16, 27, 48, 0.26); }
.bill--black { --bill-bg: linear-gradient(135deg, #030303 0%, #2B2B30 38%, #0B0B0D 58%, #26262B 80%, #000 100%); --bill-ink: #E9E9EC; --bill-line: rgba(233, 233, 236, 0.13); --bill-frame: rgba(233, 233, 236, 0.24); --bill-serial: #FF9C85; }
.bill--esmeralda { --bill-bg: linear-gradient(135deg, #073A29 0%, #2B9F74 36%, #0F6346 56%, #279268 78%, #063325 100%); --bill-ink: #F1F7F2; --bill-line: rgba(241, 247, 242, 0.17); --bill-frame: rgba(241, 247, 242, 0.3); --bill-serial: #FFC9B8; }
.bill--diamante { --bill-bg: linear-gradient(135deg, #A9CDE6 0%, #F6FBFF 30%, #CBE5F5 50%, #FFFFFF 66%, #9EC6E2 100%); --bill-ink: #0A1633; --bill-line: rgba(1, 52, 238, 0.2); --bill-frame: rgba(1, 52, 238, 0.3); }
/* diamante: película iridescente permanente, a placa do topo da trilha */
.bill--diamante::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0.85;
  background: conic-gradient(from 210deg at 70% 40%, #ff7ad9, #7af0ff, #b8ff9a, #ffe27a, #ff7ad9);
}

/* § 02 Na prática: telas de demonstração */
.demo {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule);
}
.demo:first-of-type { border-top: 0; padding-top: 0; }
.demo--flip .demo-copy { order: 2; }
.demo-copy .label span { color: var(--blue-ink); margin-right: 0.9em; }
.demo-copy h3 { margin: 14px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; }
.demo-copy > p:not(.label) { color: var(--ink-2); }
.demo-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; border-top: 1px solid var(--rule); }
.demo-facts li { padding: 14px 12px 0 0; }
.demo-facts li + li { padding-left: 14px; border-left: 1px solid var(--rule); }
.demo-facts b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.1; color: var(--ink); }
.demo-facts span { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--ink-2); }

.screen {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow-doc); overflow: hidden; font-size: 0.88rem;
}
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--paper-3) 45%, transparent); }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--rule-2); }
.screen-bar span { margin-left: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-3); }
.screen-body { padding: clamp(16px, 2.2vw, 24px); }
.screen-title { margin: 18px 0 10px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* Split */
.sp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--rule-2); }
.sp-head b { display: block; margin-top: 3px; font-weight: 500; }
.sp-source { display: grid; gap: 6px; font-family: var(--mono); font-size: 0.8rem; }
.sp-source div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.sp-source dd { color: var(--ink); }
.sp-base { padding-top: 8px; border-top: 1px solid var(--rule); }
.sp-base dt, .sp-base dd { color: var(--ink); font-weight: 500; }
.sp-bar { display: flex; height: 14px; border-radius: 3px; overflow: hidden; background: var(--paper-3); }
.sp-bar span { width: 0; transition: width 1s var(--ease) 0.4s; }
.demo.in .sp-bar span { width: var(--w); }
.sp-a { background: var(--blue); }
.sp-b { background: #0580FA; }
.sp-c { background: var(--cyan); }
.sp-parts { display: grid; margin-top: 12px; }
.sp-parts li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.sp-parts li:first-child { border-top: 0; }
.sp-parts i { width: 10px; height: 10px; border-radius: 2px; }
.sp-parts span { font-weight: 500; }
.sp-parts small { display: block; font-family: var(--mono); font-size: 0.7rem; font-weight: 400; color: var(--ink-3); }
.sp-parts b { font-family: var(--mono); font-weight: 500; }

/* Recorrência */
.rc-tabs { display: flex; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; gap: 4px 18px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); font-size: 0.82rem; color: var(--ink-3); }
.rc-tabs span { padding-bottom: 8px; margin-bottom: -11px; border-bottom: 2px solid transparent; }
.rc-tabs .is-on { color: var(--ink); border-bottom-color: var(--blue-ink); }
.rc-tabs b { font-family: var(--mono); font-weight: 400; font-size: 0.72rem; color: var(--ink-3); margin-left: 4px; }
.rc-row { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.rc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.rc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; }
.rc-who b { display: block; font-weight: 500; }
.rc-who span { font-size: 0.78rem; color: var(--ink-3); }
.rc-price { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.rc-price small { color: var(--ink-3); font-weight: 400; }
.rc-badge { padding: 3px 8px; border: 1px solid currentColor; border-radius: var(--r-sm); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paid); }
.rc-badge--warn { color: #B26A00; }
html.dark .rc-badge--warn { color: #FBBF24; }
.rc-meta { margin-top: 6px; font-size: 0.78rem; color: var(--ink-2); }
.rc-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-family: var(--mono); font-size: 0.74rem; }
.rc-table th { text-align: left; padding: 6px 8px 6px 0; font-weight: 400; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.rc-table td { padding: 6px 8px 6px 0; border-bottom: 1px dashed var(--rule); color: var(--ink-2); }
.rc-table tr:last-child td { border-bottom: 0; }
.rc-ok { color: var(--paid); }
.rc-retry { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3); }
.rc-retry li { position: relative; padding-top: 16px; }
.rc-retry li::before { content: ''; position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--paper-2); z-index: 1; }
.rc-retry li::after { content: ''; position: absolute; left: 10px; right: 0; top: 5px; border-top: 1px dotted var(--rule-2); }
.rc-retry li:last-child::after { display: none; }
.rc-retry .is-done { color: var(--ink-2); }
.rc-retry .is-done::before { background: #B26A00; border-color: #B26A00; }
.rc-retry .is-next { color: var(--ink); }
.rc-retry .is-next::before { border-color: var(--blue-ink); box-shadow: 0 0 0 4px var(--blue-soft); animation: pulse-ring 2s ease-in-out infinite; }
@keyframes pulse-ring { 50% { box-shadow: 0 0 0 7px transparent; } }

/* Afiliados */
.af-body { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.af-card { border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.af-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #0A28A8, #0134EE 55%, #0580FA); }
.af-thumb .rosette { position: absolute; left: 50%; top: 50%; width: 120%; translate: -50% -50%; background: rgba(244, 241, 234, 0.3); }
.af-badge { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: var(--r-sm); background: #F4F1EA; color: #0A1633; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; }
.af-info { padding: 14px; }
.af-info > b { display: block; font-weight: 500; }
.af-info > span { font-size: 0.76rem; color: var(--ink-3); }
.af-info p { margin-top: 10px; }
.af-info p strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--blue-ink); }
.af-info small { display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3); }
.af-btns { display: flex; gap: 8px; margin-top: 12px; }
.af-btn { flex: 1; padding: 7px 10px; border: 1px solid var(--rule-2); border-radius: var(--r-md); text-align: center; font-size: 0.76rem; font-weight: 500; }
.af-btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.af-perf .screen-title { margin-top: 0; }
.af-kpis { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.af-kpis div { padding: 10px 12px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.af-kpis div > span { display: block; font-size: 0.72rem; color: var(--ink-3); }
.af-kpis b { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.af-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 10px; border: 1px dashed var(--rule-2); border-radius: var(--r-md); font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }
.af-copy { color: var(--blue-ink); white-space: nowrap; }
.af-rule { margin-top: 10px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* § 13 Taxas: fatura */
.split--fees { align-items: center; }
.invoice { position: relative; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-sm) var(--r-sm) 0 0; box-shadow: var(--shadow-doc); font-family: var(--mono); }
.invoice::after {
  content: ''; position: absolute; left: -1px; right: -1px; bottom: -9px; height: 10px; background: var(--paper-2);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.invoice-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--ink); }
.invoice-lines { padding: 8px 24px; }
.invoice-lines li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; font-size: 0.84rem; color: var(--ink-2); }
.invoice-lines i { flex: 1; border-bottom: 1px dotted var(--rule-2); translate: 0 -4px; }
.invoice-lines b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.invoice-var b { color: var(--blue-ink); }
.invoice-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 24px 30px; border-top: 3px double var(--ink); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.invoice-total strong { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; line-height: 1; letter-spacing: 0; color: var(--ink); }
.fees-points { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--rule); }
.fees-points li { padding: 20px 20px 0 0; }
.fees-points li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.fees-points b { display: block; font-weight: 500; margin-bottom: 6px; }
.fees-points span { display: block; font-size: 0.88rem; color: var(--ink-2); }

/* § 14 FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); padding-top: 20px; border-top: 1px solid var(--ink); }
.faq-side h2 { margin: 18px 0 18px; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.02; }
.faq-side p { color: var(--ink-2); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 30px; gap: 12px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.03rem; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue-ink); }
.faq-n { font-family: var(--mono); font-size: 0.72rem; font-weight: 400; color: var(--ink-3); }
.faq-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink-2); transition: transform var(--t-base) var(--ease), background-color var(--t-base) ease; }
.faq-icon svg { width: 13px; height: 13px; }
.faq-list details[open] .faq-icon { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-list details p { padding: 0 42px 24px 64px; color: var(--ink-2); line-height: 1.7; }
.faq-list details p a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }

/* CTA final: uma cédula */
.banknote {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: clamp(40px, 5.5vw, 76px) clamp(28px, 5.5vw, 76px);
  border-radius: 14px; color: #F4F1EA;
  background: radial-gradient(110% 140% at 82% 50%, #1240E8 0%, #0A28A8 48%, #071A6C 100%);
}
.banknote::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(244, 241, 234, 0.28); border-radius: 8px; pointer-events: none; }
.banknote-wave {
  position: absolute; left: 0; right: 0; bottom: 30px; height: 52px; background: rgba(244, 241, 234, 0.16);
  -webkit-mask: url(/public/assets/guilloche-wave.svg) left center / auto 100% repeat-x;
  mask: url(/public/assets/guilloche-wave.svg) left center / auto 100% repeat-x;
}
.banknote-serial { position: absolute; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: #FFB8A6; }
.banknote-serial--top { top: 26px; right: 32px; }
.banknote-serial--bottom { bottom: 26px; left: 32px; }
.banknote-copy { position: relative; }
.banknote .sec-label { color: rgba(244, 241, 234, 0.75); }
.banknote h2 { margin: 16px 0 18px; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.02; color: #F4F1EA; max-width: 18ch; }
.banknote h2 em { color: #9FE9FF; }
.banknote-copy > p:not(.sec-label) { max-width: 38rem; color: rgba(244, 241, 234, 0.82); font-size: 1.05rem; margin-bottom: 30px; }
.banknote-face { position: relative; display: grid; place-items: center; }
.rosette--note { grid-area: 1 / 1; width: min(380px, 100%); background: rgba(244, 241, 234, 0.32); animation: spin 200s linear infinite; }
.banknote-face img { grid-area: 1 / 1; width: clamp(96px, 11vw, 132px); filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35)); }

/* § 15 Contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { border-top: 1px solid var(--rule); }
.contact-list div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.contact-list dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.contact-list dd { word-break: break-word; }
.contact-list a { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-sm); box-shadow: var(--shadow-doc);
}
.form-title { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.field--full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; line-height: 1.5; color: var(--ink-3); }
.form-note--status { display: flex; align-items: center; gap: 8px; color: var(--paid); font-weight: 500; }
.form-note--status svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-form .btn { grid-column: 1 / -1; }

/* ---------- 8. Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 88px) 0 0; background: var(--night); color: var(--night-ink); }
.site-footer::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 40px; background: rgba(124, 152, 255, 0.28);
  -webkit-mask: url(/public/assets/guilloche-wave.svg) left top / auto 100% repeat-x;
  mask: url(/public/assets/guilloche-wave.svg) left top / auto 100% repeat-x;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 56px; height: 56px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.65; color: var(--night-ink-2); max-width: 26rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-md); border: 1px solid var(--night-rule); color: var(--night-ink-2); transition: border-color var(--t-fast) ease, color var(--t-fast) ease; }
.footer-social a:hover { border-color: var(--night-ink-2); color: var(--night-ink); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { margin-bottom: 18px; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-ink-2); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 0.92rem; color: var(--night-ink-2); line-height: 1.5; }
.footer-col a { transition: color var(--t-fast) ease; }
.footer-col a:hover, .footer-col a[aria-current="page"] { color: var(--night-ink); }
.footer-contacts a { color: var(--night-ink); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: clamp(40px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--night-rule);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--night-ink-2);
}
.footer-legal-id { display: block; margin-top: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: var(--night-ink); }
.footer-wordmark {
  margin: 28px 0 -0.16em; text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--serif); font-size: clamp(6rem, 25vw, 23rem); line-height: 0.82; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 235, 225, 0.2);
}

/* WhatsApp flutuante */
.wpp-fab {
  position: fixed; z-index: 80;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32), 0 2px 6px rgba(10, 22, 51, 0.14);
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) ease;
  animation: fab-in 0.5s ease 0.6s both;
}
.wpp-fab svg { width: 27px; height: 27px; }
.wpp-fab:hover, .wpp-fab:focus-visible { background: #1EBE5B; transform: translateY(-2px); }
.wpp-fab:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 50%; }
.wpp-fab-label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
  padding: 8px 12px; border-radius: var(--r-md); white-space: nowrap;
  background: var(--ink); color: var(--paper); font-size: 0.82rem; font-weight: 500; line-height: 1;
  opacity: 0; pointer-events: none; transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease);
}
@media (hover: hover) {
  .wpp-fab:hover .wpp-fab-label, .wpp-fab:focus-visible .wpp-fab-label { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@keyframes fab-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 9. Movimento ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 10. Responsivo ---------- */
@media (max-width: 1200px) {
  .nav-links a { padding: 8px 9px; font-size: 0.87rem; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-actions { margin-left: auto; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { min-height: 500px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--rule); }

  .split, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .statement, .invoice { max-width: 600px; }
  .cells--3 { grid-template-columns: repeat(2, 1fr); }
  .cells--4 { grid-template-columns: repeat(2, 1fr); }
  .bills { grid-template-columns: repeat(2, 1fr); }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo--flip .demo-copy { order: 0; }
  .demo .screen { max-width: 680px; }
  .fees-points { grid-template-columns: repeat(2, 1fr); }
  .fees-points li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fees-points li { padding-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .banknote { grid-template-columns: minmax(0, 1fr); }
  .banknote-face { display: none; }
}

@media (max-width: 860px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .ledger-head { display: none; }
  .ledger-row summary {
    grid-template-columns: 40px minmax(0, 1fr) auto 30px;
    grid-template-areas: "n tag status toggle" "n title title title";
    gap: 6px 12px; align-items: center;
  }
  .ledger-n { grid-area: n; align-self: start; padding-top: 2px; }
  .ledger-tag { grid-area: tag; }
  .ledger-title { grid-area: title; }
  .ledger-status { grid-area: status; }
  .ledger-toggle { grid-area: toggle; }
  .ledger-body { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .ledger-body > * { grid-column: 2 / 3; }
  .steps, .quotes, .compare, .clauses, .layers, .integ-notes { grid-template-columns: minmax(0, 1fr); }
  .step + .step, .quote + .quote, .integ-notes div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .step, .quote { padding-right: 0; }
  .compare-col--after { border-left: 0; border-top: 1px solid var(--rule); }
  .support { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .contract-sign { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
  .nav-actions { gap: 8px; }
  .brand-name { letter-spacing: 0.24em; }
  .hero-visual { min-height: 440px; }
  .receipt { width: min(320px, 92%); }
  .hero .cta-row .btn, .section-cta .btn, .banknote .btn { width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--rule); }
  .cells--3, .cells--4 { grid-template-columns: minmax(0, 1fr); }
  .bills { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .af-body { grid-template-columns: minmax(0, 1fr); }
  .rc-top { grid-template-columns: minmax(0, 1fr) auto; }
  .rc-top .rc-badge { grid-column: 1; justify-self: start; }
  .demo-facts b { font-size: 1.2rem; }
  .rc-tabs { gap: 12px; font-size: 0.76rem; }
  .fees-points { grid-template-columns: minmax(0, 1fr); }
  .fees-points li, .fees-points li + li { padding-left: 0; border-left: 0; }
  .fees-points li + li { border-top: 1px solid var(--rule); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .faq-list summary { grid-template-columns: 44px minmax(0, 1fr) 30px; font-size: 0.98rem; }
  .faq-list details p { padding: 0 0 22px 56px; }
  .layer { grid-template-columns: 44px 24px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .sign-line { min-width: 0; }
  .wpp-fab { width: 50px; height: 50px; }
}

@media (max-width: 400px) {
  .nav-cta { padding: 0 12px; }
  .nav-cta svg { display: none; }
  .receipt-id { display: none; }
  .demo-facts { grid-template-columns: minmax(0, 1fr); }
  .demo-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-bottom: 12px; }
}

/* Impressão */
@media print {
  .site-header, .mobile-menu, .skip-link, .hero-visual, .microstrip, .banknote, .contact-form, .wpp-fab, .footer-wordmark { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 24px 0; }
}

/* ==========================================================================
   11. A CAMADA ÓRBITA
   --------------------------------------------------------------------------
   O que o Cédula desenhava e o Órbita não desenha: serifa fina, itálico de
   destaque, rótulo mono em caixa alta, guilhoché, carimbo, serrilha e réguas
   tracejadas. Fica aqui, no fim, para vencer as regras das seções sem
   reescrever cada uma — o mesmo caminho do painel (`globals.css`, bloco
   `[data-visual='orbita']`).
   ========================================================================== */

/* O fundo: liso, com UM halo azul no alto — a luz do anel. */
html, body { background-color: var(--paper); }
body {
  background:
    radial-gradient(1100px 520px at 50% -220px, var(--halo), transparent 70%) no-repeat,
    var(--paper);
}

/* Títulos em Sora 600, fechados; o destaque é COR, não itálico. */
h1, h2 { font-weight: 600; letter-spacing: -0.035em; }
h1 em, h2 em { font-style: normal; color: var(--blue-ink); }
h3 { letter-spacing: -0.02em; }
.receipt-amount strong, .fact strong, .ledger-title, .ledger-total strong,
.statement-foot strong, .support h3, .compare-col h3, .layer--feature h3,
.clause h3, .integ strong, .bill-value, .demo-copy h3, .demo-facts b {
  font-weight: 600; letter-spacing: -0.03em; font-style: normal;
}
.quote blockquote { font-weight: 500; letter-spacing: -0.02em; }
.step-numeral { font-style: normal; font-weight: 600; letter-spacing: -0.04em; }

/* Números alinham em coluna. */
.receipt, .receipt-data, .fact strong, .ledger-total, .statement, .integ strong,
.bill-value, .demo-facts b, .timeline time { font-variant-numeric: tabular-nums; }

/* Rótulos: caixa normal, tamanho legível — nada de mono em caixa alta. */
.label, .sec-label, .serial, .serial-line, .status-dot, .field label,
.mobile-menu-title, .receipt-head span, .receipt-amount > span, .microstrip,
.ledger-head, .ledger-tag, .ledger-status, .ledger-total, .statement-foot,
.clause-n, .integ small, .integ-notes dt, .bill-tier, .bill-serial,
.screen-title, .sign-line, .cell-n, .point-n, .layer-n, .ledger-n,
.code-note, .included-line, .quote figcaption span, .stamp span {
  text-transform: none; letter-spacing: 0; font-size: 0.8125rem; font-weight: 500;
}
.sec-label { color: var(--ink-2); }
.sec-label span { display: none; }
.bill-tier { font-weight: 600; font-size: 0.875rem; }

/* Cabeçalho de seção: sem a régua de tinta por cima. */
.sec-head { border-top: 0; padding-top: 0; }
.vault .sec-head { border-top: 0; }

/* Réguas: sólidas e discretas; o tracejado e a régua dupla eram papel. */
/* Só o lado que já tinha régua: `border-style` sozinho acenderia os quatro. */
.receipt-head { border-bottom-style: solid; border-bottom-color: var(--rule); }
.receipt-data { border-top-style: solid; border-bottom-style: solid; border-top-color: var(--rule); border-bottom-color: var(--rule); }
.statement-foot, .compare-col li { border-top-style: solid; border-top-color: var(--rule); }
.statement-head, .clause, .sp-head { border-bottom-style: solid; border-bottom-color: var(--rule); }
.ledger-total { border-bottom: 1px solid var(--rule); }

/* Botões: pílula, com o brilho curto da marca no primário. */
.btn { border-radius: 9999px; }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px -10px rgba(1, 52, 238, 0.7); }

/* Folhas de produto (comprovante, extrato, telas): vidro em degrau de tom. */
.receipt, .statement {
  border-radius: var(--r-lg); border-color: var(--rule);
  font-family: var(--sans);
}
.receipt { rotate: -2deg; }
.receipt::after { display: none; }
.ledger-status { rotate: 0deg; border-radius: 9999px; }

/* ---- O anel da logo no lugar do guilhoché -------------------------------
   `.rosette` (fundo de cartões, nota do CTA) vira o ANEL: fio fino com luz
   que varia ao longo da volta, e o ponto de luz no alto à direita. */
.rosette {
  position: relative; background: none;
  -webkit-mask: none; mask: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(77, 141, 255, 0.55), 0 0 24px -4px rgba(1, 52, 238, 0.5), inset 0 0 24px -6px rgba(1, 52, 238, 0.45);
}
.rosette::after {
  content: ''; position: absolute; top: 14.6%; right: 14.6%; width: 10px; height: 10px; margin: -5px -5px 0 0;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px 2px rgba(200, 230, 255, 0.95), 0 0 22px 6px rgba(50, 120, 255, 0.6);
}

/* O carimbo "PAGO" vira um selo redondo com o anel da marca. */
.stamp { rotate: 0deg; color: var(--paid); }
.stamp::before {
  -webkit-mask: none; mask: none; opacity: 1; border-radius: 50%; background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor, 0 0 18px -6px currentColor;
}
.stamp span { border-radius: 9999px; background: var(--paper-2); }

/* O selo do suporte e o do contrato: o anel, girando devagar. */
.seal-guilloche, .contract-seal {
  -webkit-mask: none; mask: none; background: none; border-radius: 50%; opacity: 1;
  box-shadow: inset 0 0 0 1.5px rgba(77, 141, 255, 0.6), 0 0 20px -6px rgba(1, 52, 238, 0.6);
}
.contract-seal {
  rotate: 0deg; position: relative;
  /* O selo do termo é a logo em miniatura: o miolo preto da marca, o Z no
     centro e o ponto de luz no alto do anel — a assinatura ao lado da firma. */
  background: radial-gradient(circle, #0b0f22 0%, #020308 70%);
}
.contract-seal::before {
  content: ''; position: absolute; inset: 27% 24%;
  background: url(/public/assets/zavyn-simbolo.png) center / contain no-repeat;
  filter: drop-shadow(0 4px 10px rgba(1, 40, 220, 0.55));
}
.contract-seal::after {
  content: ''; position: absolute; top: 14.6%; right: 14.6%; width: 7px; height: 7px; margin: -3.5px -3.5px 0 0;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px 2px rgba(200, 230, 255, 0.95), 0 0 18px 5px rgba(50, 120, 255, 0.6);
}
.seal-text { font-family: var(--sans); letter-spacing: 1.6px; }

/* As faixas onduladas saem: o "depois" e o cofre ganham a linha de luz. */
.compare-col--after::after {
  -webkit-mask: none; mask: none; opacity: 1; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-ink) 50%, transparent);
}
.vault::before {
  -webkit-mask: none; mask: none; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 141, 255, 0.55) 50%, transparent);
}
.vault h2 em { color: #6FA2FF; }

/* ---- As placas da premiação: cartões de metal com a órbita (como no painel) */
.bill { border-radius: var(--r-lg); rotate: 0deg !important; }
.bill::before {
  inset: 0; border: 0; border-radius: inherit;
  background-image: linear-gradient(var(--bill-line) 1px, transparent 1px), linear-gradient(90deg, var(--bill-line) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse at 100% 50%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 100% 50%, #000 10%, transparent 65%);
}
.bill-art {
  -webkit-mask: none; mask: none; background: none; border-radius: 50%; right: -20%; width: 72%;
  box-shadow: inset 0 0 0 1.5px var(--bill-frame), 0 0 26px -4px rgba(77, 141, 255, 0.55), inset 0 0 26px -6px rgba(77, 141, 255, 0.45);
}
.bill-art::after {
  content: ''; position: absolute; top: 14.6%; left: 14.6%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.9), 0 0 22px 6px rgba(77, 141, 255, 0.6);
}
.bill-serial { color: var(--bill-ink); opacity: 0.7; }

/* ---- O PALCO DA LOGO no hero: a marca montada, como no login do painel ---
   O anel em camadas: a luz é um conic-gradient (quente no alto à direita e
   embaixo à esquerda) e o halo é a mesma volta desfocada — box-shadow tem a
   mesma força na volta inteira e deixaria o anel "neon". Proporções da logo:
   Z com 42% do diâmetro (19%–56% da altura), nome com 82% (centro em ~67%). */
@property --orbita-giro { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
.orbita-palco {
  position: relative; width: min(500px, 100%); aspect-ratio: 1;
  animation: orbita-giro 2.1s var(--ease) 0.1s backwards;
}
.orbita-palco > * { position: absolute; }
@keyframes orbita-giro { from { --orbita-giro: -320deg; } }
@keyframes orbita-surgir { from { opacity: 0; } }
@keyframes orbita-chegar { from { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.96); filter: blur(10px); } }
.orbita-bloom {
  inset: -5%; border-radius: 50%; filter: blur(8px);
  background:
    radial-gradient(18% 14% at 80% 17%, rgba(50, 120, 255, 0.5), transparent 70%),
    radial-gradient(16% 13% at 15% 77%, rgba(50, 120, 255, 0.38), transparent 70%);
  animation: orbita-surgir 1s var(--ease) 1.5s backwards;
}
.orbita-halo {
  inset: -6%; border-radius: 50%; filter: blur(14px);
  background: conic-gradient(from var(--orbita-giro),
    rgba(25, 95, 255, 0.7) 0deg, rgb(45, 120, 255) 45deg, rgba(30, 105, 255, 0.9) 80deg,
    rgba(10, 70, 255, 0.55) 120deg, rgba(5, 50, 220, 0.3) 170deg, rgba(15, 80, 255, 0.6) 210deg,
    rgb(45, 120, 255) 242deg, rgba(10, 70, 255, 0.5) 275deg, rgba(5, 50, 220, 0.28) 315deg,
    rgba(25, 95, 255, 0.7) 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 89%, #000 92%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 80%, #000 89%, #000 92%, transparent 100%);
  animation: orbita-surgir 1.2s var(--ease) 0.1s backwards;
}
.orbita-interior {
  inset: 1.2%; border-radius: 50%;
  background: linear-gradient(140deg, transparent 22%, rgba(70, 120, 255, 0.09) 36%, transparent 50%), #020308;
}
.orbita-fio {
  inset: 0; border-radius: 50%;
  background: conic-gradient(from var(--orbita-giro),
    rgb(70, 135, 255) 0deg, rgb(235, 245, 255) 42deg, rgb(150, 195, 255) 70deg,
    rgb(40, 105, 255) 100deg, rgba(20, 70, 230, 0.75) 150deg, rgba(25, 80, 240, 0.85) 200deg,
    rgb(200, 228, 255) 240deg, rgb(40, 100, 255) 268deg, rgba(18, 60, 215, 0.7) 310deg,
    rgb(70, 135, 255) 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px), #000 calc(100% - 0.5px), transparent 100%);
  mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px), #000 calc(100% - 0.5px), transparent 100%);
  animation: orbita-surgir 0.9s var(--ease) 0.1s backwards;
}
.orbita-arco {
  inset: -0.6%; border-radius: 50%; filter: blur(1.5px);
  background: conic-gradient(from var(--orbita-giro),
    transparent 12deg, rgba(150, 200, 255, 0.95) 40deg, rgba(120, 180, 255, 0.8) 62deg, transparent 92deg,
    transparent 222deg, rgba(150, 200, 255, 0.8) 242deg, transparent 262deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px), #000 100%);
  mask: radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px), #000 100%);
  animation: orbita-surgir 0.9s var(--ease) 0.1s backwards;
}
.orbita-ponto { width: 0; height: 0; }
.orbita-ponto::before {
  content: ''; position: absolute; left: -36px; top: -36px; width: 72px; height: 72px;
  background:
    radial-gradient(circle, #fff 0 2px, rgba(210, 235, 255, 0.95) 3.5px, rgba(80, 145, 255, 0.55) 10px, transparent 34px),
    linear-gradient(90deg, transparent 20%, rgba(220, 240, 255, 0.6) 50%, transparent 80%) center / 100% 1px no-repeat;
  animation: orbita-ponto-nascer 0.8s var(--ease) 1.6s backwards, orbita-cintilar 6.5s cubic-bezier(0.45, 0, 0.55, 1) 2.6s infinite;
}
.orbita-ponto--a { left: 83.5%; top: 12.8%; }
.orbita-ponto--b { left: 6.7%; top: 75%; }
.orbita-ponto--b::before { scale: 0.7; }
@keyframes orbita-ponto-nascer { from { opacity: 0; transform: scale(0.2); } }
@keyframes orbita-cintilar { 0%, 100% { opacity: 0.85; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.06); } }
.orbita-z {
  left: 29%; top: 19%; width: 42%; aspect-ratio: 512 / 421;
  background: url(/public/assets/zavyn-simbolo.png) center / contain no-repeat;
  filter: drop-shadow(0 10px 24px rgba(1, 40, 220, 0.55));
  animation: orbita-chegar 1.1s var(--ease) 0.5s backwards;
}
.orbita-nome {
  left: 9%; top: 62.5%; width: 82%; aspect-ratio: 925 / 174;
  background: linear-gradient(180deg, #ffffff 0%, #eef2fa 38%, #9aa6c0 60%, #f1f4fb 100%);
  -webkit-mask: url(/public/assets/zavyn-wordmark.svg) center / contain no-repeat;
  mask: url(/public/assets/zavyn-wordmark.svg) center / contain no-repeat;
  animation: orbita-chegar 1s var(--ease) 0.75s backwards;
}
/* O comprovante pousa ABAIXO do nome, sobre a borda do anel: a logo fica
   inteira e o produto entra na mesma cena. O topo do comprovante fica a 80%
   da altura do palco — o nome termina em ~78%. */
.hero-visual { position: relative; display: block; min-height: 0; width: 100%; max-width: 520px; justify-self: end; }
.hero-visual .orbita-palco { width: 420px; }
.hero-visual .receipt {
  position: relative; z-index: 1; margin: -84px 0 0 auto; width: 280px;
  font-size: 0.75rem; padding: 18px 18px 20px;
  background: color-mix(in srgb, var(--paper-2) 88%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.hero-visual .receipt-amount strong { font-size: 2rem; }
.hero-visual .stamp { width: 74px; height: 74px; right: 12px; top: 58px; }
.hero-visual .stamp span { font-size: 0.75rem; }

/* Títulos na escala da Sora (mais larga que a serifa condensada de antes). */
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.02; max-width: 15ch; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.06; max-width: 22ch; }
.demo-copy h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

/* Numeração decorativa (01, 02…, 4.1, 7.2) sai: a ordem já está na posição.
   Nas linhas em grade o número ocupa uma coluna própria: ele vira um anel
   pequeno com o ponto de luz, e a coluna continua alinhando o texto. Os
   passos de "Como funciona" ficam — ali a ordem é o conteúdo. */
.cell-n { display: none; }
.ledger-n, .point-n, .layer-n {
  position: relative; width: 14px; height: 14px; margin-top: 4px; font-size: 0; color: transparent;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(77, 141, 255, 0.7), 0 0 10px -2px rgba(1, 52, 238, 0.6);
}
.ledger-n::after, .point-n::after, .layer-n::after {
  content: ''; position: absolute; top: 1px; right: 1px; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 4px 1px rgba(160, 210, 255, 0.9);
}

@media (max-width: 960px) {
  .hero-visual { justify-self: center; }
  .hero-visual .orbita-palco { width: min(420px, 100%); margin-inline: auto; }
  .hero-visual .receipt { margin: -64px auto 0; }
}
@media (max-width: 600px) {
  .hero-visual .orbita-palco { width: min(340px, 100%); }
  .hero-visual .receipt { width: min(280px, 92%); margin-top: -40px; }
}

@media (prefers-reduced-motion: reduce) {
  .orbita-palco, .orbita-palco > *, .orbita-ponto::before { animation: none !important; }
}

/* O nome no cabeçalho é o WORDMARK da logo (máscara: segue a cor da tinta
   nos dois temas). O texto "ZAVYN" continua no HTML para quem não vê. */
.brand-name {
  display: block; width: 92px; height: 17px; font-size: 0; color: transparent; letter-spacing: 0;
  background: var(--ink);
  -webkit-mask: url(/public/assets/zavyn-wordmark.svg) left center / contain no-repeat;
  mask: url(/public/assets/zavyn-wordmark.svg) left center / contain no-repeat;
}
.brand-mark { object-fit: contain; }

/* A nota da chamada final: o cartão orbital do saldo do painel — o preto da
   logo com a luz azul vindo do anel. Sem série, moldura ou onda de cédula. */
.banknote {
  border-radius: 24px; color: #F2F5FB;
  background:
    radial-gradient(70% 120% at 85% 45%, rgba(20, 70, 255, 0.38), transparent 62%),
    linear-gradient(160deg, #0B0D16 0%, #020308 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 60px -30px rgba(1, 30, 160, 0.55);
}
.banknote::before, .banknote-wave, .banknote-serial, .bill-serial { display: none; }
.banknote h2 { color: #F5F7FB; }
.banknote .sec-label { color: rgba(245, 247, 251, 0.72); }

/* FAQ: o "Q.01" vira o anel pequeno (a coluna da grade continua). */
.faq-n {
  position: relative; width: 14px; height: 14px; margin-top: 5px; font-size: 0; color: transparent;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(77, 141, 255, 0.7), 0 0 10px -2px rgba(1, 52, 238, 0.6);
}
.faq-n::after {
  content: ''; position: absolute; top: 1px; right: 1px; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 4px 1px rgba(160, 210, 255, 0.9);
}

/* ==========================================================================
   12. O MOVIMENTO — perto da Apple: um momento-assinatura, entradas que
   variam com o conteúdo, resposta sob a mão. Sem sequestrar a rolagem: tudo
   que se move com o scroll usa a timeline NATIVA do navegador (animation-
   timeline), dentro de @supports — quem não tem (Safari antigo, Firefox) vê
   a página pronta, parada. `prefers-reduced-motion` desliga tudo.
   ========================================================================== */

/* Texto corrido no ritmo de leitura da Apple: 17px, entrelinha folgada. */
body { font-size: 1.0625rem; line-height: 1.55; }

/* Resposta sob a mão: o botão afunda ao clicar; o primário acende no hover. */
.btn { transition: background-color var(--t-base) ease, color var(--t-base) ease, border-color var(--t-base) ease, box-shadow var(--t-base) ease, transform 160ms var(--ease); }
.btn:active { transform: scale(0.96); transition-duration: 100ms; }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 32px -10px rgba(1, 52, 238, 0.85); }

/* O holofote: luz azul discreta sob o cursor (posição escrita por orbita.js). */
.holofote {
  background-image: radial-gradient(440px circle at var(--hx, -999px) var(--hy, -999px), rgba(77, 141, 255, 0.1), transparent 55%);
}

/* A frase que acende: declaração grande; as palavras vão do cinza à tinta
   conforme a frase atravessa a tela (orbita.js). Sem script, ela já está
   inteira e acesa — a classe .acende-pronto só existe com o script. */
.sec-lead--declaracao {
  max-width: 34ch; font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.28;
  font-weight: 500; letter-spacing: -0.02em; color: var(--ink);
}
.sec-lead.sec-lead--declaracao .hl { background: none; color: var(--blue-ink); box-shadow: none; padding: 0; }
.acende-pronto .acende-palavra { opacity: 0.18; transition: opacity 420ms var(--ease); }
.acende-pronto .acende-palavra.on { opacity: 1; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* ---- A ASSINATURA: a cena do hero ----
       O grid fica preso enquanto a cena (175vh) passa. Nesse trecho o texto
       sai desfocando, o comprovante desce, a luz do anel gira com a rolagem
       e a logo cresce e vai para o centro — a marca termina sozinha na tela,
       como o produto no fim de uma apresentação da Apple. */
    @media (min-width: 1100px) {
      /* `clip`, não `hidden`: hidden faz do .hero um contêiner de rolagem, e
         aí o sticky e a timeline da cena medem um elemento que nunca rola. */
      .hero { overflow: clip; }
      .hero-cena { height: 175vh; view-timeline-name: --cena; }
      .hero-grid { position: sticky; top: calc(var(--header-h) + 4vh); }
      .hero-copy {
        animation: cena-texto linear both; animation-timeline: --cena;
        animation-range: contain 0% contain 38%;
      }
      .hero-visual {
        transform-origin: 50% 32%;
        /* A logo só anda depois que o texto quase sumiu: nada passa por
           cima de um título ainda legível. */
        animation: cena-palco linear both; animation-timeline: --cena;
        animation-range: contain 30% contain 100%;
      }
      .hero-visual .receipt {
        animation: cena-recibo linear both; animation-timeline: --cena;
        animation-range: contain 0% contain 40%;
      }
    }

    /* ---- As telas de demonstração sobem da profundidade ----
       Entram inclinadas para trás e assentam no plano quando chegam ao meio
       da tela — a apresentação de produto, e não um fade igual a todos. */
    .demo .screen {
      transform-origin: 50% 100%;
      animation: tela-assenta linear both; animation-timeline: view();
      animation-range: entry 0% cover 38%;
    }
  }
}

@keyframes cena-texto {
  to { opacity: 0; transform: translate3d(0, -56px, 0); filter: blur(10px); }
}
@keyframes cena-palco {
  from { transform: none; --orbita-giro: 0deg; }
  to { transform: translate(-26vw, 10vh) scale(1.22); --orbita-giro: 320deg; }
}
@keyframes cena-recibo {
  to { opacity: 0; transform: translate3d(48px, 90px, 0) rotate(7deg); }
}
@keyframes tela-assenta {
  from { opacity: 0; transform: perspective(1200px) rotateX(18deg) translate3d(0, 70px, 0) scale(0.94); }
}

@media (prefers-reduced-motion: reduce) {
  .acende-pronto .acende-palavra { opacity: 1; transition: none; }
  .btn:active { transform: none; }
}

/* ==========================================================================
   13. AVISO DE COOKIES — o Pixel da Meta só liga depois do "Aceitar"
   (js/consentimento.js). Folha de produto no canto, sem tapar a página;
   no celular ocupa a base e o WhatsApp flutuante sobe (--aviso-h).
   ========================================================================== */

.cookies {
  position: fixed; z-index: 85;
  left: max(24px, env(safe-area-inset-left)); bottom: max(24px, env(safe-area-inset-bottom));
  width: min(400px, calc(100vw - 48px));
  padding: 18px 20px;
  background: color-mix(in srgb, var(--paper-2) 92%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow-doc);
  font-size: 0.9rem; line-height: 1.5; color: var(--ink-2);
  animation: cookies-in 0.45s var(--ease) 0.4s both;
}
@keyframes cookies-in {
  from { opacity: 0; transform: translateY(12px); }
}
.cookies strong { color: var(--ink); font-weight: 600; }
.cookies a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.cookies-acoes { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }

.wpp-fab { bottom: calc(max(20px, env(safe-area-inset-bottom)) + var(--aviso-h, 0px)); }
@media (min-width: 640px) {
  .wpp-fab { bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (max-width: 639px) {
  .cookies { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; }
  .cookies-acoes .btn { flex: 1; }
}

/* O link "Cookies" do rodapé reabre o aviso: um botão vestido de link. */
.footer-cookies {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: inherit;
  transition: color var(--t-fast) ease;
}
.footer-cookies:hover { color: var(--night-ink); }

@media (prefers-reduced-motion: reduce) {
  .cookies { animation: none; }
}
