/* ════════════════════════════════════════════
   DESIGN SYSTEM — VEKTOR
   ════════════════════════════════════════════ */
:root {
  /* Surfaces — Bibi Race: preto quente + carbono */
  --black:     #0C0A06;
  --surface:   #15110A;
  --surface2:  #211A0F;
  --line:      rgba(255, 182, 39, .14);
  --line-2:    rgba(255, 182, 39, .24);

  /* Ink — areia clara */
  --ink:       #F7F1E4;
  --ink-mid:   rgba(247, 241, 228, .62);
  --ink-dim:   rgba(247, 241, 228, .56);

  /* Accent — âmbar neon Bibi (var. mantém o nome --gold) */
  --gold:      #FFB627;
  --gold-dark: #E8950C;
  --ghost-bg:  rgba(255, 182, 39, .06);
  --ghost-bd:  rgba(255, 182, 39, .30);
  --nav-bg:    rgba(12, 10, 6, .72);
  --mobile-nav-link: rgba(247, 241, 228, .12);
  --hero-grid-line: rgba(255, 182, 39, .04);
  --hero-title-shadow: rgba(255, 182, 39, .18);

  /* Produtos — tons quentes (âmbar → dourado → areia) */
  --p1:  #FFB627;
  --p2:  #FFD15A;
  --p3:  #E8950C;
  --p4:  #FFC861;
  --p5:  #F59E1B;
  --p6:  #FFDE9C;
  --p7:  #FFC02E;
  --p8:  #E0860A;
  --p9:  #FFCB45;
  --p10: #F7A81E;

  /* Tipografia — Bibi: Montserrat (display) + Inter + Space Mono */
  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-text:    'Inter', sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  /* Layout */
  --nav-h:  64px;
  --max-w:  1320px;
  --pad-x:  clamp(20px, 4vw, 56px);

  /* Easings */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);
  --ease-orb: cubic-bezier(.19, 1, .22, 1);

  /* Glow neon Bibi */
  --glow: 0 0 14px rgba(255,182,39,.45), 0 0 44px rgba(232,149,12,.28);
}

/* dark-only: data-theme="night" mantido só p/ o 3D ler tema escuro;
   a paleta Bibi já vive no :root, então o override de tema foi removido. */

/* ════════ RESET ════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--black); }

/* ════════ LOADER ════════ */
#loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9999;
  display: grid; place-items: center;
  transition: opacity .8s var(--ease-out), visibility .8s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  width: min(420px, 80vw);
  display: flex; flex-direction: column; gap: 22px; align-items: center;
}
.loader-mark {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .35em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.loader-mark b { color: var(--gold); font-weight: 500; letter-spacing: .35em; }
.loader-bar {
  width: 100%; height: 1px;
  background: var(--line);
  overflow: hidden; position: relative;
}
.loader-bar-fill {
  position: absolute; inset: 0; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transition: width .35s var(--ease-out);
}
.loader-pct {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .25em;
  color: var(--ink);
}

/* ════════ SCROLL PROGRESS ════════ */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  z-index: 200;
  transition: width .08s linear;
}

