/* ============================================================
   BEBYTE — SITE VERSÃO 3 · Design System "Dark Cinematográfico"
   Base: Documento Mestre BeByte · Paleta navy + ciano neon
   ============================================================ */

:root {
  /* cor */
  --bg: #050C18;
  --bg-2: #071426;
  --bg-3: #0B1B33;
  --surface: #0C1A2E;
  --card: rgba(13, 28, 50, 0.72);
  --card-solid: #0D1C32;
  --ink: #EAF2FB;
  --ink-strong: #FFFFFF;
  --muted: #A9BBD0;
  --line: rgba(0, 217, 255, 0.14);
  --line-soft: rgba(168, 187, 208, 0.12);

  --cyan: #00D9FF;
  --blue: #2563FF;
  --blue-soft: #6EA8FF;
  --purple: #8B5CF6;
  --magenta: #FF2DCE;
  --green: #2BD576;
  --lime: #A3E635;
  --orange: #FF8A00;
  --amber: #FFC53D;
  --teal: #2DD4BF;

  --glow-cyan: 0 0 28px rgba(0, 217, 255, 0.30);
  --glow-blue: 0 10px 40px -8px rgba(37, 99, 255, 0.55);

  /* tipo */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* escala */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --text-3xl: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --text-4xl: clamp(2.4rem, 1.6rem + 3.4vw, 4.1rem);
  --text-hero: clamp(2.5rem, 1.5rem + 5.2vw, 5.5rem);

  /* forma */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --container: 1200px;

  /* z-index semântico */
  --z-nav: 100;
  --z-drawer: 110;
  --z-modal: 120;
  --z-progress: 130;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(0, 217, 255, 0.35); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--cyan); color: #04101F; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 12px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.h-hero { font-size: var(--text-hero); letter-spacing: -0.03em; }
.h-1 { font-size: var(--text-4xl); }
.h-2 { font-size: var(--text-3xl); }
.h-3 { font-size: var(--text-2xl); line-height: 1.18; }
.h-4 { font-size: var(--text-xl); line-height: 1.25; }

p { max-width: 68ch; text-wrap: pretty; }
.lead { font-size: var(--text-lg); color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }
.accent { color: var(--cyan); }
strong { color: var(--ink-strong); font-weight: 600; }

.mono-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* máscara de linha do hero */
.hl-mask { display: block; overflow: hidden; }
.hl { display: block; }

/* número-fantasma de seção (substitui eyebrow repetida) */
.ghost-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 217, 255, 0.22);
  user-select: none;
  pointer-events: none;
}

/* ---------- layout ---------- */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container-wide { width: min(1400px, 100% - 40px); margin-inline: auto; }

section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.section-tight { padding: clamp(48px, 7vw, 90px) 0; }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }

