/* ============================================================
   ForteBIX — Landing Page
   Direção: precisão industrial / blueprint de armazém
   Navy profundo + azul da marca + âmbar de sinalização
   ============================================================ */

:root {
  --bg: #060d1c;
  --bg-2: #0a1428;
  --panel: #0e1c38;
  --panel-2: #12234a;
  --line: rgba(110, 155, 255, 0.14);
  --line-soft: rgba(110, 155, 255, 0.08);
  --ink: #e9eefb;
  --muted: #92a5c9;
  --blue: #3d6bff;
  --blue-bright: #6e9bff;
  --amber: #ffb020;
  --green: #34d399;
  --font-sans: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

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

::selection { background: var(--amber); color: #1a1204; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.container-narrow { width: min(860px, calc(100% - 48px)); }

/* ---------- textura de grão ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ---------- barra de progresso ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10000;
}

/* ---------- cursor customizado ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; }
  .cursor-dot {
    position: absolute; width: 6px; height: 6px;
    background: var(--amber); border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    position: absolute; width: 34px; height: 34px;
    border: 1px solid rgba(255, 176, 32, 0.55);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.25s var(--ease-out), border-color 0.25s;
  }
  .cursor.is-active .cursor-ring {
    transform: translate(-50%, -50%) scale(1.7);
    border-color: rgba(255, 176, 32, 0.9);
  }
}

/* ---------- faixa de segurança (assinatura visual) ---------- */
.safety-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 14px,
    #0b1428 14px 28px
  );
  opacity: 0.85;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 13, 28, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.nav-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.brand-word b { color: var(--blue-bright); font-weight: 800; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; gap: 10px; }

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); transition: transform 0.3s, opacity 0.3s;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 12px 24px 24px;
  background: rgba(6, 13, 28, 0.97);
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a {
  color: var(--ink); text-decoration: none;
  padding: 12px 4px; font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a.btn { border: 0; margin-top: 12px; justify-content: center; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-solid {
  background: var(--blue); color: #fff;
  box-shadow: 0 0 0 rgba(61, 107, 255, 0);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(61, 107, 255, 0.4);
  background: #4a76ff;
}
.btn-outline {
  border-color: rgba(110, 155, 255, 0.35); color: var(--ink);
  background: rgba(61, 107, 255, 0.06);
}
.btn-outline:hover {
  border-color: var(--blue-bright);
  background: rgba(61, 107, 255, 0.14);
  transform: translateY(-2px);
}
.btn-ghost { color: var(--muted); padding: 12px 14px; }
.btn-ghost:hover { color: var(--ink); }
.btn-amber {
  background: var(--amber); color: #1a1204;
}
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 176, 32, 0.35);
  background: #ffc04a;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 48px);
  background:
    radial-gradient(1000px 600px at 75% 20%, rgba(61, 107, 255, 0.14), transparent 60%),
    radial-gradient(700px 500px at 15% 85%, rgba(255, 176, 32, 0.05), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.9;
}
.hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 13, 28, 0.92) 0%, rgba(6, 13, 28, 0.55) 45%, rgba(6, 13, 28, 0.15) 100%),
    linear-gradient(180deg, rgba(6, 13, 28, 0.6) 0%, transparent 30%, transparent 70%, rgba(6, 13, 28, 0.7) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
}
.kicker-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: clamp(42px, 4.3vw, 62px);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title .line { display: block; }
.hero-title .line-accent {
  background: linear-gradient(92deg, var(--blue-bright) 0%, var(--blue-bright) 34%, var(--amber) 56%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 54ch;
  color: var(--muted);
  font-size: 18.5px;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-chips {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  list-style: none;
}
.hero-chips li {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.08em;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.hero-chips li::before {
  content: ""; width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--blue) 50%, var(--panel-2) 50%);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- painel de operação ao vivo --- */
.ops-panel {
  background: linear-gradient(180deg, rgba(14, 28, 56, 0.92), rgba(10, 20, 40, 0.92));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(61, 107, 255, 0.06) inset;
  backdrop-filter: blur(6px);
}
.ops-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em;
}
.ops-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s infinite;
}
.ops-title { color: var(--muted); }
.ops-live {
  margin-left: auto;
  color: var(--green);
  font-weight: 600;
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }

