/* ==========================================================================
   MAXLOC Supply — blocos de cor alternados (preto · papel · azul · listrado)
   ========================================================================== */
:root {
  --bg: #050a1c;
  --surface: #0a1330;
  --raise: #101b40;
  --border: rgba(226, 236, 255, 0.12);
  --text: #eef3ff;
  --muted: rgba(226, 236, 255, 0.66);
  --blue: #1747e6;
  --deep: #0a2aa0;
  --accent: #3d85ff;
  --ice: #a9c8ff;
  --paper: #e8edf7;
  --ink: #050a1c;
  --container: 1320px;
  --gutter: clamp(20px, 3vw, 44px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-weight: 400; line-height: 1.5; background: var(--bg); color: var(--text); overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; z-index: 300; top: 12px; left: 12px; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--ink); transform: translateY(-160%); transition: transform 0.2s; }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

svg.ecard__ic, .v-pick__row svg, .v-route__truck svg {
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

.paper { --text: #050a1c; --muted: rgba(5, 10, 28, 0.62); --border: rgba(5, 10, 28, 0.14); background: var(--paper); color: var(--text); }

/* Tipografia */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.88; letter-spacing: 0.005em; }
.kicker, .micro { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: 0.7; }
.kicker--light { color: rgba(238, 243, 255, 0.78); }
.micro { margin-bottom: 14px; font-size: 11px; }
.micro--ice { color: var(--ice); }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section-title { font-size: clamp(42px, 5.6vw, 88px); }
.section-title--sm { font-size: clamp(36px, 4.4vw, 68px); }
.hl { color: var(--accent); }
.paper .hl { color: var(--blue); }
.hl--ice { color: var(--ice); }
.lead { max-width: 520px; margin-top: 18px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: var(--muted); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lead { margin: 0; }
.fold-word { display: inline-block; white-space: nowrap; }
.fold-char { display: inline-block; backface-visibility: hidden; }

/* Botões */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  white-space: nowrap; border: 1px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}
.btn--solid { background: var(--text); color: var(--ink); }
.btn--solid:hover { background: var(--accent); color: #fff; }
.paper .btn--solid { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: rgba(238, 243, 255, 0.35); background: rgba(5, 10, 28, 0.3); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(238, 243, 255, 0.1); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn__arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.js .preloader { display: grid; }

/* Pré-carregamento: sutil e elegante */
.preloader {
  --hs: 0px;
  position: fixed; inset: 0; z-index: 400; display: none; overflow: hidden; background: var(--bg); color: #fff;
  -webkit-mask-image: linear-gradient(#000 0 0), url("assets/mark-x.png?v=6"); mask-image: linear-gradient(#000 0 0), url("assets/mark-x.png?v=6");
  -webkit-mask-size: 100% 100%, var(--hs) auto; mask-size: 100% 100%, var(--hs) auto;
  -webkit-mask-position: center, center; mask-position: center, center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.js .preloader { display: grid; place-items: center; }
.pre__glow { position: absolute; left: 50%; top: 50%; width: 110vmin; height: 110vmin; margin: -55vmin 0 0 -55vmin; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(61, 133, 255, 0.16), transparent 62%); animation: pre-breathe 5s ease-in-out infinite; }
@keyframes pre-breathe { 50% { transform: scale(1.12); opacity: 0.65; } }
.pre__xglow {
  --hs: 0px; display: none; position: fixed; inset: 0; z-index: 401; pointer-events: none;
  background: linear-gradient(135deg, #e4efff, #7fb0ff 55%, #3d85ff);
  -webkit-mask-image: url("assets/mark-x.png?v=6"), url("assets/mark-x.png?v=6"); mask-image: url("assets/mark-x.png?v=6"), url("assets/mark-x.png?v=6");
  -webkit-mask-size: calc(var(--hs) * 1.035) auto, var(--hs) auto; mask-size: calc(var(--hs) * 1.035) auto, var(--hs) auto;
  -webkit-mask-position: center, center; mask-position: center, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: blur(1.2px) drop-shadow(0 0 16px rgba(80, 150, 255, 0.75));
  animation: xglow 2.8s ease-in-out infinite alternate;
}
.js .pre__xglow { display: block; }
@keyframes xglow { from { opacity: 0.45; } to { opacity: 0.95; } }

/* Camadas globais */
#scene { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
#sparks { position: fixed; inset: 0; z-index: 120; width: 100%; height: 100%; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 110; pointer-events: none; opacity: 0.035; 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor { position: fixed; z-index: 140; top: 0; left: 0; width: 0; height: 0; pointer-events: none; display: none; }
.cursor i { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #fff; transition: transform 0.3s var(--ease-out), background-color 0.3s; }
.cursor.is-hover i { transform: scale(1.7); background: rgba(255, 255, 255, 0.18); }
@media (pointer: fine) { .js-motion .cursor { display: block; } }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: 16px; transition: transform 0.5s var(--ease-out); }
.header.is-hidden { transform: translateY(-120%); }
.header__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: center; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hspin { to { --ang: 360deg; } }
.header__bar {
  position: relative; display: flex; align-items: center; gap: clamp(24px, 3.4vw, 54px);
  height: 70px; padding: 0 10px 0 22px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(214, 226, 250, 0.92));
  box-shadow: 0 24px 60px -20px rgba(23, 71, 230, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(23, 71, 230, 0.12);
  }
.header__bar::before {
  content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 52%, #3d85ff 70%, #bcd6ff 80%, #3d85ff 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: hspin 5s linear infinite; animation-play-state: paused;
}
.header__bar:hover::before { animation-play-state: running; }
.header__line { position: absolute; left: 24px; right: 24px; bottom: 5px; height: 2px; border-radius: 2px; pointer-events: none; background: linear-gradient(90deg, #1747e6, #6aa3ff); transform: scaleX(var(--sp, 0)); transform-origin: left; opacity: 0.85; }
.header__nav ul { position: relative; display: flex; gap: 2px; }
.header__nav a { position: relative; z-index: 1; display: block; padding: 11px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(5, 10, 28, 0.72); transition: color 0.3s; }
.nav__ind { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; opacity: 0; pointer-events: none; background: linear-gradient(135deg, #3d85ff, #1747e6); box-shadow: 0 10px 24px -8px rgba(23, 71, 230, 0.9); transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out), opacity 0.3s; }
.header__cta { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 18px; overflow: hidden; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: linear-gradient(135deg, #1c52ee, #0a2aa0); box-shadow: 0 12px 28px -10px rgba(10, 42, 160, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: transform 0.4s var(--ease-out); }
.header__cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-160%) skewX(-20deg); animation: cta-sheen 4.2s ease-in-out 1.5s infinite; }
@keyframes cta-sheen { 0%, 60% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(380%) skewX(-20deg); } }
.header__cta svg { transition: transform 0.4s var(--ease-out); }
.header__cta:hover { transform: translateY(-2px); }
.header__cta:hover svg { transform: translate(3px, -3px) rotate(8deg); }
.logo__img { transition: transform 0.5s var(--ease-out), filter 0.4s; }
.header__logo:hover .logo__img { transform: scale(1.05); filter: drop-shadow(0 4px 14px rgba(23, 71, 230, 0.45)); }
@media (min-width: 769px) { .header__nav a:hover, .header__nav a.is-on { color: #fff; } }
.header__bar.is-intro { overflow: hidden; }
.header__bar > * { flex-shrink: 0; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); }
.logo__img { display: block; height: 40px; width: auto; }
.logo__sub { margin-top: 3px; font-size: 7px; letter-spacing: 0.7em; padding-left: 0.7em; color: var(--ice); }
.header__nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.header__toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.header__toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s; }
.header__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* 1. Hero */
.hero { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; }
.hero__fallback { position: absolute; inset: 0; z-index: -3; background: radial-gradient(60% 70% at 76% 46%, rgba(23, 71, 230, 0.55), transparent 70%), var(--bg); }
.scene-ready .hero__fallback { display: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 10, 28, 0.9) 0%, rgba(5, 10, 28, 0.55) 40%, rgba(5, 10, 28, 0) 70%),
    linear-gradient(0deg, #050a1c 0%, rgba(5, 10, 28, 0.55) 14%, transparent 34%),
    linear-gradient(180deg, rgba(5, 10, 28, 0.6), transparent 20%);
}
.hero__flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(60% 60% at 72% 40%, rgba(160, 200, 255, 0.95), rgba(61, 133, 255, 0.35) 45%, transparent 75%); mix-blend-mode: screen; }
.hero__content { position: relative; margin-block: auto; padding-top: 138px; padding-bottom: 48px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.eyebrow__dim { color: var(--muted); }
.eyebrow__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.eyebrow__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.4); opacity: 0; } }
.hero__title { font-size: clamp(60px, 9.4vw, 160px); max-width: 9em; }
.hero__line { display: block; overflow: hidden; padding: 0.04em 0 0.1em; margin-bottom: -0.1em; }
.hero__word { display: inline-block; transform-origin: left bottom; }
.hero__sub { max-width: 420px; margin-top: 28px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: rgba(238, 243, 255, 0.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.launchbar { position: relative; z-index: 2; background: rgba(5, 10, 28, 0.88); border-top: 1px solid var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.launchbar__in { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(18px, 3vw, 48px); padding-block: 16px; }
.launchbar__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); white-space: nowrap; }
.launchbar__what { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: clamp(22px, 2.2vw, 30px); }
.launchbar__what i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent); }
.launchbar__pills { display: flex; gap: 6px; }
.launchbar__pills li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--ice); }

/* 2. Letreiro (azul) */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--blue); border-block: 1px solid rgba(255, 255, 255, 0.16); }
.ticker__track { --g: clamp(24px, 3vw, 48px); display: flex; width: max-content; align-items: center; gap: var(--g); padding: 15px var(--g) 15px 0; font-size: clamp(26px, 2.6vw, 38px); animation: marquee 26s linear infinite; will-change: transform; }
.ticker__track span { color: #fff; }
.ticker__track .star { width: auto; height: 30px; flex: none; opacity: 0.95; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 3. Sobre (papel) */
.about { position: relative; z-index: 2; overflow: hidden; }
.about__ghost {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font-size: clamp(300px, 46vw, 760px); line-height: 0.8; pointer-events: none;
  color: transparent; -webkit-text-stroke: 2px rgba(5, 10, 28, 0.1); white-space: nowrap;
}
.about__in { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__card { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: 26px; color: #fff; overflow: hidden; background: linear-gradient(160deg, var(--blue), var(--deep)); box-shadow: 0 40px 90px -40px rgba(10, 42, 160, 0.8); }
.about__card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(169, 200, 255, 0.5), transparent 70%); }
.about__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); font-size: 12px; font-weight: 600; }
.about__big { margin: 36px 0 18px; font-size: clamp(120px, 15vw, 230px); line-height: 0.8; }
.about__big em { font-style: normal; color: var(--ice); }
.fig .fig__word { font-size: clamp(34px, 3.7vw, 60px); line-height: 0.94; white-space: nowrap; padding-top: 0.12em; }
.lead b { color: var(--text); font-weight: 700; }
.about__quote { max-width: 560px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); font-size: clamp(26px, 2.8vw, 42px); line-height: 0.98; }
.about__slogan { position: relative; z-index: 1; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: clamp(26px, 2.6vw, 38px); color: var(--ice); }
.about__cap { position: relative; z-index: 1; max-width: 300px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.figures { position: relative; z-index: 2; padding: clamp(36px, 4.5vw, 60px) 0; border-top: 1px solid var(--border); }
.figures__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.fig { display: grid; grid-template-rows: 1fr auto; align-content: start; gap: 14px; padding: 6px 24px; border-left: 1px solid var(--border); }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig b { font-size: clamp(72px, 7.6vw, 118px); line-height: 0.9; color: var(--blue); }
.fig > span:last-child { font-size: 13px; line-height: 1.4; color: var(--muted); max-width: 200px; }

/* 4. Equipamentos (preto) */
.equip { position: relative; z-index: 2; background: var(--bg); }
.equip { overflow: hidden; }
.equip__stage { position: relative; }
.equip__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 22px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.equip__track::-webkit-scrollbar { display: none; }
.ecard { flex: 0 0 min(78vw, 320px); scroll-snap-align: center; }
.equip__ui, .equip__ghost { display: none; }

/* Carrossel em anel 360° (giro contínuo em loop) */
.equip.is-3d .section-head { margin-bottom: clamp(8px, 2vh, 24px); }
.equip.is-3d .wrap { position: relative; z-index: 2; }
.equip.is-3d .equip__ghost {
  display: block; position: absolute; left: 0; right: 0; top: 56%; z-index: 0; margin-top: -0.4em; text-align: center; pointer-events: none; white-space: nowrap;
  font-size: clamp(130px, 22vw, 360px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px rgba(169, 200, 255, 0.14);
}
.equip.is-3d .equip__stage { height: min(600px, 66svh); margin-top: 0; perspective: 1900px; perspective-origin: 50% 30%; cursor: grab; touch-action: pan-y; }
.equip.is-3d .equip__stage.is-drag { cursor: grabbing; }
.equip.is-3d .equip__track { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; margin: 0; transform-style: preserve-3d; scroll-snap-type: none; }
.equip.is-3d .ecard {
  --cw: clamp(230px, 22vw, 330px); --ch: min(470px, 52svh);
  position: absolute; left: 50%; top: 50%; width: var(--cw); height: var(--ch); min-height: 0; margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2);
  flex: none; transform: none; user-select: none;
  transition: background-color 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.equip.is-3d .ecard.is-active {
  --muted: rgba(5, 10, 28, 0.68); color: var(--ink); border-color: transparent;
  background: radial-gradient(70% 90% at 80% 0%, #ffffff, #dfe8fb 70%);
  box-shadow: 0 0 90px rgba(61, 133, 255, 0.55), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.equip.is-3d .ecard.is-active .ecard__n { -webkit-text-stroke-color: rgba(5, 10, 28, 0.55); }
.equip.is-3d .ecard.is-active .ecard__ic { color: var(--blue); transform: translateY(-4px) scale(1.06); }
.equip.is-3d .ecard.is-active .tags li { color: var(--blue); border-color: rgba(5, 10, 28, 0.18); }
.equip.is-3d .equip__ui { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(10px, 2.4vh, 30px); }
.equip__nav { cursor: pointer; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border); color: #fff; transition: background-color 0.3s, transform 0.4s var(--ease-out), border-color 0.3s; }
.equip__nav:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.08); }
.equip__count { min-width: 74px; text-align: center; font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }
.equip__count b { font: 800 30px var(--display); letter-spacing: 0.04em; color: #fff; }
.equip__dots { display: flex; gap: 8px; }
.equip__dots i { width: 26px; height: 3px; border-radius: 3px; background: rgba(238, 243, 255, 0.2); transition: width 0.5s var(--ease-out), background-color 0.3s; }
.equip__dots i.is-on { width: 54px; background: var(--accent); }
.ecard {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 480px; padding: 22px 20px 22px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: border-color 0.3s, background-color 0.3s;
}
.ecard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 133, 255, 0.35), transparent 70%); }
.ecard:hover { border-color: rgba(61, 133, 255, 0.6); }
.ecard:hover::before { opacity: 1; }
.ecard__n { font-size: 56px; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.4px rgba(169, 200, 255, 0.75); }
.ecard__ic { width: 58%; height: auto; margin: 10px auto; color: var(--ice); transform: translateZ(40px); transition: transform 0.5s var(--ease-out), color 0.3s; filter: drop-shadow(0 12px 18px rgba(0, 0, 40, 0.5)); }
.ecard:hover .ecard__ic { color: #fff; }
.ecard h3 { margin-top: auto; font-size: clamp(28px, 2.1vw, 34px); line-height: 0.92; }
.ecard p { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 11px; font-weight: 600; color: var(--ice); }

/* 5. Impacto (listrado, pinado) */
.impact { position: relative; z-index: 2; background: var(--bg); }
.impact__stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; }
.impact__stripes {
  position: absolute; inset: -10%; z-index: 0;
  background: repeating-linear-gradient(135deg, #07123a 0 44px, #0d2478 44px 88px);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.35) 100%); mask-image: radial-gradient(70% 80% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.35) 100%);
}
.impact__flash { position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, rgba(255, 255, 255, 0.95), rgba(120, 170, 255, 0.4) 50%, transparent 75%); mix-blend-mode: screen; }
.impact__ring { position: absolute; z-index: 3; left: 50%; top: 52%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(190, 215, 255, 0.9); opacity: 0; pointer-events: none; }
.impact__in { position: relative; z-index: 2; padding-block: 90px 80px; }
.beats { position: relative; height: clamp(300px, 52vh, 520px); }
.beat { position: absolute; inset: 0; display: grid; align-content: center; gap: 14px; }
.beat__n { font-size: clamp(22px, 2.4vw, 34px); color: var(--ice); letter-spacing: 0.1em; }
.beat__w { font-size: clamp(76px, 17.5vw, 300px); line-height: 0.82; }
.beat__t { max-width: 520px; font-size: clamp(15px, 1.4vw, 20px); line-height: 1.5; color: rgba(238, 243, 255, 0.86); }
.impact__dots { display: flex; gap: 8px; margin-top: 18px; }
.impact__dots li { width: 34px; height: 4px; border-radius: 4px; background: rgba(238, 243, 255, 0.22); transition: background-color 0.3s, width 0.4s var(--ease-out); }
.impact__dots li.is-on { width: 64px; background: var(--accent); }
.is-glitch .beat__w { text-shadow: 6px 0 0 rgba(255, 60, 90, 0.5), -6px 0 0 rgba(60, 200, 255, 0.55), 0 10px 70px rgba(4, 12, 60, 0.8); }
html:not(.js-motion) .impact__stage { min-height: 0; padding-block: 40px; }
html:not(.js-motion) .beats { height: auto; display: grid; gap: 56px; }
html:not(.js-motion) .beat { position: static; }