.grid-2 { display: grid; gap: clamp(28px, 4vw, 60px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

/* fundos de seção */
.bg-deep { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.bg-mesh {
  background:
    radial-gradient(ellipse 60% 45% at 18% 8%, rgba(0, 217, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 18%, rgba(139, 92, 246, 0.10), transparent 60%),
    var(--bg-2);
}
.divider-glow {
  height: 1px; border: none;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.45), transparent);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--text-base);
  padding: 15px 28px; border-radius: 999px;
  min-height: 48px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s, border-color 0.25s, color 0.25s;
  cursor: pointer; touch-action: manipulation;
  will-change: transform;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: var(--glow-blue);
}
.btn-primary:hover { background: #1D54E8; transform: translateY(-2px); box-shadow: 0 14px 44px -8px rgba(37, 99, 255, 0.7); }
.btn-ghost {
  border: 1px solid rgba(0, 217, 255, 0.4); color: var(--ink-strong);
  background: rgba(0, 217, 255, 0.05);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0, 217, 255, 0.12); transform: translateY(-2px); }
.btn-cyan { background: var(--cyan); color: #04101F; }
.btn-cyan:hover { background: #2BE2FF; transform: translateY(-2px); box-shadow: var(--glow-cyan); }
.btn .arr { transition: transform 0.25s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--cyan);
  min-height: 44px;
}
.link-arrow .arr { transition: transform 0.25s var(--ease-out); }
.link-arrow:hover .arr { transform: translateX(5px); }

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

/* ---------- navegação ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 12, 24, 0.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 76px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; min-height: 44px;
  font-size: var(--text-sm); font-weight: 500; color: var(--ink);
  border-radius: 10px; transition: color 0.2s, background-color 0.2s;
}
.nav-item > a:hover, .nav-item > button:hover,
.nav-item.open > button { color: var(--cyan); background: rgba(0, 217, 255, 0.07); }
.nav-item .chev { transition: transform 0.25s; width: 12px; height: 12px; }
.nav-item.open .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px; padding: 10px;
  background: rgba(9, 20, 38, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), var(--glow-cyan);
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0.22s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border-radius: 10px;
  transition: background-color 0.18s;
}
.dropdown a:hover { background: rgba(0, 217, 255, 0.08); }
.dropdown a strong { font-size: var(--text-sm); font-weight: 600; }
.dropdown a span { font-size: var(--text-xs); color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  padding: 6px 10px; min-height: 32px; border-radius: 999px; color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--cyan); color: #04101F; font-weight: 700; }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--ink-strong); }
.nav-cta { display: inline-flex; }
.nav-cta .btn { padding: 11px 20px; min-height: 44px; font-size: var(--text-sm); }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; align-items: center; border-radius: 12px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink-strong); transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: rgba(5, 12, 24, 0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 100px 28px 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer-group { border-bottom: 1px solid var(--line-soft); }
.drawer-group > button {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600;
  color: var(--ink-strong); min-height: 56px;
}
.drawer-group .chev { transition: transform 0.25s; }
.drawer-group.open .chev { transform: rotate(180deg); }
.drawer-sub { display: none; padding: 0 4px 14px; }
.drawer-group.open .drawer-sub { display: block; }
.drawer-sub a { display: block; padding: 12px 10px; color: var(--muted); border-radius: 10px; min-height: 44px; }
.drawer-sub a:hover { color: var(--cyan); background: rgba(0, 217, 255, 0.06); }
.drawer > a.single { display: block; padding: 18px 4px; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--ink-strong); border-bottom: 1px solid var(--line-soft); }
.drawer-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- hero home ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 0; overflow: visible;
  z-index: 2; /* permite a K4T3 flutuar por cima das seções seguintes */
}
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(5, 12, 24, 0.95), transparent 60%),
    linear-gradient(180deg, rgba(5, 12, 24, 0.55) 0%, transparent 30%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  background: rgba(0, 217, 255, 0.05);
}
.hero-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero h1 { margin: 26px 0 22px; max-width: 15ch; }
.hero .lead { max-width: 56ch; font-size: var(--text-xl); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-k4 {
  position: absolute; right: 4vw; bottom: 16vh; z-index: 3;
  width: clamp(180px, 24vw, 380px); pointer-events: none;
  will-change: transform;
}
.hero-k4 img { filter: drop-shadow(0 30px 60px rgba(0, 217, 255, 0.25)); }
.hero-scroll {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  margin-top: clamp(48px, 8vh, 110px);
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.hero-scroll .line { width: 56px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }

/* marquee */
.marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0; overflow: hidden;
  background: rgba(5, 12, 24, 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 36s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px;
}
.marquee b { color: var(--cyan); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- contadores ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.stat { background: var(--bg); padding: 44px 32px; }
.stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-3xl); color: var(--ink-strong); line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.stat .num em { font-style: normal; color: var(--cyan); }
.stat .cap { margin-top: 10px; color: var(--muted); font-size: var(--text-sm); }

/* ---------- ecossistema orbital ---------- */
.orbit-wrap { position: relative; display: grid; place-items: center; min-height: 620px; }
.orbit-svg { position: absolute; inset: 0; margin: auto; width: min(640px, 92vw); height: min(640px, 92vw); }
.orbit-ring { fill: none; stroke: rgba(0, 217, 255, 0.16); stroke-width: 1; }
.orbit-ring.dash { stroke-dasharray: 3 7; }
.orbit-core {
  position: relative; z-index: 2; width: 168px; height: 168px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #10294a, #071426 70%);
  border: 1px solid rgba(0, 217, 255, 0.4);
  box-shadow: 0 0 60px rgba(0, 217, 255, 0.25), inset 0 0 30px rgba(0, 217, 255, 0.08);
}
.orbit-core img { width: 64px; }
.orbit-node {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 120px; text-align: center;
  transform: translate(-50%, -50%);
  left: calc(50% + var(--ox)); top: calc(50% + var(--oy));
}
.orbit-node .dot {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card-solid); border: 1px solid var(--line);
  color: var(--node-c, var(--cyan));
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}
.orbit-node:hover .dot { transform: scale(1.12); border-color: var(--node-c, var(--cyan)); box-shadow: 0 0 26px color-mix(in srgb, var(--node-c, var(--cyan)) 45%, transparent); }
.orbit-node b { font-size: var(--text-xs); font-weight: 600; color: var(--ink); line-height: 1.3; }
.orbit-list { display: none; }

/* ---------- ecossistema: narrativa + orbital ---------- */
.eco-grid { display: grid; gap: clamp(32px, 4vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 1020px) { .eco-grid { grid-template-columns: 1fr; } }
.eco-statement {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-xl); line-height: 1.4; color: var(--ink-strong);
  margin-top: 26px; max-width: 56ch;
}
.chain { margin-top: 30px; display: grid; gap: 22px; }
.chain li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; position: relative; }
.chain li:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 42px; bottom: -22px; width: 1px;
  background: linear-gradient(180deg, rgba(0,217,255,.5), rgba(0,217,255,.08));
}
.chain .n {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--cyan);
  border: 1px solid rgba(0, 217, 255, 0.45); background: rgba(0, 217, 255, 0.06);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.15);
}
.chain p { color: var(--muted); font-size: var(--text-base); line-height: 1.6; max-width: 60ch; }
.chain p strong { color: var(--ink-strong); }
.orbit-node .dot { overflow: hidden; padding: 0; }
.orbit-node .dot img, .orbit-list .dot img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.orbit-list .dot { overflow: hidden; padding: 0; }
.orbit-core img { width: 74px; height: auto; }

