/* ============================================================
   athena. — Landing Page v2
   Design system consolidado (ATHENA-DESIGN-SYSTEM.md):
   claro em :root, escuro em .dark — mesmos tokens nos dois.
   Laranja (--brand-500) é receita, ação e estado ativo. Nunca decoração.
   ============================================================ */

:root {
  /* --- superfícies e tinta (tema claro) --- */
  --surface: #F5F7FA;
  --surface-card: #FFFFFF;
  --surface-2: #F2F4F7;
  --line: #E3E7ED;
  --line-strong: #D5DAE2;
  --ink-900: #0F1420;
  --ink-700: #4A5265;
  --ink-500: #667085;
  --ink-400: #656E82;
  --ink-300: #98A2B3;

  /* --- marca --- */
  --brand-500: #F97316;
  --brand-600: #EA580C;
  --brand-700: #C2410C;
  --brand-fg: #C2410C;              /* texto laranja legível sobre fundo claro */
  --orange-soft: rgba(249, 115, 22, 0.08);
  --athena-orange-12: rgba(249, 115, 22, 0.12);

  /* --- semântica --- */
  --color-ok: #16A34A;
  --color-warn: #D97706;
  --color-danger: #DC2626;
  --color-info: #3B82F6;

  /* --- gráfico --- */
  --chart-grid: #EEF1F5;
  --chart-tick: #98A2B3;

  /* --- raios (oito degraus; os tokenizados) --- */
  --r-sub: 8px;
  --r-btn: 9px;
  --r-inner: 12px;
  --r-card: 16px;
  --r-pill: 9999px;

  /* --- fontes --- */
  /* sem JetBrains Mono na LP: rótulos/labels em Host Grotesk (caps),
     como o DS usa em cabeçalho de coluna — mono só existiria para SKU/UTM */
  --font-body: "Host Grotesk", system-ui, sans-serif;
  --font-display: "Funnel Display", "Host Grotesk", system-ui, sans-serif;
  --font-mono: "Host Grotesk", system-ui, sans-serif;

  /* --- por tema, não-token DS (decorativos da LP) --- */
  --nav-bg: rgba(245, 247, 250, 0.78);
  --scrim: rgba(245, 247, 250, 0.96);
  --spotlight: rgba(15, 20, 32, 0.04);
  --hatch-ink: rgba(15, 20, 32, 0.16);
  --frame-shadow: 0 40px 120px rgba(15, 20, 32, 0.16);

  /* --- aliases legados (mapeados; não criar novos usos) --- */
  --bg: var(--surface);
  --bg-elev: var(--surface-card);
  --card: var(--surface-card);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --text: var(--ink-900);
  --text-2: var(--ink-700);
  --text-3: var(--ink-400);
  --accent: var(--brand-500);
  --accent-soft: var(--athena-orange-12);
  --ok: var(--color-ok);
  --warn: var(--color-warn);
  --err: var(--color-danger);
  --info: var(--color-info);
  --radius: var(--r-card);
  --hatch: repeating-linear-gradient(
    -45deg,
    transparent 0 5px,
    var(--hatch-ink) 5px 7px
  );
}

.dark {
  --surface: #0B0D12;
  --surface-card: #12151C;
  --surface-2: #1B1F28;
  --surface-3: #232833;
  --line: #1B1F28;
  --line-strong: #232833;
  --ink-900: #F0F3F8;
  --ink-700: #A8B2C2;
  --ink-500: #8A94A6;
  --ink-400: #9AA5B8;
  --ink-300: #5A6478;

  --brand-fg: #FDBA74;

  --color-ok: #22C55E;
  --color-warn: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;

  --chart-grid: #1B1F28;
  --chart-tick: #5A6478;

  --nav-bg: rgba(11, 13, 18, 0.72);
  --scrim: rgba(11, 13, 18, 0.96);
  --spotlight: rgba(255, 255, 255, 0.05);
  --hatch-ink: rgba(240, 243, 248, 0.14);
  --frame-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

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

/* Suavização nativa só sem Lenis — com Lenis ativo as duas brigam e o scroll trava */
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }

body {
  background: var(--surface);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brand-500); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.02em; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.accent { color: var(--brand-500); }
.muted { color: var(--ink-400); }

.dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  margin-right: 8px; vertical-align: 1px; background: var(--ink-300);
}
.nowrap { white-space: nowrap; }
.dot-ok { background: var(--color-ok); }
.dot-warn { background: var(--color-warn); }
.dot-err { background: var(--color-danger); }
.dot-info { background: var(--color-info); }