/* ════════ NAV ════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 14px;
}
.logo-img {
  width: 32px; height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(91, 163, 232, .35));
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .22em;
  color: var(--ink);
  text-transform: uppercase;
}
.nav-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--ink-dim);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  margin-left: 4px;
}
.nav-links {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: clamp(10px, 1vw, 20px);
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color .25s var(--ease-out);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions {
  display: flex; align-items: center; gap: 12px;
}
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .25em;
  text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.cta:hover { background: var(--gold); color: var(--black); }
.cta::after { content: '↗'; }

.theme-toggle {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2);
  background: var(--ghost-bg);
  color: var(--ink);
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out), transform .25s var(--ease-out);
}
.theme-toggle:hover {
  border-color: var(--gold);
  background: rgba(91, 163, 232, .10);
  transform: translateY(-1px);
}
.theme-icon { position: relative; width: 18px; height: 18px; display: block; }
.theme-sun,
.theme-moon {
  position: absolute; inset: 0;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.theme-sun {
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow:
    0 -7px 0 -6px currentColor, 0 7px 0 -6px currentColor,
    7px 0 0 -6px currentColor, -7px 0 0 -6px currentColor,
    5px 5px 0 -6px currentColor, -5px -5px 0 -6px currentColor,
    5px -5px 0 -6px currentColor, -5px 5px 0 -6px currentColor;
}
.theme-moon {
  border-radius: 50%;
  background: currentColor;
  transform: scale(.72) translateX(1px);
  opacity: 0;
}
.theme-moon::after {
  content: '';
  position: absolute; top: -1px; right: -2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--black);
}
html[data-theme="night"] .theme-sun { opacity: 0; transform: rotate(45deg) scale(.68); }
html[data-theme="night"] .theme-moon { opacity: 1; transform: scale(.86) translateX(0); }

.hamburger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; gap: 6px;
  justify-content: center; align-items: center;
}
.hamburger span {
  width: 22px; height: 1px; background: var(--ink-mid);
  transition: transform .3s var(--ease-out), opacity .3s, background .3s;
}
.hamburger:hover span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════ MOBILE NAV ════════ */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 90;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease-orb), visibility .45s;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 80px var(--pad-x);
  gap: 6px;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(48px, 11vw, 96px);
  letter-spacing: .04em;
  line-height: 1.05;
  color: var(--mobile-nav-link);
  transform: translateX(-32px);
  opacity: 0;
  transition: color .3s, transform .5s var(--ease-orb), opacity .5s var(--ease-orb);
}
.mobile-nav.open a { transform: translateX(0); opacity: 1; }
.mobile-nav.open a:nth-child(1)  { transition-delay: .05s; }
.mobile-nav.open a:nth-child(2)  { transition-delay: .10s; }
.mobile-nav.open a:nth-child(3)  { transition-delay: .15s; }
.mobile-nav.open a:nth-child(4)  { transition-delay: .20s; }
.mobile-nav.open a:nth-child(5)  { transition-delay: .25s; }
.mobile-nav.open a:nth-child(6)  { transition-delay: .30s; }
.mobile-nav.open a:nth-child(7)  { transition-delay: .35s; }
.mobile-nav.open a:nth-child(8)  { transition-delay: .40s; }
.mobile-nav.open a:nth-child(9)  { transition-delay: .45s; }
.mobile-nav.open a:nth-child(10) { transition-delay: .50s; }
.mobile-nav.open a:nth-child(11) { transition-delay: .55s; }
.mobile-nav a:hover { color: var(--ink); }
.mobile-nav a .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  margin-right: 18px;
  vertical-align: middle;
  letter-spacing: .15em;
}
.mobile-nav-foot {
  position: absolute; bottom: 32px; left: var(--pad-x);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .25em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* ════════ HERO — animações de entrada ════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-pills,
.hero-meta,
.scroll-hint {
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) forwards;
}
.hero-eyebrow { animation-delay: .35s; }
.hero h1      { animation-delay: .50s; }
.hero-sub     { animation-delay: .70s; }
.hero-pills   { animation-delay: .85s; }
.hero-meta    { animation-delay: 1.00s; }
.scroll-hint  { animation-delay: 1.30s; }

/* ════════ HERO ════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: var(--nav-h) var(--pad-x) 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(91, 163, 232, .14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(21, 73, 197, .10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-logo-wrap {
  position: absolute;
  top: calc(var(--nav-h) + 40px);
  left: 0; right: 0;
  display: flex; justify-content: center; align-items: flex-start;
  pointer-events: none;
  z-index: 2;
}
.hero-logo {
  width: 280px; max-width: 60vw;
  filter:
    drop-shadow(0 0 50px rgba(91, 163, 232, .35))
    drop-shadow(0 0 100px rgba(91, 163, 232, .15));
  animation: logoFade 1.2s var(--ease-out) .2s both;
}
@keyframes logoFade {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-top: clamp(180px, 22vh, 260px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .32em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 28px;
  filter: drop-shadow(0 12px 36px var(--hero-title-shadow));
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--gold), #c0e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent {
  display: block;
  font-size: .42em;
  letter-spacing: .32em;
  color: var(--ink-mid);
  margin-top: 18px;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 540px;
  line-height: 1.7;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 56px;
}
.hero-pills {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  border: 1px solid var(--ghost-bd);
  background: var(--ghost-bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), transform .3s var(--ease-out), color .3s var(--ease-out);
}
.pill:hover {
  background: rgba(91, 163, 232, .08);
  color: var(--ink);
  transform: translateY(-2px);
}
.pill .pill-num { color: var(--gold); font-weight: 500; }

/* Cores de hover por produto (p1-p10) */
.pill[data-p="1"]:hover  { border-color: var(--p1); }
.pill[data-p="2"]:hover  { border-color: var(--p2); }
.pill[data-p="3"]:hover  { border-color: var(--p3); }
.pill[data-p="4"]:hover  { border-color: var(--p4); }
.pill[data-p="5"]:hover  { border-color: var(--p5); }
.pill[data-p="6"]:hover  { border-color: var(--p6); }
.pill[data-p="7"]:hover  { border-color: var(--p7); }
.pill[data-p="8"]:hover  { border-color: var(--p8); }
.pill[data-p="9"]:hover  { border-color: var(--p9); }
.pill[data-p="10"]:hover { border-color: var(--p10); }
.pill[data-p="1"]  .pill-num { color: var(--p1); }
.pill[data-p="2"]  .pill-num { color: var(--p2); }
.pill[data-p="3"]  .pill-num { color: var(--p3); }
.pill[data-p="4"]  .pill-num { color: var(--p4); }
.pill[data-p="5"]  .pill-num { color: var(--p5); }
.pill[data-p="6"]  .pill-num { color: var(--p6); }
.pill[data-p="7"]  .pill-num { color: var(--p7); }
.pill[data-p="8"]  .pill-num { color: var(--p8); }
.pill[data-p="9"]  .pill-num { color: var(--p9); }
.pill[data-p="10"] .pill-num { color: var(--p10); }

