/* TriQ Hub — site institucional */

/* 1. Tokens */
:root {
  --marca-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  color-scheme: dark;

  /* Cores do logo */
  --marinho-900: #12227a;
  --marinho-800: #2e1280;
  --violeta: #6438ae;
  --magenta: #bf51e8;
  --ciano: #00caf2;
  --azul: #085fbc;

  /* Superfícies: noite profunda tirada do marinho/roxo do lo */
  --fundo: #05061a;
  --fundo-2: #090a24;
  --superficie: rgba(255, 255, 255, 0.03);
  --superficie-2: rgba(255, 255, 255, 0.055);
  --borda: rgba(255, 255, 255, 0.08);
  --borda-forte: rgba(255, 255, 255, 0.16);
  --texto: #f3f1ff;
  --texto-2: #bcc0e2;
  --texto-3: #9196c2;
  --sobre-marca: #ffffff;
  --ok: #5eead4;
  --aviso: #fcd34d; --pago: #e9d5ff; --perigo: #fca5a5;

  /* Gradientes — usados com parcimônia */
  /* texto branco sobre o gradiente: #bf51e8 dava 3,78:1; #a4 */
  --grad-marca: linear-gradient(135deg, var(--violeta) 0%, #a44ad7 100%);
  --grad-fio: linear-gradient(90deg, var(--ciano), var(--magenta));

  /* Escala Fibonacci em rem: 2 · 3 · 5 · 8 · 13 · 21 · 34 · */
  --s-2: 0.125rem;
  --s-3: 0.1875rem;
  --s-5: 0.3125rem;
  --s-8: 0.5rem;
  --s-13: 0.8125rem;
  --s-21: 1.3125rem;
  --s-34: 2.125rem;
  --s-55: 3.4375rem;
  --s-89: 5.5625rem;
  --s-144: 9rem;

  /* Tipografia: mesma escala; títulos leves e grandes, corpo */
  --fonte: "Inter", "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --t-13: 0.8125rem;
  --t-15: 0.9375rem;
  --t-16: 1rem;
  --t-21: 1.3125rem;
  --t-34: 2.125rem;
  --t-55: 3.4375rem;
  /* Tipografia de interface: títulos firmes, entrelinha curt */
  --t-h1: clamp(1.9375rem, 1.1rem + 3.4vw, 3.4375rem);
  --t-h2: clamp(1.4375rem, 1rem + 1.8vw, 2.125rem);
  --t-h3: 1.125rem;
  --t-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --altura-linha: 1.5;
  --peso-titulo: 700;

  /* Raios: hierarquia, não um raio só */
  --r-5: 0.3125rem; --r-8: 0.5rem; --r-13: 0.8125rem; --r-21: 1.3125rem; --r-pilula: 999px;
  --sombra-2: 0 0.8125rem 2.125rem -0.8125rem rgba(0, 0, 0, 0.6);
  --brilho-marca: 0 0 0 1px rgba(191, 81, 232, 0.35), 0 0.8125rem 3.4375rem -0.8125rem rgba(191, 81, 232, 0.55);

  /* Movimento */
  --d-144: 144ms; --d-233: 233ms; --d-377: 377ms;
  --curva: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Layout: contêineres em % e min, calha fluida */
  /* Celular: 16–20 px de margem; cresce até 55 px no PC */
  --calha: clamp(1rem, 4.5vw, 3.4375rem);
  --largura: 72rem;
  --largura-texto: 44.5rem;
  --alvo: 2.75rem; /* 44 px */

  --vidro: rgba(18, 20, 58, 0.52);
  --vidro-forte: rgba(22, 24, 68, 0.74);
  --vidro-borda: rgba(255, 255, 255, 0.1);
  --vidro-brilho: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --desfoque: blur(21px) saturate(1.5);
  --fio-luz: linear-gradient(90deg, transparent, rgba(0, 202, 242, 0.9) 30%, rgba(191, 81, 232, 0.9) 70%, transparent);
  --aurora-1: rgba(100, 56, 174, 0.3);
  --aurora-2: rgba(0, 202, 242, 0.13);
  --aurora-3: rgba(191, 81, 232, 0.15);
  --grade-linha: rgba(255, 255, 255, 0.045);
  --t-display: clamp(2.125rem, 1.1rem + 4.4vw, 4.25rem);
  --sombra-3: 0 1.3125rem 5.5625rem -2.125rem rgba(0, 0, 0, 0.75);
}

:root[data-theme="light"] {
  color-scheme: light;
  --fundo: #ffffff; --fundo-2: #f5f6fa;
  --superficie: #f7f8fc; --superficie-2: #eef0f7;
  --borda: #d6d9e5; --borda-forte: #a1a7bd;
  --texto: #161a32; --texto-2: #414863; --texto-3: #565e7a;
  --ciano: #00677b; --magenta: #8536a7;
  --ok: #006b52; --aviso: #785200; --pago: #71399b; --perigo: #a62438;
  --sombra-2: 0 .8125rem 2.125rem -.8125rem #161a3226;
  --vidro: rgba(255, 255, 255, 0.68); --vidro-forte: rgba(255, 255, 255, 0.86);
  --vidro-borda: rgba(22, 26, 50, 0.1); --vidro-brilho: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --fio-luz: linear-gradient(90deg, transparent, rgba(0, 103, 123, 0.75) 30%, rgba(133, 54, 167, 0.75) 70%, transparent);
  --aurora-1: rgba(100, 56, 174, 0.13); --aurora-2: rgba(0, 202, 242, 0.12); --aurora-3: rgba(191, 81, 232, 0.1);
  --grade-linha: rgba(22, 26, 50, 0.05);
  --sombra-3: 0 1.3125rem 5.5625rem -2.125rem rgba(46, 18, 128, 0.28);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  color-scheme: light;
  --fundo: #ffffff; --fundo-2: #f5f6fa;
  --superficie: #f7f8fc; --superficie-2: #eef0f7;
  --borda: #d6d9e5; --borda-forte: #a1a7bd;
  --texto: #161a32; --texto-2: #414863; --texto-3: #565e7a;
  --ciano: #00677b; --magenta: #8536a7;
  --ok: #006b52; --aviso: #785200; --pago: #71399b; --perigo: #a62438;
  --sombra-2: 0 .8125rem 2.125rem -.8125rem #161a3226;
  --vidro: rgba(255, 255, 255, 0.68); --vidro-forte: rgba(255, 255, 255, 0.86);
  --vidro-borda: rgba(22, 26, 50, 0.1); --vidro-brilho: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --fio-luz: linear-gradient(90deg, transparent, rgba(0, 103, 123, 0.75) 30%, rgba(133, 54, 167, 0.75) 70%, transparent);
  --aurora-1: rgba(100, 56, 174, 0.13); --aurora-2: rgba(0, 202, 242, 0.12); --aurora-3: rgba(191, 81, 232, 0.1);
  --grade-linha: rgba(22, 26, 50, 0.05);
  --sombra-3: 0 1.3125rem 5.5625rem -2.125rem rgba(46, 18, 128, 0.28);
  }
}

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