/* ---------- Wordmark: "athena." minúsculo, ponto laranja ---------- */
.wordmark {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.02em; text-transform: lowercase;
  color: var(--ink-900);
}
.wordmark .wm-dot { color: var(--brand-500); }
/* símbolo em currentColor via mask — herda a tinta do tema (DS §7) */
.brand-symbol {
  display: block; height: 30px; aspect-ratio: 350 / 436;
  background: var(--ink-900);
  -webkit-mask: url("athena-svg.svg") no-repeat center / contain;
  mask: url("athena-svg.svg") no-repeat center / contain;
}

/* ---------- Reveals (só com JS ativo) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  display: flex; position: fixed; inset: 0; z-index: 200;
  background: var(--surface); align-items: center; justify-content: center;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.js .preloader.done { transform: translateY(-100%); }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.preloader-logo { height: 64px; }
.preloader-mark { font-size: 1.6rem; }
.preloader-count {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-400);
  font-variant-numeric: tabular-nums;
}

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  /* sem mix-blend-mode: difference — força recomposição da página inteira a cada frame */
  .js .cursor-dot {
    display: block; position: fixed; z-index: 150; pointer-events: none;
    width: 6px; height: 6px; border-radius: 50%; background: var(--ink-900);
    left: 0; top: 0; opacity: 0.85;
  }
  .js .cursor-ring {
    display: block; position: fixed; z-index: 150; pointer-events: none;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--ink-300);
    left: 0; top: 0; opacity: 0.7;
    transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  }
  .js .cursor-ring.on { width: 56px; height: 56px; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  width: min(1280px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .brand-symbol { height: 30px; }
.brand-mark { font-size: 1.25rem; line-height: 1; }
.brand-by { font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-400); transform: translateY(2px); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.85rem; color: var(--ink-700); transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--ink-900); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Toggle de tema: botão quadrado 28px, raio 7 (DS §5.1) */
.theme-toggle {
  width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center;
  color: var(--ink-500); background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--ink-900); }
.theme-toggle svg { width: 16px; height: 16px; stroke-width: 1.75; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
.dark .theme-toggle .icon-sun { display: block; }
.dark .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none; flex-direction: column; gap: 6px; padding: 10px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink-900);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 90; background: var(--scrim);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-links { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.menu-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 2.2rem;
  letter-spacing: -0.02em; color: var(--ink-700); padding: 6px 20px;
  transition: color 0.25s ease;
}
.menu-links a:hover { color: var(--ink-900); }
.menu-links a.menu-cta { color: var(--brand-500); }
.menu-links a.menu-cta-2 { color: var(--ink-700); font-size: 1.5rem; }

/* ---------- Botões (raio 9 do DS; escala de LP) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: var(--r-btn); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; transition: background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; stroke-width: 1.75; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand-500); color: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost {
  border: 1px solid var(--line-strong); background: var(--surface-card); color: var(--ink-700);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--ink-900); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400);
  display: flex; align-items: center; margin-bottom: 24px;
}
.eyebrow .dash {
  display: inline-block; width: 24px; height: 1px;
  background: var(--ink-300); margin-right: 12px;
}
.h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06;
  letter-spacing: -0.03em; text-wrap: balance;
}
.section-lead {
  max-width: 560px; color: var(--ink-700); font-size: 1.05rem;
  margin-top: 24px;
}
.section { padding: clamp(96px, 11vw, 160px) 0; }
.section-tight { padding-bottom: clamp(64px, 8vw, 110px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 40px; overflow: hidden;
}
.hero-globe {
  position: absolute; z-index: 1;
  top: 4svh; right: -10vw;
  width: min(54vw, 780px); aspect-ratio: 1;
  display: flex; align-items: flex-start; justify-content: center;
}
#globe { display: block; touch-action: pan-y; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.gooey-defs { position: absolute; width: 0; height: 0; }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 32px; align-items: flex-start; }
/* o slogan é longo e quebra em 2 linhas no mobile — o marcador fica na 1ª linha */
.hero-eyebrow .dot { flex: none; margin-top: 0.5em; }
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 6.6vw, 5.4rem); line-height: 1.02;
  letter-spacing: -0.04em;
}
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .line-mask .line { display: block; transform: translateY(115%); }

