/* ============================================================================
   LOOX — Folha de estilo do site comercial
   Autoral, sem dependência externa. Tema escuro principal + claro.
   Contrastes verificados em AA nos dois temas (ver ENTREGA.md).
   ---------------------------------------------------------------------------
   1. Reset            5. Botões e badges      9. Formulário
   2. Tokens           6. Cards e grades      10. Rodapé
   3. Layout           7. Componentes         11. Movimento
   4. Tipografia       8. Prints e mídia      12. Responsivo
   ========================================================================= */

/* ==========================================================================
   1. RESET
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
summary::-webkit-details-marker { display: none; }

/* Foco visível em todo elemento interativo — nunca removido. */
:is(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Pular para o conteúdo — primeiro elemento tabulável de cada página. */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   2. TOKENS
   ========================================================================== */
:root {
  /* Tipografia: famílias da marca com fallback de sistema completo.
     Nenhuma requisição de rede. Para auto-hospedar, ver ENTREGA.md. */
  --font-display: 'Sora', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Mono', ui-monospace, 'SF Mono', Consolas, 'Liberation Mono', monospace;

  /* Marca */
  --brand: #6D3BF5;
  --brand-2: #2E5BFF;
  --brand-grad: linear-gradient(100deg, #6D3BF5, #2E5BFF);
  --brand-grad-lift: linear-gradient(100deg, #A78BFF, #7DA0FF);

  /* Escala espacial e raios */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;
  --shell: 1180px;
  --shell-narrow: 860px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-y: clamp(64px, 8vw, 104px);

  /* ---- Tema escuro (principal) ---- */
  color-scheme: dark;
  --bg: #0B0B12;
  --bg-alt: #0E0E15;
  --bg-deep: #08080E;
  --surface: #16161F;
  --surface-2: #1A1A26;
  --surface-3: #1F1F2C;
  --border: #262634;
  --border-strong: #33334A;
  --text: #F4F4FA;
  --text-2: #B4B4CA;
  --text-3: #8F8FA6;          /* 6.2:1 sobre --bg */
  --brand-text: #A78BFF;      /* 7.3:1 sobre --bg */
  --focus: #A78BFF;
  --scrim: rgba(8, 8, 14, .78);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, .38);
  --glow: 0 10px 30px rgba(109, 59, 245, .34);

  /* Semáforo de severidade — variante para fundo escuro */
  --sev-crit: #E5484D;        /* 5.0:1  */
  --sev-warn: #F5A524;        /* 9.6:1  */
  --sev-info: #7DA0FF;        /* 7.8:1  */
  --sev-ok:   #30A46C;        /* 6.2:1  */
  --sev-crit-bg: rgba(229, 72, 77, .14);
  --sev-warn-bg: rgba(245, 165, 36, .13);
  --sev-info-bg: rgba(125, 160, 255, .13);
  --sev-ok-bg:   rgba(48, 164, 108, .14);
}

/* ---- Tema claro: por preferência do sistema, sem override explícito ---- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    color-scheme: light;
    --bg: #FBFBFD;
    --bg-alt: #F4F4F9;
    --bg-deep: #EDEDF4;
    --surface: #FFFFFF;
    --surface-2: #F7F7FB;
    --surface-3: #F0F0F6;
    --border: #E4E4EE;
    --border-strong: #CFCFDE;
    --text: #17171F;
    --text-2: #44445A;
    --text-3: #5D5D70;        /* 6.2:1 sobre --bg */
    --brand-text: #6D3BF5;    /* 5.6:1 sobre --bg */
    --focus: #4A2ECF;
    --scrim: rgba(11, 11, 18, .72);
    --card-shadow: 0 16px 40px rgba(23, 23, 31, .09);
    --glow: 0 10px 28px rgba(109, 59, 245, .22);
    --sev-crit: #C62328;      /* 5.5:1 */
    --sev-warn: #8A5B00;      /* 5.7:1 */
    --sev-info: #2E5BFF;      /* 5.0:1 */
    --sev-ok:   #1A7F4B;      /* 4.9:1 */
    --sev-crit-bg: rgba(198, 35, 40, .08);
    --sev-warn-bg: rgba(138, 91, 0, .08);
    --sev-info-bg: rgba(46, 91, 255, .07);
    --sev-ok-bg:   rgba(26, 127, 75, .08);
  }
}