html {
  overflow-x: clip;
  font-family: var(--fonte);
  line-height: var(--altura-linha);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  scroll-padding-top: var(--s-89);
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-size: var(--t-16);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { flex: 1; }

h1, h2, h3, h4 { margin: 0 0 var(--s-13); line-height: 1.15; letter-spacing: -0.02em; font-weight: var(--peso-titulo); color: var(--texto); text-wrap: balance; }
h1 { font-size: var(--t-h1); letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: var(--t-h2); letter-spacing: -0.025em; line-height: 1.2; }
h3 { font-size: var(--t-h3); line-height: 1.3; font-weight: 650; }
h4 { font-size: var(--t-16); font-weight: 600; }
p { margin: 0 0 var(--s-21); color: var(--texto-2); text-wrap: pretty; }
/* CJK: o tracking negativo dos títulos (-0.02 a -0.035em) é desenhado para latim; em chinês
   encosta os ideogramas, e a entrelinha 1.08–1.15 espreme traços. Zera o tracking e abre a linha. */
:lang(zh-CN) :is(h1, h2, h3, h4, .marca) { letter-spacing: 0; }
:lang(zh-CN) .passo::before { letter-spacing: 0; }
:lang(zh-CN) :is(h1, h2, h3, h4) { line-height: 1.3; }
p:last-child { margin-bottom: 0; }
a { color: var(--texto); text-decoration-thickness: 1px; text-underline-offset: 0.1875rem;  }
a:hover { color: var(--texto); }
strong { color: var(--texto); font-weight: 600; }
code { font-family: var(--fonte-mono); font-size: 0.875em; background: var(--superficie-2); border: 1px solid var(--borda); border-radius: var(--r-5); padding: 0.0625rem var(--s-5); color: var(--texto); overflow-wrap: anywhere; }
img, svg, canvas { max-width: 100%; height: auto; }
ul, ol { color: var(--texto-2); padding-left: var(--s-21); margin: 0 0 var(--s-21); }
li { margin-bottom: var(--s-8); }
hr { border: 0; border-top: 1px solid var(--borda); margin: var(--s-34) 0; }
::selection { background: rgba(191, 81, 232, 0.35); color: var(--texto); }

*:focus-visible { outline: 0.1875rem solid var(--ciano); outline-offset: 0.1875rem; border-radius: var(--r-5); }


.pular-link { position: absolute; top: -6.25rem; left: var(--s-13); z-index: 1000; background: var(--marinho-900); color: #fff; border: 1px solid var(--ciano); padding: var(--s-13) var(--s-21); border-radius: var(--r-8); font-weight: 600; text-decoration: none;  }
.pular-link:focus { top: var(--s-13); }

.container {
  width: 100%;
  max-width: calc(var(--largura) + 2 * var(--calha));
  margin-inline: auto;
  /* safe-area: iPhone deitadonunca cobre texto */
  padding-inline: max(var(--calha), env(safe-area-inset-left)) max(var(--calha), env(safe-area-inset-right));
}

/* 3. Cabeçalho e navegação */
.cabecalho {
  position: sticky; top: 0; z-index: 100;
  background: var(--fundo);
  border-bottom: 1px solid var(--borda);
  padding-top: env(safe-area-inset-top);
}
.cabecalho-linha { position: relative; display: flex; align-items: center; gap: var(--s-8); min-height: 3.75rem; }

.marca { display: inline-flex; align-items: center; gap: var(--s-8); margin-right: auto; text-decoration: none; color: var(--texto); font-weight: 700; letter-spacing: -0.02em; font-size: 1.1875rem; min-height: var(--alvo); }
.marca:hover { color: var(--texto); }
.marca svg { width: 2rem; height: 1.5rem; flex-shrink: 0; color: var(--texto); transition: transform var(--d-377) var(--curva); }
.marca:hover svg { transform: rotate(-8deg) scale(1.05); }
.marca-nome { line-height: 1; white-space: nowrap; }

.nav-principal { display: none; }
.nav-principal ul { display: flex; align-items: center; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.nav-principal li { margin: 0; }
.nav-principal a { display: inline-flex; white-space: nowrap; align-items: center; min-height: var(--alvo); padding: 0 var(--s-13); border-radius: var(--r-pilula); color: var(--texto-2); font-size: var(--t-15); font-weight: 500; text-decoration: none; }
.nav-principal a:hover, .nav-principal a[aria-current="page"] { color: var(--texto); background: var(--superficie-2); }

.botao-topo { min-height: var(--alvo); padding: 0 var(--s-13); font-size: var(--t-15); }

@media (min-width: 52rem) {
  .cabecalho-linha { min-height: 4.25rem; gap: var(--s-13); }
  .nav-principal { display: block; }
  .nav-grupo { position: relative; }
  .nav-grupo summary { min-height: var(--alvo); align-content: center; cursor: pointer; }
  .menu-mobile { display: none; }
  .botao-topo { padding: 0 var(--s-21); }
}

/* Menu do celular: <details> nativo; abre uma folha com 4 */
.menu-mobile summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: var(--alvo); height: var(--alvo); border: 1px solid var(--borda-forte); border-radius: var(--r-13); color: var(--texto); cursor: pointer; user-select: none; }
.menu-mobile summary:hover, .menu-mobile summary:focus-visible, .menu-mobile[open] summary { background: var(--superficie-2); }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile summary .icone-menu { display: inline-grid; gap: 0.25rem; width: 1.125rem; }
.menu-mobile summary .icone-menu i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--d-233) var(--curva), opacity var(--d-144); }
.menu-mobile[open] summary .icone-menu i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-mobile[open] summary .icone-menu i:nth-child(2) { opacity: 0; }
.menu-mobile[open] summary .icone-menu i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-mobile-painel {
  position: fixed; left: 0; right: 0; top: calc(3.75rem + env(safe-area-inset-top));
  max-block-size: calc(100vh - 3.75rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  max-block-size: calc(100dvh - 3.75rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  display: grid; gap: var(--s-13);
  padding: var(--s-13) max(var(--calha), env(safe-area-inset-right)) var(--s-21) max(var(--calha), env(safe-area-inset-left));
  background: var(--fundo); border-bottom: 1px solid var(--borda-forte);
  box-shadow: 0 0 0 100vmax rgba(5, 6, 26, 0.55); /* escurece a página atrás; tocar fora fecha */
  animation: aparecer var(--d-233) var(--curva);
}
.menu-botoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); list-style: none; margin: 0; padding: 0; }
.menu-botoes li { margin: 0; }
.menu-botao { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-8); min-height: 5rem; padding: var(--s-13); border: 1px solid var(--borda); border-radius: var(--r-13); background: var(--superficie); color: var(--texto); font-weight: 600; text-decoration: none; }
.menu-botao svg { width: 1.375rem; height: 1.375rem; color: var(--ciano); }
.menu-botao:hover, .menu-botao[aria-current="page"] { background: var(--superficie-2); border-color: var(--borda-forte); color: var(--texto); }