/* Gooey text morphing (filtro de threshold + blur cruzado) */
.gooey-line {
  position: relative; display: block; height: 1.02em;
  filter: url(#threshold) blur(0.4px);
}
.gooey-word {
  position: absolute; left: 0; top: 0;
  display: inline-block; white-space: nowrap;
  user-select: none;
}
.hero-sub {
  max-width: 540px; margin-top: 36px; color: var(--ink-700); font-size: 1.08rem;
}
.hero-sub strong { color: var(--ink-900); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero-trial {
  display: flex; align-items: flex-start; margin-top: 22px;
  color: var(--ink-400); max-width: 540px;
}
.hero-trial .dot { flex: none; margin-top: 0.5em; background: var(--color-ok); }
.final-mail { margin-top: 28px; color: var(--ink-400); }
.final-mail a { color: var(--ink-700); border-bottom: 1px solid var(--line-strong); }
.final-mail a:hover { color: var(--brand-600); border-bottom-color: var(--brand-500); }

/* ---------- CTA recorrente (faixa + card no bento) ---------- */
.ctaband {
  margin-top: clamp(56px, 6vw, 88px);
  display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--surface-card);
  border-radius: var(--r-card); padding: clamp(26px, 3.4vw, 40px);
}
.ctaband-label { color: var(--brand-fg); margin-bottom: 14px; }
.ctaband-label .dot { background: var(--brand-500); }
.ctaband h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.025em;
  margin-bottom: 10px; text-wrap: balance;
}
.ctaband-copy > p:last-child { color: var(--ink-700); font-size: 0.95rem; max-width: 52ch; }
.ctaband-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Integrações sob demanda ---------- */
.newint {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px);
  align-items: center;
  border: 1px dashed var(--line-strong); border-radius: var(--r-card);
  padding: clamp(26px, 3.4vw, 40px);
}
.newint-label { color: var(--ink-400); margin-bottom: 14px; }
.newint h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.newint-copy > p:last-child { color: var(--ink-700); font-size: 0.95rem; max-width: 58ch; }
.newint-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* .chip é declarado depois, na seção de integrações — precisa de especificidade */
.chip.chip-new {
  border: 1px dashed var(--line-strong);
  color: var(--brand-fg); background: transparent;
}

/* ---------- Clientes (faixa de logos sob o hero) ---------- */
.clients {
  position: relative; z-index: 3;
  padding: 0 0 clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 4vw, 48px);
}
.clients-label {
  color: var(--ink-400); margin-bottom: 32px;
  display: flex; align-items: flex-start;
}
.clients-label .dot { flex: none; margin-top: 0.5em; }
.logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logos-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-group {
  display: flex; align-items: center;
  gap: clamp(40px, 4.6vw, 68px); padding-right: clamp(40px, 4.6vw, 68px);
}
.logo-item {
  flex: none; display: grid; place-items: center;
  height: 44px; width: 158px;
}
.logo-item img {
  /* max-height em px, não %: dentro de grid a porcentagem não constrange */
  max-height: 22px; max-width: 158px; width: auto; height: auto;
  object-fit: contain;
  /* normaliza qualquer logo para a tinta do tema: preto no claro, branco no escuro */
  filter: brightness(0);
  opacity: 0.45;
  transition: opacity 0.35s ease;
}
.dark .logo-item img { filter: brightness(0) invert(1); }
.logos:hover .logo-item img { opacity: 0.24; }
.logo-item:hover img { opacity: 1; }
/* equilíbrio óptico por marca — símbolo+texto pede mais altura que wordmark puro */
.logo-item img[src*="brogan"]       { max-height: 40px; }
.logo-item img[src*="jalecos"]      { max-height: 40px; }
.logo-item img[src*="blueinfantis"] { max-height: 34px; }
.logo-item img[src*="casarenata"]   { max-height: 32px; }
.logo-item img[src*="botineiros"]   { max-height: 30px; }
.logo-item img[src*="democrata"]    { max-height: 20px; }
.logo-item img[src*="saltare"]      { max-height: 20px; }
.logo-item img[src*="bazara33"]     { max-height: 17px; }
.logo-item img[src*="perlatto"]     { max-height: 15px; }

