/* ═══════════════════════════════════════════════════════════════════════
   Vertsen — site institucional (vertsen.com)
   Design System Vertsen v1.0: canvas quente, tinta #151515, lima #ccfd42
   como sinal escasso (sempre preenchimento, nunca texto no tema claro),
   botões raio 6px, cards com borda em vez de sombra.
   TEMA: branco fixo (predefinição). Os painéis "galáxia" (hero e planos/CTA)
   nascem escuros — são o céu da marca, não um dark mode.
   MOTION: starfield multicamada (deriva + cintilação), estrelas cadentes,
   nebulosa pulsante, horizonte de planeta com glow, sistema orbital,
   constelação, partículas, parallax e reveals de scroll (assets/motion.js).
   Tudo CSS/JS puro, sem libs; desligado sob prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --canvas: #fafafa;
  --card: #ffffff;
  --surface: #f2f1ed;
  --border: #e0ded7;
  --border-hover: #d2cfc6;
  --ink: #151515;
  --ink-2: #4a4a46;
  --ink-3: #65655f;
  --ink-4: #a3a19b;
  --lime: #ccfd42;
  --lime-deep: #c8ff00;
  --lime-wash: #f1fbd0;
  --lime-ink: #5c7300;
  --lime-border: #b4e52e;
  --display: 'Stack Sans Headline', 'Stack Sans Text', system-ui, sans-serif;
  --text: 'Stack Sans Text', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

/* overflow-x nos DOIS (html e body): o arco do horizonte é mais largo que a
   tela de propósito, e só no body o clipping não segura em todo navegador. */
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: #050508; /* o céu continua por trás de tudo */
  color: var(--ink);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden; /* camadas decorativas nunca criam rolagem lateral */
}

img { max-width: 100%; }

a { color: inherit; }

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ═══ painel "galáxia" ═══
   Fundo radial (o mesmo do login do app) + camadas animadas. As .stars
   derivam por background-position (transform fica livre para o parallax
   do motion.js) e cintilam por opacity. */
.galaxy {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #1b1f2e 0%, #0a0b10 55%, #050508 100%);
}
/* PERFORMANCE: nada aqui anima propriedade de repaint. As camadas só usam
   opacity (cintilação) e transform (parallax) — ambas compostas na GPU. */