/* 4. Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8); min-height: var(--alvo); padding: 0 var(--s-21); border-radius: var(--r-pilula); font-weight: 600; font-size: var(--t-15); text-align: center; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: transform var(--d-233) var(--curva); }
.botao:hover { transform: translateY(-0.125rem); color: inherit; }
.botao:active { transform: translateY(0) scale(0.98); }
.botao-primario { background: var(--grad-marca); color: var(--sobre-marca); }
.botao-primario:hover { box-shadow: var(--brilho-marca); color: var(--sobre-marca); }
.botao-secundario { background: transparent; color: var(--texto); border-color: var(--borda-forte); }
.botao-secundario:hover { background: var(--superficie-2); border-color: rgba(255, 255, 255, 0.32); }
.botao-claro { background: #fff; color: var(--marinho-900); }
.botao-claro:hover { background: #f1f0ff; color: var(--marinho-900); }
.botao-grande { min-height: 3.25rem; padding: 0 var(--s-34); font-size: 1.0625rem; }
.botao-contorno-claro { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.botao-contorno-claro:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.botao-bloco { width: 100%; }
/* Celular estreito (320 px): rótulos longos quebram em duas linhas em vez de estourar a coluna (WCAG 1.4.10 reflow). */
@media (max-width: 29.9375rem) { .botao { white-space: normal; text-align: center; max-width: 100%; padding-block: var(--s-8); } }

/* 5. Seções */
.secao { padding-block: 2.75rem; }
@media (min-width: 45rem) { .secao { padding-block: var(--s-89); } }
@media (min-width: 64rem) { .secao { padding-block: 7rem; } }
.secao.secao-curta { padding-top: var(--s-21); }
.secao-contraste { background: var(--fundo-2); }
.secao-cabecalho { max-width: var(--largura-texto); margin: 0 0 var(--s-21); }
.secao-cabecalho.centro { margin-inline: auto; text-align: center; }
.secao-cabecalho p { font-size: var(--t-lead); line-height: 1.5; }
.secao-cabecalho .eyebrow { margin-bottom: var(--s-5); }
@media (min-width: 45rem) { .secao-cabecalho { margin-bottom: var(--s-34); } }

/* Rótulo da seção: frase curta, sem caixa-alta, marcada pe */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-8); margin-bottom: var(--s-13); font-size: var(--t-15); font-weight: 600; color: var(--ciano); }
.eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); flex-shrink: 0; }
.centro .eyebrow::before { display: none; }

/* Um só destaque por página é o 3D da home: frases dentro */
.gradiente-texto { color: inherit; }