/* ---------- Co-criação ---------- */
.slogan { text-wrap: normal; }
.loop {
  list-style: none; margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.loop-step {
  position: relative;
  background: var(--surface-card);
  border-radius: var(--r-card); padding: 26px 24px;
}
/* conector no gutter entre os passos */
.loop-step:not(:last-child)::before {
  content: ""; position: absolute; top: 50%; right: -17px; width: 17px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.loop-num {
  display: block; color: var(--brand-fg); margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.loop-step h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -0.015em; margin-bottom: 10px;
}
.loop-step p { font-size: 0.88rem; color: var(--ink-700); }
.loop-back {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px; color: var(--ink-400);
}
.loop-back svg { width: 15px; height: 15px; flex-shrink: 0; stroke-width: 1.75; }

.sub-h {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em;
  margin-top: clamp(72px, 8vw, 110px);
}
.shipped {
  list-style: none; margin-top: 32px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden;
}
.shipped li { background: var(--surface-card); padding: 28px 26px; }
.shipped-src { color: var(--ink-400); margin-bottom: 14px; }
.shipped h4 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -0.015em; margin-bottom: 8px;
}
.shipped li > p:last-child { font-size: 0.88rem; color: var(--ink-700); }
.cocria-note { margin-top: 28px; color: var(--ink-400); }

/* ---------- Container Scroll (o produto) ---------- */
.cscroll { position: relative; }
.js .cscroll { height: 240vh; }
.no-scrub .cscroll { height: auto !important; }
.no-scrub .cscroll-sticky { position: static !important; height: auto !important; }
.cscroll-sticky {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: clamp(24px, 4vh, 48px);
  padding: 48px 0;
}
.js .cscroll-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
}
.cscroll-head { text-align: center; }
.cscroll-head .eyebrow { justify-content: center; }
.cframe {
  width: min(1080px, 92vw);
  background: var(--surface-card); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--frame-shadow);
  transform-style: preserve-3d; will-change: transform;
}
.cframe-top {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.cframe-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-strong);
}
.cframe-url {
  margin-inline: auto; color: var(--ink-400);
  background: var(--surface-card); border: 1px solid var(--line);
  border-radius: var(--r-sub); padding: 4px 14px;
}
.cframe-screen {
  position: relative; aspect-ratio: 16 / 9.2;
  background: var(--surface-card); overflow: hidden;
}
.cframe-img { display: none; width: 100%; height: auto; will-change: transform; }
.cframe.has-print .cframe-img { display: block; }
.cframe.has-print .dashboard { display: none; }
.cframe-screen .dashboard { margin: 0; border: 0; border-radius: 0; }

/* ---------- Compare light × dark ---------- */
.compare-hint { display: block; margin-top: 10px; color: var(--ink-400); }
.compare {
  position: relative; margin-top: 56px;
  aspect-ratio: 16 / 9; border-radius: var(--r-card);
  overflow: hidden; border: 1px solid var(--line-strong);
  cursor: ew-resize; touch-action: pan-y; user-select: none;
}
.compare-img {
  position: absolute; inset: 0 auto auto 0;
  width: 100%; height: auto; display: block;
  pointer-events: none;
}
.compare-top {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0);
}
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--x, 50%);
  width: 2px; margin-left: -1px;
  background: var(--ink-900);
  opacity: 0.7;
  pointer-events: none;
}
.compare-grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-card); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.compare-grip svg { width: 18px; height: 18px; color: var(--ink-700); stroke-width: 1.75; }

/* ---------- Text reveal (punchline) ----------
   só apaga as palavras depois que o JS confirma que vai animá-las;
   sem GSAP (modo leve), o texto fica legível do jeito normal */
.js .pain-punch.has-reveal .w { opacity: 0.14; }

/* ---------- Dashboard mockup (fallback do print) ---------- */
.dashboard {
  position: relative; z-index: 2; margin-top: clamp(64px, 8vw, 110px);
  background: var(--surface-card); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 24px;
  transform-style: preserve-3d;
}
.dash-top {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.dash-org {
  display: flex; align-items: center; gap: 10px; font-weight: 600;
  font-size: 0.9rem; background: var(--surface-2);
  border-radius: var(--r-btn); padding: 8px 14px;
}
.dash-org svg { width: 14px; height: 14px; color: var(--ink-400); }
.dash-org-avatar {
  width: 22px; height: 22px; border-radius: 6px; background: var(--athena-orange-12);
  color: var(--brand-fg); display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 600;
}
.dash-period { color: var(--ink-400); }
.dash-sync { color: var(--ink-400); margin-left: auto; }

.dash-kpis {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px; padding: 20px 0;
}
.kpi {
  background: var(--surface-2);
  border-radius: var(--r-inner); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.kpi-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); }
.kpi-value {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap;
  color: var(--ink-900); /* número é sempre ink-900 — nunca laranja (DS §10) */
}
.kpi-delta { font-family: var(--font-mono); font-size: 0.65rem; font-variant-numeric: tabular-nums; }
.kpi-delta.up { color: var(--color-ok); }
.kpi-delta.down { color: var(--color-danger); }

