/* landing.css — estilos da página pública do Nummus (nummusfinanceiro.com).
   Porte da landing do EyePleasure ("product story": cenas de tela cheia que se
   montam no scroll, dois tons escuros que se alternam, botão de vidro líquido
   e molduras com telas reais do produto), com o teal do Nummus no lugar do
   índigo. Fica fora do HTML para a CSP poder exigir script-src 'self'.
   Author: lukasnascimento1 */

/* ════════════════════ TOKENS / TEMA ════════════════════
   O fundo da página inteira é controlado por body[data-theme].
   Cada cena, ao entrar no centro da viewport, troca o tema → a página
   toda transiciona de cor (efeito keynote). Variáveis mudam junto. */
:root {
  /* Teal do Nummus, o mesmo do painel (styles/tokens.css do app-worker). */
  --teal-deep: #0f766e;
  --teal: #2dd4bf;
  --teal-soft: #5eead4;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

/* Brilhos de acento: luz atrás das molduras (--glow), aurora do hero,
   halo da seção de destaque e luz da caixa do CTA. */
body {
  --glow: rgba(45, 212, 191, 0.24);
  --aurora: radial-gradient(ellipse 64% 52% at 50% 40%, rgba(20, 184, 166, 0.16), transparent 70%);
  --halo: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(20, 184, 166, 0.15), transparent 70%);
  --cta-glow: radial-gradient(ellipse 70% 130% at 50% -10%, rgba(20, 184, 166, 0.20), transparent 65%);
}

body[data-theme="dark"] {
  --bg: #060b0b;
  --bg-soft: #0b1414;
  --text: #f4f5fb;
  --muted: #94a8a5;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --kicker: var(--teal-soft);
}
/* "light" agora é um SEGUNDO tom escuro (verde-petróleo elevado) — contrasta com o
   quase-preto do tema dark sem virar claro. Texto/linhas seguem claros. */
body[data-theme="light"] {
  --bg: #0d1c1b;
  --bg-soft: #132624;
  --text: #f4f5fb;
  --muted: #94a8a5;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --kicker: var(--teal-soft);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Transição suave de tema ao trocar data-theme no scroll */
  transition: background-color 0.7s var(--ease-out), color 0.7s var(--ease-out);
}

/* Lenis: enquanto o scroll suave está ativo */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* Lock do portão à prova de mobile (iOS): trava o scroll por touch também.
   touch-action:none bloqueia o gesto de rolar, mas o TAP pra destravar continua. */
body.gate-locked { overflow: hidden; touch-action: none; overscroll-behavior: none; }
html:has(body.gate-locked) { overflow: hidden; }

h1, h2, h3, .display {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

a { color: inherit; }

.wrap { position: relative; z-index: 1; }

/* Limita largura do conteúdo dentro de cada cena */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.kicker {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kicker);
}