/* ---- Tema claro: escolha explícita no alternador (vence sempre) ---- */
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #FBFBFD;
  --bg-alt: #F4F4F9;
  --bg-deep: #EDEDF4;
  --surface: #FFFFFF;
  --surface-2: #F7F7FB;
  --surface-3: #F0F0F6;
  --border: #E4E4EE;
  --border-strong: #CFCFDE;
  --text: #17171F;
  --text-2: #44445A;
  --text-3: #5D5D70;
  --brand-text: #6D3BF5;
  --focus: #4A2ECF;
  --scrim: rgba(11, 11, 18, .72);
  --card-shadow: 0 16px 40px rgba(23, 23, 31, .09);
  --glow: 0 10px 28px rgba(109, 59, 245, .22);
  --sev-crit: #C62328;
  --sev-warn: #8A5B00;
  --sev-info: #2E5BFF;
  --sev-ok:   #1A7F4B;
  --sev-crit-bg: rgba(198, 35, 40, .08);
  --sev-warn-bg: rgba(138, 91, 0, .08);
  --sev-info-bg: rgba(46, 91, 255, .07);
  --sev-ok-bg:   rgba(26, 127, 75, .08);
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: var(--shell-narrow); }

.section { padding-block: var(--sec-y); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section--deep { background: var(--bg-deep); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--flush-top { padding-top: 0; }

.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap, 16px); }

.grid { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.grid--split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4vw, 56px); }

/* Barra de rolagem própria para conteúdo largo — o body nunca rola na horizontal. */
.scroll-x {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  -webkit-overflow-scrolling: touch;
}
.scroll-x::-webkit-scrollbar { height: 10px; }
.scroll-x::-webkit-scrollbar-track { background: var(--surface-2); border-radius: var(--r-pill); }
.scroll-x::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--r-pill); }

/* ==========================================================================
   4. TIPOGRAFIA
   ========================================================================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin: 0;
}

.h-hero  { font-size: clamp(2.15rem, 6.2vw, 3.75rem); letter-spacing: -0.035em; }
.h-page  { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.03em; }
.h-sec   { font-size: clamp(1.6rem, 3.6vw, 2.5rem); letter-spacing: -0.025em; }
.h-sub   { font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; }
.h-card  { font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.3; }

.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.62; color: var(--text-2); }
.body { font-size: 1rem; line-height: 1.68; color: var(--text-2); }
.small { font-size: .875rem; line-height: 1.6; color: var(--text-3); }
.tiny { font-size: .78125rem; line-height: 1.55; color: var(--text-3); }

.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.measure { max-width: 62ch; }
.center { text-align: center; }
.center .measure, .center .lede { margin-inline: auto; }

.grad-text {
  background: var(--brand-grad-lift);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme='light'] .grad-text,
.on-light .grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; }

.strong { color: var(--text); font-weight: 600; }

/* Placa de veículo e números: dado, não texto corrido. */
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.plate {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .9375em;
  letter-spacing: .06em;
  padding: .1em .45em;
  border-radius: 5px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  color: var(--text);
  white-space: nowrap;
}

/* Seções sempre escuras, mesmo no tema claro (para moldar prints escuros). */
.on-dark {
  --bg: #0B0B12;
  --bg-alt: #0E0E15;
  --surface: #16161F;
  --surface-2: #1A1A26;
  --surface-3: #1F1F2C;
  --border: #262634;
  --border-strong: #33334A;
  --text: #F4F4FA;
  --text-2: #B4B4CA;
  --text-3: #8F8FA6;
  --brand-text: #A78BFF;
  --focus: #A78BFF;
  --sev-crit: #E5484D;
  --sev-warn: #F5A524;
  --sev-info: #7DA0FF;
  --sev-ok: #30A46C;
  --sev-crit-bg: rgba(229, 72, 77, .14);
  --sev-warn-bg: rgba(245, 165, 36, .13);
  --sev-info-bg: rgba(125, 160, 255, .13);
  --sev-ok-bg: rgba(48, 164, 108, .14);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, .38);
  background: var(--bg);
  color: var(--text);
}