.dash-body {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px;
}
.dash-chart {
  background: var(--surface-2);
  border-radius: var(--r-inner); padding: 16px;
}
.dash-chart figcaption {
  color: var(--ink-400); display: flex; justify-content: space-between;
  margin-bottom: 12px;
}
.chart-key { display: inline-flex; align-items: center; gap: 6px; }
.key { display: inline-block; width: 14px; height: 2px; border-radius: 2px; margin-left: 10px; }
.key-accent { background: var(--brand-500); }
.key-muted { background: var(--ink-300); }
.dash-chart svg { width: 100%; height: clamp(120px, 16vw, 190px); }
.chart-grid line { stroke: var(--chart-grid); stroke-width: 1; }
.chart-prev { fill: none; stroke: var(--chart-tick); stroke-width: 1.5; stroke-dasharray: 4 5; }
.chart-line { fill: none; stroke: var(--brand-500); stroke-width: 2; }
.chart-area { fill: var(--orange-soft); stroke: none; }
.js .chart-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.js .dashboard.in .chart-line {
  animation: drawline 2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}
@keyframes drawline { to { stroke-dashoffset: 0; } }

.dash-attr {
  background: var(--surface-2);
  border-radius: var(--r-inner); padding: 16px; display: flex; flex-direction: column;
}
.dash-attr-title { color: var(--ink-400); margin-bottom: 12px; }
.dash-attr table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.dash-attr td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.dash-attr td.num { text-align: right; font-family: var(--font-mono); font-size: 0.75rem; }
.dash-attr tr:last-child td { border-bottom: 0; }
.dash-gap {
  margin-top: auto; padding-top: 12px; color: var(--ink-400);
}

/* ---------- O problema ---------- */
.pain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px;
}
.pain-card {
  position: relative; overflow: hidden;
  background: var(--surface-card);
  border-radius: var(--r-card); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.pain-source { color: var(--ink-400); }
.pain-value {
  font-family: var(--font-display); font-weight: 600; font-size: 1.9rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.pain-note { font-size: 0.85rem; color: var(--ink-700); }
.pain-punch {
  margin-top: 48px; font-size: 1.25rem; color: var(--ink-700); max-width: 620px;
}
.pain-punch strong { color: var(--ink-900); }

/* ---------- Spotlight (hover) ---------- */
[data-spotlight] { position: relative; }
[data-spotlight]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--mx, 50%) var(--my, 50%),
    var(--spotlight), transparent 45%
  );
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
[data-spotlight]:hover::after { opacity: 1; }