.grad {
  background: linear-gradient(115deg, #ccfbf1 0%, var(--teal) 50%, var(--teal-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ════════════════════ BOTÕES ════════════════════
   Pill com gradiente sólido + verniz de vidro líquido por cima.
   Lê bem tanto no dark quanto no light (diferente do glass transparente). */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 600 15px/1 "Inter", sans-serif;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

/* ── Botão liquid glass (vidro líquido) — distorce o que está atrás ── */
.btn-liquid {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; font: 600 15px/1 "Inter", sans-serif; color: #fff;
  background: transparent; border: none; border-radius: 9999px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn-liquid:hover { transform: scale(1.05); }
.btn-liquid:active { transform: scale(0.97); }
.btn-liquid.sm { padding: 9px 20px; font-size: 14px; }
/* Camada de reflexos/realces do vidro */
.btn-liquid .gl-bg {
  position: absolute; inset: 0; border-radius: 9999px; z-index: 0; pointer-events: none;
  box-shadow:
    0 0 8px rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.08),
    inset 3px 3px 0.5px -3.5px rgba(255,255,255,0.09),
    inset -3px -3px 0.5px -3.5px rgba(255,255,255,0.85),
    inset 1px 1px 1px -0.5px rgba(255,255,255,0.6),
    inset -1px -1px 1px -0.5px rgba(255,255,255,0.6),
    inset 0 0 6px 6px rgba(255,255,255,0.12),
    inset 0 0 2px 2px rgba(255,255,255,0.06),
    0 0 12px rgba(0,0,0,0.15),
    0 8px 26px -10px var(--glow);
}
/* Distorção do backdrop via filtro SVG */
.btn-liquid .gl-blur {
  position: absolute; inset: 0; border-radius: 9999px; z-index: -1;
  overflow: hidden; isolation: isolate; pointer-events: none;
  backdrop-filter: url(#liquid-glass-filter);
  -webkit-backdrop-filter: url(#liquid-glass-filter);
}
.btn-liquid .gl-label {
  position: relative; z-index: 1; pointer-events: none;
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-liquid:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  padding: 14px 26px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--teal); background: var(--surface-2); transform: translateY(-2px); }
@media (max-width: 600px) {
  nav, nav.scrolled { padding-left: 16px; padding-right: 16px; }
}

.arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ════════════════════ NAV ════════════════════ */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  padding: 11px 28px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
/* Símbolo do Nummus, o mesmo do painel (Brand.tsx do app-worker): um "N"
   desenhado como linha de gráfico que sobe e termina em seta. */
.mark {
  display: block; flex: none; overflow: hidden;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, #12897f 0%, #0b5f59 100%);
  box-shadow: 0 6px 18px -6px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.mark svg { display: block; width: 100%; height: 100%; }
.mark-line { stroke: #ffffff; }
.mark-arrow { fill: var(--teal-soft); stroke: var(--teal-soft); }
.brand .brand-name {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 19px; letter-spacing: -0.02em; color: var(--text);
  transition: color 0.7s var(--ease-out);
}
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px; font-weight: 500; text-decoration: none;
  color: var(--muted); transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ════════════════════ HERO ════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}
/* Aurora animada só no hero (dark) */
.aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  z-index: 0; pointer-events: none; filter: blur(20px);
  background: var(--aurora);
  animation: auroraFloat 18s var(--ease-out) infinite alternate;
}
@keyframes auroraFloat {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
/* Grade sutil de fundo */
.hero .container { position: relative; z-index: 2; }

/* Typewriter em loop (estilo da hero atual). min-height reserva o espaço
   das frases mais altas pra os botões não saltarem ao trocar de frase. */
.hero-type-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(260px, 40vw, 420px);
}
/* h1 encolhe ao conteúdo e é centralizado pelo flex do wrap (robusto) */
.hero-type {
  text-align: center;
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.03em;
  transition: opacity 0.45s var(--ease-out);
}
.hero-type.out { opacity: 0; }
/* Gradiente branco em TODAS as frases; inline-block + max-width pra quebrar a frase longa */
.hero-type .ht-text {
  display: inline-block; max-width: min(92vw, 1080px);
  text-wrap: balance;
  /* O gradiente repete a cada linha (altura = line-height) → cada caractere
     tem o mesmo branco→prata, em vez de um gradiente único no bloco todo. */
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 30%, #9fbdb8 100%);
  background-size: 100% 1.06em;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Nome da marca: maior, sempre em 1 linha */
.hero-type .ht-text.brand { font-size: 1.47em; text-wrap: nowrap; }
/* Frases com quebra própria (\n): quebram SÓ onde mandei — balance não reequilibra
   forçando wrap extra (ex.: "Crer para comprar" some no mobile). */
.hero-type .ht-text.fixed-lines { text-wrap: nowrap; }
/* Reveal por caractere (fade sutil). O texto completo já ocupa o layout final
   desde o início (chars ocultos), então a quebra de linha não reflui. */
.hero-type .ht-text .c { opacity: 0; transition: opacity 0.29s var(--ease-out); }
.hero-type .ht-text .c.on { opacity: 1; }
/* Símbolo da marca como um dos itens do loop (overlay central) */
.ht-emblem {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}
.ht-emblem.show { opacity: 1; }
/* Crossfade lento nome↔logo — sensação de revelação especial */
.hero-type.xfade, .ht-emblem.xfade { transition-duration: 1.92s; }
.ht-emblem .mark {
  width: clamp(150px, 22vw, 240px); height: clamp(150px, 22vw, 240px);
  border-radius: 31%;
  box-shadow: 0 30px 90px -20px var(--glow), inset 0 2px 0 rgba(255, 255, 255, 0.18);
}

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

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue .mouse {
  width: 22px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 12px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: var(--muted);
  animation: wheel 1.6s var(--ease-out) infinite;
}
@keyframes wheel { 0%{opacity:0; transform:translate(-50%,-3px);} 40%{opacity:1;} 80%,100%{opacity:0; transform:translate(-50%,8px);} }

/* ════════════════════ STATEMENT (pinado) ════════════════════ */
.statement {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px; text-align: center;
}
/* ── PORTÃO: a frase do statement é o gatilho clicável que libera o scroll ── */
.gate {
  appearance: none; -webkit-appearance: none; background: none; border: 0;
  margin: 0; padding: 0; cursor: pointer; color: inherit; font: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  transition: transform 0.4s var(--ease-out), opacity 0.6s var(--ease-out);
}
.gate:hover { transform: scale(1.025); }
.gate:active { transform: scale(0.99); }
.gate.opened { opacity: 0; pointer-events: none; }
.gate-text {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(28px, 5.2vw, 64px); line-height: 1.16;
  letter-spacing: -0.03em; max-width: 16ch; color: var(--text);
}
/* "a um toque de distância" — destaque (gradiente) como convite ao toque */
.gate-touch {
  background: linear-gradient(115deg, #ccfbf1 0%, var(--teal) 50%, var(--teal-soft) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Convite ao toque: mãozinha animada + anel pulsante (no lugar do texto) */
.gate-tap {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 78px; height: 78px; color: #ffffff;
}
/* Mão em traçado fino, branca e quase invisível (sofisticada) */
.tap-hand {
  width: 58px; height: 58px; position: relative; z-index: 1;
  opacity: 0.22;
  animation: tapBob 2s var(--ease-out) infinite;
}
@keyframes tapBob {
  0%, 100% { transform: translateY(-2px) scale(1); }
  45%      { transform: translateY(4px) scale(0.95); }
  62%      { transform: translateY(0) scale(1); }
}
.tap-ring {
  position: absolute; top: 50%; left: 50%; width: 30px; height: 30px;
  margin: -15px 0 0 -15px; border-radius: 50%;
  border: 1.5px solid #ffffff;
  animation: tapRing 2s var(--ease-out) infinite;
}
@keyframes tapRing {
  0%   { transform: scale(0.4); opacity: 0; }
  30%  { opacity: 0.22; }
  100% { transform: scale(2.6); opacity: 0; }
}
/* Ondinha disparada no ponto do clique (criada via JS) */
.gate-ripple {
  position: fixed; z-index: 70; width: 320px; height: 320px;
  margin: -160px 0 0 -160px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(45,212,191,0.36) 0%, rgba(45,212,191,0.10) 36%, transparent 68%);
}
/* Ao tocar: a frase desfoca e os mockups montam em fila na tela, depois caem */
.gate.blurred { filter: blur(7px); opacity: 0.4; transform: scale(0.96); pointer-events: none; }
.mock-stage {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(10px, 2vw, 30px); padding: 24px; perspective: 1200px;
}
.mock-stage > .device, .mock-stage > .mh-slot { will-change: transform, opacity; flex: none; }
.mock-stage > .device { width: clamp(96px, 15.5vw, 220px); padding: 5px; border-radius: 10px; }
.mock-stage > .device .screen { border-radius: 6px; }
/* Câmera proporcional nas miniaturas: os px fixos da moldura grande viram borrão. */
.mock-stage > .device .cam { top: 1.2%; width: 1.1%; height: auto; aspect-ratio: 1; }
/* HERO da fila = a MESMA moldura da primeira cena. Fica em tamanho real dentro
   de um slot do tamanho da miniatura e é reduzida por transform → crescer até a
   cena é um único tween de escala, sem trocar de elemento nem deformar a moldura. */
.mock-stage > .mh-slot { position: relative; width: clamp(96px, 15.5vw, 220px); aspect-ratio: 16 / 10; }
.mock-stage > .mh-slot > .device { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; }
/* Enquanto o hero voa até o lugar dele, a primeira cena fica escondida (o clone
   é o que se vê). A copy some por uma classe própria: o texto entra ANTES do pouso. */
body.gate-handoff #fluxo .stage { opacity: 0 !important; }
body.gate-handoff-copy #fluxo .copy { opacity: 0 !important; }
/* Mobile: a fila quebra em duas linhas (3 + 2) com molduras maiores. */
@media (max-width: 760px) {
  .mock-stage { gap: 10px; flex-wrap: wrap; align-content: center; padding: 12px; }
  .mock-stage > .device, .mock-stage > .mh-slot { width: 29vw; }
}

/* ════════════════════ CENAS DE FEATURE ════════════════════ */
.scene {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 100px 24px;
  overflow: hidden;
}
.scene .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 40px;
}
.scene.flip .copy { order: 2; }
.scene.flip .stage { order: 1; }

.copy { max-width: 480px; }
.scene.flip .copy { justify-self: end; }
.copy h2 {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 700; margin-top: 16px;
}
.copy p {
  margin-top: 18px; font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65; color: var(--muted);
}
.copy .bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.copy .bullets li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text); }
.copy .bullets .tick {
  flex: none; margin-top: 1px; width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center; font-size: 11px; color: #04211e;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
}

/* Palco do device + glow */
.stage { position: relative; display: flex; justify-content: center; align-items: center; }
.stage .glow {
  position: absolute; width: 75%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  filter: blur(40px); z-index: 0;
}

/* ── Moldura de tela larga: o painel do Nummus é web ── */
.device {
  position: relative; z-index: 1;
  width: min(640px, 92vw);
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  padding: 11px;
  background: linear-gradient(150deg, #24393a, #091111 65%);
  box-shadow:
    0 50px 110px -34px rgba(0, 0, 0, 0.7),
    0 0 0 1.5px rgba(255, 255, 255, 0.08),
    inset 0 0 3px rgba(255, 255, 255, 0.2);
}
.device .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 12px; overflow: hidden; background: #0e1116;
}
.device .screen > img, .device .screen > video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: left top;
}
.device .cam { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: #1a2424; z-index: 3; }

/* Crossfade de imagens (cenas com mais de uma tela): empilha e troca opacidade no scroll */
.swap > img { opacity: 0; transition: opacity 0.5s var(--ease-out); }
.swap > img.is-active { opacity: 1; }

/* ════════════════════ DESTAQUE (seção centralizada, com halo) ════════════════════ */
.spotlight {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px; overflow: hidden;
}
.spotlight .halo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--halo);
}
.spotlight .container { position: relative; z-index: 2; max-width: 920px; }
.spotlight h2 { font-size: clamp(34px, 6vw, 80px); font-weight: 700; margin-top: 16px; }
.spotlight p { margin: 24px auto 0; max-width: 560px; font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: var(--muted); }
.spotlight-stage { position: relative; margin: 48px auto 0; display: flex; justify-content: center; }
.spotlight-stage .device { width: min(760px, 100%); }