/* ==========================================================================
   5. BOTÕES E BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, filter .16s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--brand-grad); color: #FFFFFF; box-shadow: var(--glow); }
.btn--primary:hover { filter: brightness(1.09); transform: translateY(-1px); color: #FFFFFF; }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--text); background: var(--surface-2); }

.btn--solid { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: var(--card-shadow); }
.btn--solid:hover { border-color: var(--brand); color: var(--text); }

.btn--sm { min-height: 40px; padding: 9px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-2);
  white-space: nowrap;
}
.badge--brand { border-color: transparent; background: var(--brand-grad); color: #fff; letter-spacing: .06em; }
.badge--crit { color: var(--sev-crit); background: var(--sev-crit-bg); border-color: var(--sev-crit); }
.badge--warn { color: var(--sev-warn); background: var(--sev-warn-bg); border-color: var(--sev-warn); }
.badge--info { color: var(--sev-info); background: var(--sev-info-bg); border-color: var(--sev-info); }
.badge--ok   { color: var(--sev-ok);   background: var(--sev-ok-bg);   border-color: var(--sev-ok); }

/* Selo de módulo vendido à parte. */
.badge--addon {
  color: var(--sev-warn);
  background: var(--sev-warn-bg);
  border-color: var(--sev-warn);
  text-transform: none;
  letter-spacing: .02em;
}

.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: currentColor; }

.pill-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.pill-list li {
  padding: 8px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .875rem;
  color: var(--text-2);
}

/* ==========================================================================
   6. CARDS E GRADES
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.2vw, 28px);
}
.card--pad-lg { padding: clamp(26px, 3vw, 40px); }
.card--quiet { background: transparent; }
.card--raised { box-shadow: var(--card-shadow); }

/* Card de funcionalidade */
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 24px 26px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--card-shadow); }
.feature__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--brand-text);
  flex: none;
}
.feature__icon svg { width: 21px; height: 21px; }
.feature__title { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; color: var(--text); letter-spacing: -0.01em; }
.feature__text { font-size: .9375rem; line-height: 1.6; color: var(--text-3); }
.feature__more {
  margin-top: auto;
  padding-top: 4px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-text);
}
.feature__more::after { content: ' →'; }

/* Card de funcionalidade em destaque (diferencial) */
.feature--star {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  background:
    radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 62%),
    var(--surface);
}
.feature--star .feature__icon { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); background: color-mix(in srgb, var(--brand) 16%, var(--surface-3)); }
.feature--wide { grid-column: span 2; }

/* Faixa de números */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.stat__num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  background: var(--brand-grad-lift);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.stat__label { margin-top: 8px; font-size: .875rem; line-height: 1.5; color: var(--text-3); }

/* Passo de fluxo numerado */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.flow__step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 20px;
}
.flow__step + .flow__step::before {
  content: '';
  position: absolute;
  left: -13px; top: 50%;
  width: 14px; height: 2px;
  transform: translateY(-50%);
  background: var(--border-strong);
}
.flow__n {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: .06em;
}
.flow__icon { margin-top: 12px; color: var(--brand-text); }
.flow__icon svg { width: 26px; height: 26px; }
.flow__title { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--text); }
.flow__text { margin-top: 7px; font-size: .875rem; line-height: 1.55; color: var(--text-3); }

/* Os 5 pilares: uma cadeia, não cinco caixas soltas.
   A linha atravessa os nós e vai ganhando cor até o último elo. */
.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin-top: clamp(34px, 4vw, 52px);
}
/* A linha vai do centro do 1º nó ao centro do 5º. Os nós ficam alinhados à
   esquerda de cada coluna (não centralizados), então o cálculo usa o recuo da
   coluna + metade do nó — ancorar em 10%/90% fazia a linha passar do último. */
.pillars::before {
  content: '';
  position: absolute;
  top: 21px;
  left: calc(clamp(8px, 1.2vw, 16px) + 22px);
  right: calc(20% - clamp(8px, 1.2vw, 16px) - 22px);
  height: 2px;
  background: linear-gradient(90deg,
    var(--border-strong) 0%,
    color-mix(in srgb, var(--brand) 45%, var(--border-strong)) 46%,
    var(--brand) 78%,
    var(--sev-warn) 100%);
}

.pillar { position: relative; padding-inline: clamp(8px, 1.2vw, 16px); }
.pillar__node {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: .8125rem;
  color: var(--text-3);
}
/* O último elo é o destino da cadeia — e o módulo vendido à parte. */
.pillar--last .pillar__node {
  border-color: var(--sev-warn);
  color: var(--sev-warn);
  background: var(--sev-warn-bg);
}
.pillar:nth-child(4) .pillar__node { border-color: color-mix(in srgb, var(--brand) 70%, var(--border-strong)); color: var(--brand-text); }
.pillar:nth-child(3) .pillar__node { border-color: color-mix(in srgb, var(--brand) 45%, var(--border-strong)); }

.pillar__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.015em;
  color: var(--text);
}
.pillar__tag {
  display: inline-block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sev-warn);
}
.pillar__text { margin-top: 9px; font-size: .90625rem; line-height: 1.6; color: var(--text-3); }