.ops-feed {
  list-style: none;
  padding: 10px 0;
  min-height: 246px;
  display: flex; flex-direction: column;
}
.ops-feed li {
  display: grid;
  grid-template-columns: 66px 100px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  border-bottom: 1px dashed var(--line-soft);
  animation: feed-in 0.5s var(--ease-out);
}
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-8px); background: rgba(61, 107, 255, 0.12); }
  to { opacity: 1; transform: translateY(0); background: transparent; }
}
.ops-feed .t { color: rgba(146, 165, 201, 0.7); }
.ops-feed .k { font-weight: 600; letter-spacing: 0.04em; }
.ops-feed .k.rec { color: var(--blue-bright); }
.ops-feed .k.put { color: #8ab4ff; }
.ops-feed .k.pick { color: var(--amber); }
.ops-feed .k.exp { color: var(--green); }
.ops-feed .k.inv { color: #c9a8ff; }
.ops-feed .d { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ops-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line-soft);
  background: rgba(6, 13, 28, 0.5);
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--muted);
}
.ops-foot b { color: var(--ink); }
.ops-foot b.ok { color: var(--green); }
.ops-foot b.warn { color: var(--amber); }

/* --- marquee --- */
.stripe-wrap { position: relative; z-index: 2; }
.marquee {
  overflow: hidden;
  background: #08101f;
  border-block: 1px solid var(--line-soft);
  padding: 14px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 34px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i { color: var(--amber); font-style: normal; font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SEÇÕES — base
   ============================================================ */
.section { padding: 120px 0; position: relative; }
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(61, 107, 255, 0.03) 20%, rgba(61, 107, 255, 0.03) 80%, transparent),
    var(--bg-2);
  border-block: 1px solid var(--line-soft);
}

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.section-head h2 em {
  font-style: normal;
  color: var(--blue-bright);
}
.section-sub {
  color: var(--muted);
  margin-top: 18px;
  font-size: 17.5px;
  max-width: 60ch;
}

/* ============================================================
   MÓDULOS — bento
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, var(--panel), rgba(10, 20, 40, 0.7));
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.2s ease-out, box-shadow 0.35s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 220px at var(--mx, 50%) var(--my, 0%), rgba(61, 107, 255, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover { border-color: rgba(110, 155, 255, 0.32); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.card:hover::before { opacity: 1; }
.card-wide { grid-column: span 2; }
.card-glow { border-color: rgba(255, 176, 32, 0.22); }
.card-glow:hover { border-color: rgba(255, 176, 32, 0.5); }
.card-glow .card-tag { color: var(--amber); }

.card-tag {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.14em;
  color: var(--blue-bright);
  margin-bottom: 10px;
}
.card h3 {
  font-size: 24px; font-weight: 700;
  font-stretch: 108%;
  margin-bottom: 10px;
}
.card > p { color: var(--muted); font-size: 15.5px; }
.card-list {
  list-style: none;
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.card-list li {
  font-size: 14.5px; color: var(--muted);
  padding-left: 22px; position: relative;
}
.card-list li::before {
  content: "▸"; position: absolute; left: 0;
  color: var(--amber); font-size: 12px; top: 2px;
}

/* --- vinhetas animadas dos cards --- */
.card-viz {
  height: 96px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line-soft) 39px 40px),
    rgba(6, 13, 28, 0.45);
}