.hero-meta {
  display: flex; gap: 56px; flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.meta-item .meta-k {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .3em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.meta-item .meta-v {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .32em;
  color: var(--ink-dim);
  text-transform: uppercase;
  z-index: 3;
}
.scroll-hint-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  position: relative; overflow: hidden;
}
.scroll-hint-line::after {
  content: '';
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: scrollDown 2.2s var(--ease-io) infinite;
}
@keyframes scrollDown {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ════════ FOOTER ════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px var(--pad-x) 32px;
  background: var(--surface);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a, .footer-col p {
  display: block;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 400;
  color: var(--ink-mid);
  margin-bottom: 10px;
  letter-spacing: .04em;
  transition: color .25s var(--ease-out);
}
.footer-col a:hover { color: var(--gold); }
.footer-brand { max-width: 280px; }
.footer-bottom {
  max-width: var(--max-w); margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .25em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* ════════ CHAPTER LABEL ════════ */
.chapter {
  position: relative;
  padding: clamp(80px, 14vh, 160px) var(--pad-x) clamp(40px, 8vh, 80px);
  background: var(--black);
  overflow: hidden;
}
.chapter::before {
  content: '';
  position: absolute; left: var(--pad-x); right: var(--pad-x); top: 0;
  height: 1px; background: var(--line);
}
.chapter::after {
  content: '';
  position: absolute; left: var(--pad-x); right: var(--pad-x); top: 0;
  height: 1px; width: 80px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.chapter-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.chapter-num {
  font-family: var(--font-display);
  font-size: clamp(160px, 24vw, 360px);
  line-height: .82;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  text-stroke: 1px var(--line-2);
  background: linear-gradient(180deg, rgba(91, 163, 232, .14), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none; user-select: none;
}
.chapter-meta { padding-bottom: clamp(20px, 4vw, 48px); }
.chapter-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .32em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.chapter-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}
.chapter-name {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: .96;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.chapter-name .grad {
  background: linear-gradient(120deg, var(--gold), #c0e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chapter-desc {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 520px;
  line-height: 1.7;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ════════ SCROLL SCENE ════════ */
.scroll-scene {
  position: relative;
  height: 700vh;
  background: var(--black);
}
.scene-sticky {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
}
.scene-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
/* Reveal em vídeo — preenche o palco (sem barras laterais/pillarbox).
   Em telas ≠ 16:9 corta uma fração de margem; a moto fica centrada e inteira. */
.scene-video {
  object-fit: cover;
  background: var(--black);
  pointer-events: none;
}
/* Legibilidade dos textos sobre o vídeo (vídeo é sempre escuro) */
.vk-video-scene .take-eye,
.vk-video-scene .take h2,
.vk-video-scene .take-stat,
.vk-video-scene .take p,
.vk-video-scene .car-header-eye,
.vk-video-scene .car-header-title {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 30px rgba(0, 0, 0, .5);
}
.scene-stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 60%, rgba(91, 163, 232, .10), transparent 65%),
    radial-gradient(ellipse 30% 50% at 50% 100%, rgba(91, 163, 232, .22), transparent 70%);
  pointer-events: none;
  transition: opacity .8s var(--ease-out);
}
.scene-stage.is-hidden { opacity: 0; }
.scene-stage span {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .4em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.scene-stage::before {
  content: '';
  position: absolute; left: 50%; bottom: 18%;
  transform: translateX(-50%);
  width: 60vw; max-width: 720px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}

/* car-header */
.car-header {
  position: absolute;
  top: clamp(24px, 6vh, 64px);
  left: 0; right: 0;
  text-align: center;
  z-index: 4; pointer-events: none;
  padding: 0 var(--pad-x);
  opacity: 0;
  transition: opacity .55s var(--ease-out);
}
.car-header-eye {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .32em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.car-header-eye::before, .car-header-eye::after {
  content: ''; width: 20px; height: 1px; background: var(--gold);
}
.car-header-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

/* takes */
.take {
  position: absolute; top: 50%;
  width: clamp(280px, 32vw, 420px);
  transform: translateY(-50%) translateX(0);
  z-index: 3; pointer-events: none;
  padding: 0 var(--pad-x);
  opacity: 0;
  transition: opacity .55s var(--ease-out), transform .8s var(--ease-out);
}
.take.tl { transform: translateY(-50%) translateX(-32px); left: 0; }
.take.tr { transform: translateY(-50%) translateX(32px); right: 0; text-align: right; }
.take-eye {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.take.tr .take-eye { flex-direction: row-reverse; }
.take-eye::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.take h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1; letter-spacing: .03em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 20px;
}
.take h2 .accent { color: var(--gold); }
.take-stat {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-bottom: 18px;
}
.take.tr .take-stat { flex-direction: row-reverse; }
.stat-n {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1; letter-spacing: -.01em;
  color: var(--ink);
}
.stat-l {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em;
  color: var(--gold); text-transform: uppercase;
}
.take p {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 300;
  letter-spacing: .04em; line-height: 1.65;
  color: var(--ink-mid); text-transform: uppercase;
  max-width: 360px;
}
.take.tr p { margin-left: auto; }

/* ════════ SPECS ════════ */
.specs {
  position: relative;
  padding: clamp(80px, 14vh, 140px) var(--pad-x) clamp(96px, 16vh, 160px);
  background: var(--black);
  border-top: 1px solid var(--line);
}
.specs-inner { max-width: var(--max-w); margin: 0 auto; }
.sp-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px; align-items: end;
  margin-bottom: clamp(40px, 6vh, 72px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.sh-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--ink-dim);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.sh-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.sh-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 80px);
  letter-spacing: .03em; text-transform: uppercase;
  line-height: .96; color: var(--ink);
  margin-bottom: 20px;
}
.sh-desc {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 300;
  color: var(--ink-mid); max-width: 540px;
  line-height: 1.7; letter-spacing: .04em;
  text-transform: uppercase;
}
.sh-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.sh-cta:hover { background: var(--gold); color: var(--black); }
.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 6 cards = 2 linhas cheias, sem célula vazia */
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.sp-card {
  background: var(--black);
  padding: clamp(28px, 4vw, 40px);
  min-height: clamp(190px, 23vh, 250px);
  display: flex; flex-direction: column;   /* tag no topo, bloco numérico na base */
  transition: background .3s var(--ease-out);
}
.sp-card:hover { background: var(--surface); }
.spec-tag {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-dim);
  margin-bottom: auto; display: block;   /* empurra o bloco numérico pra base do card */
}
.spec-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 68px);
  color: var(--ink); line-height: 1;
  letter-spacing: -.01em; display: inline-block;
}
.spec-unit {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold);
  margin-top: 6px; display: block;
}
.spec-desc {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 300;
  color: var(--ink-dim); margin-top: 14px;
  line-height: 1.55; text-transform: uppercase;
  letter-spacing: .06em;
}

/* ════════ FADE-IN (IntersectionObserver) ════════ */
.fadein {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.fadein.in { opacity: 1; transform: translateY(0); }
.fadein.delay-1 { transition-delay: .08s; }
.fadein.delay-2 { transition-delay: .16s; }
.fadein.delay-3 { transition-delay: .24s; }

/* Nav: abaixo de ~1240px os 10 links de modelo não cabem em uma linha
   → recolhe pro menu hambúrguer (que já lista todos) em vez de quebrar/vazar */
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ════════ MOBILE ════════ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links, .cta, .nav-tag { display: none; }
  .nav-actions { gap: 8px; }
  .theme-toggle { width: 36px; height: 36px; }
  .hamburger { display: flex; }
  .hero-meta { gap: 32px; }
  /* Mobile: logo em FLUXO (não sobrepõe mais o texto) + hero alinhado ao topo */
  .hero { justify-content: flex-start; }
  .hero-logo-wrap { position: relative; top: auto; left: auto; right: auto; margin: 2px 0 14px; }
  .hero-logo { width: 146px; }
  .hero-inner { padding-top: 6px; }
  .footer-inner { gap: 28px; }
  .footer-col { min-width: 45%; }

  .chapter { padding: 80px var(--pad-x) 32px; }
  .chapter-inner { grid-template-columns: 1fr; gap: 8px; }
  .chapter-num { font-size: 42vw; line-height: .85; margin-bottom: -8px; }
  .chapter-meta { padding-bottom: 0; }
  .chapter-name { font-size: clamp(40px, 11vw, 68px); }

  .take {
    top: auto; bottom: 7%;
    width: calc(100% - 2 * var(--pad-x));
    max-width: 520px; text-align: left;
  }
  .take.tl, .take.tr { left: var(--pad-x); right: var(--pad-x); text-align: left; }
  .take.tr .take-eye  { flex-direction: row; }
  .take.tr .take-stat { flex-direction: row; }
  .take.tr p { margin-left: 0; }
  .take h2  { font-size: clamp(24px, 7vw, 36px); margin-bottom: 12px; }
  .take p   { font-size: 12px; line-height: 1.55; }
  .stat-n   { font-size: clamp(32px, 9vw, 44px); }
  .take-stat { margin-bottom: 12px; }

  .car-header { top: 18px; }
  .car-header-title { font-size: clamp(28px, 7vw, 44px); }

  .sp-head { grid-template-columns: 1fr; gap: 16px; }
  .sh-title { font-size: clamp(36px, 10vw, 56px); }
  .sh-cta { justify-self: start; }
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-card { padding: 22px 20px; }
  .spec-num { font-size: clamp(34px, 9vw, 52px); }

  .scroll-hint { bottom: 22px; }
  .hero-pills .pill { padding: 12px 16px; font-size: 10px; }
}

@media (max-width: 420px) {
  .sp-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ════════ CONSENT BANNER + WHATSAPP FAB ════════ */
.vk-consent {
  position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 9000;
  display: flex; align-items: center; gap: 22px; padding: 16px 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid #5BA3E8;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(6,18,31,.16);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.vk-consent[hidden] { display: none; }
.vk-consent-txt {
  margin: 0; flex: 1;
  font-size: 11px; line-height: 1.6; letter-spacing: .4px; color: var(--ink-mid);
}
.vk-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.vk-consent-btn {
  padding: 10px 22px; font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; cursor: pointer;
  border: 1px solid #5BA3E8; transition: all .2s;
}
.vk-consent-no  { background: transparent; color: var(--ink-mid); border-color: var(--line-2); }
.vk-consent-no:hover  { color: var(--ink); border-color: var(--ink-dim); }
.vk-consent-yes { background: #5BA3E8; color: #06121f; }
.vk-consent-yes:hover { box-shadow: 0 0 18px rgba(91,163,232,.55); }
html[data-theme="night"] .vk-consent {
  background: rgba(7,12,22,.96);
  box-shadow: 0 14px 40px rgba(0,0,0,.6);
}
@media (max-width: 640px) {
  .vk-consent { flex-direction: column; align-items: stretch; gap: 12px; left: 12px; right: 12px; bottom: 12px; }
}

.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 8000;
  display: grid; place-items: center;
  width: 66px; height: 66px; border-radius: 50%;
  background: #25D366; color: #06351C; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 1px rgba(255,255,255,.15) inset;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 40px rgba(37,211,102,.6), 0 0 0 1px rgba(255,255,255,.25) inset; }
.wa-fab svg { display: block; }
@media (max-width: 640px) { .wa-fab { bottom: 16px; right: 16px; width: 58px; height: 58px; } }

/* Selo WhatsApp sobre a marca d'água do Gemini (posição/tamanho via JS na videoScene) */
.wa-stamp {
  position: absolute; z-index: 20;
  width: 60px; height: 60px;            /* sobrescrito via JS conforme o vídeo renderizado */
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366; color: #06351C;
  box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 1px rgba(255,255,255,.18) inset;
  transform: translate(-50%, -50%);     /* centra o selo no ponto da marca */
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s;
  pointer-events: auto; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wa-stamp:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 12px 32px rgba(37,211,102,.6), 0 0 0 1px rgba(255,255,255,.3) inset; }
.wa-stamp svg { width: 52%; height: 52%; display: block; }

/* ════════ SPECS HORIZONTAL (GSAP desktop) ════════ */
.specs.vk-hx { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 6vh; padding-bottom: 6vh; }
.specs.vk-hx .specs-inner { max-width: none; width: 100%; }
.specs.vk-hx .sp-head { margin-bottom: 3.2vh; padding-bottom: 2.4vh; }
.specs.vk-hx .sp-grid { display: flex; flex-wrap: nowrap; width: max-content; background: transparent; border: none; gap: 1px; will-change: transform; }
.specs.vk-hx .sp-card { flex: 0 0 clamp(210px,21vw,300px); min-height: 42vh; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); margin-right: -1px; }

/* Painel CTA */
.vk-cta-panel {
  grid-column: 1 / -1;
  background: var(--gold); color: var(--black);
  padding: clamp(28px,5vw,56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.vk-cta-panel h4 { font-family: var(--font-display); font-size: clamp(26px,3.2vw,46px); text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin: 0; }
.vk-cta-panel a {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px;
  background: var(--ink); color: var(--black);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .25s;
}
.vk-cta-panel a:hover { transform: translateX(4px); }
.specs.vk-hx .vk-cta-panel { grid-column: auto; flex: 0 0 clamp(280px,28vw,380px); min-height: 42vh; flex-direction: column; align-items: flex-start; justify-content: center; }

/* ════════════════════════════════════════════
   BIBI RACE — CAMADA DE IDENTIDADE (override)
   Aplicada por último: vence o azul Vektor cravado
   em gradientes/filtros e dá a pegada esportiva neon.
   ════════════════════════════════════════════ */

/* Fundo preto quente com brilho âmbar (igual ao design system) */
body {
  background-image:
    radial-gradient(900px 520px at 50% -8%, rgba(255,150,10,.10), transparent 62%),
    radial-gradient(700px 700px at 92% 8%, rgba(255,182,39,.04), transparent 58%);
  background-attachment: fixed;
}
::selection { background: rgba(255,182,39,.28); color: #fff; }

/* Wordmark & títulos de marca — Montserrat 800 itálico, caixa mista */
.nav-logo-text,
.hero h1,
.chapter-name,
.car-header-title,
.sh-title,
.take h2,
.mobile-nav a {
  font-style: italic;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -.01em;
}
.nav-logo-text { font-size: 21px; }

/* Números e rótulos display — Montserrat 800 reto (legibilidade) */
.meta-v, .spec-num, .stat-n, .chapter-num, .vk-cta-panel h4 { font-weight: 800; }

/* Glow neon na marca */
.nav-logo-text { text-shadow: 0 0 6px rgba(255,182,39,.20); }
.hero h1 { text-shadow: 0 0 4px rgba(255,182,39,.10); filter: none; }
.logo-img { filter: drop-shadow(0 0 10px rgba(255,182,39,.55)); }
.hero-logo {
  filter: drop-shadow(0 0 50px rgba(255,182,39,.40)) drop-shadow(0 0 110px rgba(232,149,12,.20));
}

/* Destaques em gradiente → âmbar */
.hero h1 .grad,
.chapter-name .grad {
  background: linear-gradient(120deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .accent { color: var(--gold); }

/* Glows de fundo (hero / cena / capítulo) → âmbar */
.hero::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,182,39,.10), transparent 62%),
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(232,149,12,.07), transparent 62%);
  background-size: 160px 160px, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat;
}
.scene-stage {
  background:
    radial-gradient(ellipse 70% 60% at 50% 60%, rgba(255,182,39,.10), transparent 65%),
    radial-gradient(ellipse 30% 50% at 50% 100%, rgba(255,182,39,.22), transparent 70%);
}
.chapter-num {
  background: linear-gradient(180deg, rgba(255,182,39,.16), transparent 70%);
  -webkit-background-clip: text; background-clip: text;
}
.pill:hover { background: rgba(255,182,39,.08); }

/* CTAs ganham glow no hover */
.cta:hover, .sh-cta:hover { box-shadow: var(--glow); }

/* Banner de consentimento → Bibi */
.vk-consent,
html[data-theme="night"] .vk-consent {
  background: rgba(12,10,6,.96);
  border-color: var(--gold);
  font-family: var(--font-mono);
  box-shadow: 0 14px 40px rgba(0,0,0,.6);
}
.vk-consent-btn { border-color: var(--gold); }
.vk-consent-no  { border-color: var(--line-2); }
.vk-consent-yes { background: var(--gold); color: #1a1304; }
.vk-consent-yes:hover { box-shadow: var(--glow); }
