/* ==========================================================================
   Voxtrin Cloud — style.css
   Sistema de componentes reutilizável (landing + cadastro, entrar, painel, admin).
   Sem build, sem framework. Fontes: Inter (texto) e Silkscreen (detalhes pixel),
   carregadas por <link> no HTML; sem elas cai na fonte do sistema.

   VARIÁVEIS (:root)
     Cores ........ --bg, --bg-2, --surface, --surface-2, --line, --text, --text-2, --muted,
                    --red, --red-2, --red-dark, --cyan, --violet, --ok, --warn, --err
     Medidas ...... --radius, --radius-sm, --radius-lg, --container, --topbar-h, --gap
     Fontes ....... --font, --font-pixel, --font-mono
     Sombras ...... --shadow, --shadow-red, --ring (anel de foco)

   LAYOUT
     .container ............ largura máxima centralizada (+ .container-sm, mais estreita)
     .grid-2 / .grid-3 ..... grade de 2/3 colunas (vira 1 coluna no celular)
     .stack ................ filhos com espaço vertical (+ .stack-sm / .stack-lg)
     .center / .muted ...... texto centralizado / texto apagado
     .section .............. bloco de página com espaço vertical (+ .section-head, .eyebrow)

   NAVEGAÇÃO
     .topbar ............... barra fixa no topo; dentro: .brand (logo), nav (links),
                             .topbar-actions (botões) e .menu-toggle (abre o menu no celular;
                             o app.js põe .is-open na .topbar)

   BOTÕES
     .btn + .btn-primary | .btn-ghost | .btn-danger   modificadores: .btn-sm | .btn-lg | .btn-block
     (funciona em <a> e <button>; [disabled] / [aria-disabled="true"] ficam apagados)

   CARTÕES
     .card (+ .card-header com h2/h3 e ações à direita, .card-footer, .card-glass)

   FORMULÁRIOS
     .form ................. formulário (empilha os .field)
     .field ................ label + input/select/textarea; .field-hint (ajuda), .field-error
                             (erro; também deixe .field.has-error para borda vermelha)
     .input-group .......... input + sufixo fixo:
                             <div class="input-group"><input><span class="input-suffix">.voxtrin.kaviski.com.br</span></div>
                             (.input-prefix também existe)
     .check ................ checkbox/radio com texto ao lado

   AVISOS E ESTADOS
     .alert + .alert-info | .alert-success | .alert-warn | .alert-error
     .badge + .badge-ok | .badge-warn | .badge-err | .badge-muted
     .spinner .............. carregando (+ .spinner-lg; dentro de .btn fica do tamanho do texto)

   DADOS
     .table ................ tabela de admin (envolva em .table-wrap para rolar no celular)
     .code ................. bloco de comando; botão .copy-btn com data-copy="#id-do-alvo"
                             (o app.js copia o texto do alvo)
     .steps ................ <ol class="steps"> lista numerada de passos

   PÁGINAS
     .auth-page ............ página de login/cadastro centralizada com o wallpaper e .card de vidro
                             (<body class="auth-page"><main class="auth-box"><div class="card card-glass">…)

   Acessibilidade: foco visível em tudo (:focus-visible), .sr-only, .skip-link e
   prefers-reduced-motion desliga animações.
   ========================================================================== */