/* recebimento: caixas entrando na doca */
.viz-receive .dock-line {
  position: absolute; left: 0; right: 0; bottom: 22px;
  height: 2px; background: var(--line);
}
.viz-receive .rbox {
  position: absolute; bottom: 26px;
  width: 26px; height: 26px;
  background: linear-gradient(160deg, var(--panel-2), #1a3468);
  border: 1px solid rgba(110, 155, 255, 0.4);
  border-radius: 3px;
  animation: rbox-slide 4.2s var(--ease-out) infinite;
}
.viz-receive .b1 { animation-delay: 0s; }
.viz-receive .b2 { animation-delay: 1.4s; }
.viz-receive .b3 { animation-delay: 2.8s; }
@keyframes rbox-slide {
  0% { left: -12%; opacity: 0; }
  12% { opacity: 1; }
  46% { left: 44%; opacity: 1; }
  58% { left: 44%; opacity: 1; box-shadow: 0 0 18px rgba(61, 107, 255, 0.5); }
  78% { left: 86%; opacity: 1; }
  90%, 100% { left: 104%; opacity: 0; }
}
.viz-receive .rcheck {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  color: var(--green); font-weight: 700; font-size: 15px;
  font-family: var(--font-mono);
  animation: rcheck-pop 4.2s infinite;
  opacity: 0;
}
@keyframes rcheck-pop {
  0%, 46% { opacity: 0; transform: translateX(-50%) scale(0.6); }
  52%, 66% { opacity: 1; transform: translateX(-50%) scale(1); }
  74%, 100% { opacity: 0; transform: translateX(-50%) scale(0.9); }
}

/* estoque: prateleira com células pulsando */
.viz-stock { display: flex; align-items: center; justify-content: center; }
.viz-stock .shelf {
  display: grid;
  grid-template-columns: repeat(6, 22px);
  gap: 6px;
}
.viz-stock .shelf i {
  height: 22px; border-radius: 3px;
  background: rgba(61, 107, 255, 0.18);
  border: 1px solid var(--line);
  animation: cell-glow 3.6s ease-in-out infinite;
}
.viz-stock .shelf i:nth-child(3n) { animation-delay: 0.6s; }
.viz-stock .shelf i:nth-child(3n + 1) { animation-delay: 1.4s; }
.viz-stock .shelf i:nth-child(4n) { animation-delay: 2.2s; background: rgba(255, 176, 32, 0.16); }
@keyframes cell-glow {
  0%, 100% { background: rgba(61, 107, 255, 0.14); }
  50% { background: rgba(61, 107, 255, 0.55); box-shadow: 0 0 12px rgba(61, 107, 255, 0.4); }
}

/* picking: rota percorrida */
.viz-pick svg { width: 100%; height: 100%; }
.viz-pick .pick-path {
  fill: none; stroke: rgba(110, 155, 255, 0.35);
  stroke-width: 2; stroke-dasharray: 5 6;
}
.viz-pick .pick-node { fill: var(--panel-2); stroke: var(--blue-bright); stroke-width: 1.5; }
.viz-pick .pick-runner {
  fill: var(--amber);
  filter: drop-shadow(0 0 6px rgba(255, 176, 32, 0.8));
  offset-path: path("M14 70 L60 70 L60 26 L120 26 L120 58 L186 58");
  animation: run-route 5s ease-in-out infinite;
}
@keyframes run-route {
  0% { offset-distance: 0%; }
  85%, 100% { offset-distance: 100%; }
}

/* expedição: doca liberando carga */
.viz-ship { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.viz-ship .ship-bar {
  width: 70%; height: 8px;
  background: rgba(61, 107, 255, 0.15);
  border-radius: 99px; overflow: hidden;
}
.viz-ship .ship-fill {
  height: 100%; width: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform-origin: left;
  animation: ship-load 4.6s var(--ease-out) infinite;
}
@keyframes ship-load {
  0% { transform: scaleX(0); }
  55%, 78% { transform: scaleX(1); }
  100% { transform: scaleX(1); opacity: 0; }
}
.viz-ship .ship-tag {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 4px 10px; border-radius: 4px;
  animation: ship-stamp 4.6s infinite;
  opacity: 0;
}
@keyframes ship-stamp {
  0%, 52% { opacity: 0; transform: scale(1.25) rotate(-4deg); }
  60%, 88% { opacity: 1; transform: scale(1) rotate(-4deg); }
  100% { opacity: 0; }
}

/* inventário: linhas conferidas */
.viz-count { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 18px; }
.viz-count .count-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line-soft);
  padding-bottom: 5px;
  opacity: 0.25;
  animation: count-check 4.8s infinite;
}
.viz-count .count-row b { color: var(--green); font-weight: 600; }
.viz-count .count-row:nth-child(2) { animation-delay: 1.2s; }
.viz-count .count-row:nth-child(3) { animation-delay: 2.4s; }
@keyframes count-check {
  0%, 10% { opacity: 0.25; }
  22%, 78% { opacity: 1; }
  92%, 100% { opacity: 0.25; }
}