@media (max-width: 1080px) {
  /* Em duas colunas a linha horizontal deixa de fazer sentido. */
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(20px, 3vw, 34px); }
  .pillars::before { display: none; }
  .pillar { padding-inline: 0; padding-left: 18px; border-left: 2px solid var(--border-strong); }
  .pillar--last { grid-column: 1 / -1; border-left-color: var(--sev-warn); }
  .pillar:nth-child(4) { border-left-color: color-mix(in srgb, var(--brand) 70%, var(--border-strong)); }
  .pillar__node { width: 38px; height: 38px; }
  .pillar__title { margin-top: 14px; }
}

@media (max-width: 640px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

/* Lista numerada de vigilâncias */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; list-style: none; counter-reset: chk; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--text-2);
  counter-increment: chk;
}
.checks li::before {
  content: counter(chk);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: .8125rem;
  color: var(--brand-text);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 26px;
  padding: 2px 0;
  text-align: center;
  flex: none;
}

/* Chips simples (monitores contínuos) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: .84375rem;
  color: var(--text-2);
}

/* Lista com marcador de verificação */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 11px; font-size: .9375rem; line-height: 1.6; color: var(--text-2); }
.ticks li > svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--sev-ok); }
.ticks--brand li > svg { color: var(--brand-text); }

/* Card de persona */
.persona {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
}
.persona__role {
  font-family: var(--font-mono);
  font-size: .71875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.persona__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
}
.persona__text { font-size: .875rem; line-height: 1.6; color: var(--text-3); }

/* Bloco de citação / manchete */
.quote {
  border-left: 3px solid var(--brand);
  padding: 6px 0 6px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}
.quote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-size: .875rem; font-weight: 400; font-style: normal; color: var(--text-3); letter-spacing: 0; }

/* Tabela comparativa Antes × Com Loox */
.compare { min-width: 680px; font-size: .9375rem; }
.compare caption { text-align: left; padding-bottom: 14px; font-size: .875rem; color: var(--text-3); }
.compare th, .compare td { text-align: left; padding: 14px 18px; vertical-align: top; line-height: 1.5; border-bottom: 1px solid var(--border); }
.compare thead th {
  font-family: var(--font-display);
  font-size: 1rem;
  position: sticky; top: 0;
  background: var(--bg);
  z-index: 1;
}
.compare thead th:first-child { color: var(--text-3); }
.compare tbody th { font-weight: 400; color: var(--text-3); width: 50%; }
.compare tbody td { color: var(--text-2); background: var(--surface); border-left: 1px solid var(--border); }
.compare tbody td .strong { color: var(--text); }
.compare tbody tr:hover td { background: var(--surface-2); }
.compare__mark { display: inline-flex; align-items: center; gap: 8px; }
.compare__mark svg { width: 17px; height: 17px; flex: none; }
.compare tbody th .compare__mark svg { color: var(--text-3); }
.compare tbody td .compare__mark svg { color: var(--sev-ok); }

/* Acordeão de FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .18s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 17px 22px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  list-style: none;
}
.faq summary:hover { background: var(--surface-2); }
.faq summary::after {
  content: '';
  width: 11px; height: 11px;
  flex: none;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq__body { padding: 0 22px 20px; font-size: .9375rem; line-height: 1.68; color: var(--text-2); }
.faq__body > * + * { margin-top: 12px; }

/* Carrossel de histórias */
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.carousel__track::-webkit-scrollbar { height: 10px; }
.carousel__track::-webkit-scrollbar-track { background: var(--surface-2); border-radius: var(--r-pill); }
.carousel__track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--r-pill); }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.carousel__btn:hover:not(:disabled) { border-color: var(--brand); }
.carousel__btn:disabled { opacity: .38; cursor: default; }
.carousel__btn svg { width: 19px; height: 19px; }

.story {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  height: 100%;
}
.story__meta {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.story__title { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; color: var(--text); letter-spacing: -0.01em; }
.story__text { font-size: .9375rem; line-height: 1.62; color: var(--text-3); }
.story__note {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: .85;
}

/* ==========================================================================
   7. NAVEGAÇÃO E HERO
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; color: var(--text); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 22px); margin-left: auto; list-style: none; }
/* Sem nowrap, rótulos de duas palavras quebram em duas linhas e a barra
   fica desalinhada. */
.nav__links a { font-size: .90625rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.nav__links a:hover, .nav__links a[aria-current='page'] { color: var(--brand-text); text-decoration: none; }
.nav__links a[aria-current='page'] { font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand-text); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme='light'] .theme-toggle .icon-sun { display: block; }
:root[data-theme='light'] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme='dark']) .theme-toggle .icon-moon { display: none; }
}