/* ---------- vídeo YouTube leve (carrega só ao clicar) ---------- */
.yt-lite { position: relative; cursor: pointer; aspect-ratio: 16 / 9; background: #000; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.25s, transform 0.5s var(--ease-out); }
.yt-lite:hover img { opacity: 1; transform: scale(1.03); }
.yt-play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 50px;
  background: rgba(5, 12, 24, 0.75); border: 1px solid rgba(0, 217, 255, 0.5);
  border-radius: 14px; transition: background-color 0.25s, box-shadow 0.25s;
}
.yt-play::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0; border-style: solid;
  border-width: 9px 0 9px 16px; border-color: transparent transparent transparent var(--cyan);
}
.yt-lite:hover .yt-play { background: rgba(37, 99, 255, 0.85); box-shadow: var(--glow-cyan); }
#yt-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; }
#yt-modal .yt-backdrop { position: absolute; inset: 0; background: rgba(3, 8, 16, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#yt-modal .yt-box { position: relative; width: min(1080px, 94vw); }
#yt-modal iframe { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), var(--glow-cyan); background: #000; }
#yt-modal .yt-close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(13, 28, 50, 0.9); border: 1px solid var(--line);
  color: var(--ink-strong); font-size: 18px; transition: background-color .2s, transform .2s;
}
#yt-modal .yt-close:hover { background: var(--blue); transform: scale(1.08); }
#yt-modal .yt-ext { position: absolute; bottom: -38px; right: 0; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted); }
#yt-modal .yt-ext:hover { color: var(--cyan); }
@media (max-width: 700px) { #yt-modal .yt-close { top: auto; bottom: -56px; right: 50%; transform: translateX(50%); } #yt-modal .yt-ext { display: none; } }

/* ---------- pinned estúdio / kinetic ---------- */
.studio { overflow: clip; }
.studio-words {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -0.02em;
}
.studio-words .w { display: block; color: rgba(234, 242, 251, 0.16); transition: color 0.3s; }
.studio-words .w.lit { color: var(--ink-strong); }
.studio-words .w.lit::after { content: "·"; color: var(--cyan); margin-left: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.06em;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-soft); color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- molduras de imagem ---------- */
.frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .credit {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65); background: rgba(4, 12, 24, 0.55);
  padding: 4px 10px; border-radius: 6px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.parallax-img { overflow: hidden; }
.parallax-img img { transform: scale(1.15); will-change: transform; }

/* ---------- showcase horizontal de soluções ---------- */
.showcase { padding: 0; }
.showcase-pin { position: relative; overflow: hidden; }
.showcase-track { display: flex; height: 100vh; height: 100svh; align-items: center; will-change: transform; }
.panel {
  position: relative; flex: 0 0 100vw; height: 86vh; height: 86svh; max-height: 820px;
  display: grid; align-items: end;
  margin-right: 4vw; padding: clamp(24px, 4vw, 64px);
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line);
}
.panel .panel-bg { position: absolute; inset: 0; z-index: 0; }
.panel .panel-bg img { width: 100%; height: 100%; object-fit: cover; }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(4, 10, 20, 0.88) 82%);
}
.panel-content { position: relative; z-index: 2; max-width: 620px; }
.panel-num {
  position: absolute; top: clamp(20px, 3.5vw, 48px); right: clamp(24px, 4vw, 64px); z-index: 2;
  font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: 0.2em;
  color: var(--panel-c, var(--cyan));
}
.panel-kicker {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--panel-c, var(--cyan));
}
.panel h3 { font-size: var(--text-3xl); margin: 12px 0 12px; }
.panel p { color: rgba(234, 242, 251, 0.85); }
.panel .btn { margin-top: 22px; }
@media (max-width: 860px) {
  .showcase-track { display: block; height: auto; }
  .panel { flex: none; height: auto; min-height: 480px; margin: 0 0 22px; }
}