/* ════════════════════ GRID "E MAIS..." ════════════════════ */
.more { padding: 120px 24px; }
.more .head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.more .head h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; }
.more .head p { margin-top: 16px; color: var(--muted); line-height: 1.65; font-size: 17px; }
/* Flex centralizado: a última linha fica SEMPRE centralizada,
   sem card solto esticado. Cards uniformes; full-width no celular. */
.cards { max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
/* Vidro fosco: blur do fundo + realce diagonal sutil no topo. */
.card {
  flex: 0 1 262px;
  position: relative; isolation: isolate;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02) 42%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  padding: 28px; overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
/* Spotlight: brilho radial na posição do cursor (--mx/--my), revelado no hover. */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -20%),
    color-mix(in srgb, var(--teal) 32%, transparent), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease-out); pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
@media (max-width: 560px) { .card { flex-basis: 100%; } }
.card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--teal) 55%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 20px 50px -22px var(--glow);
}
/* Só o ícone, sem caixa de fundo — alinhado à esquerda como o título. */
.card .ic { display: flex; align-items: center; color: #fff; margin-bottom: 16px; }
.card .ic svg { width: 30px; height: 30px; }
.card h3 { font-size: 19px; font-weight: 600; font-family: "Inter", sans-serif; letter-spacing: -0.01em; }
.card p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.55; }
/* O que ainda não existe no sistema aparece apagado e com o selo. */
.card.is-soon .ic, .card.is-soon h3 { opacity: 0.62; }
.card .soon {
  position: absolute; top: 22px; right: 22px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--teal-soft); border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent);
  border-radius: 999px; padding: 4px 9px;
}