/* 6. Hero */
/* overflow-x: clip: o brilho desce suave para a seção segu */
.hero { position: relative; overflow-x: clip; padding-block: var(--s-21) var(--s-34); }
@media (min-width: 45rem) { .hero { padding-block: var(--s-89); } }
@media (min-width: 64rem) { .hero { padding-block: var(--s-144) var(--s-89); } }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: min(140vw, 60rem); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(100, 56, 174, 0.26), rgba(0, 202, 242, 0.06) 62%, transparent); pointer-events: none; z-index: -1; }
.hero > .container { position: relative; }
/* Hero: proposta primeiro; prévia real do painel ao lado (embaixo no celular) com o logo 3D pequeno no canto. */
.hero-grid { display: grid; gap: var(--s-55); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } .hero-acoes .botao-grande { min-height: var(--alvo); padding: 0 var(--s-21); font-size: var(--t-15); } }
.hero-visual { position: relative; }
.hero-previa { display: block; overflow: hidden; border: 1px solid var(--vidro-borda); border-radius: var(--r-13); background: var(--vidro); box-shadow: var(--vidro-brilho), 0 2.125rem 5.5625rem -2.125rem rgba(100, 56, 174, 0.65); color: var(--texto-3); font-size: var(--t-13); text-decoration: none; }
.hero-previa img { display: block; width: 100%; height: auto; }
.hero-previa span { display: block; padding: var(--s-8) var(--s-13); }
.hero h1 { margin-bottom: var(--s-13); max-width: 20ch; }
.hero-texto { font-size: var(--t-lead); line-height: 1.5; max-width: 46ch; }
.hero-acoes { display: grid; gap: var(--s-13); margin-top: var(--s-21); }
.hero-acoes .botao { width: 100%; }
@media (min-width: 36rem) { .hero-acoes { display: flex; flex-wrap: wrap; } .hero-acoes .botao { width: auto; } }
.hero-notas { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-21); margin-top: var(--s-34); padding-top: var(--s-21); border-top: 1px solid var(--borda); color: var(--texto-3); font-size: var(--t-13); }
.hero-notas span { display: inline-flex; align-items: center; gap: var(--s-8); }
.hero-notas span::before { content: ""; width: 0.3125rem; height: 0.3125rem; background: var(--magenta); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Logo do hero: SVG estático; o canvas 3D entra por cima, */
.hero-logo { position: relative; justify-self: center; width: min(42%, 23.5625rem); aspect-ratio: 377 / 276; touch-action: pan-y; }
.hero-logo img { display: block; width: 100%; height: 100%;  transition: opacity var(--d-233) var(--curva); }
.hero-logo canvas { position: absolute; inset: -21%; width: 142%; max-width: none; height: 142%; opacity: 0; transition: opacity var(--d-233) var(--curva); cursor: grab; }
.hero-logo canvas:active { cursor: grabbing; }
.hero-logo.em-3d canvas { opacity: 1; }
.hero-logo.em-3d img { opacity: 0; }

.hero-compacto { padding-block: var(--s-34) var(--s-8); }
.hero-compacto .hero-texto { margin-bottom: 0; }
@media (min-width: 64rem) { .hero-compacto { padding-block: var(--s-55) var(--s-21); } }
.hero-compacto h1 { max-width: 24ch; }

/* Hero institucional (sem coluna lateral): composição centralizada e compacta em tablet/desktop */
.hero:not(.hero-venda)::before { inset: -35% auto auto 50%; transform: translateX(-50%); }
@media (min-width: 45rem) {
  .hero:not(.hero-venda) { padding-block: var(--s-55) var(--s-34); }
  .hero:not(.hero-venda).hero-compacto { padding-block: var(--s-55) var(--s-21); }
  .hero:not(.hero-venda) > .container:not(.hero-grid) > .hero-entrada {
    position: relative;
    max-width: 56rem;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--s-34);
    border: 1px solid var(--vidro-borda);
    border-radius: var(--r-21);
    background: var(--vidro);
    box-shadow: var(--vidro-brilho), var(--sombra-2);
  }
  .hero:not(.hero-venda) > .container:not(.hero-grid) > .hero-entrada::before {
    content: "";
    position: absolute;
    inset: -1px var(--s-55) auto;
    height: 1px;
    background: var(--fio-luz);
    opacity: 0.75;
    pointer-events: none;
  }
  .hero:not(.hero-venda) > .container:not(.hero-grid) > .hero-entrada .trilha { justify-content: center; }
  .hero:not(.hero-venda) > .container:not(.hero-grid) > .hero-entrada h1 { max-width: 24ch; margin-inline: auto; }
  .hero:not(.hero-venda) > .container:not(.hero-grid) > .hero-entrada .hero-texto { max-width: 58ch; margin-inline: auto; }
  .hero:not(.hero-venda) > .container:not(.hero-grid) > .hero-entrada .hero-acoes { justify-content: center; }
  .hero:not(.hero-venda) > .container:not(.hero-grid) > .hero-entrada .hero-notas { width: 100%; justify-content: center; }
}
@media (min-width: 64rem) {
  .hero:not(.hero-venda) { padding-block: var(--s-55) var(--s-34); }
  .hero:not(.hero-venda).hero-compacto { padding-block: var(--s-55) var(--s-21); }
  .hero:not(.hero-venda) > .container:not(.hero-grid) > .hero-entrada { max-width: 60rem; padding: var(--s-55); }
}

/* 7. Blocos: fio no topo em vez de caixa; o fio acende no */
.grade { display: grid; gap: var(--s-34) var(--s-34); }
.grade-2, .grade-3, .grade-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .grade-2, .grade-3, .grade-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grade { gap: var(--s-55) var(--s-34); } .grade-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grade-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cartao { position: relative; padding-top: var(--s-21); border-top: 1px solid var(--borda-forte); }
.cartao::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--grad-fio); transform: scaleX(0); transform-origin: left; transition: transform var(--d-233) var(--curva); }
.cartao:hover::before, .cartao:focus-within::before, .cartao:focus-visible::before { transform: scaleX(1); }
.cartao h3 { margin-bottom: var(--s-8); }
.cartao p { font-size: var(--t-15); }
.cartao p:last-child { margin: 0; }
.cartao-destaque { padding: var(--s-21); border: 1px solid rgba(191, 81, 232, 0.4); border-radius: var(--r-13); background: linear-gradient(180deg, rgba(100, 56, 174, 0.16), rgba(100, 56, 174, 0.03)); }
.cartao-destaque::before { display: none; }

.icone { display: inline-flex; align-items: center; justify-content: flex-start; width: var(--s-34); height: var(--s-34); color: var(--ciano); margin-bottom: var(--s-8); }
.icone svg { width: var(--s-21); height: var(--s-21); stroke-width: 1.5; }

/* Passos: sequência real, numerais leves */
.passos { counter-reset: passo; display: grid; gap: 0; padding: 0; list-style: none; }
.passo { counter-increment: passo; display: grid; grid-template-columns: var(--s-55) minmax(0, 1fr); gap: var(--s-13); padding-block: var(--s-21); border-top: 1px solid var(--borda); margin: 0; }
.passo:last-child { border-bottom: 1px solid var(--borda); }
.passo::before { content: counter(passo, decimal-leading-zero); font-size: var(--t-34); font-weight: 200; line-height: 1; letter-spacing: -0.04em; color: var(--texto-3); font-variant-numeric: tabular-nums;  }
.passo:hover::before { color: var(--ciano); }
.passo h3 { font-size: var(--t-16); font-weight: 600; margin-bottom: var(--s-5); }
.passo p { font-size: var(--t-15); margin: 0; }
.passo > div { max-width: 55ch; }
@media (min-width: 45rem) { .passo { grid-template-columns: var(--s-89) minmax(0, 1fr); padding-block: var(--s-34); } }