/* rastreabilidade: timeline acendendo */
.viz-trace { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 26px; }
.viz-trace .trace-line {
  display: flex; justify-content: space-between; align-items: center;
  position: relative; height: 14px;
}
.viz-trace .trace-line::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: 50%;
  height: 2px; background: var(--line);
}
.viz-trace .trace-line i {
  width: 12px; height: 12px;
  background: var(--panel-2);
  border: 2px solid var(--blue-bright);
  transform: rotate(45deg);
  position: relative; z-index: 1;
  animation: trace-light 5s infinite;
}
.viz-trace .trace-line i:nth-child(2) { animation-delay: 0.8s; }
.viz-trace .trace-line i:nth-child(3) { animation-delay: 1.6s; }
.viz-trace .trace-line i:nth-child(4) { animation-delay: 2.4s; }
.viz-trace .trace-line i:nth-child(5) { animation-delay: 3.2s; border-color: var(--amber); }
@keyframes trace-light {
  0%, 8% { background: var(--panel-2); box-shadow: none; }
  16%, 70% { background: var(--blue-bright); box-shadow: 0 0 12px rgba(110, 155, 255, 0.7); }
  85%, 100% { background: var(--panel-2); box-shadow: none; }
}
.viz-trace .trace-labels {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.08em; color: var(--muted);
}

/* ============================================================
   FLUXO
   ============================================================ */