/* ---------- bento / cards de solução ---------- */
.bento { display: grid; gap: 22px; grid-template-columns: repeat(12, 1fr); }
.bento > * { grid-column: span 12; }
@media (min-width: 760px) {
  .b-7 { grid-column: span 7; } .b-5 { grid-column: span 5; }
  .b-6 { grid-column: span 6; } .b-4 { grid-column: span 4; } .b-8 { grid-column: span 8; }
}
.card {
  position: relative; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line-soft);
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--card-c, var(--cyan)); box-shadow: 0 24px 70px -28px color-mix(in srgb, var(--card-c, var(--cyan)) 38%, transparent); }
.card h3, .card h4 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: var(--text-sm); line-height: 1.65; }
.card .link-arrow { margin-top: 18px; color: var(--card-c, var(--cyan)); }
.card-img { margin: -8px -8px 18px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.05); }
.card-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; color: var(--card-c, var(--cyan));
  background: color-mix(in srgb, var(--card-c, var(--cyan)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-c, var(--cyan)) 30%, transparent);
}

/* tilt 3D */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .tilt-inner { transform: translateZ(28px); }

/* ---------- games ---------- */
.game-row { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.game-card { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 4 / 3; }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease-out); }
.game-card:hover img { transform: scale(1.07); }
.game-card .info {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 20, 0.92) 60%);
}
.game-card .info b { font-family: var(--font-display); font-size: var(--text-lg); color: #fff; display: block; }
.game-card .info span { font-size: var(--text-xs); color: var(--orange); font-family: var(--font-mono); letter-spacing: 0.08em; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600;
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 18px; min-height: 44px;
  color: var(--ink); transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.store-badge:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

/* ---------- provas / imprensa ---------- */
.proof-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.proof {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line-soft);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.proof:hover { border-color: var(--cyan); transform: translateY(-4px); }
.proof .src { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--cyan); letter-spacing: 0.08em; }
.proof b { font-family: var(--font-display); font-weight: 600; color: var(--ink-strong); line-height: 1.35; }
.proof span { font-size: var(--text-sm); color: var(--muted); }
.proof .ext { margin-top: auto; padding-top: 10px; font-size: var(--text-xs); color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- carrossel ---------- */
.carousel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(330px, 78vw);
  gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(0,217,255,.4) transparent;
}
.carousel > * { scroll-snap-align: start; }
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: rgba(0,217,255,.35); border-radius: 99px; }
.carousel::-webkit-scrollbar-track { background: rgba(168,187,208,.08); border-radius: 99px; }
.carousel-hint { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; color: var(--muted); margin-top: 4px; }