.etiqueta { display: inline-flex; align-items: center; gap: var(--s-5); padding: 0 var(--s-8); border-radius: var(--r-pilula); font-size: 0.75rem; font-weight: 500; line-height: 1.6; vertical-align: 0.15em; border: 1px solid var(--borda-forte); color: var(--texto-2); white-space: nowrap; }
.etiqueta-ar { color: var(--ok); border-color: rgba(94, 234, 212, 0.4); }
.etiqueta-breve { color: var(--aviso); border-color: rgba(252, 211, 77, 0.4); }
.etiqueta-pago { color: var(--pago); border-color: rgba(191, 81, 232, 0.5); }

.lista-marcada { list-style: none; padding: 0; display: grid; gap: var(--s-8); }
.lista-marcada li { position: relative; padding-left: var(--s-21); }
.lista-marcada li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; background: var(--ciano); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Fluxo de estados */
.fluxo { display: flex; flex-wrap: wrap; gap: var(--s-8); align-items: center; list-style: none; padding: 0; margin: var(--s-21) 0; }
.fluxo li { margin: 0; padding: var(--s-5) var(--s-13); border: 1px solid var(--borda-forte); border-radius: var(--r-pilula); font-family: var(--fonte-mono); font-size: var(--t-13); color: var(--texto); overflow-wrap: anywhere; }
.fluxo li + li::before { content: "→"; margin-right: var(--s-8); color: var(--ciano); }

/* 8. Tabelas */
.tabela-rolagem table { min-width: 34rem; }
.tabela-rolagem { overflow-x: auto; border: 1px solid var(--borda); border-radius: var(--r-13); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-15); text-align: left; }
th, td { padding: var(--s-13) var(--s-21); border-bottom: 1px solid var(--borda); vertical-align: top; color: var(--texto-2); }
th { color: var(--texto); font-weight: 600; background: var(--superficie); }
tr:last-child td { border-bottom: 0; }

/* 9. FAQ */
.faq { display: grid; gap: var(--s-8); max-width: 50rem; }
.faq-item { border: 1px solid var(--borda); border-radius: var(--r-13); background: var(--fundo); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-13); padding: var(--s-13) var(--s-13) var(--s-13) var(--s-21); min-height: 3.5rem; cursor: pointer; font-weight: 600; color: var(--texto); }
.faq-item summary:hover, .faq-item summary:focus-visible { color: var(--texto); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex-shrink: 0; width: 0.5625rem; height: 0.5625rem; border-right: 1.5px solid var(--ciano); border-bottom: 1.5px solid var(--ciano); transform: rotate(45deg); transition: transform var(--d-377) var(--curva); margin-right: var(--s-5); }
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-conteudo { padding: 0 var(--s-21) var(--s-21); color: var(--texto-2); font-size: var(--t-15); animation: aparecer var(--d-377) var(--curva); }

/* 10. Chamada final */
.cta { position: relative; overflow: hidden; border-radius: var(--r-21); padding: var(--s-34) var(--s-21); text-align: center; background: linear-gradient(135deg, var(--marinho-900) 0%, var(--violeta) 62%, #8c3fc0 100%); }
@media (min-width: 45rem) { .cta { padding: var(--s-89) var(--s-55); } }
.cta::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 61.8%; aspect-ratio: 1; background: radial-gradient(circle, rgba(0, 202, 242, 0.3), transparent 65%); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: var(--s-13); }
.cta p { color: rgba(255, 255, 255, 0.9); max-width: 46ch; margin: 0 auto var(--s-21); font-size: var(--t-lead); line-height: 1.5; }
.cta-acoes { display: grid; gap: var(--s-13); }
@media (min-width: 36rem) { .cta-acoes { display: flex; flex-wrap: wrap; justify-content: center; } }
.cta .nota { display: block; margin-top: var(--s-21); color: rgba(255, 255, 255, 0.9); font-size: var(--t-13); }
/* a faixa .cta é escura nos dois temas; o anel ciano do tema claro (#00677b) dava 1,1–2,1:1 nela */
.cta :focus-visible { outline-color: #ffffff; }

/* 11. Rodapé */
.rodape { border-top: 1px solid var(--borda); padding: var(--s-34) 0 calc(var(--s-13) + env(safe-area-inset-bottom)); font-size: var(--t-15); }
.rodape-topo p { color: var(--texto-3); font-size: var(--t-15); margin: var(--s-5) 0 var(--s-13); }
.rodape-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-13); }
@media (min-width: 45rem) { .rodape-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rodape li { margin: 0; }
.rodape-links a { display: flex; align-items: center; min-height: var(--alvo); color: var(--texto-2); text-decoration: none; }
.rodape-links a:hover, .rodape-links a[aria-current="page"] { color: var(--texto); }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 var(--s-13); margin-top: var(--s-21); padding-top: var(--s-13); border-top: 1px solid var(--borda); color: var(--texto-3); font-size: var(--t-13); }
.rodape-base p { margin: 0; color: inherit; }
.rodape-base a { display: inline-flex; align-items: center; min-height: var(--alvo); color: var(--texto-2); }
.rodape h4 { font-size: var(--t-13); font-weight: 500; color: var(--texto-3); margin-bottom: var(--s-8); }