.flow { position: relative; }
.flow-line {
  position: absolute; top: 27px; left: 6%; right: 6%;
  height: 2px;
  background: var(--line-soft);
  overflow: hidden;
}
.flow-line-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease-out) 0.3s;
}
.rv.in .flow-line-fill, .flow.in .flow-line-fill { transform: scaleX(1); }

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.flow-step { text-align: left; padding-top: 0; }
.flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  font-family: var(--font-mono);
  font-weight: 600; font-size: 15px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative; z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.flow-step:hover .flow-num {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 24px rgba(255, 176, 32, 0.25);
}
.flow-step h4 {
  font-size: 20px; font-weight: 700; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.flow-step p { color: var(--muted); font-size: 15px; }

.flow-loop {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.flow-loop span {
  color: var(--amber); font-size: 18px;
  animation: spin-slow 6s linear infinite;
  display: inline-block;
}
@keyframes spin-slow { to { transform: rotate(-360deg); } }

/* ============================================================
   RESULTADOS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 30px 26px;
  background: linear-gradient(180deg, rgba(14, 28, 56, 0.55), transparent);
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute; top: 0; left: 26px; right: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.stat-num {
  display: flex; align-items: baseline;
  font-stretch: 115%;
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stat-num i { font-style: normal; color: var(--blue-bright); font-size: 0.62em; font-weight: 700; }
.stat-num i.unit { margin-left: 10px; }
.stat-label { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: block; }

.stats-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(146, 165, 201, 0.55);
  margin-top: 20px;
}

.audience { margin-top: 72px; }
.audience-title {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 20px;
}
.audience-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.audience-chips span {
  font-size: 15px; font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.audience-chips span:hover {
  border-color: var(--blue-bright);
  color: var(--ink);
  background: rgba(61, 107, 255, 0.08);
  transform: translateY(-3px);
}

/* ============================================================
   PLANOS
   ============================================================ */
.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 48px;
  background: rgba(6, 13, 28, 0.6);
}
.bt-opt {
  font-family: var(--font-sans);
  font-size: 14.5px; font-weight: 600;
  color: var(--muted);
  background: none; border: 0;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  display: flex; align-items: center; gap: 8px;
}
.bt-opt em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber);
  border: 1px solid rgba(255, 176, 32, 0.4);
  padding: 2px 7px; border-radius: 99px;
}
.bt-opt.active { background: var(--blue); color: #fff; }
.bt-opt.active em { color: #ffe3ae; border-color: rgba(255, 227, 174, 0.5); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 34px 30px;
  background: linear-gradient(180deg, var(--panel), rgba(10, 20, 40, 0.6));
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 155, 255, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.plan-hot {
  border-color: rgba(255, 176, 32, 0.45);
  background: linear-gradient(180deg, #14264c, rgba(12, 22, 44, 0.85));
  overflow: hidden;
}
.plan-hot::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, transparent 12px 24px);
  opacity: 0.9;
}
.plan-hot:hover { border-color: var(--amber); box-shadow: 0 30px 80px rgba(255, 176, 32, 0.12); }

.plan-flag {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: 14px;
}
.plan-name {
  font-size: 15px; font-weight: 700;
  font-stretch: 115%;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.plan-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; min-height: 44px; }

.plan-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.plan-price .cur { color: var(--muted); font-size: 18px; font-weight: 600; }
.plan-price .val {
  font-size: 56px; font-weight: 800; font-stretch: 112%;
  line-height: 1; letter-spacing: -0.02em;
  display: inline-block;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.plan-price .val.flip { transform: translateY(-8px) scale(0.94); opacity: 0; }
.plan-price .per { color: var(--muted); font-size: 16px; }
.plan-price-custom .val-custom {
  font-size: 34px; font-weight: 800; font-stretch: 112%;
  line-height: 1.65;
  background: linear-gradient(92deg, var(--blue-bright), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan-bill {
  font-family: var(--font-mono);
  font-size: 11.5px; color: rgba(146, 165, 201, 0.7);
  margin-bottom: 28px;
}

.plan-list {
  list-style: none;
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 11px;
}
.plan-list li {
  font-size: 14.5px; color: var(--muted);
  padding-left: 26px; position: relative;
}
.plan-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 700; font-size: 13px;
  font-family: var(--font-mono);
}
.plan-list li b { color: var(--ink); font-weight: 600; }
.plan-hot .plan-list li::before { color: var(--amber); }

.plans-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 40px;
  letter-spacing: 0.03em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(14, 28, 56, 0.5), transparent);
  transition: border-color 0.3s;
}
.faq-item:hover, .faq-item[open] { border-color: rgba(110, 155, 255, 0.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute;
  background: var(--amber);
  transition: transform 0.35s var(--ease-out);
}
.faq-icon::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq-icon::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item[open] .faq-icon::before { transform: rotate(180deg); }
.faq-body { overflow: hidden; }
.faq-body p {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 68ch;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(61, 107, 255, 0.16), transparent 65%),
    #081124;
  text-align: center;
}
.cta-inner { padding: 110px 24px 120px; }
.cta-inner .section-tag { margin-bottom: 20px; }
.cta-inner h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 800; font-stretch: 112%;
  line-height: 1.08; letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.cta-inner h2 em { font-style: normal; color: var(--amber); }
.cta-sub {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 40px;
  font-size: 17.5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050b18;
  border-top: 1px solid var(--line-soft);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 30ch; }
.footer-barcode { margin-top: 28px; }
.barcode {
  width: 170px; height: 40px;
  background: repeating-linear-gradient(
    90deg,
    var(--muted) 0 2px, transparent 2px 5px,
    var(--muted) 5px 6px, transparent 6px 12px,
    var(--muted) 12px 16px, transparent 16px 19px,
    var(--muted) 19px 20px, transparent 20px 26px
  );
  opacity: 0.55;
}
.footer-barcode span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.28em;
  color: rgba(146, 165, 201, 0.55);
  margin-top: 6px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col p {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 6px;
}
.footer-col a {
  color: var(--muted); text-decoration: none;
  font-size: 14.5px;
  transition: color 0.25s, transform 0.25s var(--ease-out);
}
.footer-col a:hover { color: var(--ink); transform: translateX(4px); }

.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(146, 165, 201, 0.6);
}
.footer-coord { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; }

/* ============================================================
   REVEAL — animações de entrada
   ============================================================ */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out) var(--d, 0s), transform 0.8s var(--ease-out) var(--d, 0s);
}
.rv.in { opacity: 1; transform: translateY(0); }

.load-rv {
  opacity: 0;
  transform: translateY(26px);
  animation: load-in 0.9s var(--ease-out) var(--d, 0s) forwards;
}
@keyframes load-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ops-panel { max-width: 560px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-desc { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .nav { background: rgba(6, 13, 28, 0.9); backdrop-filter: blur(14px); }
  .nav.open .nav-mobile { display: flex; }
  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .flow-line { display: none; }
  .flow-steps { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: 1fr; }
  .ops-feed li { grid-template-columns: 58px 86px 1fr; font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: clamp(32px, 9.4vw, 56px); }
}

/* ============================================================
   MOVIMENTO REDUZIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv, .load-rv { opacity: 1; transform: none; }
  .flow-line-fill { transform: scaleX(1); }
  .grain { display: none; }
  .cursor { display: none !important; }
}