/* 6. Pilares (papel) */
.pillars { position: relative; z-index: 2; }
.pillars__list { border-top: 1px solid var(--border); }
.pil {
  position: relative; display: grid; grid-template-columns: 90px minmax(0, 1.7fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 40px) 12px; border-bottom: 1px solid var(--border); overflow: hidden; isolation: isolate;
  transition: color 0.4s;
}
.pil::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; background: var(--blue); transition: transform 0.55s var(--ease-out); }
.pil:hover { color: #fff; }
.pil__n, .pil__w { transition: transform 0.5s var(--ease-out); }
.pil:hover .pil__n, .pil:hover .pil__w { transform: translateX(18px); }
.pil:hover::before { transform: scaleY(1); }
.pil__n { font-size: 40px; color: transparent; -webkit-text-stroke: 1.3px currentColor; }
.pil__w { font-size: clamp(48px, 6.6vw, 108px); line-height: 0.85; }
.pil__d { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.45; color: var(--muted); transition: color 0.4s; }
.pil__d b { display: block; margin-bottom: 4px; font-weight: 700; color: var(--blue); transition: color 0.4s; }
.pil:hover .pil__d, .pil:hover .pil__d b { color: #fff; }
.pil__go { transition: transform 0.5s var(--ease-out); }
.pil:hover .pil__go { transform: translate(6px, -6px) rotate(8deg); }

/* 7. Como funciona (azul, pinado) */
.steps { position: relative; z-index: 2; padding: clamp(70px, 9vw, 120px) 0; background: var(--blue); background-image: radial-gradient(60% 80% at 85% 20%, rgba(169, 200, 255, 0.28), transparent 70%); }
.steps__head { margin-bottom: clamp(28px, 4vw, 52px); }
.steps__stage { display: grid; gap: 16px; }
.step-card {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(150deg, #0b1d66, #060f35); box-shadow: 0 -20px 60px -30px rgba(0, 0, 20, 0.9);
}
.step-card__shade { position: absolute; inset: 0; z-index: 3; background: #050a1c; opacity: 0; pointer-events: none; }
.step-card__n { display: block; margin-bottom: 14px; font-size: 22px; letter-spacing: 0.12em; color: var(--ice); }
.step-card h3 { font-size: clamp(34px, 4.2vw, 64px); line-height: 0.92; }
.step-card p { margin-top: 18px; max-width: 440px; font-size: 16px; line-height: 1.6; color: rgba(238, 243, 255, 0.8); }
.step-card__viz { position: relative; min-height: 240px; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; border-radius: 20px; background: rgba(2, 6, 20, 0.55); border: 1px solid var(--border); }
.steps.is-stacked { padding: 0; }
.steps.is-stacked .steps__inner { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.steps.is-stacked .steps__head { margin-bottom: 24px; }
.steps.is-stacked .steps__stage { position: relative; height: min(440px, 56svh); display: block; }
.steps.is-stacked .step-card { position: absolute; inset: 0; }
.v-pick__row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(61, 133, 255, 0.12); border: 1px solid var(--border); font-size: 14px; }
.v-pick__row svg { width: 32px; height: 32px; color: var(--ice); }
.v-pick__row span { flex: 1; }
.v-pick__row i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 4px #0b1d66; border: 2px solid var(--accent); }
.v-pick__bar { height: 6px; border-radius: 6px; overflow: hidden; background: rgba(169, 200, 255, 0.18); }
.v-app__fill { display: block; height: 100%; width: 100%; transform-origin: left; background: linear-gradient(90deg, var(--accent), #cfe0ff); }
.v-pick small { font-size: 12px; color: var(--muted); }
.v-route svg { width: 100%; height: auto; }
.v-route__map { position: relative; }
.v-route__truck { position: absolute; left: calc(24 / 320 * 100% - 20px); top: calc(120 / 160 * 100% - 44px); width: 40px; height: 40px; padding: 8px; border-radius: 11px; background: var(--accent); color: #fff; box-shadow: 0 8px 20px -6px rgba(61, 133, 255, 0.8); }
.v-done { align-items: center; }
.v-done__check { width: 110px; height: 110px; }
.v-done__pill { padding: 9px 18px; border-radius: 999px; font-size: 13px; background: rgba(61, 133, 255, 0.2); border: 1px solid rgba(61, 133, 255, 0.55); color: #dbe8ff; }

/* 8. Final: noite de obra com holofotes, chão holográfico e o X monumental */
.finale { position: relative; z-index: 2; overflow: hidden; text-align: center; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: #050a1c; }
.finale__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finale__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(40, 90, 235, 0.86), rgba(25, 70, 210, 0.9)); }
.finale::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(85% 80% at 50% 48%, transparent 38%, rgba(4, 9, 36, 0.8) 100%); }
.zebra { position: relative; height: 18px; flex: none; overflow: hidden; background: #050a1c; z-index: 3; }
.zebra::before { content: ""; position: absolute; top: 0; bottom: 0; left: -80px; right: -80px; background: repeating-linear-gradient(135deg, #e8edf7 0 14px, #050a1c 14px 28px); animation: zebra-run 1.1s linear infinite; }
.zebra--end { height: 14px; }
@keyframes zebra-run { to { transform: translateX(-39.6px); } }
.finale__stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.6px 1.6px at 8% 18%, #fff, transparent), radial-gradient(1.2px 1.2px at 22% 42%, #cfe0ff, transparent), radial-gradient(1.8px 1.8px at 37% 12%, #fff, transparent), radial-gradient(1.2px 1.2px at 52% 30%, #9cc0ff, transparent), radial-gradient(1.6px 1.6px at 66% 16%, #fff, transparent), radial-gradient(1.2px 1.2px at 81% 38%, #cfe0ff, transparent), radial-gradient(1.8px 1.8px at 93% 14%, #fff, transparent), radial-gradient(1.2px 1.2px at 14% 62%, #9cc0ff, transparent), radial-gradient(1.4px 1.4px at 74% 58%, #fff, transparent), radial-gradient(1.4px 1.4px at 46% 52%, #cfe0ff, transparent); animation: pre-twinkle 3.6s ease-in-out infinite alternate; }
.finale__horizon { position: absolute; left: 0; right: 0; bottom: 30%; height: 34%; pointer-events: none; background: radial-gradient(55% 100% at 50% 100%, rgba(150, 195, 255, 0.85), rgba(61, 133, 255, 0.35) 45%, transparent 75%); }
.finale__beam { position: absolute; bottom: -12%; width: 30vw; height: 135%; pointer-events: none; transform-origin: 50% 100%; mix-blend-mode: screen; filter: blur(5px); clip-path: polygon(44% 100%, 56% 100%, 100% 0, 0 0); background: linear-gradient(0deg, rgba(190, 220, 255, 0.55), rgba(120, 175, 255, 0.18) 55%, transparent 90%); }
.finale__beam--a { left: 2%; animation: sweep-a 7s ease-in-out infinite alternate; }
.finale__beam--b { right: 2%; animation: sweep-b 8.5s ease-in-out infinite alternate; }
@keyframes pre-twinkle { from { opacity: 0.35; transform: translateY(0); } to { opacity: 1; transform: translateY(-8px); } }
@keyframes sweep-a { from { transform: rotate(-26deg); } to { transform: rotate(18deg); } }
@keyframes sweep-b { from { transform: rotate(26deg); } to { transform: rotate(-16deg); } }
.finale__floor {
  position: absolute; left: -60%; width: 220%; bottom: -2%; height: 72%; pointer-events: none;
  background-image: linear-gradient(rgba(110, 170, 255, 0.7) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(110, 170, 255, 0.7) 1.5px, transparent 1.5px);
  background-size: 90px 90px; transform: perspective(420px) rotateX(58deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  animation: floor-run 2.2s linear infinite;
}
@keyframes floor-run { to { background-position: 0 90px; } }
.finale__x { position: absolute; left: 50%; top: 40%; height: min(96vh, 980px); pointer-events: none; transform: translate(-50%, -50%) perspective(1400px) rotateY(calc(var(--fx) * 16deg)) rotateX(calc(var(--fy) * -10deg)); transition: transform 0.4s ease-out; }
.finale__x img { display: block; height: 100%; width: auto; opacity: 0.34; filter: drop-shadow(0 0 90px rgba(90, 160, 255, 0.9)); animation: x-float 9s ease-in-out infinite; }
@keyframes x-float { 50% { transform: translateY(-2.4%) scale(1.02); opacity: 0.46; } }
.finale__in { position: relative; z-index: 2; margin-block: auto; padding-block: clamp(70px, 9vw, 130px); }
.finale__title { font-size: clamp(60px, 11.5vw, 190px); max-width: 9em; margin-inline: auto; text-shadow: 0 4px 30px rgba(2, 8, 44, 0.9), 0 2px 6px rgba(2, 8, 44, 0.6); }
.finale__title .hl--ice { color: #cfe0ff; }
.finale .lead { margin-inline: auto; max-width: 460px; }
.finale__actions { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 70px); }

.orb { position: relative; display: grid; place-items: center; width: clamp(220px, 22vw, 300px); aspect-ratio: 1; color: #fff; }
.orb__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 24s linear infinite; }
.orb__ring text { font: 700 11.5px var(--body); letter-spacing: 0.12em; text-transform: uppercase; fill: rgba(190, 215, 255, 0.9); }
.orb:hover .orb__ring { animation-duration: 7s; }
.orb__pulse { position: absolute; left: 18%; top: 18%; right: 18%; bottom: 18%; border-radius: 50%; border: 2px solid rgba(106, 163, 255, 0.7); animation: orb-pulse 3.2s ease-out infinite; pointer-events: none; }
.orb__pulse--b { animation-delay: 1.6s; }
@keyframes orb-pulse { 0% { transform: scale(0.95); opacity: 0.9; } 100% { transform: scale(1.75); opacity: 0; } }
.orb__orbit { position: absolute; inset: 9%; border-radius: 50%; pointer-events: none; animation: spin 7s linear infinite; }
.orb__orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px rgba(120, 170, 255, 0.95); }
.orb__orbit--b { inset: 15%; animation-duration: 11s; animation-direction: reverse; }
.orb__orbit--b i { width: 6px; height: 6px; margin-left: -3px; top: -3px; background: #cfe0ff; }
.orb__sphere {
  position: relative; display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 30% 24%, #9cc4ff, #1747e6 52%, #07185f);
  box-shadow: 0 0 90px rgba(61, 133, 255, 0.85), inset 0 0 40px rgba(255, 255, 255, 0.3), inset -22px -30px 60px rgba(4, 10, 60, 0.65);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s;
}
.orb:hover .orb__sphere { transform: scale(1.08); box-shadow: 0 0 140px rgba(120, 175, 255, 1), inset 0 0 50px rgba(255, 255, 255, 0.45), inset -22px -30px 60px rgba(4, 10, 60, 0.55); }
.orb__shine { position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent 0 58%, rgba(255, 255, 255, 0.5) 72%, transparent 86%); mix-blend-mode: overlay; animation: spin 5s linear infinite; }
.orb__core { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center; }
.orb__ig { width: clamp(26px, 2.6vw, 36px); height: auto; margin-bottom: 2px; filter: drop-shadow(0 2px 10px rgba(0, 0, 40, 0.5)); }
.orb__core b { font-size: clamp(34px, 3.6vw, 52px); line-height: 0.9; letter-spacing: 0.01em; text-shadow: 0 4px 24px rgba(0, 20, 90, 0.6); }
.orb__core small { font-size: clamp(10px, 0.95vw, 12px); font-weight: 600; letter-spacing: 0.1em; opacity: 0.9; }
.orb__go { position: absolute; right: 8%; bottom: 8%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 8px 30px rgba(0, 0, 40, 0.5); transition: transform 0.4s var(--ease-out), background-color 0.3s, color 0.3s; }
.orb:hover .orb__go { transform: translate(4px, -4px) rotate(12deg) scale(1.1); background: var(--blue); color: #fff; }
.cursor.is-orb i { opacity: 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; max-width: 920px; margin: clamp(48px, 6vw, 84px) auto 0; }
.tile { padding: 20px 24px; border-radius: 18px; text-align: left; background: rgba(10, 19, 48, 0.55); border: 1px solid var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color 0.3s, transform 0.4s var(--ease-out); }
.tile:hover { border-color: rgba(61, 133, 255, 0.6); transform: translateY(-3px); }
.tile > span { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice); }
.tile > b, .tile > a { font-size: 20px; font-weight: 700; font-stretch: 100%; }
.tile[hidden] { display: none; }

/* 9. Encerramento: vídeo da logo */
.outro { position: relative; z-index: 2; background: #000; overflow: hidden; }
.outro__video { display: block; width: 100%; height: auto; max-height: 100vh; margin: 0 auto; object-fit: cover; background: #000; }
.outro__cta { position: absolute; left: 50%; bottom: clamp(22px, 5vh, 56px); transform: translate(-50%, 20px); display: grid; justify-items: center; gap: 12px; opacity: 0; pointer-events: none; transition: opacity 0.8s, transform 0.8s var(--ease-out); }
.outro.is-ended .outro__cta { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.outro__shade { position: absolute; left: 0; right: 0; top: 0; height: 22%; pointer-events: none; background: linear-gradient(180deg, #0b2f96, rgba(11, 47, 150, 0)); }
.outro__sound, .outro__replay { position: absolute; bottom: 22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: rgba(5, 10, 28, 0.55); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); transition: background-color 0.3s, transform 0.4s var(--ease-out); }
.outro__sound { right: 22px; }
.outro__replay { right: 80px; opacity: 0; pointer-events: none; transition: opacity 0.4s, background-color 0.3s, transform 0.4s var(--ease-out); }
.outro.is-ended .outro__replay { opacity: 1; pointer-events: auto; }
.outro__sound:hover, .outro__replay:hover { background: var(--blue); transform: scale(1.08); }
.outro__sound .snd-off { display: block; }
.outro__sound[aria-pressed="true"] .snd-off { display: none; }
.outro__sound .snd-on { display: none; }
.outro__sound[aria-pressed="true"] .snd-on { display: block; }

.footer { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--border); }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; font-size: 13px; color: var(--muted); }
.footer__logo { display: block; padding: 8px 18px; border-radius: 14px; background: radial-gradient(70% 90% at 80% 0%, #fff, #dfe8fb 70%); box-shadow: 0 0 30px rgba(61, 133, 255, 0.35); }
.footer__logo img { display: block; height: 38px; width: auto; }
.totop { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border); color: #fff; transition: background-color 0.3s, transform 0.4s var(--ease-out); }
.totop:hover { background: var(--blue); transform: translateY(-4px); }


/* 0. Abertura: feixe de luz acende a logo (automático após o carregamento) */
.gate { position: relative; z-index: 3; background: var(--bg); }
.gate__stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.gate__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(120, 170, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent 78%); mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent 78%);
}
.gate__heat { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(34% 46% at var(--hx, 50%) 44%, rgba(61, 133, 255, 0.45), transparent 72%); }
.gate__center { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter); text-align: center; }
.gate__logo { --p: 100%; --bo: 0; position: relative; width: min(1100px, 86vw); margin: 0 auto; border-radius: 30px; }
.gate__off { padding: clamp(24px, 4.4vw, 64px); border-radius: inherit; background: linear-gradient(160deg, #0b1636, #070f28); border: 1px solid rgba(120, 170, 255, 0.2); }
.gate__off img { display: block; width: 100%; height: auto; opacity: 0.16; filter: grayscale(1); }
.gate__glow { position: absolute; inset: 0; border-radius: inherit; }
.gate__logo { box-shadow: 0 0 90px rgba(61, 133, 255, 0.45); }
.gate__lit {
  position: absolute; inset: 0; padding: clamp(24px, 4.4vw, 64px); border-radius: inherit;
  background: radial-gradient(70% 90% at 80% 0%, #ffffff, #dfe8fb 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 var(--p), transparent calc(var(--p) + 0.01%)); mask-image: linear-gradient(90deg, #000 var(--p), transparent calc(var(--p) + 0.01%));
}
.gate__lit img { display: block; width: 100%; height: auto; }
.gate__beam {
  position: absolute; top: -10%; bottom: -10%; left: 0; width: 4px; margin-left: -2px; opacity: var(--bo); pointer-events: none; will-change: transform;
  background: #fff; box-shadow: 0 0 18px 5px #e6f0ff, 0 0 60px 22px rgba(61, 133, 255, 0.9), 0 0 130px 48px rgba(61, 133, 255, 0.5);
}
.gate__title { margin-top: clamp(26px, 4vw, 56px); font-size: clamp(38px, 6.6vw, 108px); line-height: 0.9; }
.gate__title .hl--ice { color: var(--accent); }
.gate__sub { margin-top: 16px; font-size: clamp(13px, 1.4vw, 19px); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.gate__flash { position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 42%, rgba(255, 255, 255, 0.95), rgba(120, 170, 255, 0.4) 50%, transparent 75%); mix-blend-mode: screen; }
.gate__ring { position: absolute; z-index: 3; left: 50%; top: 40%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(190, 215, 255, 0.9); opacity: 0; pointer-events: none; }
html:not(.js-motion) .gate__beam, html:not(.js-motion) .gate__off { display: none; }
html:not(.js-motion) .gate__glow, html:not(.js-motion) .gate__lit { position: relative; }
html:not(.js-motion) .gate__stage { padding-block: 90px; }

/* 5b. Marque o X da sua obra */
.mark { position: relative; z-index: 2; background: var(--bg); background-image: radial-gradient(50% 60% at 80% 20%, rgba(23, 71, 230, 0.25), transparent 70%); }
.mark__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.plan { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); background: #06112f; cursor: crosshair; touch-action: manipulation; }
.plan:focus-visible { outline-offset: 4px; }
.plan__svg { display: block; width: 100%; height: auto; }
.plan__label { font: 800 34px var(--display); font-stretch: 68%; letter-spacing: 0.06em; text-transform: uppercase; fill: rgba(190, 215, 255, 0.55); }
.plan__sub { font: 600 12px var(--body); letter-spacing: 0.2em; text-transform: uppercase; fill: rgba(190, 215, 255, 0.5); }
.plan__street { font: 600 11px var(--body); letter-spacing: 0.22em; text-transform: uppercase; fill: rgba(190, 215, 255, 0.5); }
.plan__dim { font: 700 13px var(--body); fill: #cfe0ff; letter-spacing: 0.05em; }
.plan__coords { position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice); background: rgba(5, 10, 28, 0.75); border: 1px solid var(--border); }
.mark__panel { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 34px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip { padding: 11px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text); transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out); }
.chip:hover { border-color: var(--accent); }
.chip[aria-checked="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.mark__list { display: grid; gap: 8px; min-height: 236px; align-content: start; }
.mark__list li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(61, 133, 255, 0.1); border: 1px solid var(--border); }
.mark__list svg { width: 40px; height: 40px; color: var(--ice); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mark__list b { display: block; font-size: 17px; font-weight: 700; font-stretch: 100%; }
.mark__list span { font-size: 13px; color: var(--muted); }
.mark__list .mark__empty { display: block; background: none; border-style: dashed; color: var(--muted); font-size: 14px; }
.mark__cta { margin-top: auto; }
.fine { font-size: 12px; color: rgba(238, 243, 255, 0.45); }
.cursor.is-x i { border-radius: 0; border: 0; background: none; mix-blend-mode: normal; transform: scale(1.1); }
.cursor.is-x i::before, .cursor.is-x i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 4px; margin: -2px 0 0 -18px; border-radius: 4px; background: #fff; box-shadow: 0 0 14px rgba(61, 133, 255, 0.9); transform: rotate(45deg); }
.cursor.is-x i::after { transform: rotate(-45deg); }
@media (max-width: 960px) { .mark__grid { grid-template-columns: 1fr; } .mark__list { min-height: 0; } }

/* Intro: só oculta quando o JS está ativo */
.js-motion [data-hero="fade"], .js-motion [data-hero="bar"] { opacity: 0; }
.js-motion .hero__word { opacity: 0; }

/* Responsivo */
@media (max-width: 1100px) {
  .launchbar__in { grid-template-columns: auto 1fr auto; }
  .launchbar__pills { display: none; }
}
@media (max-width: 960px) {
  .about__in { grid-template-columns: 1fr; }
  .figures__in { grid-template-columns: 1fr; row-gap: 28px; }
  .fig { border-left: 0; padding-left: 0; }
    .pil { grid-template-columns: 56px minmax(0, 1fr) 30px; }
  .pil__d { grid-column: 2 / 3; }
  .pil__go { grid-row: 1; grid-column: 3; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .step-card { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .header__bar { width: 100%; justify-content: space-between; padding: 0 12px 0 20px; }
  .header__cta { display: none; }
  .nav__ind { display: none; }
  .header__nav a { padding: 12px 6px; }
  .header__nav a:hover { color: var(--blue); }
  .header__toggle { display: flex; }
  .header__nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 18px 22px; border-radius: 18px; background: rgba(232, 237, 247, 0.98); border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .header__nav ul { flex-direction: column; gap: 18px; }
  .header__nav a { font-size: 17px; }
  .hero__content { padding-top: 110px; }
  .launchbar__in { grid-template-columns: 1fr auto; row-gap: 12px; }
  .launchbar__label { display: none; }
  .launchbar__what { font-size: 20px; gap: 4px 12px; }
}
@media (max-width: 640px) {
  .hero__actions .btn { width: 100%; }
  .pil { padding-inline: 4px; gap: 14px; }
  .about__ghost { opacity: 0.6; }
  .footer__bar { flex-direction: column; text-align: center; }
  .beat__w { font-size: clamp(60px, 21vw, 120px); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .eyebrow__dot::after, .header__bar::before, .header__cta::after, .zebra::before, .finale__stars, .finale__beam, .finale__floor, .finale__x img, .orb__ring, .orb__pulse, .orb__orbit, .orb__shine { animation: none; }
}
.gate { z-index: 3; }

.finale .lead { color: #fff; font-weight: 500; text-shadow: 0 2px 18px rgba(2, 8, 44, 0.95), 0 1px 4px rgba(2, 8, 44, 0.7); }
.finale .kicker { color: #fff; text-shadow: 0 2px 12px rgba(2, 8, 44, 0.9); }

/* Cabeçalho: holofote que segue o mouse, letras que rolam e brilho na logo */
.header__bar { --mx: 50%; --my: 50%; }
.header__spot { position: absolute; left: 0; top: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(circle, rgba(61, 133, 255, 0.28), transparent 70%); will-change: transform; }
.header__bar:hover .header__spot { opacity: 1; }
.header__nav a { line-height: 1.2; }
.nav__clip { display: block; overflow: hidden; height: 1.2em; }
.nav__roll { display: block; position: relative; transition: transform 0.5s var(--ease-out); }
.nav__roll::after { content: attr(data-t); position: absolute; left: 0; top: 100%; white-space: nowrap; }
.header__nav a:hover .nav__roll { transform: translateY(-100%); }
.header__logo { position: relative; }
.header__logo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(61, 133, 255, 0.9) 50%, transparent 62%) -140% 0 / 250% 100% no-repeat; -webkit-mask-image: url("assets/logo-original.png?v=6"); mask-image: url("assets/logo-original.png?v=6"); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; animation: logo-sheen 1.4s ease-in-out 1; animation-play-state: paused; }
.header__logo:hover::after { animation-play-state: running; }
@keyframes logo-sheen { 0% { background-position: -140% 0; } 45%, 100% { background-position: 240% 0; } }
@media (max-width: 768px) { .nav__roll::after { display: none; } .header__nav a:hover .nav__roll { transform: none; } }
@media (prefers-reduced-motion: reduce) { .header__logo::after { animation: none; } }

@media (max-width: 860px) {
  .equip.is-3d .ecard { --cw: clamp(200px, 56vw, 270px); --ch: min(400px, 50svh); }
  .equip.is-3d .equip__stage { height: min(520px, 62svh); }
  .equip.is-3d .equip__ghost { font-size: clamp(90px, 26vw, 200px); }
}

/* Impacto no celular: três blocos empilhados */
.impact.is-flat .impact__stage { min-height: 0; display: block; padding-block: 72px; }
.impact.is-flat .impact__in { padding-block: 0; }
.impact.is-flat .beats { height: auto; display: grid; gap: 52px; }
.impact.is-flat .beat { position: static; opacity: 1; }
.impact.is-flat .impact__dots { display: none; }
.impact.is-flat .beat__w { font-size: clamp(62px, 21vw, 130px); }

.finale__play { position: absolute; z-index: 4; right: 16px; bottom: 16px; display: none; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: rgba(5, 10, 28, 0.6); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); }
.finale__play.is-on { display: grid; }

/* Cabeçalho no celular: simples e estável (sem blur, sem borda girando, sem esconder) */
@media (max-width: 768px) {
  .header__bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #e8eef9; height: 62px; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.6); }
  .header__bar::before, .header__spot, .header__line { display: none; }
  .header__logo::after { display: none; }
  .header { will-change: auto; }
}

/* Celular: efeitos pesados desligados para rolar liso */
@media (max-width: 860px), (pointer: coarse) {
  .grain { display: none; }
  *, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .launchbar, .tile, .plan__coords { background: rgba(5, 10, 28, 0.92); }
  .ecard { -webkit-box-reflect: unset !important; }
  .equip.is-3d .ecard { -webkit-box-reflect: unset; }
  .gate__glow { filter: none; }
  .gate__img--lit { filter: none; }
  .finale__shade { mix-blend-mode: normal; background: linear-gradient(180deg, rgba(40, 90, 235, 0.86), rgba(25, 70, 210, 0.9)); }
  .finale::after { display: none; }
  .pre__glow, .pre__xglow { animation: none; }
  .orb__shine, .orb__orbit--b { animation: none; }
  .orb__sphere { box-shadow: 0 0 40px rgba(61, 133, 255, 0.6), inset -14px -20px 40px rgba(4, 10, 60, 0.6); }
  .orb__pulse--b { display: none; }
  .zebra::before { animation-duration: 2s; }
  .ecard__ic { filter: none; }
  .header__cta::after { display: none; }
}