/* 11b. Página de venda: tipos de negócio, números, no ar, */
.tipos, .atalhos { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-8); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tipos li, .atalhos li { margin: 0; }
@media (min-width: 45rem) { .tipos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-13); } }
.tipo { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); height: 100%; min-height: 8.5rem; padding: var(--s-13); border: 1px solid var(--borda); border-radius: var(--r-13); background: var(--superficie); color: var(--texto); text-decoration: none; transition: border-color var(--d-233) var(--curva), transform var(--d-233) var(--curva); }
.tipo:hover { border-color: var(--ciano); color: var(--texto); transform: translateY(-2px); }
.tipo-icone { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; margin-bottom: var(--s-5); border-radius: var(--r-8); background: rgba(100, 56, 174, 0.18); color: var(--ciano); }
.tipo-icone svg { width: 1.375rem; height: 1.375rem; }
.tipo-titulo { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.tipo-linha { display: block; color: var(--texto-2); font-size: 0.875rem; line-height: 1.35; }
@media (min-width: 45rem) { .tipo { padding: var(--s-21); } .tipo-titulo { font-size: 1.125rem; } .tipo-linha { font-size: var(--t-15); } }

.atalhos { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 45rem) { .atalhos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.atalho { display: flex; align-items: center; gap: var(--s-13); min-height: 4.5rem; padding: var(--s-13); border: 1px solid var(--borda); border-radius: var(--r-13); background: var(--superficie); color: var(--texto); text-decoration: none; }
.atalho:hover { border-color: var(--ciano); color: var(--texto); }
.atalho .tipo-icone { margin: 0; }

.numeros { list-style: none; margin: 0 0 var(--s-34); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.numeros li { margin: 0; display: grid; gap: var(--s-5); align-content: start; padding: var(--s-13); border-radius: var(--r-13); background: var(--fundo); border: 1px solid var(--borda); }
.numeros strong { font-size: clamp(1.625rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.numeros span { color: var(--texto-2); font-size: 0.8125rem; line-height: 1.3; }

.no-ar { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-8); }
@media (min-width: 45rem) { .no-ar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.no-ar li { margin: 0; display: flex; align-items: center; gap: var(--s-13); min-height: 3.25rem; padding: var(--s-8) var(--s-13); border-radius: var(--r-13); background: var(--fundo); border: 1px solid var(--borda); color: var(--texto); font-weight: 500; line-height: 1.35; }
/* Marca de "tem": um SVG só, aqui, em vez de um <svg> por item no HTML. */
.no-ar li::before, .plano-itens li::before { content: ""; flex-shrink: 0; width: 1.25rem; height: 1.25rem; background: var(--ok); -webkit-mask: var(--marca-ok) center / contain no-repeat; mask: var(--marca-ok) center / contain no-repeat; }

.planos { display: grid; gap: var(--s-13); }
@media (min-width: 60rem) { .planos { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.plano { display: flex; flex-direction: column; gap: var(--s-13); padding: var(--s-21); border: 1px solid var(--borda-forte); border-radius: var(--r-21); background: var(--superficie); }
.plano-destaque { border-color: rgba(191, 81, 232, 0.6); background: linear-gradient(180deg, rgba(100, 56, 174, 0.2), rgba(100, 56, 174, 0.04)); box-shadow: var(--brilho-marca); }
.plano-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-8); }
.plano h3 { margin: 0; font-size: 1.25rem; }
.plano-selo { padding: var(--s-3) var(--s-8); border-radius: var(--r-pilula); background: var(--grad-marca); color: #fff; font-size: 0.75rem; font-weight: 600; }
.plano-preco { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-8); margin: 0; color: var(--texto); }
.plano-valor { font-size: clamp(2.25rem, 1.6rem + 3vw, 2.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plano-mes { color: var(--texto-2); font-size: var(--t-15); }
.plano-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-8); flex: 1; align-content: start; }
.plano-itens li { margin: 0; display: flex; align-items: flex-start; gap: var(--s-8); color: var(--texto); line-height: 1.35; }
.plano-itens li::before { width: 1.125rem; height: 1.125rem; margin-top: 0.0625rem; }
.plano-itens .etiqueta { color: var(--aviso); border-color: rgba(252, 211, 77, 0.45); }
.planos-nota { margin: var(--s-13) 0 0; color: var(--texto-2); font-size: var(--t-15); text-align: center; text-wrap: balance; }

/* 12. Páginas de texto */
.prosa { max-width: var(--largura-texto); }
.prosa h2 { font-size: var(--t-21); margin-top: var(--s-34); }
.prosa h3 { font-size: var(--t-16); margin-top: var(--s-21); }
.prosa p, .prosa li { color: var(--texto-2); }
.aviso { display: grid; gap: var(--s-5); padding: var(--s-21); border-radius: var(--r-13); border: 1px solid rgba(252, 211, 77, 0.45); background: rgba(252, 211, 77, 0.06); color: var(--texto); }
.aviso strong { color: var(--aviso); }
.aviso p { margin: 0; color: var(--texto-2); font-size: var(--t-15); }
.aviso-info { border-color: rgba(0, 202, 242, 0.45); background: rgba(0, 202, 242, 0.06); }
.aviso-info strong { color: var(--ciano); }

.trilha { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8); margin-bottom: var(--s-13); font-size: var(--t-13); color: var(--texto-3); list-style: none; padding: 0; }
.trilha li { margin: 0; display: inline-flex; align-items: center; gap: var(--s-8); }
.trilha li + li::before { content: "/"; color: var(--borda-forte); }
.trilha a { color: var(--texto-2); text-decoration: none; min-height: var(--alvo); min-width: var(--alvo); display: inline-flex; align-items: center; }

/* 13. Guia */
.docs-layout { display: grid; gap: var(--s-34); padding: var(--s-34) 0 var(--s-55); align-items: start; }
@media (min-width: 60rem) { .docs-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--s-55); } }
.docs-sidebar { border-top: 1px solid var(--borda-forte); padding-top: var(--s-13); }
@media (min-width: 60rem) { .docs-sidebar { position: sticky; top: var(--s-89); max-height: calc(100vh - 6.875rem); max-height: calc(100dvh - 6.875rem); overflow-y: auto; } }
.docs-sidebar h3 { font-size: var(--t-13); font-weight: 500; color: var(--texto-3); margin-bottom: var(--s-8); }
.docs-sidebar ol { list-style: none; padding: 0; margin: 0; display: grid; }
.docs-sidebar li { margin: 0; }
.docs-sidebar a { display: flex; align-items: center; min-height: var(--alvo); padding: 0 var(--s-8); border-left: 1px solid var(--borda); color: var(--texto-2); text-decoration: none; font-size: var(--t-15);  }
.docs-sidebar a:hover { border-left-color: var(--ciano); color: var(--texto); }
.docs-conteudo { min-width: 0; display: grid; gap: var(--s-55); }
.docs-artigo { min-width: 0; padding-top: var(--s-21); border-top: 1px solid var(--borda-forte); scroll-margin-top: var(--s-89); }
.docs-passo-header { display: flex; align-items: center; gap: var(--s-13); margin-bottom: var(--s-21); }
.docs-passo-num { display: inline-flex; align-items: center; justify-content: center; width: var(--s-34); height: var(--s-34); border-radius: 50%; border: 1px solid var(--borda-forte); color: var(--ciano); font-weight: 500; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.docs-artigo h2 { font-size: var(--t-21); margin: 0; }
.docs-artigo h3 { font-size: var(--t-16); font-weight: 600; margin: var(--s-21) 0 var(--s-8); }
.docs-artigo p, .docs-artigo li { font-size: var(--t-15); }
.callout { padding: var(--s-13) var(--s-21); border-radius: 0 var(--r-8) var(--r-8) 0; border-left: 2px solid var(--ciano); background: rgba(0, 202, 242, 0.06); color: var(--texto-2); margin: var(--s-21) 0; font-size: var(--t-15); }
.callout-alerta { border-left-color: var(--aviso); background: rgba(252, 211, 77, 0.06); }
.badge-status { display: inline-block; padding: 0 var(--s-8); border-radius: var(--r-pilula); font-size: 0.75rem; font-weight: 500; border: 1px solid var(--borda-forte); }
.badge-active { color: var(--ok); }
.badge-breve { color: var(--pago); }
.docs-artigo .faq-conteudo p { margin: 0; }
.hero-subtitulo { font-size: var(--t-lead); line-height: 1.55; max-width: 55ch; }

/* 14. Movimento */
@keyframes aparecer { from { opacity: 0; transform: translateY(calc(-1 * var(--s-5))); } to { opacity: 1; transform: none; } }

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

/* 15. Utilidades */
.mt-21 { margin-top: var(--s-21); }
.mt-34 { margin-top: var(--s-34); }
.acoes { display: flex; flex-wrap: wrap; gap: var(--s-13); }
.acoes.centro { justify-content: center; }
.nota { color: var(--texto-3); font-size: var(--t-13); }

/* Classes adicionais de paridade: Gateways, Logos Oficiais */
.logo-preview { display: flex; align-items: center; justify-content: center; min-height: 5.5625rem; padding: var(--s-13); border-radius: var(--r-8); margin-bottom: var(--s-13); }
.logo-preview-escuro { background: var(--fundo-2); border: 1px solid var(--borda); }
.logo-preview-claro { background: #ffffff; border: 1px solid var(--borda-forte); }
.logo-preview img { max-height: 2.75rem; width: auto; max-width: 100%; }
.logo-rotulo { font-size: 0.8125rem; color: var(--texto-3); text-align: center; margin-top: var(--s-5); }
.gateway-card { display: flex; flex-direction: column; gap: var(--s-5); height: 100%; padding: var(--s-13); border: 1px solid var(--borda); border-radius: var(--r-13); background: var(--superficie); color: var(--texto); transition: border-color var(--d-233) var(--curva); }
.gateway-card:hover { border-color: var(--ciano); }
.gateway-topo { display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); }
.gateway-nome { font-size: 1rem; font-weight: 700; color: var(--texto); }
.gateway-desc { font-size: 0.875rem; color: var(--texto-2); line-height: 1.35; margin: 0; }
.badge-gw { display: inline-flex; align-items: center; padding: 0 var(--s-5); border-radius: var(--r-pilula); font-size: 0.6875rem; font-weight: 600; color: var(--ciano); border: 1px solid rgba(0, 202, 242, 0.4); }


.preferencias { display: flex; flex-wrap: wrap; gap: var(--s-13); padding-block: var(--s-21); }
.preferencias label { display: grid; gap: var(--s-5); color: var(--texto-2); font-size: var(--t-15); }
.preferencias select { min-height: var(--alvo); max-width: 100%; padding: var(--s-8) var(--s-13); border: 1px solid var(--borda-forte); border-radius: var(--r-8); background: var(--fundo); color: var(--texto); font: inherit; }

/* 16. Vidro, luz e profundidade */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 34% at 88% 6%, var(--aurora-1), transparent 72%),
    radial-gradient(34% 30% at 6% 28%, var(--aurora-2), transparent 72%),
    radial-gradient(46% 38% at 62% 96%, var(--aurora-3), transparent 72%);
}
main { position: relative; }

.cabecalho { border-bottom-color: transparent; }
.cabecalho::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: var(--fio-luz); opacity: 0.45; pointer-events: none; }
.menu-mobile-painel { background: var(--vidro-forte); -webkit-backdrop-filter: var(--desfoque); backdrop-filter: var(--desfoque); }