/* cartão de matéria com thumb da página */
.mat-card { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--card); overflow: hidden; transition: border-color .25s, transform .25s var(--ease-out); }
.mat-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.mat-card .shot { aspect-ratio: 16 / 10; background: #0A1626 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><circle cx="20" cy="20" r="8" fill="none" stroke="%2300D9FF" stroke-width="2" opacity=".4"/></svg>') center no-repeat; overflow: hidden; }
.mat-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease-out); }
.mat-card:hover .shot img { transform: scale(1.04); }
.mat-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mat-card .src { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--cyan); }
.mat-card b { font-family: var(--font-display); font-size: var(--text-sm); color: var(--ink-strong); line-height: 1.35; }
.mat-card q { font-size: var(--text-xs); color: var(--muted); font-style: italic; line-height: 1.5; quotes: "“" "”"; }
.mat-card .go { margin-top: auto; padding-top: 8px; font-size: var(--text-xs); color: var(--muted); }
.mat-card:hover .go { color: var(--cyan); }
.mat-card.yt-lite { cursor: pointer; aspect-ratio: auto; background: var(--card); }
.mat-card.yt-lite .shot { position: relative; }
.mat-card.yt-lite .yt-play { position: absolute; inset: 0; margin: auto; }

/* ---------- imprensa com QR ---------- */
.press-qr { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pq { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--card); transition: border-color .25s, transform .25s var(--ease-out); cursor: pointer; }
.pq:hover { border-color: var(--cyan); transform: translateY(-3px); }
.pq > img { width: 92px; height: 92px; border-radius: 10px; background: #fff; padding: 6px; object-fit: contain; }
.pq .src { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--cyan); display: block; }
.pq b { font-family: var(--font-display); font-size: var(--text-sm); color: var(--ink-strong); line-height: 1.3; display: block; margin: 4px 0; }
.pq .go { font-size: var(--text-xs); color: var(--muted); }
.pq.yt-lite { aspect-ratio: auto; background: var(--card); }
.pq.yt-lite .yt-play { display: none; }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 217, 255, 0.05));
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px var(--cyan);
}
.tl-item .year { font-family: var(--font-mono); color: var(--cyan); font-size: var(--text-sm); letter-spacing: 0.1em; }
.tl-item h4 { margin: 6px 0 6px; }
.tl-item p { color: var(--muted); font-size: var(--text-sm); }