/* No desktop o trilho some da árvore (display:contents) → os cards seguem
   como flex items da grade. Os dots ficam ocultos. */
.rc-track { display: contents; }
.rc-dots { display: none; justify-content: center; gap: 9px; margin-top: 30px; }
.rc-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.28); cursor: pointer;
  transition: background 0.25s, width 0.25s var(--ease-out);
}
.rc-dots button.on { background: var(--teal-soft); width: 22px; border-radius: 4px; }
/* Mobile: a grade vira viewport de 1 card por vez; o trilho vira flex e os
   cards ocupam 100% — o carrossel infinito é dirigido por transform via JS. */
@media (max-width: 860px) {
  #recursos .cards {
    display: block; position: relative; max-width: none;
    overflow-x: clip; overflow-y: visible;
  }
  #recursos .rc-track {
    display: flex; align-items: stretch;
    will-change: transform; transform: translate3d(0, 0, 0);
  }
  #recursos .rc-track .card { flex: 0 0 100%; width: 100%; margin: 0; }
  .rc-dots { display: flex; }
}

/* ════════════════════ CTA FINAL + FOOTER ════════════════════ */
.cta { padding: 40px 24px 0; }
.cta .box {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  text-align: center; border-radius: 32px; padding: clamp(56px, 9vw, 110px) 32px;
  overflow: hidden; border: 1px solid var(--line);
  background: var(--cta-glow), var(--bg-soft);
}
.cta h2 { font-size: clamp(30px, 5vw, 66px); font-weight: 700; max-width: 16ch; margin: 0 auto; }
.cta p { margin: 18px auto 0; max-width: 480px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.cta .hero-actions { margin-top: 36px; }

/* Footer */
.site-footer { background: var(--bg); padding: 64px 80px 0; margin-top: 80px; overflow: hidden; position: relative; z-index: 20; }
.footer-top-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 80px; gap: 40px; }
.footer-tagline { font-size: clamp(20px, 2.5vw, 32px); font-weight: 500; color: var(--text); line-height: 1.35; letter-spacing: -0.5px; }
.footer-nav-cols { display: flex; gap: 80px; }
.footer-nav-col { display: flex; flex-direction: column; gap: 14px; }
.footer-nav-col a { font-size: 14px; color: rgba(241,245,249,0.4); text-decoration: none; transition: color 0.24s; }
.footer-nav-col a:hover { color: var(--text); }
.footer-wordmark { font-size: clamp(80px, 18vw, 260px); font-weight: 800; letter-spacing: -0.02em; line-height: 0.88; color: rgba(255,255,255,0.04); white-space: nowrap; margin: 0 -80px; user-select: none; text-align: center; padding-bottom: 40px; }
.footer-bottom-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; margin-top: 40px; flex-wrap: wrap; gap: 12px; }
.footer-brand { font-size: 13px; font-weight: 600; color: rgba(241,245,249,0.2); }
.footer-by { margin-left: 6px; font-weight: 500; color: rgba(241,245,249,0.35); text-decoration: none; transition: color 0.2s; }
.footer-by:hover { color: rgba(241,245,249,0.7); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(241,245,249,0.2); text-decoration: none; }
.footer-legal a:hover { color: rgba(241,245,249,0.5); }
@media (max-width: 700px) {
  .site-footer { padding: 48px 24px 0; }
  .footer-top-row { flex-direction: column; }
  .footer-nav-cols { gap: 40px; }
  .footer-wordmark { font-size: clamp(60px, 27vw, 170px); margin: 0 -24px; }
}