/* ---------- Letreiro (ticker discreto) ---------- */
.giant {
  overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--line);
  white-space: nowrap;
}
.giant-track { display: inline-flex; animation: giant-scroll 40s linear infinite; }
.giant-track span {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.72rem; line-height: 1.6;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-400);
}
@keyframes giant-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Atribuição ---------- */
.attr-demo {
  margin-top: 64px; background: var(--surface-card);
  border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 44px);
}
/* segmentado do DS: trilho surface-2, raio 9; item raio 7 */
.attr-toggle {
  display: inline-flex; gap: 4px; background: var(--surface-2);
  border-radius: var(--r-btn); padding: 3px; margin-bottom: 40px;
}
.attr-btn {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--ink-500); padding: 8px 16px; border-radius: 7px;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.attr-btn.is-active {
  background: var(--surface-card); color: var(--ink-900);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.attr-bar {
  display: flex; gap: 4px; height: 96px; margin-bottom: 20px;
}
.attr-seg {
  flex: var(--f) 1 0%; min-width: 5px;
  border-radius: var(--r-sub);
  transition: flex-grow 1.1s cubic-bezier(0.65, 0, 0.35, 1),
    background 0.6s ease;
}
/* barra de receita por canal: laranja com alpha proporcional ao share */
.attr-seg:nth-child(1) { background: rgba(249, 115, 22, 0.30); }
.attr-seg:nth-child(2) { background: rgba(249, 115, 22, 0.62); }
.attr-seg:nth-child(3) { background: rgba(249, 115, 22, 0.92); }
.attr-seg:nth-child(4) { background: rgba(249, 115, 22, 0.48); }
.attr-seg:nth-child(5) { background: rgba(249, 115, 22, 0.18); }
/* quebra de rastreio: ausência de dado é hachura neutra (DS regra 14) */
.attr-seg-gap {
  background: var(--hatch);
  border: 1px dashed var(--line-strong);
}
.attr-legend {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-bottom: 36px; color: var(--ink-400); font-size: 0.68rem;
}
.leg { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.leg b {
  color: var(--ink-900); font-weight: 500;
  font-variant-numeric: tabular-nums; min-width: 3ch;
}
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sw-1 { background: rgba(249, 115, 22, 0.30); }
.sw-2 { background: rgba(249, 115, 22, 0.62); }
.sw-3 { background: rgba(249, 115, 22, 0.92); }
.sw-4 { background: rgba(249, 115, 22, 0.48); }
.sw-5 { background: rgba(249, 115, 22, 0.18); }
.sw-gap {
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 3px,
    var(--hatch-ink) 3px 4px
  );
  border: 1px dashed var(--line-strong);
}
.attr-caption { color: var(--ink-700); font-size: 0.8rem; max-width: 560px; }

.attr-models {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px;
}
.attr-model {
  background: var(--surface-card);
  border-radius: var(--r-card); padding: 24px; overflow: hidden;
}
.attr-model > span { color: var(--ink-900); display: block; margin-bottom: 12px; }
.attr-model p { font-size: 0.88rem; color: var(--ink-700); }
.attr-footnote { margin-top: 32px; color: var(--ink-400); }

/* ---------- Órbita de módulos (radial orbital) ---------- */
.orbital-stage {
  display: none; margin-top: 64px;
  grid-template-columns: 1fr 320px; gap: 40px; align-items: center;
}
.orbital {
  position: relative; width: min(620px, 48vw); aspect-ratio: 1;
  margin-inline: auto;
}
.orbital-ring {
  position: absolute; border: 1px solid var(--line);
  border-radius: 50%;
}
.ring-1 { inset: 8%; }
.ring-2 { inset: 26%; border-style: dashed; }
.orbital-pulse {
  position: absolute; left: 50%; top: 50%; width: 150px; height: 150px;
  margin: -75px 0 0 -75px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  animation: orbital-pulse 3.2s ease-out infinite;
}
@keyframes orbital-pulse {
  0% { transform: scale(0.86); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}
.orbital-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--surface-card); border: 1px solid var(--line-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; z-index: 3;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.orbital-core-mark { font-size: 1.05rem; line-height: 1; }
.orbital-core-sub { color: var(--ink-400); font-size: 0.55rem; }
.orbital-node {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 96px; margin: -27px 0 0 -48px;
}
.orbital-node-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface-card); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.orbital-node-icon svg { width: 20px; height: 20px; color: var(--ink-700); stroke-width: 1.75; }
.orbital-node:hover .orbital-node-icon { border-color: var(--ink-300); transform: scale(1.08); }
.orbital-node.is-active .orbital-node-icon {
  border-color: var(--brand-500); background: var(--athena-orange-12); transform: scale(1.12);
}
.orbital-node.is-active .orbital-node-icon svg { color: var(--brand-fg); }
.orbital-node-label {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em;
  color: var(--ink-400); white-space: nowrap;
  transition: color 0.3s ease;
}
.orbital-node.is-active .orbital-node-label { color: var(--ink-900); }
.orbital-card { min-height: 220px; display: flex; align-items: center; }
.orbital-hint { color: var(--ink-400); }
.orbital-detail {
  background: var(--surface-card);
  border-radius: var(--r-card); padding: 28px; width: 100%;
  animation: orbital-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes orbital-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.orbital-detail h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.orbital-detail p { font-size: 0.9rem; color: var(--ink-700); }
.orbital-detail .bento-tags { margin-top: 16px; }

@media (min-width: 821px) {
  .js .orbital-stage { display: grid; }
  .js #modulos .bento { display: none; }
}

/* ---------- Bento módulos ---------- */
.bento {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  margin-top: 64px;
}
.bento-card {
  overflow: hidden;
  background: var(--surface-card);
  border-radius: var(--r-card); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.bento-icon {
  width: 44px; height: 44px; border-radius: var(--r-inner);
  background: var(--surface-2);
  display: grid; place-items: center; margin-bottom: 10px;
}
.bento-icon svg { width: 20px; height: 20px; color: var(--ink-700); stroke-width: 1.75; }
.bento-card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.bento-card p { font-size: 0.9rem; color: var(--ink-700); }
.bento-tags { margin-top: auto; padding-top: 10px; color: var(--ink-400); font-size: 0.68rem; }

/* ---------- Integrações / marquee ---------- */
.marquee { margin-top: 56px; display: flex; flex-direction: column; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 16px; padding-right: 16px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: -0.01em; color: var(--ink-700);
  background: var(--surface-card);
  border-radius: var(--r-pill); padding: 14px 28px; white-space: nowrap;
}
.marquee-note { margin-top: 32px; color: var(--ink-400); }

/* ---------- Split (agências / orákulo) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-flip .split-copy { order: 1; }
.split-flip .split-visual { order: 2; }
.feature-list { list-style: none; margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-700); }
.feature-list strong { color: var(--ink-900); font-weight: 600; }
.feature-list svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--ink-400);
  stroke-width: 1.75;
}

.org-switcher {
  background: var(--surface-card);
  border-radius: var(--r-card); padding: 24px;
}
.org-label { color: var(--ink-400); margin-bottom: 16px; }
.org-list { display: flex; flex-direction: column; gap: 8px; }
.org-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 12px; text-align: left; width: 100%;
  background: var(--surface-2); border: 1px solid transparent;
  border-radius: var(--r-inner); padding: 12px 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.org-item.is-active { border-color: var(--brand-500); }
.org-item.is-active .org-avatar { background: var(--athena-orange-12); color: var(--brand-fg); }
.org-avatar {
  width: 30px; height: 30px; border-radius: var(--r-sub); background: var(--surface-card);
  color: var(--ink-400);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}
.org-name { font-weight: 600; font-size: 0.92rem; }
.org-meta { color: var(--ink-400); font-size: 0.62rem; }
.org-preview {
  margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px;
}
.org-preview-label { color: var(--ink-400); margin-bottom: 14px; }
.org-kpis { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 12px; }
.org-kpis > div { display: flex; flex-direction: column; gap: 2px; }
.org-kpis span { color: var(--ink-400); font-size: 0.6rem; }
.org-kpis strong {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.01em; white-space: nowrap;
  color: var(--ink-900); /* número é sempre ink-900 */
}
.org-footnote { margin-top: 16px; color: var(--ink-400); font-size: 0.62rem; }

/* ---------- Orákulo ---------- */
.oraculo-card {
  background: var(--surface-card);
  border-radius: var(--r-card); padding: 24px;
}
.oraculo-label { color: var(--ink-400); margin-bottom: 20px; }
.chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.chat-msg {
  max-width: 78%; background: var(--surface-2);
  border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 0.85rem;
  color: var(--ink-700);
}
.chat-msg-out {
  align-self: flex-end; border-radius: 14px 14px 4px 14px; color: var(--ink-900);
}
.oraculo-score {
  display: flex; gap: 24px; align-items: center;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.score-ring {
  --p: 0;
  position: relative; width: 96px; height: 96px; border-radius: 50%;
  flex-shrink: 0;
  background:
    radial-gradient(closest-side, var(--surface-card) 79%, transparent 80% 100%),
    conic-gradient(var(--color-ok) calc(var(--p) * 1%), var(--surface-2) 0);
  display: grid; place-items: center; place-content: center;
}
.score-value {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.score-max { color: var(--ink-400); font-size: 0.6rem; text-align: center; }
.score-notes { list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-700); }

/* ---------- Segurança (texto de confiança, sem detalhes de infra) ---------- */
.sec-split {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
@media (min-width: 821px) {
  .sec-split { grid-template-columns: 1.2fr 1fr; }
}
.sec-copy {
  max-width: 640px; margin-top: 40px;
  font-size: 1.15rem; line-height: 1.7; color: var(--ink-700);
}

/* Emblema de segurança (desktop): núcleo + anéis + satélites, na
   linguagem da órbita de módulos. Cor semântica só no ponto da pílula. */
.sec-shield {
  display: none;
}
@media (min-width: 821px) {
  .sec-shield {
    display: flex; flex-direction: column; align-items: center; gap: 28px;
  }
}
.shield-stage {
  position: relative; width: min(320px, 26vw); aspect-ratio: 1;
}
.shield-ring {
  position: absolute; border: 1px solid var(--line);
  border-radius: 50%;
}
.shield-ring-1 { inset: 6%; }
.shield-ring-2 { inset: 20%; border-style: dashed; }
.shield-ring-pulse {
  position: absolute; inset: 31%;
  border: 1px solid var(--line-strong); border-radius: 50%;
  animation: orbital-pulse 3.6s ease-out infinite;
}
.shield-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface-card); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
/* núcleo = símbolo da Athena (currentColor via mask, DS §7) */
.shield-logo { height: 46%; }
.shield-sat {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-card); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  animation: shield-float 5s ease-in-out infinite;
}
.shield-sat svg { width: 18px; height: 18px; color: var(--ink-700); }
.shield-sat-0 { left: 14%; top: 6%; animation-delay: -0.8s; }
.shield-sat-1 { left: 2%; top: 46%; animation-delay: 0s; }
.shield-sat-2 { right: 4%; top: 22%; animation-delay: -1.7s; }
.shield-sat-3 { right: 12%; bottom: 8%; animation-delay: -3.4s; }
@keyframes shield-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.shield-pill {
  display: inline-flex; align-items: center;
  background: var(--surface-card); border-radius: var(--r-pill);
  padding: 8px 16px; color: var(--ink-700);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.sec-copy p { margin-bottom: 22px; }
.sec-copy p:last-child { margin-bottom: 0; }
.sec-copy strong { color: var(--ink-900); font-weight: 600; }
.sec-copy a {
  color: var(--brand-fg);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.25s ease;
}
.sec-copy a:hover { border-bottom-color: var(--brand-500); }

/* ---------- CTA final ---------- */
.final {
  position: relative; padding: clamp(140px, 16vw, 240px) 0;
  border-top: 1px solid var(--line); overflow: hidden;
  text-align: center;
}
.final-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
#dotted {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0;
  -webkit-mask-image: linear-gradient(transparent 2%, #000 32%, #000 82%, transparent);
  mask-image: linear-gradient(transparent 2%, #000 32%, #000 82%, transparent);
}
.final .eyebrow { justify-content: center; }
.final-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 8.5vw, 6.5rem); line-height: 1; letter-spacing: -0.04em;
}
.final .section-lead { margin-inline: auto; }
.final .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-symbol { height: 24px; }
.footer-brand .brand-mark { font-size: 1.05rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--ink-400); transition: color 0.25s ease; }
.footer-links a:hover { color: var(--ink-900); }
.footer-legal { display: flex; gap: 20px; color: var(--ink-400); }
.footer-legal a:hover { color: var(--ink-900); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .dash-kpis { grid-template-columns: repeat(3, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .attr-models { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3 { grid-column: span 1; }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .loop-step:nth-child(2)::before { display: none; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .split { grid-template-columns: 1fr; }
  .ctaband, .newint { grid-template-columns: 1fr; }
  .split-flip .split-copy { order: 0; }
  .split-flip .split-visual { order: 1; }
  .dash-body { grid-template-columns: 1fr; }
  .hero-globe {
    top: 34svh; right: -34vw; width: 108vw;
    opacity: 0.75;
  }
  .brand .brand-symbol { height: 26px; }
  .brand-mark { font-size: 1.1rem; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .dashboard { padding: 16px; }
  .cframe-screen { aspect-ratio: 4 / 4.4; }
  .cframe-url { font-size: 0.6rem; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .attr-models { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .loop-step::before { display: none; }
  .ctaband, .newint { grid-template-columns: 1fr; }
  .ctaband-actions .btn, .newint-actions .btn { width: 100%; justify-content: center; }
  .shipped { grid-template-columns: 1fr; }
  .slogan { max-width: none; }
  .logo-item { height: 36px; width: 124px; }
  .logo-item img { max-width: 124px; }
  .attr-bar { height: 72px; }
  .attr-legend { gap: 10px 20px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .dash-sync { display: none; }
}

/* ============================================================
   MODO LEVE (.lite) — celular, ponteiro grosso ou pouca memória.
   Sem WebGL, sem canvas em loop, sem pin de scroll: o conteúdo é
   o mesmo, o custo de CPU cai para perto de zero.
   ============================================================ */

/* globo WebGL fora; no lugar, um brilho em gradiente (composto pela GPU) */
.lite .hero-globe { display: none; }
.lite .hero::after {
  content: ""; position: absolute; z-index: 0;
  top: 10svh; right: -40vw; width: 120vw; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    var(--athena-orange-12) 0%,
    transparent 62%
  );
  pointer-events: none;
}

/* o filtro gooey é caro por quadro: no modo leve a troca é um fade simples */
.lite .gooey-line { filter: none; height: auto; }
.lite .gooey-word {
  position: static; display: block;
  transition: opacity 0.26s ease;
}

/* container scroll sem pin nem 240vh — o frame fica estático */
.lite .cscroll { height: auto; }
.lite .cscroll-sticky { position: static; height: auto; }

/* sem cursor customizado (não existe cursor em touch, mas garante) */
.lite .cursor-dot, .lite .cursor-ring { display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .line-mask .line { transform: none; }
  .giant-track, .marquee-track, .logos-track, .orbital-pulse,
  .shield-ring-pulse, .shield-sat { animation: none; }
  .logos { mask-image: none; -webkit-mask-image: none; }
  .logos-track { width: 100%; }
  .logos-group {
    width: 100%; flex-wrap: wrap; justify-content: center;
    row-gap: 32px; padding-right: 0;
  }
  .logos-group[aria-hidden="true"] { display: none; }
  .logo-item img { opacity: 0.7; }
  .gooey-line { filter: none; }
  .js .cscroll { height: auto; }
  .js .cscroll-sticky { position: static; height: auto; }
  .js .pain-punch .w { opacity: 1; }
  .js .chart-line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .dashboard.in .chart-line { animation: none; }
  .js .preloader { display: none; }
  .js .cursor-dot, .js .cursor-ring { display: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