/* ---------- citação fundador ---------- */
.founder-quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-2xl); line-height: 1.3; letter-spacing: -0.01em;
  max-width: 22ch; color: var(--ink-strong);
}
.founder-quote .accent { color: var(--cyan); }
.signature { margin-top: 28px; }
.signature b { font-family: var(--font-display); display: block; color: var(--ink-strong); }
.signature span { font-size: var(--text-sm); color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; overflow: hidden; }
.cta-final .h-1 { max-width: 18ch; margin-inline: auto; }
.cta-final .lead { margin: 20px auto 0; max-width: 52ch; }
.cta-final .hero-ctas { justify-content: center; margin-top: 40px; }
.cta-glow {
  position: absolute; left: 50%; bottom: -40%; transform: translateX(-50%);
  width: 900px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 217, 255, 0.16), rgba(37, 99, 255, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

/* ---------- páginas internas ---------- */
.page-hero {
  position: relative; min-height: 72vh; min-height: 72svh;
  display: flex; align-items: flex-end;
  padding: 150px 0 70px; overflow: hidden;
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--ph-pos, center); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 12, 24, 0.55), transparent 35%),
    linear-gradient(180deg, transparent 30%, rgba(5, 12, 24, 0.96) 88%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--page-c, var(--cyan)); display: inline-flex; gap: 10px; align-items: center;
}
.page-hero h1 { font-size: var(--text-4xl); max-width: 18ch; margin: 16px 0 16px; }
.page-hero .lead { max-width: 58ch; }
.page-hero .hero-ctas { margin-top: 30px; }

.feature-list { display: grid; gap: 0; }
.feature-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line-soft);
}
.feature-item:first-child { border-top: 1px solid var(--line-soft); }
.feature-item .idx { font-family: var(--font-mono); color: var(--page-c, var(--cyan)); font-size: var(--text-sm); padding-top: 4px; }
.feature-item h4 { margin-bottom: 6px; }
.feature-item p { color: var(--muted); font-size: var(--text-sm); }

.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { counter-increment: step; padding: 26px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line-soft); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-mono); color: var(--page-c, var(--cyan)); font-size: var(--text-sm); letter-spacing: 0.1em;
  display: block; margin-bottom: 12px;
}
.step b { font-family: var(--font-display); color: var(--ink-strong); display: block; margin-bottom: 6px; }
.step p { font-size: var(--text-sm); color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--ink-strong);
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--cyan); transition: transform 0.25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); }

/* galeria */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery .frame { aspect-ratio: 4 / 3; }

/* ---------- formulário ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--ink-strong); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: rgba(11, 27, 51, 0.6);
  border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 14px 16px; min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.15);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300D9FF' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-note { font-size: var(--text-xs); color: var(--muted); }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 70px 0 36px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 28px; margin-bottom: 18px; }
.footer p { font-size: var(--text-sm); color: var(--muted); max-width: 36ch; }
.footer h5 { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-strong); margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: var(--text-sm); color: var(--muted); transition: color 0.2s; }
.footer ul a:hover { color: var(--cyan); }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--cyan); font-family: var(--font-mono); font-size: var(--text-sm); }
.footer-bottom {
  margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: var(--text-xs); color: var(--muted);
}
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- utilidades ---------- */
.hide-mobile { display: initial; }
.only-mobile { display: none; }

@media (max-width: 1020px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-k4 { right: -4vw; bottom: 8vh; opacity: 0.85; }
}
@media (max-width: 860px) {
  .orbit-wrap { min-height: 0; }
  .orbit-svg, .orbit-core, .orbit-node { display: none; }
  .orbit-list { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
  .orbit-list a {
    display: flex; gap: 12px; align-items: center; padding: 16px;
    border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--card);
  }
  .orbit-list a b { font-size: var(--text-sm); }
  .orbit-list .dot { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; color: var(--node-c, var(--cyan)); background: color-mix(in srgb, var(--node-c, var(--cyan)) 12%, transparent); }
  .hide-mobile { display: none; }
  .only-mobile { display: initial; }
  .ghost-index { font-size: 3.4rem; }
}
@media (max-width: 560px) {
  .orbit-list { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .hero-k4 { display: none; }
  .stat { padding: 30px 24px; }
}

/* ---------- reduced motion ---------- */
@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; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  #hero-canvas { display: none; }
  .parallax-img img { transform: none; }
}