.hero-venda h1 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -0.04em; max-width: 20ch; margin-bottom: var(--s-21); }
.secao-cabecalho h2 { letter-spacing: -0.03em; }
.hero-texto, .hero-subtitulo, .secao-cabecalho p { text-wrap: pretty; }
.hero-venda .hero-texto { color: var(--texto); }
.eyebrow { padding: var(--s-3) var(--s-13) var(--s-3) var(--s-8); border: 1px solid var(--vidro-borda); border-radius: var(--r-pilula); background: var(--vidro); box-shadow: var(--vidro-brilho); }
.centro .eyebrow { padding-left: var(--s-13); }

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grade-linha) 1px, transparent 1px), linear-gradient(90deg, var(--grade-linha) 1px, transparent 1px);
  background-size: var(--s-55) var(--s-55);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero:not(.hero-venda)::after {
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 78%);
}
.hero-venda .hero-logo { position: absolute; z-index: 1; top: calc(-1 * var(--s-34)); right: calc(-1 * var(--s-8)); width: 5.5625rem; }
@media (min-width: 60rem) { .hero-venda .hero-logo { top: calc(-1 * var(--s-55)); right: calc(-1 * var(--s-21)); width: 8rem; } }
.hero-logo::before {
  content: ""; position: absolute; inset: -8%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(0, 202, 242, 0.42), rgba(100, 56, 174, 0.12), rgba(191, 81, 232, 0.42), rgba(8, 95, 188, 0.12), rgba(0, 202, 242, 0.42));
  filter: blur(2.125rem); opacity: 0.75;
}