.galaxy .stars {
  position: absolute;
  inset: -140px;
  background-repeat: repeat;
  pointer-events: none;
}
.galaxy .stars-a {
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 62% 32%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 91% 22%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 37% 88%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 83% 84%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 70% 4%, #fff, transparent);
  background-size: 280px 280px;
  opacity: 0.55;
  animation: twinkle-a 7s ease-in-out infinite;
}
.galaxy .stars-b {
  background-image:
    radial-gradient(1.2px 1.2px at 28% 44%, #fff, transparent),
    radial-gradient(1px 1px at 46% 8%, #fff, transparent),
    radial-gradient(1px 1px at 78% 58%, #fff, transparent),
    radial-gradient(1px 1px at 18% 72%, #fff, transparent),
    radial-gradient(1px 1px at 55% 68%, #fff, transparent),
    radial-gradient(1px 1px at 5% 40%, #fff, transparent),
    radial-gradient(0.9px 0.9px at 33% 21%, #fff, transparent),
    radial-gradient(0.9px 0.9px at 67% 79%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 88% 45%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 9% 91%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 51% 47%, #fff, transparent),
    radial-gradient(0.9px 0.9px at 97% 68%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 23% 58%, #fff, transparent),
    radial-gradient(0.9px 0.9px at 74% 15%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 42% 71%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 60% 92%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 15% 8%, #fff, transparent),
    radial-gradient(0.9px 0.9px at 95% 5%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 30% 35%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 81% 30%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 7% 60%, #fff, transparent),
    radial-gradient(0.9px 0.9px at 48% 25%, #fff, transparent);
  background-size: 460px 460px;
  opacity: 0.4;
  animation: twinkle-b 9s ease-in-out infinite;
}
.galaxy .stars-c {
  background-image:
    radial-gradient(2.1px 2.1px at 22% 30%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.9px 1.9px at 71% 62%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 87% 12%, rgba(204, 253, 66, 0.8), transparent),
    radial-gradient(1.8px 1.8px at 8% 76%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 52% 90%, rgba(204, 253, 66, 0.7), transparent);
  background-size: 640px 640px;
  opacity: 0.5;
  animation: twinkle-c 4.5s ease-in-out infinite;
}
@keyframes twinkle-a { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.3; } }
@keyframes twinkle-b { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.2; } }
@keyframes twinkle-c { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.15; } }

/* nebulosa em lima — pulso lento SÓ de transform/opacity.
   PERFORMANCE: nada de filter:blur() (caríssimo de animar) — o "desfoque"
   é um radial-gradient que já nasce esmaecido, e a GPU só compõe. */
.galaxy .blob {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}
.galaxy .blob-a {
  right: -190px; top: -190px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(204, 253, 66, 0.26) 0%, rgba(204, 253, 66, 0.09) 42%, transparent 70%);
  animation: nebula-a 16s ease-in-out infinite;
}
.galaxy .blob-b {
  left: -160px; bottom: -220px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.16) 0%, rgba(200, 255, 0, 0.05) 45%, transparent 70%);
  animation: nebula-b 20s ease-in-out infinite;
}
.galaxy .blob-c {
  left: 36%; top: 12%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(143, 180, 214, 0.10) 0%, transparent 65%);
}
@keyframes nebula-a {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.85; }
  50% { transform: scale(1.15) translate(-28px, 22px); opacity: 1; }
}
@keyframes nebula-b {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  50% { transform: scale(1.18) translate(32px, -18px); opacity: 1; }
}

/* estrelas cadentes — risco diagonal com cauda, ciclos dessincronizados */
.galaxy .shooting {
  position: absolute;
  width: 130px; height: 1.5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  border-radius: 9999px;
  opacity: 0;
  pointer-events: none;
  transform: rotate(24deg);
}
.galaxy .shooting-a { top: 18%; left: 4%; animation: shoot 9s linear infinite 2s; }
.galaxy .shooting-b { top: 8%; left: 55%; animation: shoot 13s linear infinite 7.5s; width: 90px; }
.galaxy .shooting-c { top: 40%; left: 30%; animation: shoot 17s linear infinite 12s; width: 110px; }
@keyframes shoot {
  0% { opacity: 0; transform: rotate(24deg) translateX(0); }
  1.5% { opacity: 0.9; }
  6% { opacity: 0; transform: rotate(24deg) translateX(46vw); }
  100% { opacity: 0; transform: rotate(24deg) translateX(46vw); }
}

/* partículas de poeira estelar subindo (seção de planos) */
.galaxy .dust {
  position: absolute;
  bottom: -8px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(204, 253, 66, 0.5);
  opacity: 0;
  pointer-events: none;
  animation: dust-rise 14s linear infinite;
}
.galaxy .dust-1 { left: 8%; animation-delay: 0s; }
.galaxy .dust-2 { left: 26%; animation-delay: 4s; background: rgba(255, 255, 255, 0.45); animation-duration: 18s; }
.galaxy .dust-3 { left: 47%; animation-delay: 9s; }
.galaxy .dust-4 { left: 66%; animation-delay: 2s; background: rgba(255, 255, 255, 0.4); animation-duration: 16s; }
.galaxy .dust-5 { left: 84%; animation-delay: 6s; }
.galaxy .dust-6 { left: 94%; animation-delay: 11s; background: rgba(255, 255, 255, 0.35); animation-duration: 20s; }
@keyframes dust-rise {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  8% { opacity: 0.8; }
  60% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-70vh) scale(0.4); }
}

.galaxy > .container, .galaxy .inner { position: relative; }

/* ═══ cabeçalho ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-header .brand { display: flex; align-items: center; }
.site-header .brand img { height: 20px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 20px; }
.site-header nav .nav-link {
  font-size: 13px;
  font-weight: 500;
  color: #9aa0ad;
  text-decoration: none;
  transition: color 0.15s;
}
.site-header nav .nav-link:hover { color: #fff; }
@media (max-width: 639px) {
  .site-header nav .nav-link { display: none; }
}

/* ═══ botões (raio 6px — DS v1.0) ═══ */
.btn {
  display: inline-block;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.3s;
}
.btn:active { transform: scale(0.98); }
.btn-lime { background: var(--lime); color: #151515; }
.btn-lime:hover {
  background: var(--lime-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(204, 253, 66, 0.35);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 500;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.55); transform: translateY(-1px); }
/* no cabeçalho escuro, o botão "Entrar" inverte: claro sobre o preto */
.btn-ink {
  background: #f2f1ed;
  color: #151515;
  padding: 8px 16px;
  font-size: 13px;
}
.btn-ink:hover { background: #ffffff; }
.btn-block { display: block; text-align: center; }

/* ═══ tipografia de seção ═══ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section-title {
  margin-top: 12px;
  max-width: 42rem;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: normal;
}
.section-lede {
  margin-top: 12px;
  max-width: 42rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: normal;
  color: var(--ink-2);
}
@media (min-width: 640px) {
  .section-title { font-size: 32px; }
}

/* ═══ hero ═══ */
.hero .inner { padding: 80px 0 150px; max-width: 44rem; }
.hero .eyebrow { color: var(--lime); }
/* sem tracking negativo: título e subtítulo respiram com espaçamento normal */
.hero h1 {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: normal;
  color: #fff;
}
/* cores fixas (não tokens): o painel é sempre escuro */
.hero .sub {
  margin-top: 20px;
  max-width: 37rem;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: normal;
  color: #c3c8d3;
}
.hero .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 640px) {
  .hero .inner { padding: 120px 0 190px; }
  .hero h1 { font-size: 52px; }
  .hero .sub { font-size: 16.5px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 64px; }
}

/* entrada do hero: cascata de fade-up ao carregar */
.hero .inner > * { animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero .inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero .inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero .inner > *:nth-child(3) { animation-delay: 0.3s; }
.hero .inner > *:nth-child(4) { animation-delay: 0.45s; }
.hero .inner > *:nth-child(5) { animation-delay: 0.6s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* ── sistema orbital (desktop): anéis girando com satélites + planeta ── */
.orbit-system {
  display: none;
  position: absolute;
  right: -200px;
  top: 44%;
  width: 660px;
  height: 660px;
  transform: translateY(-50%);
  pointer-events: none;
}
@media (min-width: 1024px) { .orbit-system { display: block; } }
.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  animation: orbit-spin 70s linear infinite;
}
.orbit-2 { inset: 100px; border-color: rgba(255, 255, 255, 0.09); animation-duration: 46s; animation-direction: reverse; }
.orbit-3 { inset: 200px; border-color: rgba(204, 253, 66, 0.12); animation-duration: 30s; }
.orbit .sat {
  position: absolute;
  top: -3.5px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ccfd42;
  box-shadow: 0 0 14px 3px rgba(204, 253, 66, 0.55);
}
.orbit-2 .sat {
  width: 5px; height: 5px; top: -2.5px;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
}
.orbit-3 .sat { width: 6px; height: 6px; top: -3px; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 120px; height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #2b3242 0%, #12141c 55%, #07080c 100%);
  box-shadow:
    inset -20px -16px 44px rgba(0, 0, 0, 0.85),
    inset 6px 8px 24px rgba(204, 253, 66, 0.14),
    0 0 70px rgba(204, 253, 66, 0.12);
}

/* ── constelação: pontos ligados, pulsando devagar ── */
.constellation {
  position: absolute;
  left: 4%;
  bottom: 22%;
  width: 340px;
  height: 200px;
  opacity: 0.5;
  pointer-events: none;
}
.constellation line { stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.constellation circle { fill: #fff; animation: const-pulse 5s ease-in-out infinite; }
.constellation circle.lime { fill: #ccfd42; }
.constellation circle:nth-of-type(2n) { animation-delay: 1.4s; }
.constellation circle:nth-of-type(3n) { animation-delay: 2.6s; }
@keyframes const-pulse { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.25; } }
@media (max-width: 767px) { .constellation { display: none; } }

/* ── horizonte de planeta ──
   CONTINUIDADE: o arco precisa ATRAVESSAR a fronteira hero → módulos, senão
   o corte do `overflow:hidden` vira uma linha reta visível. Por isso o hero
   é `overflow: visible` e quem recorta as camadas decorativas é o .sky-clip.
   O interior do planeta é exatamente #050508 — a mesma cor do body e das
   seções seguintes — então só o brilho do horizonte aparece, e todo o
   conteúdo abaixo fica "sobre a superfície" do planeta. */
.galaxy.hero { overflow: visible; }
.hero .sky-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero .horizon {
  position: absolute;
  left: 50%;
  top: calc(100% - 150px);
  width: 190%;
  min-width: 1100px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #050508;
  box-shadow:
    0 -1px 0 rgba(204, 253, 66, 0.5),
    0 -14px 40px rgba(204, 253, 66, 0.18),
    0 -50px 120px rgba(204, 253, 66, 0.08);
  pointer-events: none;
  /* SEM z-index de propósito: a ordem natural do DOM já põe o arco acima do
     hero e abaixo de tudo que vem depois. Um z-index aqui faria o arco (que
     é altíssimo) cobrir as seções seguintes. */
}

/* fita de etapas: o fluxo "roda" sozinho — cada chip acende na sua vez */
.stage-strip { margin-top: 52px; }
.stage-strip .chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
}
.stage-strip .chip {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px 10px;
  color: #c3c8d3;
  white-space: nowrap;
  animation: chip-run 8s ease-in-out infinite;
}
.stage-strip .chip:nth-child(1) { animation-delay: 0s; }
.stage-strip .chip:nth-child(3) { animation-delay: 2s; }
.stage-strip .chip:nth-child(5) { animation-delay: 4s; }
@keyframes chip-run {
  0%, 20%, 100% { border-color: rgba(255, 255, 255, 0.15); color: #c3c8d3; background: transparent; }
  6%, 12% { border-color: rgba(204, 253, 66, 0.6); color: #ccfd42; background: rgba(204, 253, 66, 0.08); }
}
.stage-strip .chip.done {
  border-color: rgba(204, 253, 66, 0.5);
  background: rgba(204, 253, 66, 0.1);
  color: var(--lime);
  animation: chip-done 8s ease-in-out infinite 6s;
}
@keyframes chip-done {
  0%, 20%, 100% { box-shadow: none; }
  6%, 12% { box-shadow: 0 0 18px rgba(204, 253, 66, 0.35); }
}
.stage-strip .arrow { display: flex; color: rgba(255, 255, 255, 0.3); }
.stage-strip .caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══ módulos — grid bento com famílias de cor do DS ═══
   Cards largos (.wide) ancoram cada fileira e ganham uma mini-ilustração
   em CSS puro; os demais completam o mosaico. Ícones tintados pela família
   de módulo do DS v1.0, na paleta ESCURA: a seção continua o céu do hero
   (fundo chapado #050508, o mesmo tom em que o radial do hero termina),
   para o arco do horizonte não quebrar em branco. */
/* fundo transparente: o arco do hero (que passa por cima) e o body #050508
   é que preenchem — assim não existe fronteira de cor nenhuma aqui. */
.galaxy.modules { background: transparent; }
.modules { padding: 96px 0 64px; }
.modules .eyebrow { color: var(--lime); }
.modules .section-title { color: #fff; }
.modules .section-lede { color: #c3c8d3; }
.modules .grid {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .modules { padding: 96px 0; }
  .modules .grid { grid-template-columns: repeat(2, 1fr); }
  .module-card.wide { grid-column: span 2; }
}
@media (min-width: 1024px) { .modules .grid { grid-template-columns: repeat(4, 1fr); } }

.module-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(24, 26, 33, 0.6);
  padding: 20px;
  transition: border-color 0.2s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.module-card:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
/* famílias de módulo na paleta ESCURA do DS (m-com/m-crm/m-kan/m-ops) */
.module-card .icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #252e10;
  color: #ccfd42;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.module-card:hover .icon { transform: scale(1.1) rotate(-4deg); }
.module-card .icon.crm { background: #1e222a; color: #a9b8cc; }
.module-card .icon.kan { background: #242233; color: #b0a9ce; }
.module-card .icon.ops { background: #282619; color: #c4be9e; }
.module-card h3 {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.module-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: #a9adb8; }

/* ── telas reais do sistema, em moldura de janela ──
   A captura sangra até as bordas do card e "emerge" da base, como uma
   janela entrando em cena. As imagens são 16:10 (mesma proporção do
   frame), então `cover` não corta nada; `loading=lazy` no HTML mantém o
   carregamento inicial leve. */
.module-card.shot { padding-bottom: 0; overflow: hidden; }
.module-card .frame {
  margin: 22px -1px 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 -14px 50px rgba(204, 253, 66, 0.07);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.module-card.shot:hover .frame { transform: translateY(-4px); }
.module-card .frame .bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  background: #f2f1ed;
  border-bottom: 1px solid #e0ded7;
}
.module-card .frame .bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2cfc6;
}
.module-card .frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

/* ═══ como funciona ═══ (segue o céu: painel um tom acima do preto) */
.how {
  background: #0b0c11;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0;
}
.how .eyebrow { color: var(--lime); }
.how .section-title { color: #fff; }
@media (min-width: 640px) { .how { padding: 80px 0; } }
.how .steps {
  margin-top: 40px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .how .steps { grid-template-columns: repeat(3, 1fr); } }
.how .step .num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
}
.how .step h3 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.how .step p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: #a9adb8; }

/* ═══ planos — galáxia profunda, o coração "espacial" da página ═══ */
.plans { padding: 88px 0 96px; }
@media (min-width: 640px) { .plans { padding: 110px 0 120px; } }
.plans .eyebrow { color: var(--lime); }
.plans .section-title { color: #fff; }
.plans .section-lede { color: #c3c8d3; }
.plans .grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) { .plans .grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  /* sem backdrop-filter: fundo sólido translúcido custa quase nada */
  background: rgba(24, 26, 33, 0.6);
  padding: 26px 24px;
  transition: border-color 0.2s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.plan-card:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-4px); }
.plan-card.featured {
  border-color: rgba(204, 253, 66, 0.45);
  background: rgba(34, 39, 26, 0.65);
  box-shadow: 0 0 60px rgba(204, 253, 66, 0.12);
}
.plan-card.featured:hover { border-color: rgba(204, 253, 66, 0.7); }
.plan-card .plan-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: #fff;
}
.plan-card .plan-desc { margin-top: 4px; font-size: 13px; line-height: 1.5; color: #9aa0ad; }
.plan-card .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan-card .price .cur { font-family: var(--mono); font-size: 13px; color: #9aa0ad; }
.plan-card .price .val {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.plan-card.featured .price .val { color: var(--lime); }
.plan-card .price .per { font-family: var(--mono); font-size: 11px; color: #9aa0ad; }
/* "Consultar" (Enterprise): mesmo peso visual da linha de preço, corpo menor */
.plan-card .price .val-txt { font-size: 30px; line-height: 44px; }
.plan-card .btn { margin-top: 28px; }
.plan-card .price { flex: 1; align-content: flex-start; }
.plans .plans-note {
  margin-top: 22px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}
.plans .plans-note a { color: rgba(255, 255, 255, 0.65); text-underline-offset: 2px; }

/* CTA final dentro da mesma galáxia dos planos — a página termina no espaço */
.plans .final-cta {
  margin-top: 96px;
  text-align: center;
}
.plans .final-cta h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.026em;
  color: #fff;
}
@media (min-width: 640px) { .plans .final-cta h2 { font-size: 38px; } }
.plans .final-cta p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: #c3c8d3; }
.plans .final-cta .ctas {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ═══ rodapé ═══ */
.site-footer { background: #050508; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.site-footer .brand { display: flex; align-items: center; }
.site-footer .brand img { height: 16px; width: auto; opacity: 0.85; }
.site-footer nav { display: flex; align-items: center; gap: 16px; }
.site-footer nav a {
  font-size: 12px;
  font-weight: 500;
  color: #9aa0ad;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer nav a:hover { color: #fff; }
.site-footer .legal {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══ modal do formulário de contato (assets/form-modal.js) ═══
   O iframe do formulário público do app só recebe src quando o modal
   abre — zero custo no carregamento da página. */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 5, 8, 0.65);
}
.form-modal.open { display: flex; }
.form-modal .dialog {
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(21, 21, 21, 0.12), 0 2px 6px rgba(21, 21, 21, 0.06);
  animation: modal-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.form-modal .dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.form-modal .dialog-head h2 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.form-modal .close {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.form-modal .close:hover { background: var(--surface); color: var(--ink); }
.form-modal .dialog-body { overflow-y: auto; padding: 6px; }
.form-modal iframe { width: 100%; border: 0; overflow: hidden; height: 460px; display: block; }

/* ═══ reveals de scroll (classes aplicadas por assets/motion.js) ═══ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}
.reveal-zoom { transform: translateY(20px) scale(0.97); }
.reveal.in { opacity: 1; transform: none; }
html.no-motion .reveal { opacity: 1; transform: none; transition: none; }

/* ═══ acessibilidade: nada se move para quem pediu menos movimento ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero .inner > * { opacity: 1; transform: none; }
}