.nav__toggle { display: none; }

/* ==========================================================================
   HERO
   O hero encena a tese do produto: a placa é lida, as vigilâncias rodam, a
   decisão sai. Três camadas de profundidade — vídeo, produto em perspectiva,
   fichas flutuando sobre a borda — e um véu HORIZONTAL, não vertical: o texto
   fica sobre a parte quase opaca, o vídeo respira do outro lado. É o que
   resolve, ao mesmo tempo, o excesso de escuro e a mistura entre camadas.
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #08080E;
  color: #F4F4FA;
}

/* --- Vídeo, sangrando na largura toda --- */
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img,
.hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
.hero__bg video { opacity: 0; transition: opacity 1.1s ease; }
.hero__bg video.is-playing { opacity: 1; }

/* Véu direcional: opaco onde mora o texto, translúcido onde o vídeo aparece. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(8, 8, 14, .96) 0%,
      rgba(8, 8, 14, .93) 32%,
      rgba(8, 8, 14, .72) 50%,
      rgba(8, 8, 14, .18) 72%,
      rgba(8, 8, 14, .06) 100%),
    linear-gradient(180deg,
      rgba(8, 8, 14, .78) 0%,
      rgba(8, 8, 14, 0) 18%,
      rgba(8, 8, 14, 0) 62%,
      rgba(11, 11, 18, .82) 93%,
      #0B0B12 100%),
    radial-gradient(1000px 540px at 14% 4%, rgba(109, 59, 245, .26), transparent 60%);
}

/* --- Composição --- */
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 116px) clamp(52px, 7vw, 96px);
}

.hero__copy { text-align: left; }
/* Menor que .h-hero: na coluna dividida, o tamanho cheio deixava "agirem."
   órfão numa linha só. Neste corpo, a segunda frase cabe inteira. */
.hero h1 {
  color: #F4F4FA;
  margin-top: 22px;
  font-size: clamp(2.05rem, 4.2vw, 3rem);
  line-height: 1.1;
}
.hero__lede { margin-top: 20px; max-width: 46ch; color: #C7C7DA; }
.hero__cta { margin-top: 32px; }
.hero .btn--ghost { border-color: rgba(255, 255, 255, .32); color: #F4F4FA; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #A78BFF; }

/* Selo de estado, com ponto vivo */
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .84375rem;
  font-weight: 500;
  color: #E4E4F2;
}
.hero__status .dot { width: 8px; height: 8px; color: #30A46C; animation: pulseDot 2s ease-in-out infinite; box-shadow: 0 0 0 4px rgba(48, 164, 108, .18); }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Micro-prova logo abaixo dos botões */
.hero__proof {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: .875rem;
  color: #9C9CB4;
}
.hero__proof svg { width: 17px; height: 17px; flex: none; color: var(--sev-ok); }

/* --- Palco do produto: sangra para fora da direita, em perspectiva --- */
.hero__stage {
  position: relative;
  margin-right: calc((var(--gutter) + 5vw) * -1);
}

.hero__screen {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #0E0E15;
  transform: perspective(1700px) rotateY(-14deg) rotateX(3.5deg);
  transform-origin: left center;
  box-shadow:
    0 0 0 1px rgba(167, 139, 255, .30),
    -18px 26px 60px -26px rgba(109, 59, 245, .85),
    0 40px 90px rgba(0, 0, 0, .8);
}
/* O print é escuro por natureza; sem este realce ele afunda no vídeo. */
.hero__screen img {
  display: block;
  width: 100%;
  filter: brightness(1.16) contrast(1.08) saturate(1.06);
}

/* Varredura: passa uma vez a cada ciclo, como a leitura acontecendo. */
.hero__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(104deg, transparent 40%, rgba(167, 139, 255, .18) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: heroScan 6s cubic-bezier(.42, 0, .2, 1) 1.4s infinite;
}
@keyframes heroScan {
  0% { transform: translateX(-130%); }
  48%, 100% { transform: translateX(130%); }
}

/* Fichas flutuando sobre a borda do produto — dão a terceira camada. */
.hero__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(13, 13, 20, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .58);
  white-space: nowrap;
}
.hero__chip b {
  display: block;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  color: #F4F4FA;
  letter-spacing: -0.01em;
}
.hero__chip span {
  display: block;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8F8FA6;
  margin-top: 3px;
}
.hero__chip .plate {
  font-size: .78125rem;
  background: #E9E9EF;
  color: #17171F;
  border: 0;
  border-top: 3px solid #2E5BFF;
  border-radius: 4px;
  padding: 3px 7px;
}
.hero__chip--read { left: -30px; top: 13%; animation: chipIn .7s cubic-bezier(.2, .7, .35, 1) .35s both; }
.hero__chip--verdict { left: -52px; bottom: 12%; animation: chipIn .7s cubic-bezier(.2, .7, .35, 1) .95s both; }
.hero__chip--verdict .hero__chip-ic {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sev-ok-bg);
  border: 1px solid var(--sev-ok);
  color: var(--sev-ok);
  flex: none;
}
.hero__chip--verdict .hero__chip-ic svg { width: 16px; height: 16px; }
@keyframes chipIn {
  from { opacity: 0; transform: translate(-14px, 10px) scale(.94); }
  to { opacity: 1; transform: none; }
}