:root {
  --bg: #0b0d14;
  --bg-2: #10121b;
  --surface: #161926;
  --surface-2: #1d2131;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef0f4;
  --text-2: #c6cad6;
  --muted: #9aa1b4;
  --red: #e22c3f;
  --red-2: #ff5a6a;
  --red-dark: #9f1728;
  --cyan: #5ee1ff;
  --violet: #6b4fd8;
  --silver: #d9dde6;
  --ok: #3ddc84;
  --warn: #ffc548;
  --err: #ff6b78;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1180px;
  --topbar-h: 68px;
  --gap: 24px;

  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-pixel: Silkscreen, "Press Start 2P", ui-monospace, monospace;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 14px 34px rgba(0, 0, 0, .4);
  --shadow-red: 0 10px 30px rgba(226, 44, 63, .35);
  --ring: 0 0 0 3px rgba(255, 90, 106, .55);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--red-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
code, kbd { font-family: var(--font-mono); font-size: .9em; }
p code, li code, span code { overflow-wrap: anywhere; }
kbd { padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: var(--ring); border-radius: 4px; }
::selection { background: rgba(226, 44, 63, .55); color: #fff; }

.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: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--red); color: #fff; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container-sm { max-width: 760px; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.stack-lg > * + * { margin-top: 32px; }
.stack > *, .stack-sm > *, .stack-lg > * { margin-bottom: 0; }
.grid-2, .grid-3 { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.grid-2 > *, .grid-3 > * { min-width: 0; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-between { justify-content: space-between; }

.section { padding: 72px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-family: var(--font-pixel); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red-2);
}
.eyebrow::before { content: "▮ "; color: var(--cyan); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar-h);
  background: rgba(11, 13, 20, .78); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.topbar .container { height: 100%; display: flex; align-items: center; gap: 20px; }
.topbar .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; flex-shrink: 0; }
.topbar .brand img { height: 30px; width: auto; }
.topbar .brand .brand-tag { font-family: var(--font-pixel); font-size: .72rem; font-weight: 400; letter-spacing: .1em; color: var(--cyan); padding: 2px 6px; border: 1px solid rgba(94, 225, 255, .35); border-radius: 6px; }
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topbar nav a { color: var(--text-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-sm); }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.topbar .topbar-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: transparent; color: var(--text); cursor: pointer; place-items: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 899px) {
  .menu-toggle { display: grid; }
  .topbar nav, .topbar .topbar-actions { display: none; }
  .topbar.is-open { height: auto; }
  .topbar.is-open .container { flex-wrap: wrap; padding-block: 12px; height: auto; }
  .topbar.is-open .brand { height: calc(var(--topbar-h) - 24px); }
  .topbar.is-open nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 0; order: 3; padding-top: 8px; border-top: 1px solid var(--line); }
  .topbar.is-open nav a { padding: 12px; font-size: 1.05rem; }
  .topbar.is-open .topbar-actions { display: flex; width: 100%; order: 4; padding: 8px 0 4px; }
  .topbar.is-open .topbar-actions .btn { flex: 1; }
}
@media (min-width: 900px) { .topbar nav + .topbar-actions { margin-left: 8px; } }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--surface-2); --btn-fg: var(--text); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--btn-bd); border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; user-select: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s;
}
.btn:hover { color: var(--btn-fg); border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  --btn-fg: #fff; --btn-bd: transparent;
  background: linear-gradient(180deg, #f2475a, #c81d30);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 -2px 0 rgba(0, 0, 0, .22) inset, 0 4px 0 #7e0f1d, 0 8px 20px rgba(226, 44, 63, .38);
}
.btn-primary:hover { border-color: transparent; box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 -2px 0 rgba(0, 0, 0, .22) inset, 0 5px 0 #7e0f1d, 0 12px 28px rgba(226, 44, 63, .5); }
.btn-primary:active { box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 1px 0 #7e0f1d, 0 4px 10px rgba(226, 44, 63, .4); transform: translateY(3px); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.btn-danger { --btn-bg: rgba(255, 107, 120, .1); --btn-fg: #ffb3ba; --btn-bd: rgba(255, 107, 120, .45); }
.btn-danger:hover { --btn-fg: #fff; background: #c81d30; border-color: #c81d30; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: .85rem; border-radius: 8px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; pointer-events: none; }

/* ---------- Cartões ---------- */
.card {
  position: relative; background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }
.card-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.card-header h2, .card-header h3 { margin: 0; font-size: 1.1rem; }
.card-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.card-glass {
  background: linear-gradient(160deg, rgba(34, 37, 52, .78), rgba(16, 18, 27, .86));
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 12px 24px rgba(0, 0, 0, .35), 0 30px 70px rgba(0, 0, 0, .55), 0 0 90px rgba(226, 44, 63, .14);
}

/* ---------- Formulários ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > label, .field-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a3a9ba; }
.field input, .field select, .field textarea, .input-group input {
  width: 100%; min-height: 46px; padding: 11px 14px; font: inherit; font-size: 1rem; color: #f2f3f7;
  background: linear-gradient(180deg, rgba(6, 7, 11, .75), rgba(14, 16, 24, .75));
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4) inset; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1b4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"), linear-gradient(180deg, rgba(6, 7, 11, .75), rgba(14, 16, 24, .75)); background-repeat: no-repeat; background-position: right 12px center, 0 0; background-size: 18px, auto; }
.field input::placeholder, .field textarea::placeholder, .input-group input::placeholder { color: #626879; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus, .input-group:focus-within {
  outline: none; border-color: rgba(226, 44, 63, .85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4) inset, 0 0 0 4px rgba(226, 44, 63, .2);
}
.field-hint { font-size: .85rem; color: var(--muted); }
.field-error { font-size: .85rem; color: var(--err); font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .input-group { border-color: var(--err); }
.input-group {
  display: flex; align-items: stretch; width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(6, 7, 11, .75), rgba(14, 16, 24, .75)); overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.input-group input { border: 0; border-radius: 0; box-shadow: none; background: transparent; min-width: 0; flex: 1; }
.input-group input:focus { outline: none; box-shadow: none; }
.input-suffix, .input-prefix {
  display: flex; align-items: center; padding: 0 14px; font-family: var(--font-mono); font-size: .9rem; color: var(--muted);
  background: rgba(255, 255, 255, .04); white-space: nowrap;
}
.input-suffix { border-left: 1px solid var(--line); }
.input-prefix { border-right: 1px solid var(--line); }
@media (max-width: 480px) { .input-suffix, .input-prefix { padding: 0 10px; font-size: .78rem; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }

/* ---------- Alertas ---------- */
.alert {
  --a: var(--cyan); display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--a) 40%, transparent); border-left: 4px solid var(--a);
  border-radius: var(--radius-sm); background: color-mix(in srgb, var(--a) 9%, transparent); color: var(--text); font-size: .95rem;
}
.alert > :last-child { margin-bottom: 0; }
.alert strong { color: #fff; }
.alert-info { --a: var(--cyan); }
.alert-success { --a: var(--ok); }
.alert-warn { --a: var(--warn); }
.alert-error { --a: var(--err); }

/* ---------- Badges ---------- */
.badge {
  --b: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; white-space: nowrap;
  color: var(--b); background: color-mix(in srgb, var(--b) 13%, transparent); border: 1px solid color-mix(in srgb, var(--b) 35%, transparent);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { --b: var(--ok); }
.badge-warn { --b: var(--warn); }
.badge-err { --b: var(--err); }
.badge-muted { --b: #8f95a6; }
.badge-red { --b: var(--red-2); }

/* ---------- Spinner ---------- */
.spinner { display: inline-block; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .18); border-top-color: var(--red-2); border-radius: 50%; animation: vx-spin .8s linear infinite; vertical-align: middle; }
.spinner-lg { width: 44px; height: 44px; border-width: 4px; }
.btn .spinner { width: 1em; height: 1em; border-width: 2px; border-top-color: currentColor; }
@keyframes vx-spin { to { transform: rotate(360deg); } }

/* ---------- Tabela ---------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .03); white-space: nowrap; }
.table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }

/* ---------- Código ---------- */
.code {
  position: relative; display: block; margin: 0; padding: 14px 52px 14px 16px; overflow-x: auto;
  font-family: var(--font-mono); font-size: .9rem; line-height: 1.55; color: #e9ecf3; white-space: pre;
  background: #07080d; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.code-wrap { position: relative; }
.copy-btn {
  position: absolute; top: 8px; right: 8px; display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface-2); color: var(--text-2); cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.copy-btn:hover { color: #fff; background: #2a2f44; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.is-copied { color: var(--ok); border-color: rgba(61, 220, 132, .5); }

/* ---------- Passos ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps > li { counter-increment: step; position: relative; padding: 4px 0 4px 58px; min-height: 42px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; display: grid; place-items: center;
  font-family: var(--font-pixel); font-size: 1rem; color: #fff; border-radius: 10px;
  background: linear-gradient(180deg, #f2475a, #c81d30); box-shadow: 0 3px 0 #7e0f1d, 0 6px 16px rgba(226, 44, 63, .35);
}
.steps > li h3 { margin: 0 0 4px; }
.steps > li p { margin: 0; color: var(--muted); }

/* ---------- Página de autenticação ---------- */
.auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg) url(/assets/brand/login-wallpaper.png) center / cover no-repeat fixed;
}
.auth-page::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(8, 9, 15, .78), rgba(8, 9, 15, .35) 75%), linear-gradient(180deg, rgba(8, 9, 15, .5), rgba(8, 9, 15, .85));
}
.auth-page > * { position: relative; z-index: 1; }
.auth-box { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 40px 16px; }
.auth-box > .card { width: 100%; max-width: 440px; padding: 34px 28px 28px; border-radius: var(--radius-lg); }
.auth-box .auth-logo { display: block; width: 180px; margin: 0 auto 18px; }
.auth-box h1 { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.auth-box .auth-sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.auth-box .auth-foot { margin-top: 20px; text-align: center; font-size: .9rem; color: var(--muted); }
@media (max-width: 480px) { .auth-box > .card { padding: 28px 18px 22px; } }

/* ==========================================================================
   Landing page (index.html)
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--bg) url(/assets/brand/login-wallpaper.png) center top / cover no-repeat; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(11, 13, 20, .55), rgba(11, 13, 20, .2) 70%), linear-gradient(180deg, rgba(11, 13, 20, .65) 0%, rgba(11, 13, 20, .45) 40%, var(--bg) 100%);
}
.hero-scan { position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px); }
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { text-shadow: 0 2px 0 rgba(0, 0, 0, .5), 0 0 40px rgba(0, 0, 0, .6); }
.hero h1 .hl { color: var(--red-2); }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-2); max-width: 680px; margin: 0 auto 28px; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.hero .row { justify-content: center; }
.hero-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px;
  font-size: .85rem; color: var(--text-2); background: rgba(11, 13, 20, .7); border: 1px solid var(--line-2);
}
.hero-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: vx-pulse 2.2s infinite; }
@media (min-width: 900px) { .hero { padding: 88px 0 96px; } }

.browser {
  margin: 48px auto 0; max-width: 1040px; border-radius: 14px; overflow: hidden; background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 30px 80px rgba(0, 0, 0, .65), 0 0 120px rgba(226, 44, 63, .18);
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #161926; border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f52; }
.browser-dots i:first-child { background: #ff5f57; } .browser-dots i:nth-child(2) { background: #febc2e; } .browser-dots i:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; background: #0b0d14;
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser-url svg { width: 12px; height: 12px; color: var(--ok); flex-shrink: 0; }
.browser-url b { color: var(--text); font-weight: 500; }
.browser-view { position: relative; aspect-ratio: 16 / 9; background: #0b0d14 url(/assets/brand/login-wallpaper.png) center / cover no-repeat; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.browser-view.no-shot img { display: none; }
.browser-fallback { display: none; position: absolute; inset: 0; place-items: center; text-align: center; padding: 20px; background: rgba(8, 9, 15, .45); }
.browser-view.no-shot .browser-fallback { display: grid; }
.browser-fallback span { font-family: var(--font-pixel); font-size: clamp(.7rem, 1.8vw, 1rem); letter-spacing: .08em; color: #fff; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(11, 13, 20, .75); }

.feature-card { height: 100%; transition: transform .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: rgba(226, 44, 63, .4); }
.feature-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon-tile {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 12px; color: var(--red-2);
  background: linear-gradient(145deg, #2a2d3d, #12131b); border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 0 22px rgba(226, 44, 63, .2);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.cyan { color: var(--cyan); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 0 22px rgba(94, 225, 255, .18); }

.how .steps { max-width: 760px; margin: 0 auto; gap: 26px; }
@media (min-width: 900px) {
  .how .steps { max-width: none; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .how .steps > li { padding: 60px 0 0; }
}

.security-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.security-list li { display: flex; gap: 14px; align-items: flex-start; }
.security-list li svg { width: 22px; height: 22px; color: var(--ok); flex-shrink: 0; margin-top: 2px; }
.security-list strong { display: block; color: #fff; }
.security-list span { color: var(--muted); font-size: .95rem; }
.security-visual { display: grid; place-items: center; padding: 28px; }
.security-visual img { width: min(240px, 60%); filter: drop-shadow(0 10px 40px rgba(226, 44, 63, .45)); }

.pricing { align-items: stretch; }
.plan { display: flex; flex-direction: column; height: 100%; padding: 28px 24px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .plan-for { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan .price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.plan .price span { color: var(--muted); }
.plan .trial { font-size: .88rem; color: var(--ok); margin-bottom: 20px; font-weight: 600; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-2); }
.plan li svg { width: 18px; height: 18px; color: var(--red-2); flex-shrink: 0; margin-top: 3px; }
.plan-featured { border-color: rgba(226, 44, 63, .6); box-shadow: var(--shadow), 0 0 0 1px rgba(226, 44, 63, .35), 0 0 60px rgba(226, 44, 63, .18); }
.plan-featured .badge { position: absolute; top: -13px; left: 24px; background: #2a0d14; }
@media (min-width: 980px) { .plan-featured { transform: translateY(-10px); } }
.plan-all { margin-top: 32px; }
.plan-all ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.plan-all li { display: flex; gap: 8px; align-items: center; color: var(--text-2); font-size: .95rem; }
.plan-all li svg { width: 16px; height: 16px; color: var(--ok); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: rgba(226, 44, 63, .4); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 1.02rem; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-pixel); font-size: 1.2rem; color: var(--red-2); flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--text-2); }
.faq details > div > :last-child { margin-bottom: 0; }

.cta-band { text-align: center; }
.cta-band .card { padding: 48px 24px; background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(226, 44, 63, .22), transparent 60%), linear-gradient(160deg, var(--surface-2), var(--surface)); }
.cta-band .row { justify-content: center; }

.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); background: #08090e; font-size: .92rem; color: var(--muted); }
.footer .footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer img { height: 28px; width: auto; margin-bottom: 12px; }
.footer h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .legal-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.6; }

/* Páginas de texto (termos, privacidade) */
.prose { max-width: 780px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: #fff; }

/* ---------- Animações ---------- */
@keyframes vx-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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