/* ════════════════════ PÁGINAS DE TEXTO (privacidade, termos) ════════════════════ */
.legal { max-width: 720px; margin: 0 auto; padding: 160px 24px 120px; }
.legal h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; margin-top: 16px; }
.legal p { margin-top: 22px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.legal a { color: var(--teal-soft); }
.legal-back { padding: 9px 18px; font-size: 14px; }

/* ════════════════════ RESPONSIVO / CARROSSEL ════════════════════ */
/* desktop: wrapper e trilho somem do layout → cenas fluem normalmente */
.features, .car-track { display: contents; }

@media (max-width: 860px) {
  /* Trava qualquer scroll horizontal da página no mobile (o trilho do carrossel
     tem 100vw por cena; sem isso ele vaza pro scroll da página e buga o toque). */
  html, body { overflow-x: clip; }
  /* Viewport do carrossel: overflow-x:clip remove o excesso horizontal do LAYOUT
     (sem virar container de scroll, sem cortar vertical) e overflow-y:visible deixa
     o mockup SANGRAR pra baixo (revelado ao rolar, NUNCA cortado). Swipe via JS. */
  .features {
    display: block; position: relative; height: 114svh;
    overflow-x: clip; overflow-y: visible;
    background: #060b0b; touch-action: pan-y;
  }
  .car-track {
    display: flex; height: 100%;
    will-change: transform; transform: translate3d(0, 0, 0);
  }
  .car-track .scene {
    flex: 0 0 100vw; width: 100vw; height: 100%;
    min-height: 0; padding: 0; background: #060b0b;
  }
  .features .scene .container {
    display: flex; flex-direction: column; align-items: center;
    height: 100%; gap: 14px; max-width: none;
    padding: 90px 22px 0; text-align: center;
  }
  .features .scene .copy { order: 0; max-width: 480px; }
  .features .scene .copy h2 { font-size: clamp(27px, 7.4vw, 40px); }
  .features .scene .copy p { font-size: 14.5px; margin-top: 11px; line-height: 1.55; }
  .features .scene .copy .bullets { margin-top: 15px; gap: 9px; }
  .features .scene .copy .bullets li { text-align: left; font-size: 13.5px; }
  .features .scene .stage { order: 1; margin-top: 18px; }
  /* A moldura centraliza no espaço abaixo do texto. */
  .features .scene .stage { margin-top: auto; margin-bottom: auto; }
  .features .scene .stage .glow { display: none; }
  .features .scene .device { width: min(600px, 94vw); }

  /* dots do carrossel */
  .car-dots {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 40; display: flex; gap: 9px; padding: 9px 14px; border-radius: 999px;
    background: rgba(8, 8, 15, 0.5); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease-out);
  }
  .car-dots.show { opacity: 1; pointer-events: auto; }
  .car-dots button {
    width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
    background: rgba(255, 255, 255, 0.32); cursor: pointer;
    transition: background 0.25s, width 0.25s var(--ease-out);
  }
  .car-dots button.on { background: var(--teal-soft); width: 22px; border-radius: 4px; }
}
.car-dots { display: none; }
@media (max-width: 860px) { .car-dots { display: flex; } }

/* ════════════════════ REDUCED MOTION ════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