/* --- Trilho de números: fecha a composição e ancora o hero --- */
.hero__rail {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .1);
  /* Opaco o bastante para o vídeo não vazar em manchas irregulares atrás dos
     números — a .5 anterior parecia artefato de renderização. */
  background: rgba(8, 8, 14, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero__rail ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}
.hero__rail li {
  padding: clamp(18px, 2.2vw, 26px) 0 clamp(18px, 2.2vw, 26px) clamp(16px, 2vw, 28px);
  border-left: 1px solid rgba(255, 255, 255, .09);
}
.hero__rail li:first-child { border-left: 0; padding-left: 0; }
.hero__rail .stat__num { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.hero__rail .stat__label { color: #9C9CB4; font-size: .8125rem; margin-top: 6px; }
.hero__note {
  padding-bottom: 18px;
  font-size: .71875rem;
  line-height: 1.55;
  color: #6C6C82;
  max-width: 92ch;
}

/* Hero interno das páginas dedicadas */
.phero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(170deg, #150F2B 0%, #0B0B12 62%);
  color: #F4F4FA;
  padding-block: clamp(48px, 7vw, 84px);
  border-bottom: 1px solid #262634;
}
.phero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(820px 420px at 82% -8%, rgba(109, 59, 245, .26), transparent 64%),
              radial-gradient(620px 380px at 6% 108%, rgba(46, 91, 255, .16), transparent 60%);
}
.phero h1 { color: #F4F4FA; margin-top: 18px; max-width: 24ch; }
.phero .lede { color: #C7C7DA; margin-top: 18px; max-width: 62ch; }
.phero .btn-row { margin-top: 28px; }
.phero .btn--ghost { border-color: rgba(255, 255, 255, .32); color: #F4F4FA; }
.phero .btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: #A78BFF; }
.phero .badge { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); color: #E4E4F2; }
.phero .badge--addon { background: rgba(245, 165, 36, .15); border-color: #F5A524; color: #F7C36B; }

/* Trilha de navegação */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: .84375rem; color: #9C9CB4; }
.crumbs a { color: #C7C7DA; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #5A5A70; }
.crumbs [aria-current='page'] { color: #F4F4FA; }

/* Vídeo de fundo em seção */
.vidsec { position: relative; isolation: isolate; overflow: hidden; color: #F4F4FA; }
.vidsec__media { position: absolute; inset: 0; z-index: -2; }
.vidsec__media img, .vidsec__media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.vidsec__media video { opacity: 0; transition: opacity .9s ease; }
.vidsec__media video.is-playing { opacity: 1; }
.vidsec__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 8, 14, .95) 0%, rgba(8, 8, 14, .82) 46%, rgba(8, 8, 14, .55) 100%);
}
.vidsec h2, .vidsec h3 { color: #F4F4FA; }
.vidsec .lede, .vidsec .body { color: #C7C7DA; }
.vidsec .small { color: #9C9CB4; }

/* ==========================================================================
   8. PRINTS E MÍDIA
   ========================================================================== */
/* Moldura escura de dispositivo: isola prints escuros de fundos claros. */
.frame {
  border-radius: var(--r-lg);
  border: 1px solid #262634;
  background: #0E0E15;
  padding: 8px;
  box-shadow: 0 26px 66px rgba(11, 11, 18, .34);
  overflow: hidden;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 12px;
}
.frame__bar span { width: 9px; height: 9px; border-radius: 50%; background: #2A2A38; flex: none; }
.frame__bar em {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-style: normal;
  color: #6C6C82;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frame img { border-radius: 10px; width: 100%; }
.frame--phone { max-width: 320px; border-radius: 30px; padding: 12px; border-width: 8px; }
.frame--phone img { border-radius: 20px; }

.figure { margin: 0; }
.figure figcaption { margin-top: 12px; font-size: .84375rem; line-height: 1.55; color: var(--text-3); }

/* Área reservada para print futuro — desenhada, com dados fictícios. */
.shot {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid #262634;
  background: #0E0E15;
  color: #C9C9DC;
  overflow: hidden;
  font-size: .84375rem;
}
.shot__tag {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(245, 165, 36, .16);
  border: 1px solid #F5A524;
  color: #F7C36B;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.shot__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #1D1D28;
  background: #111119;
}
.shot__chrome b { font-family: var(--font-display); font-size: .8125rem; color: #F4F4FA; font-weight: 700; }
.shot__chrome .mono { font-size: .6875rem; color: #6C6C82; margin-left: auto; }
.shot__body { padding: 14px; display: grid; gap: 10px; }
.shot__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shot__cell {
  background: #16161F;
  border: 1px solid #23232F;
  border-radius: var(--r-sm);
  padding: 11px 13px;
  line-height: 1.45;
}
.shot__cell b { color: #F4F4FA; font-family: var(--font-display); font-size: .8125rem; }
.shot__cell .mono { color: #8F8FA6; font-size: .6875rem; }
.shot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.shot__tile {
  background: #13131C;
  border: 1px solid #23232F;
  border-radius: var(--r-sm);
  padding: 10px 11px;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.shot__tile .mono { font-size: .625rem; color: #6C6C82; }
.shot__tile .plate { font-size: .75rem; background: #1F1F2C; border-color: #33334A; color: #F4F4FA; }
.shot__ph {
  border-radius: 6px;
  background: repeating-linear-gradient(45deg, #1A1A26 0 8px, #1E1E2B 8px 16px);
  flex: 1;
  min-height: 26px;
}
.shot--map .shot__body { min-height: 260px; position: relative; background: #10131A; }
.shot__mapgrid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(109, 59, 245, .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(109, 59, 245, .07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.shot__zone {
  position: absolute;
  border: 2px dashed #A78BFF;
  background: rgba(109, 59, 245, .16);
  border-radius: 10px;
}
.shot__pin {
  position: absolute;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #16161F;
  border: 2px solid currentColor;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 700;
  color: var(--sev-info);
}
.shot__legend { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.shot__legend span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11, 11, 18, .84);
  border: 1px solid #23232F;
  border-radius: var(--r-pill);
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: .625rem;
  color: #C9C9DC;
}
.shot__meter { height: 7px; border-radius: 99px; background: #1F1F2C; overflow: hidden; }
.shot__meter i { display: block; height: 100%; border-radius: 99px; background: var(--brand-grad); }

/* Barra de estado com semáforo (sempre com rótulo textual) */
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: .84375rem;
  font-weight: 600;
  border: 1px solid;
}
.status--ok { color: var(--sev-ok); background: var(--sev-ok-bg); border-color: var(--sev-ok); }
.status--warn { color: var(--sev-warn); background: var(--sev-warn-bg); border-color: var(--sev-warn); }
.status--crit { color: var(--sev-crit); background: var(--sev-crit-bg); border-color: var(--sev-crit); }

/* Bloco de prova social reservado, desenhado e vazio */
.slot-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  padding: 32px 24px;
  text-align: center;
  border: 2px dashed var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  color: var(--text-3);
}
.slot-empty__tag {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sev-warn);
  background: var(--sev-warn-bg);
  border: 1px solid var(--sev-warn);
  border-radius: var(--r-pill);
  padding: 4px 11px;
}

/* Nota de rodapé / aviso legal */
.note {
  border-left: 2px solid var(--border-strong);
  padding-left: 16px;
  font-size: .8125rem;
  line-height: 1.62;
  color: var(--text-3);
}
.legal {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--text-3);
}
.legal strong { color: var(--text-2); }

/* ==========================================================================
   9. FORMULÁRIO
   ========================================================================== */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: .875rem; font-weight: 600; color: var(--text); }
.field .req { color: var(--sev-crit); }
.field__hint { font-size: .78125rem; color: var(--text-3); }

.input, .select, .textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--brand); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 26%, transparent);
  outline: none;
}
.textarea { min-height: 118px; resize: vertical; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

/* Erro anunciado por texto e por cor — nunca só por cor. */
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--sev-crit); }
.field__error {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--sev-crit);
}
.field__error::before { content: '!'; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .6875rem; flex: none; }
.field--invalid .field__error { display: flex; }

.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input[type='checkbox'] { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; cursor: pointer; }
.consent label { font-size: .875rem; line-height: 1.55; color: var(--text-2); }

/* Armadilha antispam: fora da tela, sem display:none (bots ignoram). */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  font-weight: 600;
}
.form__status.is-visible { display: block; }
.form__status--error { color: var(--sev-crit); background: var(--sev-crit-bg); border: 1px solid var(--sev-crit); }
.form__status--ok { color: var(--sev-ok); background: var(--sev-ok-bg); border: 1px solid var(--sev-ok); }
.form__status--info { color: var(--sev-info); background: var(--sev-info-bg); border: 1px solid var(--sev-info); }

/* Enquanto o envio está em curso o botão fica inerte, sem sumir do layout. */
.form button[type="submit"][disabled] { opacity: .6; cursor: progress; }

/* ==========================================================================
   10. RODAPÉ
   ========================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-block: clamp(36px, 5vw, 56px) 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.footer__col h2 { font-family: var(--font-display); font-size: .9375rem; font-weight: 700; color: var(--text); margin-bottom: 14px; letter-spacing: 0; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: .9375rem; color: var(--text-3); }
.footer__col a:hover { color: var(--brand-text); }
.footer__bar {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .84375rem;
  color: var(--text-3);
}

/* ==========================================================================
   11. MOVIMENTO
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .35, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .carousel__track { scroll-behavior: auto; }
  /* Vídeos não tocam: fica o poster. */
  .hero__bg video, .vidsec__media video { display: none; }
  .hero__status .dot { animation: none; }
  .hero__screen::after { display: none; }
  .hero__chip { animation: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   12. RESPONSIVO
   ========================================================================== */
/* ---- Hero: da perspectiva ao empilhamento ---- */
@media (max-width: 1180px) {
  .hero__screen { transform: perspective(1700px) rotateY(-10deg) rotateX(2.5deg); }
  .hero__stage { margin-right: calc(var(--gutter) * -1); }
  .hero__chip--read { left: -18px; }
  .hero__chip--verdict { left: -28px; }
}

@media (max-width: 900px) {
  /* Sem duas colunas: o véu vira vertical e o produto deita. */
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 48px); }
  .hero__veil {
    background:
      linear-gradient(180deg,
        rgba(8, 8, 14, .86) 0%,
        rgba(8, 8, 14, .58) 26%,
        rgba(8, 8, 14, .82) 52%,
        rgba(11, 11, 18, .95) 88%,
        #0B0B12 100%),
      radial-gradient(700px 420px at 20% 4%, rgba(109, 59, 245, .28), transparent 64%);
  }
  .hero h1, .hero__lede { max-width: none; }
  .hero__stage { margin-right: 0; perspective: none; }
  .hero__screen { transform: none; box-shadow: 0 0 0 1px rgba(167, 139, 255, .16), 0 26px 70px rgba(0, 0, 0, .6); }
  .hero__chip--read { left: auto; right: 10px; top: -16px; }
  .hero__chip--verdict { left: 10px; bottom: -18px; }
  .hero__rail li:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
  /* As fichas competiriam com o print num espaço estreito. */
  .hero__chip { display: none; }
  .hero__rail ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__rail li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__rail li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .09); }
}

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step + .flow__step::before { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--card-shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--border); }
  .nav__links li:last-child { border-bottom: none; }
  .nav__links a { display: flex; align-items: center; min-height: 48px; font-size: 1rem; }
  .nav__inner { position: relative; }
  .nav__toggle { display: grid; margin-left: auto; }
  .nav__actions .btn { display: none; }
  .grid--split, .grid--split-rev { grid-template-columns: minmax(0, 1fr); }
  .grid--split-rev > *:first-child { order: 2; }
  .feature--wide { grid-column: auto; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame { padding: 6px; }
  .carousel__track { grid-auto-columns: minmax(268px, 1fr); }
  .hero h1 { max-width: none; }
  .quote { padding-left: 16px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .carousel__nav .carousel__btn { width: 46px; height: 46px; }
}

/* ==========================================================================
   IMPRESSÃO
   ========================================================================== */
@media print {
  .nav, .footer, .carousel__nav, .skip-link, .hero__bg, .hero__veil, .vidsec__media { display: none !important; }
  .hero__screen { transform: none; }
  body { background: #fff; color: #000; }
  .faq details { break-inside: avoid; }
  .faq__body { display: block !important; }
}