.secao-contraste { position: relative; background: color-mix(in srgb, var(--fundo-2) 70%, transparent); }
.secao-contraste::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--fio-luz); opacity: 0.6; box-shadow: 0 0 1.3125rem rgba(0, 202, 242, 0.35); pointer-events: none; }

.tipo, .atalho, .gateway-card, .numeros li, .no-ar li, .faq-item, .tabela-rolagem, .menu-botao {
  position: relative; border-color: var(--vidro-borda); background: var(--vidro); box-shadow: var(--vidro-brilho);
}
.tipo::before, .atalho::before, .gateway-card::before, .numeros li::before, .faq-item::before {
  content: ""; position: absolute; inset: -1px var(--s-21) auto; height: 1px; background: var(--fio-luz); opacity: 0.35; pointer-events: none; transition: opacity var(--d-233) var(--curva);
}
.tipo:hover::before, .tipo:focus-visible::before, .atalho:hover::before, .gateway-card:hover::before, .faq-item[open]::before, .faq-item:hover::before { opacity: 1; }
.tipo { transition: border-color var(--d-233) var(--curva), transform var(--d-233) var(--curva), box-shadow var(--d-233) var(--curva); }
.tipo:hover, .tipo:focus-visible { border-color: color-mix(in srgb, var(--ciano) 55%, transparent); box-shadow: var(--vidro-brilho), 0 0.8125rem 2.125rem -1.3125rem rgba(0, 202, 242, 0.55); }
.tipo-icone { background: linear-gradient(135deg, rgba(0, 202, 242, 0.16), rgba(191, 81, 232, 0.24)); box-shadow: inset 0 0 0 1px var(--vidro-borda); transition: transform var(--d-233) var(--curva); }
.tipo:hover .tipo-icone { transform: rotate(-6deg) scale(1.06); }
.numeros strong { background: linear-gradient(180deg, var(--texto) 30%, color-mix(in srgb, var(--texto) 62%, var(--ciano))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.faq-item[open] { border-color: color-mix(in srgb, var(--ciano) 35%, transparent); }
.tabela-rolagem th { background: color-mix(in srgb, var(--superficie-2) 60%, transparent); }

.plano { position: relative; isolation: isolate; border-color: var(--vidro-borda); background: var(--vidro); box-shadow: var(--vidro-brilho), var(--sombra-3); }
.plano-destaque { border-color: transparent; background: linear-gradient(180deg, rgba(100, 56, 174, 0.22), transparent 55%), var(--vidro-forte); -webkit-backdrop-filter: var(--desfoque); backdrop-filter: var(--desfoque); box-shadow: var(--vidro-brilho), 0 1.3125rem 5.5625rem -2.125rem rgba(191, 81, 232, 0.6), 0 0.8125rem 3.4375rem -2.125rem rgba(0, 202, 242, 0.5); }
.plano-destaque::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, var(--ciano), var(--violeta) 50%, var(--magenta));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.plano-destaque::after { content: ""; position: absolute; inset: 0 var(--s-34) auto; height: 1px; background: var(--fio-luz); box-shadow: 0 0 1.3125rem rgba(0, 202, 242, 0.6); pointer-events: none; }
.plano { padding: var(--s-34) var(--s-21); }
@media (min-width: 40rem) { .plano { padding: var(--s-34); } }
.plano h3 { font-size: var(--t-21); }
.plano-preco { padding-bottom: var(--s-21); border-bottom: 1px solid var(--vidro-borda); }
.plano-valor { font-size: clamp(2.75rem, 2rem + 3.4vw, 3.4375rem); letter-spacing: -0.045em; }
.planos:has(> .plano:only-child) { grid-template-columns: minmax(0, 36rem); justify-content: center; }
@media (min-width: 40rem) { .planos:has(> .plano:only-child) .plano-itens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-13) var(--s-21); } }

.cta { box-shadow: 0 2.125rem 5.5625rem -2.125rem rgba(100, 56, 174, 0.75); }
.cta::before { content: ""; position: absolute; inset: 0 13% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent); }
.botao-primario { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0.5rem 1.3125rem -0.8125rem rgba(191, 81, 232, 0.7); }
.botao-secundario { background: var(--vidro); }

@media (max-width: 24rem) {
  .botao { white-space: normal; padding-block: var(--s-8); }
}
@media (max-width: 22.5rem) {
  .hero-notas span { font-size: 0.75rem; }
  .tipo { min-height: 8rem; padding: var(--s-13) var(--s-8); }
  .numeros { gap: var(--s-5); }
  .numeros li { padding: var(--s-8); }
}

/* 17. Movimento progressivo */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .cabecalho { view-transition-name: cabecalho; }
  ::view-transition-old(root) { animation: var(--d-144) var(--curva) both vt-sair; }
  ::view-transition-new(root) { animation: var(--d-233) var(--curva) 55ms both vt-entrar; }
  @keyframes vt-sair { to { opacity: 0; translate: 0 calc(-1 * var(--s-8)); } }
  @keyframes vt-entrar { from { opacity: 0; translate: 0 var(--s-13); } }

  @keyframes halo-girar { to { rotate: 1turn; } }
  .hero-logo::before { animation: halo-girar 34s linear infinite; }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes surgir { from { opacity: 0; translate: 0 var(--s-21); } }
    .secao .secao-cabecalho, .tipos > li, .atalhos > li, .grade > *, .no-ar > li, .numeros > li,
    .planos > *, .faq-item, .cta, .tabela-rolagem, .passo {
      animation: surgir linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}
