/* ═══════════════════════════════════════════════
   NIUNEX — styles.css
   Igloo.inc inspired split-hero + cinematic sections
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #080809;
  --white:  #ffffff;
  --off:    rgba(255,255,255,.52);
  --dim:    rgba(255,255,255,.26);
  --border: rgba(255,255,255,.11);
  --bh:     rgba(255,255,255,.18);
  --blue:   #2563eb;
  --blue-l: #60a5fa;
  --grad:   linear-gradient(125deg,#fff 0%,#a8c8ff 45%,#2563eb 100%);
  --nav-h:  68px;
  --pad:    88px;
  --max:    1220px;
  --r:      12px;
}

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar          { width: 6px; }
::-webkit-scrollbar-track    { background: var(--bg); }
::-webkit-scrollbar-thumb    { background: rgba(255,255,255,.18); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 56px; }

/* ─── Gradient text ──────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ─── Blink dot ──────────────────────────────── */
.blink-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 8px var(--blue); flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;box-shadow:0 0 8px var(--blue)} 50%{opacity:.3;box-shadow:none} }

/* ─── Reveal ─────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ─── Scroll progress ────────────────────────── */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; border-radius: 0 99px 99px 0; z-index: 9999;
  background: linear-gradient(90deg, var(--blue), var(--blue-l));
  box-shadow: 0 0 10px rgba(37,99,235,.5);
}

/* ─── Nav ────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900; height: var(--nav-h);
  background: rgba(8,8,9,.9);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
}
#nav.scrolled {
  border-bottom: 2px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 56px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.logo-img  { height: 72px; max-width: 270px; width: auto; object-fit: contain; }
.logo-fallback { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; }

.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--off); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 9px 22px; border: 2px solid var(--bh); border-radius: 100px;
  color: var(--white) !important; display: flex; align-items: center; gap: 6px;
  transition: background .2s, border-color .2s !important;
}
.nav-cta:hover { background: rgba(255,255,255,.06) !important; }
.nav-arr { font-size: 12px; }

.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; z-index:901; }
.hamburger span { display:block; width:22px; height:2px; border-radius:2px; background:#fff; transition:transform .3s; }
.hamburger.open span:first-child { transform:translateY(6.5px) rotate(45deg); }
.hamburger.open span:last-child  { transform:translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position:fixed; inset:0; z-index:899;
  background:rgba(8,8,9,.97); backdrop-filter:blur(28px);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .35s;
}
.mobile-menu.open { opacity:1; pointer-events:all; }
.mobile-menu ul { list-style:none; text-align:center; }
.mobile-menu li { margin:20px 0; }
.mm-link { font-size:clamp(28px,7vw,46px); font-weight:800; color:#fff; text-decoration:none; transition:color .2s; }
.mm-link:hover { color:var(--blue-l); }

/* ─── Buttons ────────────────────────────────── */
.btn-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--white); text-decoration: none;
  transition: gap .3s ease;
}
.btn-arrow:hover { gap: 20px; }
.btn-arr-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 2px solid var(--bh); border-radius: 50%;
  font-size: 14px; transition: background .2s, border-color .2s;
}
.btn-arrow:hover .btn-arr-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }

.btn-ghost {
  display:inline-flex; align-items:center; gap:8px; padding:11px 24px;
  font-size:13px; font-weight:500; color:var(--off); text-decoration:none;
  border:2px solid var(--border); border-radius:100px;
  transition:color .2s, border-color .2s, background .2s;
}
.btn-ghost:hover { color:var(--white); border-color:var(--bh); background:rgba(255,255,255,.04); }

/* ═══════════════════════════════════════════
   HERO — Igloo-style split layout
═══════════════════════════════════════════ */
#hero-zone { height: 100vh; height: 100dvh; position: relative; }

.hero-sticky {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
}

.hero-spline-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.hero-spline {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  background: var(--bg);
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 8; pointer-events: none;
  background: var(--bg); opacity: 0;
}

/* BOTTOM RIGHT: brand badge — sits above the Spline iframe, covers its watermark */
.hero-brand {
  position: absolute; z-index: 10;
  right: 10px; bottom: 10px;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  pointer-events: none;
}

.hero-brand-img { display: block; height: 60px; width: auto; }

.hero-h1 {
  display: flex; flex-direction: column;
  font-size: clamp(54px, 7.5vw, 106px);
  font-weight: 900; letter-spacing: -.04em; line-height: .94;
  text-transform: uppercase; margin-bottom: 28px;
}

.hw-line {
  display: block; overflow: hidden;
  opacity: 0; transform: translateY(100%);
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
}
.hw-line:nth-child(1) { transition-delay: .5s; }
.hw-line:nth-child(2) { transition-delay: .65s; }
.hw-line:nth-child(3) { transition-delay: .8s; }
.hw-line.in { opacity: 1; transform: none; }

.hw-dim { color: rgba(255,255,255,.32); }

.hero-desc {
  font-size: 15px; font-weight: 400; color: var(--off); line-height: 1.72;
  margin-bottom: 44px; max-width: 380px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s 1s ease, transform .7s 1s ease;
}
.hero-desc.in { opacity: 1; transform: none; }

/* CTA — igloo style: text + circle arrow */
.hero-cta {
  display: inline-flex; align-items: center; gap: 20px;
  text-decoration: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s 1.15s ease, transform .7s 1.15s ease;
}
.hero-cta.in { opacity: 1; transform: none; }

.cta-text {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white);
  transition: letter-spacing .3s;
}
.hero-cta:hover .cta-text { letter-spacing: .2em; }

.cta-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.22);
  font-size: 16px; color: var(--white);
  transition: background .25s, border-color .25s, transform .25s;
}
.hero-cta:hover .cta-circle {
  background: var(--white);
  color: var(--bg);
  transform: rotate(45deg);
}

/* TOP RIGHT: badge */
.hero-badge {
  position: absolute; top: 100px; right: 80px; z-index: 10;
  opacity: 0; transform: scale(.9);
  transition: opacity .7s 1.3s ease, transform .7s 1.3s ease;
}
.hero-badge.in { opacity: 1; transform: none; }
.badge-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100px; height: 100px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15);
  gap: 2px;
}
.badge-num {
  font-size: 38px; font-weight: 900; letter-spacing: -.04em; line-height: 1;
  color: var(--white);
}
.badge-lbl {
  font-size: 9px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim); text-align: center; line-height: 1.4;
}


/* ═══════════════════════════════════════════
   CINEMA SECTIONS
═══════════════════════════════════════════ */
.cinema-section {
  position: relative; z-index: 1;
  padding: var(--pad) 0;
}
.cinema-section + .cinema-section::before {
  content: ''; display: block; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
  margin-bottom: var(--pad);
}

/* Section eyebrow & headings */
.sec-intro { margin-bottom: 52px; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 20px;
}
.sec-h2 {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 400; letter-spacing: 0; line-height: 1.15;
  margin-bottom: 18px;
}
.sec-desc {
  font-size: 15px; color: var(--off); line-height: 1.72; max-width: 520px;
  margin-bottom: 28px;
}

/* ─── Missão/Visão/Valores: gradient shimmer title ─── */
#mission .sec-intro { text-align: center; }
#mission .sec-desc { margin-left: auto; margin-right: auto; text-transform: uppercase; letter-spacing: .04em; }
.mv-shimmer-title {
  position: relative;
  text-transform: uppercase;
  font-size: clamp(36px, 4.6vw, 68px);
  font-weight: 700;
}

/* ─── Missão/Visão/Valores: coverflow carousel ─── */
.coverflow-wrap { position: relative; --cf-card: clamp(230px, 30vw, 360px); }
.coverflow-frame {
  cursor: grab; overflow: hidden; padding: 40px 0; outline: none;
  perspective: calc(var(--cf-card) * 3);
  touch-action: pan-y;
}
.coverflow-frame.dragging { cursor: grabbing; }
.coverflow-track {
  position: relative; height: var(--cf-card);
  transform-style: preserve-3d; user-select: none;
}
.coverflow-card {
  position: absolute; left: 50%; top: 0;
  width: var(--cf-card); aspect-ratio: 1 / 1;
  border-radius: 20px; overflow: hidden;
  background-color: #111; background-size: cover; background-position: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  will-change: transform;
}
.coverflow-card-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(1.3) contrast(1.05);
}
.coverflow-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.25) 100%);
}
.coverflow-card-body { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.coverflow-card-caption {
  position: absolute; left: 0; right: 0; bottom: 26%; z-index: 2;
  text-align: center; padding: 0 16px;
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(15px, 1.8vw, 20px); font-weight: 700; text-transform: uppercase;
  letter-spacing: -.01em; color: #ffd21f;
  text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.9);
  min-height: 1.3em; pointer-events: none;
}
.coverflow-card-num { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.coverflow-card-title {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
  color: #fff; margin-bottom: 8px;
}
.coverflow-card-text { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.85); }
.coverflow-arrow-prev { left: 4px; }
.coverflow-arrow-next { right: 4px; }

@media (max-width: 640px) {
  .coverflow-wrap { --cf-card: clamp(190px, 58vw, 280px); }
  .coverflow-arrow-prev { left: -6px; }
  .coverflow-arrow-next { right: -6px; }
}

/* ─── AI cards ───────────────────────────────── */
.card-grid-3 {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
  margin-bottom: 1px;
  border: 2px solid var(--border); border-radius: var(--r); overflow: hidden;
}
.card {
  padding: 36px 30px; display: flex; flex-direction: column; gap: 10px; border-radius: 18px;
  background: rgba(255,255,255,.02);
  border-right: 2px solid var(--border); border-bottom: 2px solid var(--border);
  transition: background .3s; cursor: default;
}
.card:hover { background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 2px rgba(96,165,250,.12); }
.card:nth-child(3n)      { border-right: none; }
.card:nth-last-child(-n+3) { border-bottom: none; }
.card-icon-wrap { color: rgba(96,165,250,.8); margin-bottom: 6px; }
.card-num { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.card-h3  { font-size: 15px; font-weight: 700; letter-spacing: -.015em; color: var(--white); line-height: 1.3; }
.card-p   { font-size: 13px; color: var(--off); line-height: 1.68; }

/* ─── Horizontal scroll containers ──────────── */
.hscroll-wrap {
  position: relative;
  margin: 0 calc(-1 * var(--pad));
  padding: 0 var(--pad);
  overflow: hidden;
}
.hscroll-wrap::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 120px; pointer-events: none; z-index: 2;
  background: linear-gradient(to right, transparent, var(--bg) 90%);
}
.hscroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  cursor: grab;
}
.hscroll-track:active { cursor: grabbing; }
.hscroll-track::-webkit-scrollbar { display: none; }

/* AI Division horizontal cards */
.hcard {
  flex: 0 0 272px;
  scroll-snap-align: start;
  padding: 32px 28px;
  background: rgba(255,255,255,.025);
  border: 2px solid rgba(255,255,255,.07);
  border-radius: 16px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .25s, border-color .25s, box-shadow .25s;
  cursor: default;
}
.hcard:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.13);
  box-shadow: 0 0 0 2px rgba(96,165,250,.1), 0 16px 40px rgba(0,0,0,.3);
}
.hcard .card-icon-wrap { color: rgba(96,165,250,.8); margin-bottom: 4px; }

/* Technology Showcase horizontal cards */
.hsvc-card {
  flex: 0 0 252px;
  scroll-snap-align: start;
  padding: 32px 28px;
  background: rgba(255,255,255,.022);
  border: 2px solid rgba(255,255,255,.065);
  border-radius: 16px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; cursor: default;
  transition: background .25s, border-color .25s;
}
.hsvc-card:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(14,200,130,.2);
  box-shadow: 0 0 0 2px rgba(14,200,130,.1), 0 16px 40px rgba(0,0,0,.3);
}
.hsvc-card .svc-arrow {
  position: absolute; top: 24px; right: 22px;
  font-size: 16px; color: var(--dim);
  transition: color .2s, transform .2s;
}
.hsvc-card:hover .svc-arrow { color: rgba(14,200,130,.85); transform: translate(2px,-2px); }

/* Metrics */
.metrics-row {
  display: flex; align-items: center;
  border: 2px solid var(--border); border-radius: var(--r); overflow: hidden; margin-top: 16px;
}
.metric { flex:1; display:flex; flex-direction:column; gap:5px; align-items:center; padding:30px 16px; text-align:center; }
.m-val  { font-size: clamp(22px, 2.8vw, 34px); font-weight: 900; letter-spacing: -.03em; }
.m-lbl  { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.metric-sep { width: 2px; border-radius: 2px; height: 44px; background: var(--border); flex-shrink: 0; }

/* ─── Two-col (Capital / Foundation) ─────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col--rev .col-left  { order: 2; }
.two-col--rev .col-right { order: 1; }
.col-left { display: flex; flex-direction: column; }
.col-left .sec-h2  { margin-bottom: 16px; }
.col-left .sec-desc { max-width: 440px; margin-bottom: 26px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--off); padding: 10px 0; border-bottom: 2px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.fl-icon { color: var(--blue-l); font-size: 13px; flex-shrink: 0; }

/* Division card */
.div-card {
  position: relative;
  background: rgba(255,255,255,.025); border: 2px solid var(--border);
  border-radius: 20px; padding: 44px 40px;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.16,1,.3,1), box-shadow .6s ease;
  cursor: default;
  overflow: hidden;
}
.div-card:hover { box-shadow: 0 28px 80px rgba(0,0,0,.5), 0 0 60px rgba(37,99,235,.12), inset 0 0 0 2px rgba(96,165,250,.1); }

.div-card-logo { margin-bottom: 28px; min-height: 60px; display: flex; align-items: center; }
.div-card-logo img { height: 60px; max-width: 210px; width: auto; object-fit: contain; }
.div-logo-fb { flex-direction: column; gap: 3px; }
.fb-title { font-size: 52px; font-weight: 900; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fb-sub   { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; }

.div-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-l); border: 2px solid rgba(96,165,250,.2);
  border-radius: 100px; padding: 5px 13px; background: rgba(96,165,250,.05);
}

.div-pillars { display: flex; flex-direction: column; gap: 18px; }
.dp-item { display: flex; align-items: center; gap: 16px; }
.dp-num  { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--blue); width: 22px; flex-shrink: 0; }
.dp-item > div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.dp-name { font-size: 13px; font-weight: 500; color: var(--off); }
.dp-bar  { height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; }
.dp-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-l)); border-radius: 99px; transition: width 1.4s cubic-bezier(.16,1,.3,1); }
.dp-fill.go { width: var(--w); }

/* ═══════════════════════════════════════════
   PLATFORM — Technology + AI, unified (liquid glass)
═══════════════════════════════════════════ */
.s-platform { position: relative; background: var(--bg); }
.s-platform .container { position: relative; z-index: 1; }

/* Full-bleed statement — glued to the viewport edges */
.platform-statement { width: 100%; padding: 0 0 40px; }
.platform-statement-text {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0 14px;
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(34px, 6.4vw, 100px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1;
  text-transform: uppercase; color: #fff;
  -webkit-text-stroke: 2.5px #fff;
  white-space: nowrap;
}

/* Robot profile card — "liquid glass", first card in the carousel */
.prc-ccard { padding: 0 !important; gap: 0 !important; }
.prc-visual { position: relative; width: 100%; aspect-ratio: 1 / 1; background: rgba(255,255,255,.03); }
.prc-visual iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prc-body { flex: 1; min-width: 0; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 13px; justify-content: center; }
.prc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.prc-id   { display: flex; flex-direction: column; gap: 2px; }
.prc-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.prc-handle { font-size: 12px; color: var(--dim); }
.prc-follow {
  flex-shrink: 0; font-size: 12px; font-weight: 600;
  color: #fff; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.22);
  padding: 7px 14px; border-radius: 100px; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.prc-follow:hover { background: var(--blue); border-color: var(--blue); }
.prc-bio   { font-size: 13px; color: var(--off); line-height: 1.6; }
.prc-stats { display: flex; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 2px solid rgba(255,255,255,.1); }
.prc-stat  { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; color: rgba(96,165,250,.9); }
.prc-stat-v { font-size: 13px; font-weight: 700; color: #fff; margin-top: 2px; }
.prc-stat-l { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }

/* ─── Quem Faz: name + photo hero ─── */
.team-hero-section {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 100px 20px;
}
.team-name-hero { position: relative; }
.team-name-big { margin: 0; position: relative; }
.team-name-line {
  display: block; white-space: nowrap;
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(52px, 13vw, 190px); line-height: .82; color: #fff;
}
.team-name-tagline { margin: 40px 0 0; font-size: clamp(14px, 1.6vw, 19px); color: var(--off); }

.blur-text span {
  display: inline-block;
  filter: blur(10px); opacity: 0; transform: translateY(-16px);
  transition: filter .5s ease-out, opacity .5s ease-out, transform .5s ease-out;
}
.blur-text.in span { filter: blur(0); opacity: 1; transform: translateY(0); }

/* ─── Quem Faz: bio stack interactor ─── */
.team-stack-section { padding: var(--pad) 0; }
.team-stack-wrap { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.team-stack-menu { flex: 1; min-width: 0; }
.team-stack-menu ul { list-style: none; display: flex; flex-direction: column; gap: 40px; }
.team-stack-item { display: flex; align-items: flex-start; gap: 20px; cursor: pointer; min-width: 0; }
.team-stack-item > div { min-width: 0; }
.team-stack-num {
  font-size: 22px; font-weight: 800; margin-top: 4px; flex-shrink: 0;
  color: var(--dim); transition: color .4s, transform .4s;
}
.team-stack-item.is-active .team-stack-num { color: var(--blue-l); transform: scale(1.1); }
.team-stack-name {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; line-height: .92;
  text-transform: uppercase; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.35);
  opacity: .5; transition: color .5s, opacity .5s, -webkit-text-stroke .5s, transform .6s;
  transform: translateX(0);
  overflow-wrap: break-word; word-break: break-word;
}
.team-stack-item.is-active .team-stack-name {
  color: #fff; -webkit-text-stroke: 0px transparent; opacity: 1; transform: translateX(10px);
}
.team-stack-desc {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 7px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s ease, opacity .4s ease .1s;
}
.team-stack-desc li {
  font-size: 13.5px; line-height: 1.55; color: var(--off);
  padding-left: 16px; position: relative;
}
.team-stack-desc li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--blue-l);
}
.team-stack-item.is-active .team-stack-desc { max-height: 320px; opacity: 1; }

.team-stack-visual { position: relative; flex: 0 0 auto; width: min(460px, 40vw); }
.team-stack-glow {
  position: absolute; inset: -20%; border-radius: 50%;
  background: rgba(37,99,235,.12); filter: blur(90px); pointer-events: none;
}
.team-stack-svg { position: relative; z-index: 1; width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 70px rgba(0,0,0,.5)); }

@media (max-width: 860px) {
  .team-stack-wrap { flex-direction: column-reverse; gap: 40px; }
  .team-stack-visual { width: min(360px, 80vw); }
  .team-stack-menu ul { gap: 28px; }
  .team-stack-name { font-size: clamp(22px, 7vw, 34px); }
}
@media (max-width: 480px) {
  .team-name-tagline { margin-top: 28px; }
}

@media (max-width: 700px) {
  .platform-statement-text {
    flex-direction: column; align-items: flex-start; gap: 2px;
    white-space: normal; padding: 0 8px;
  }
  .platform-statement-text span:last-child { align-self: flex-end; }
}

/* ═══════════════════════════════════════════
   SPLINE SHOWCASE SECTIONS (04–07)
═══════════════════════════════════════════ */
.s-showcase .col-left  { display: flex; flex-direction: column; }
.s-showcase .sec-h2    { margin-bottom: 16px; }
.s-showcase .sec-desc  { max-width: 440px; margin-bottom: 26px; }

.spline-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(96,165,250,.09), transparent 70%),
    rgba(255,255,255,.02);
}
.spline-frame spline-viewer,
.spline-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block; border: 0;
}

/* ═══════════════════════════════════════════
   ECOSSISTEMA NIUNEX — monochrome
═══════════════════════════════════════════ */
.eco-section { background: var(--bg); padding: 130px 0 150px; }

.eco-cutout-wrap {
  box-sizing: border-box;
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  background: var(--bg);
  padding: 90px 14px;
  margin-bottom: 90px;
  overflow: hidden;
  text-align: center;
}
.eco-cutout-title { margin: 0; }
.eco-cutout-title span {
  display: inline-block; white-space: nowrap;
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-weight: 700; letter-spacing: -.01em; line-height: 1; text-transform: uppercase;
  color: #fff;
}
.eco-intro-media {
  aspect-ratio: 21 / 9; border-radius: 22px; overflow: hidden;
  border: 2px solid var(--border); margin-bottom: 110px;
}
.eco-intro-media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .eco-intro-media { aspect-ratio: 4 / 3; margin-bottom: 72px; }
}

.eco-list-wrap { display: flex; flex-direction: column; }

.eco-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 72px 0; border-top: 2px solid var(--border);
}
.eco-card:last-child { border-bottom: 2px solid var(--border); }
.eco-card:nth-child(even) .eco-card-media { order: 2; }
.eco-card:nth-child(even) .eco-card-body  { order: 1; }

.eco-card-media {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  border: 2px solid var(--border);
}
.eco-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.eco-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}
.eco-card-num {
  position: absolute; top: 18px; left: 20px; z-index: 1;
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #fff;
}

.eco-card-body { display: flex; flex-direction: column; gap: 14px; }
.eco-card-name {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: .01em;
  text-transform: uppercase; color: #fff; -webkit-text-stroke: .6px #fff;
}
.eco-card-tagline { font-size: clamp(16px, 1.7vw, 20px); font-weight: 600; line-height: 1.4; color: #fff; }
.eco-card-text { font-size: 14px; line-height: 1.7; color: var(--off); max-width: 480px; }
.eco-card-text strong { color: #fff; font-weight: 700; }

.eco-card-lists { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 6px; }
.eco-list-block { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.eco-card-sublabel {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.eco-card-caption { font-size: 13px; color: var(--off); font-style: italic; }
.eco-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.eco-list li {
  font-size: 13.5px; color: rgba(255,255,255,.82); padding-left: 16px; position: relative;
}
.eco-list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px;
  background: #fff; border-radius: 50%;
}

.eco-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.eco-stat { display: flex; flex-direction: column; gap: 4px; }
.eco-stat-val { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.eco-stat-lbl { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }

.eco-closing-video {
  position: relative; margin-top: 130px;
  aspect-ratio: 21 / 9; border-radius: 22px; overflow: hidden;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.eco-closing-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eco-closing-video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.eco-closing-video-tag {
  position: relative; z-index: 1;
  font-size: clamp(22px, 3.6vw, 42px); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: #fff;
}

@media (max-width: 860px) {
  .eco-section { padding: 90px 0 110px; }
  .eco-intro { margin-bottom: 72px; }
  .eco-card {
    grid-template-columns: 1fr; gap: 26px; padding: 48px 0;
  }
  .eco-card:nth-child(even) .eco-card-media,
  .eco-card:nth-child(even) .eco-card-body { order: initial; }
  .eco-card-text { max-width: none; }
  .eco-closing-video { margin-top: 80px; aspect-ratio: 4 / 3; }
}

/* ─── Footer ─────────────────────────────────── */
.footer { border-top: 2px solid var(--border); margin-top: 88px; }

.footer-inner { max-width: var(--max); margin: 0 auto; padding: 24px 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-left  { display: flex; align-items: center; gap: 20px; }
.footer-logo  { height: 24px; width: auto; object-fit: contain; }
.footer-logo-text { font-size: 15px; font-weight: 800; color: #fff; }
.footer-copy  { font-size: 12px; color: var(--dim); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 12px; color: var(--dim); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-tag   { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--dim); }

/* ═══════════════════════════════════════════
   THE A. FOUNDATION / THE A. CAPITAL — shared header
═══════════════════════════════════════════ */
.dstwo-section { overflow: hidden; }
.dstwo-header {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.dstwo-logo { height: 46px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.dstwo-title {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 700; letter-spacing: .01em; color: #fff;
  text-transform: uppercase;
  -webkit-text-stroke: 1.2px #fff;
}
.dstwo-title em { font-style: normal; color: inherit; }

/* ─── Capital: big square statement, below the card stream ─── */
.cap-statement {
  max-width: 880px; margin: 0 auto;
  padding: 110px 0;
  text-align: center;
}
.cap-statement-line {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(26px, 4.6vw, 60px);
  font-weight: 700; letter-spacing: 0; line-height: 1.28;
  text-transform: uppercase; color: #fff;
  -webkit-text-stroke: 1px #fff;
}
.cap-statement-line + .cap-statement-line { margin-top: 30px; }

@media (max-width: 560px) {
  .cap-statement { padding: 70px 0; }
  .cap-statement-line + .cap-statement-line { margin-top: 18px; }
}

/* ─── Capital: scroll-to-scale video ─── */
.scroll-video-wrap { position: relative; height: 220vh; }
.scroll-video-sticky {
  position: absolute; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.scroll-video-scaler {
  position: relative;
  width: 94vw; height: 92vh;
  will-change: transform; transform-origin: center center;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
}
.scroll-video-el { width: 100%; height: 100%; object-fit: cover; display: block; }
.scroll-video-overlay {
  position: absolute; inset: 0;
  background: rgba(8,8,9,.3); backdrop-filter: blur(1px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .8s ease;
}
.scroll-video-overlay.in { opacity: 1; }
#teamVideoHero .scroll-video-overlay,
#foundationVideoHero .scroll-video-overlay { background: transparent; backdrop-filter: none; pointer-events: none; }
.scroll-video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,9,.45); backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.75);
  cursor: pointer; transition: opacity .4s ease, transform .25s ease, background .2s ease;
}
.scroll-video-play-btn svg { margin-left: 4px; }
.scroll-video-play-btn:hover { background: rgba(8,8,9,.65); transform: translate(-50%, -50%) scale(1.08); }
.scroll-video-play-btn.is-hidden { opacity: 0; pointer-events: none; }

.coverflow-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,9,.5); backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.75);
  cursor: pointer; transition: opacity .3s ease, transform .2s ease, background .2s ease;
}
.coverflow-play-btn svg { margin-left: 3px; }
.coverflow-play-btn:hover { background: rgba(8,8,9,.7); transform: translate(-50%, -50%) scale(1.08); }
.coverflow-play-btn.is-hidden { opacity: 0; pointer-events: none; }
.scroll-video-text { text-align: center; padding: 0 24px; }
.scroll-video-h {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(24px, 3.8vw, 48px);
  text-transform: uppercase; color: #fff; margin-bottom: 14px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s .25s ease, transform .7s .25s ease;
}
.scroll-video-p {
  font-size: 14px; color: rgba(255,255,255,.82); max-width: 520px; margin: 0 auto;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s .45s ease, transform .7s .45s ease;
}
.scroll-video-overlay.in .scroll-video-h,
.scroll-video-overlay.in .scroll-video-p { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .scroll-video-scaler { width: 94vw; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; }
}

/* ─── Capital: scanner card stream ─── */
.scanner-stage {
  box-sizing: border-box;
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 420px;
  overflow: hidden;
  background: var(--bg);
}
.scanner-glow-canvas, .scanner-particle-canvas {
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 300px; transform: translateY(-50%);
  pointer-events: none;
}
.scanner-glow-canvas    { z-index: 0; }
.scanner-particle-canvas{ z-index: 2; }

.scanner-line {
  position: absolute; top: 50%; left: 50%;
  width: 2px; height: 280px;
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom, transparent, #a78bfa, transparent);
  border-radius: 100px;
  z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  box-shadow: 0 0 10px #a78bfa, 0 0 20px #a78bfa, 0 0 30px #8b5cf6, 0 0 50px #6366f1;
  animation: scanPulse 1.5s infinite alternate ease-in-out;
}
.scanner-line.active { opacity: 1; }
@keyframes scanPulse {
  0%   { opacity: .75; transform: translate(-50%,-50%) scaleY(1); }
  100% { opacity: 1;   transform: translate(-50%,-50%) scaleY(1.03); }
}

.scanner-viewport { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; z-index: 1; }
.scanner-track {
  display: flex; align-items: center; gap: 60px;
  white-space: nowrap; cursor: grab; user-select: none; will-change: transform;
}
.scanner-track.dragging { cursor: grabbing; }

.scan-card-wrap { position: relative; width: 400px; height: 250px; flex-shrink: 0; }
.scan-card { position: absolute; inset: 0; border-radius: 15px; overflow: hidden; background: #050505; }
.scan-card-normal {
  z-index: 2; box-shadow: 0 15px 40px rgba(0,0,0,.4);
  clip-path: inset(0 0 0 var(--clip-right, 0%));
}
.scan-card-normal img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 15px;
  filter: brightness(1.1) contrast(1.1);
}
.scan-card-ascii { z-index: 1; clip-path: inset(0 calc(100% - var(--clip-left, 0%)) 0 0); }
.scan-ascii-content {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: rgba(220,210,255,.6); font-family: 'Courier New', monospace; font-size: 11px; line-height: 13px;
  overflow: hidden; white-space: pre; margin: 0; padding: 0;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,.8) 30%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.4) 80%, rgba(0,0,0,.2) 100%);
          mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,.8) 30%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.4) 80%, rgba(0,0,0,.2) 100%);
  animation: asciiGlitch .1s infinite linear alternate-reverse;
}
@keyframes asciiGlitch { 0%,16%,50%,100% { opacity: 1; } 15%,99% { opacity: .9; } 49% { opacity: .8; } }

@media (max-width: 900px) {
  .scanner-stage { height: 340px; }
  .scan-card-wrap { width: 300px; height: 190px; }
  .scanner-glow-canvas, .scanner-particle-canvas { height: 220px; }
  .scanner-line { height: 200px; }
}
@media (max-width: 560px) {
  .dstwo-header { gap: 14px; margin-bottom: 24px; }
  .dstwo-logo { height: 34px; }
  .scanner-stage { height: 260px; }
  .scan-card-wrap { width: 220px; height: 138px; }
  .scanner-track { gap: 36px; }
  .scanner-glow-canvas, .scanner-particle-canvas { height: 160px; }
  .scanner-line { height: 150px; }
}

/* ═══════════════════════════════════════════
   FAN CARD STACK — stage
═══════════════════════════════════════════ */
.cardswap-stage {
  box-sizing: border-box;
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-bottom: 8px;
  height: 420px;
  overflow: hidden;
  background: var(--bg);
}
/* Ambient glows behind the fan */
.fanstack-glow {
  position: absolute; pointer-events: none; border-radius: 50%;
  left: 50%; transform: translateX(-50%); filter: blur(60px);
}
.fanstack-glow-top    { top: 24px; width: 70%; height: 190px; background: rgba(255,255,255,.05); }
.fanstack-glow-bottom { bottom: 0; width: 76%; height: 160px; background: rgba(0,0,0,.35); }

.fanstack-cards {
  position: absolute; inset: 0;
  perspective: 1100px;
}

.fan-card {
  position: absolute; left: 50%; bottom: 40px;
  width: 420px; aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden;
  border: 3px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  background-size: cover; background-position: center;
  cursor: pointer; user-select: none;
  transform-style: preserve-3d; will-change: transform; backface-visibility: hidden;
}
.fan-card.is-active { cursor: grab; }
.fan-card.dragging   { cursor: grabbing; }
.fan-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 58%);
}
.fan-card-body {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px 22px;
}
.fan-card-title { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.fan-card-desc  { font-size: 12.5px; color: rgba(255,255,255,.8); line-height: 1.5; margin-top: 4px; max-width: 92%; }

.fanstack-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; margin: 0 0 28px;
}
.fanstack-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.25); cursor: pointer;
  transition: background .25s, transform .25s;
}
.fanstack-dot:hover  { background: rgba(255,255,255,.5); }
.fanstack-dot.active { background: #fff; transform: scale(1.3); }

/* ─── Nexon: "Um produto para cada frente" fan stack ─── */
.eco-nexon-fan { grid-column: 1 / -1; margin-top: 14px; }
.eco-nexon-videos { grid-column: 1 / -1; margin-top: 48px; }
.eco-nexon-fan-label {
  box-sizing: border-box;
  position: relative; left: 50%; right: 50%;
  width: 100vw; margin-left: -50vw; margin-right: -50vw;
  padding: 0 14px; margin-bottom: 30px;
  overflow: hidden;
}
.eco-nexon-fan-label span {
  display: inline-block; white-space: nowrap;
  color: #fff;
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-weight: 700; letter-spacing: -.01em; line-height: 1; text-transform: uppercase;
}
.fan-card-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background-color: #111; background-size: cover; background-position: center;
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,.85);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 0 0 2px rgba(255,255,255,.9);
}

/* ─── Phone-mockup coverflow carousel ─── */
.phone-carousel-stage {
  position: relative;
  height: 460px;
  margin: 0 0 8px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  perspective: 1400px;
}
.phone-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,.85); color: #fff;
  border: 2px solid rgba(255,255,255,.12);
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .2s, transform .2s;
}
.phone-arrow:hover { background: #0a0a0a; transform: translateY(-50%) scale(1.08); }
.phone-arrow-prev { left: 18px; }
.phone-arrow-next { right: 18px; }
@media (max-width: 900px) {
  .phone-arrow { display: none; }
}
.phone-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.phone-card {
  position: absolute; left: 50%; bottom: 26px;
  width: 200px; aspect-ratio: 9 / 19.5;
  background: #0a0a0a; border-radius: 32px; padding: 10px;
  box-shadow: 0 26px 60px rgba(0,0,0,.4);
  cursor: pointer; user-select: none;
  transform-style: preserve-3d; will-change: transform; backface-visibility: hidden;
}
.phone-card.is-active { cursor: grab; }
.phone-card.dragging   { cursor: grabbing; }
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 16px; background: #0a0a0a; border-radius: 10px; z-index: 2;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  background-image: url('images/deeezy-paint-5445144.jpg');
  background-size: cover; background-position: center;
  border-radius: 24px; overflow: hidden;
  padding: 32px 20px 26px; display: flex; flex-direction: column; justify-content: center;
}
.phone-screen::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.9));
}
.phone-screen > * { position: relative; z-index: 1; }
.phone-screen .fan-card-badge { width: 40px; height: 40px; font-size: 13px; margin-bottom: 12px; }
.phone-screen .fan-card-title { color: #fff; font-size: 21px; line-height: 1.25; text-transform: uppercase; letter-spacing: .01em; }
.phone-screen .fan-card-bullets {
  list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 20px;
}
.phone-screen .fan-card-bullets li {
  font-size: 13.5px; color: rgba(255,255,255,.88); line-height: 1.4; padding-left: 15px; position: relative;
}
.phone-screen .fan-card-bullets li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 5px; height: 5px;
  border-radius: 50%; background: #fff;
}

@media (max-width: 900px) {
  .phone-screen { padding: 26px 16px 20px; }
  .phone-screen .fan-card-badge { width: 32px; height: 32px; font-size: 11px; margin-bottom: 8px; }
  .phone-screen .fan-card-title { font-size: 16px; }
  .phone-screen .fan-card-bullets { gap: 8px; margin-top: 14px; }
  .phone-screen .fan-card-bullets li { font-size: 11px; }
}
@media (max-width: 640px) {
  .phone-screen .fan-card-title { font-size: 14px; }
  .phone-screen .fan-card-bullets li { font-size: 10px; }
}

@media (max-width: 900px) {
  .phone-carousel-stage { height: 400px; }
  .phone-card { width: 172px; }
}
@media (max-width: 640px) {
  .phone-carousel-stage { height: 360px; }
  .phone-card { width: 150px; }
}

@media (max-width: 900px) {
  .cardswap-stage { height: 380px; margin-bottom: 8px; }
  .fan-card { width: 320px; }
}
@media (max-width: 640px) {
  .cardswap-stage { height: 320px; }
  .fan-card { width: 260px; border-width: 2px; }
  .fan-card-title { font-size: 15px; }
  .fan-card-desc  { font-size: 11.5px; }
}
@media (max-width: 420px) {
  .cardswap-stage { height: 280px; }
  .fan-card { width: 220px; }
}

/* ─── Loader ─────────────────────────────────── */
.loader { position:fixed; inset:0; z-index:9999; background:var(--bg); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; transition:opacity .8s ease; }
.loader.hidden { opacity:0; pointer-events:none; }
.loader-logo  { font-size:19px; font-weight:900; letter-spacing:-.01em; }
.loader-bar   { width:130px; height:3px; background:var(--border); overflow:hidden; border-radius:99px; }
.loader-fill  { height:100%; width:0; background:var(--blue); border-radius:99px; transition:width .1s linear; box-shadow:0 0 8px var(--blue); }
.loader-pct   { font-size:11px; font-weight:500; letter-spacing:.12em; color:var(--dim); }

/* ─── Responsive ─────────────────────────────── */
@media (max-width:1100px) {
  :root { --pad:64px; }
  .hcard    { flex: 0 0 240px; }
  .hsvc-card { flex: 0 0 220px; }
}
@media (max-width:900px) {
  .two-col { grid-template-columns:1fr; gap:52px; }
  .two-col--rev .col-left  { order:1; }
  .two-col--rev .col-right { order:2; }
  .hero-brand   { right:12px; bottom:12px; }
}
@media (max-width:768px) {
  :root { --nav-h:62px; --pad:52px; }
  .container  { padding:0 28px; }
  .nav-inner  { padding:0 28px; }
  .nav-links  { display:none; }
  .hamburger  { display:flex; }
  .logo-img   { height:52px; max-width:180px; }
  .hero-brand   { right:10px; bottom:10px; }
  .metrics-row { flex-wrap:wrap; }
  .sec-desc { max-width:100%; }
  .footer-inner { padding:20px 28px; flex-direction:column; gap:14px; text-align:center; }
  .footer-left  { flex-direction:column; gap:8px; }
  .footer-links { flex-wrap:wrap; justify-content:center; }

  /* Robot/video hero stages: size the section to the animation's own letterboxed height
     (width-driven, via aspect-ratio) instead of a fixed vh — a fixed vh leaves a black gap
     above/below that grows or shrinks unpredictably depending on how tall the phone screen is. */
  #hero-zone, .hero-sticky { height: auto; aspect-ratio: 16 / 9; }
  #hero-zone { margin-top: var(--nav-h); }

  /* Spline animation: keep the original scene untouched (same width/height ratio it was
     built for) instead of stretching it into the phone's tall/narrow viewport — that stretch
     is what caused the robot/wordmark to get cropped. Scale the whole frame down proportionally
     to fit, letterboxed, so nothing inside it is cropped, just smaller. */
  .hero-sticky {
    display: flex; align-items: center; justify-content: center;
  }
  .hero-spline-frame {
    position: relative; inset: auto;
    width: 100%; height: auto; aspect-ratio: 16 / 9;
  }
}
@media (max-width:520px) {
  .hcard    { flex: 0 0 220px; }
  .hsvc-card { flex: 0 0 200px; }
}

/* ═══════════════════════════════════════════
   MOBILE — COMPREHENSIVE  (≤480px / ≤360px)
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --pad: 36px; }
  .container { padding: 0 20px; }
  .nav-inner  { padding: 0 20px; }

  /* ─── Nav ─── */
  .logo-img { height: 44px; max-width: 150px; }

  /* ─── Hero ─── */
  .hero-brand   { right: 20px; bottom: 18px; }
  .hero-brand-img { height: 58px; }

  /* ─── Sections ─── */
  .cinema-section { padding: calc(var(--pad) * 0.9) 0; }
  .sec-h2    { font-size: clamp(24px, 7vw, 34px); }
  .sec-intro { margin-bottom: 28px; }
  .sec-desc  { font-size: 14px; max-width: 100%; margin-bottom: 18px; }
  .btn-arrow { font-size: 12px; }

  /* ─── Fan cards ─── */
  .fan-card-title { font-size: 14px; }
  .fan-card-desc  { font-size: 11.5px; line-height: 1.5; }

  /* ─── Metrics 2×2 grid ─── */
  /* Children order: metric(1) sep(2) metric(3) sep(4) metric(5) sep(6) metric(7) */
  .metrics-row { flex-wrap: wrap; align-items: stretch; }
  .metric-sep  { display: none; }
  .metric      { flex: 0 0 50%; padding: 18px 10px; }
  .metrics-row .metric:nth-child(1) { border-right: 2px solid var(--border); border-bottom: 2px solid var(--border); }
  .metrics-row .metric:nth-child(3) { border-bottom: 2px solid var(--border); }
  .metrics-row .metric:nth-child(5) { border-right: 2px solid var(--border); }
  .m-val { font-size: clamp(17px, 5vw, 26px); }
  .m-lbl { font-size: 10px; }

  /* ─── Footer ─── */
  .footer       { margin-top: 44px; }
  .footer-inner { padding: 18px 20px; }
  .footer-logo  { height: 20px; }
  .footer-copy  { font-size: 11px; }
  .footer-tag   { display: none; }
}

/* ─── Very small phones (≤360px) ─── */
@media (max-width: 360px) {
  :root { --pad: 28px; }
  .container { padding: 0 16px; }
  .nav-inner  { padding: 0 16px; }
  .sec-h2       { font-size: 22px; }
}

/* ═══════════════════════════════════════════
   LIGHT THEME — scoped to specific pages (Arandiga Capital, Arandiga Foundation)
   Most components (video/image cards with a dark overlay, coverflow cards,
   fan cards) stay dark on purpose — they're self-contained over photos/video,
   not over the page background, so they read fine on a light page too.
   Only the plain page chrome and text sitting directly on --bg needs flipping.
═══════════════════════════════════════════ */
html[data-theme="light"] body {
  --bg:     #f8f8f6;
  --white:  #0a0a0a;
  --off:    rgba(10,10,10,.62);
  --dim:    rgba(10,10,10,.38);
  --border: rgba(10,10,10,.12);
  --bh:     rgba(10,10,10,.22);
}
html[data-theme="light"] body #nav { background: rgba(248,248,246,.85); }
html[data-theme="light"] body .mobile-menu { background: rgba(248,248,246,.97); }
html[data-theme="light"] body .mm-link { color: #0a0a0a; }
html[data-theme="light"] body .logo-img, html[data-theme="light"] body .footer-logo { filter: brightness(0); }
html[data-theme="light"] body .logo-fallback, html[data-theme="light"] body .footer-logo-text { color: #0a0a0a; }
html[data-theme="light"] body .hamburger span { background: #0a0a0a; }
html[data-theme="light"] body .nav-cta:hover { background: rgba(10,10,10,.06) !important; }
html[data-theme="light"] body .dstwo-logo { filter: brightness(0); opacity: .92; }
html[data-theme="light"] body .dstwo-title { color: #0a0a0a; -webkit-text-stroke: 1.2px #0a0a0a; }
html[data-theme="light"] body .cap-statement-line { color: #0a0a0a; -webkit-text-stroke: 1px #0a0a0a; }
html[data-theme="light"] body .eco-cutout-title span { color: #0a0a0a; }
html[data-theme="light"] body ::selection { background: var(--blue); color: #fff; }


/* ═══════════════════════════════════════════
   ECOSSISTEMA — 7 PROJETOS (layouts próprios)
═══════════════════════════════════════════ */
.ep { padding: 88px 0; border-top: 2px solid var(--border); position: relative; }
.ep-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ep-num {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #fff;
}
.ep-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5); padding: 6px 12px; border: 2px solid var(--bh); border-radius: 99px;
}
.ep-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; align-self: flex-start;
  font-size: 13px; font-weight: 600; color: #fff; text-decoration: none;
  padding: 11px 18px; border: 2px solid var(--bh); border-radius: 99px; transition: background .2s;
}
.ep-link:hover { background: rgba(255,255,255,.08); }

/* ── 01 MOVAI — kinetic marquee ── */
.eco-section { overflow-x: clip; }
.movai-stage {
  position: relative; width: 100vw; left: 50%; margin-left: -50vw;
  padding: 40px 0; display: flex; flex-direction: column; gap: 6px;
}
.movai-marquee { overflow: hidden; white-space: nowrap; }
.movai-row { display: inline-flex; gap: 36px; will-change: transform; padding-right: 36px; }
.movai-row span {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(42px, 8vw, 120px); font-weight: 700; line-height: 1.05; color: #fff;
}
.movai-marquee--outline .movai-row span { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.55); }
.movai-logo-wrap {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: clamp(220px, 28vw, 380px); aspect-ratio: 16 / 9; border-radius: 22px;
  background: #fff; box-shadow: 0 0 0 8px rgba(8,8,9,.9), 0 20px 60px rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center; z-index: 2;
  border: 2px solid var(--bh);
}
.movai-logo-ring {
  position: absolute; inset: -12px; border-radius: 30px;
  border: 2px dashed rgba(124,58,237,.6); animation: movaiPulse 3s ease-in-out infinite;
}
.movai-logo { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
@keyframes movaiPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.04); opacity: .35; } }
.movai-body {
  display: grid; grid-template-columns: auto 1fr; column-gap: 64px; row-gap: 14px;
  align-items: start; margin-top: 40px;
}
.movai-body .eco-card-name { grid-row: span 1; }
.movai-tagline { font-size: clamp(20px, 2.4vw, 32px); line-height: 1.3; max-width: 760px; }
.movai-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.movai-chips span {
  font-size: 12.5px; color: #fff; padding: 9px 16px; border-radius: 99px;
  background: rgba(255,255,255,.06); border: 2px solid var(--border);
  transition: background .25s, transform .25s;
}
.movai-chips span:hover { background: #fff; color: #0a0a0a; transform: translateY(-2px); }

/* ── 02 CABINE 360 — anel 3D ── */
.cabine-media { perspective: 900px; }
.cabine-orbit {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.cabine-orbit-ring {
  position: relative; width: 1px; height: 1px; transform-style: preserve-3d;
  transform: rotateX(-14deg) rotateY(var(--ry, 0deg));
}
.cabine-orbit-ring span {
  position: absolute; left: 0; top: 0; transform-origin: center;
  transform: translate(-50%,-50%) rotateY(calc(var(--i) * 60deg)) translateZ(clamp(130px, 17vw, 230px));
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(10px, 1vw, 13px); letter-spacing: .14em; color: #fff; white-space: nowrap;
  padding: 7px 12px; border-radius: 99px; background: rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.25);
  backface-visibility: hidden;
}
.cabine-deg {
  position: absolute; right: 18px; bottom: 16px; z-index: 2;
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; font-size: 12px; color: #fff; letter-spacing: .08em;
}
.cabine-media { cursor: grab; }
.cabine-media.dragging { cursor: grabbing; }

/* ── 03 NEXBONUS — scanner de nota ── */
.nb-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.nb-body { display: flex; flex-direction: column; gap: 14px; }
.nb-tier { margin-top: 10px; max-width: 440px; }
.nb-tier-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--off); margin-bottom: 10px; }
.nb-tier-top b { color: #fff; }
.nb-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.nb-bar i { display: block; height: 100%; width: 0%; background: var(--grad); border-radius: 99px; transition: width .9s cubic-bezier(.2,.8,.2,1); }
.nb-tier-steps { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.nb-phone-wrap { display: flex; justify-content: center; }
.nb-phone {
  position: relative; width: min(270px, 70vw); aspect-ratio: 9 / 18.5;
  background: #0a0a0a; border-radius: 40px; padding: 11px;
  border: 2px solid var(--bh); box-shadow: 0 40px 90px rgba(37,99,235,.18);
  transform: rotate(-4deg); transition: transform .5s;
}
.nb-phone:hover { transform: rotate(0deg) translateY(-6px); }
.nb-screen {
  position: relative; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(170deg, #121826 0%, #0b0b0d 70%);
  padding: 40px 18px 20px; display: flex; flex-direction: column; gap: 16px;
}
.nb-screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.nb-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.nb-receipt {
  position: relative; flex: 1; background: #f4f4f2; border-radius: 16px; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) bottom/14px 100% repeat-x;
          mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) bottom/14px 100% repeat-x;
}
.nb-receipt-lines { display: flex; flex-direction: column; gap: 7px; }
.nb-receipt-lines i { display: block; height: 5px; width: 100%; background: #cfcfcb; border-radius: 3px; }
.nb-qr {
  width: 62%; aspect-ratio: 1; margin: auto auto 6px; border-radius: 12px;
  background:
    linear-gradient(90deg,#111 12%,transparent 12% 24%,#111 24% 30%,transparent 30% 46%,#111 46% 58%,transparent 58% 70%,#111 70% 76%,transparent 76% 88%,#111 88%),
    linear-gradient(#111 10%,transparent 10% 28%,#111 28% 36%,transparent 36% 52%,#111 52% 62%,transparent 62% 78%,#111 78% 86%,transparent 86%);
  background-blend-mode: difference; filter: contrast(1.4);
  outline: 3px solid #111; outline-offset: 4px;
}
.nb-scanline {
  position: absolute; left: 0; right: 0; height: 3px; top: 0; opacity: 0;
  background: #2563eb; box-shadow: 0 0 18px 4px rgba(37,99,235,.7);
}
.nb-receipt.scanning .nb-scanline { opacity: 1; animation: nbScan 1.1s ease-in-out 2; }
@keyframes nbScan { 0% { top: 0 } 50% { top: calc(100% - 3px) } 100% { top: 0 } }
.nb-scan-btn {
  font: 600 13px 'Inter', sans-serif; color: #0a0a0a; background: #fff; border: 0;
  padding: 13px; border-radius: 14px; cursor: pointer; transition: transform .2s, opacity .2s;
}
.nb-scan-btn:hover { transform: scale(1.03); }
.nb-scan-btn:disabled { opacity: .5; cursor: default; transform: none; }
.nb-toast {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, 20px) scale(.9); opacity: 0;
  background: #2563eb; color: #fff; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 99px;
  box-shadow: 0 14px 40px rgba(37,99,235,.5); transition: all .45s cubic-bezier(.2,.9,.3,1.3); pointer-events: none;
}
.nb-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ── 04 CORTEX AI — terminal ── */
.cortex-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.cortex-head > div:last-child { display: flex; flex-direction: column; gap: 12px; }
.cortex-term {
  border-radius: 18px; overflow: hidden; border: 2px solid var(--bh);
  background: #060607; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.02);
}
.cortex-term-bar {
  display: flex; align-items: center; gap: 7px; padding: 13px 16px;
  border-bottom: 2px solid var(--border); background: rgba(255,255,255,.025);
}
.cortex-term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.cortex-term-bar span { margin-left: 10px; font: 12px ui-monospace, 'SFMono-Regular', Consolas, monospace; color: var(--dim); }
.cortex-term-body {
  min-height: 260px; padding: 24px 26px; display: flex; flex-direction: column; gap: 14px;
  font: 14px/1.65 ui-monospace, 'SFMono-Regular', Consolas, monospace; color: rgba(255,255,255,.85);
}
.cx-line { display: flex; gap: 12px; }
.cx-line .cx-who { flex: none; color: var(--dim); }
.cx-line--ai .cx-who { color: var(--blue-l); }
.cx-caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: text-bottom; background: var(--blue-l); animation: cxBlink 1s steps(1) infinite; margin-left: 2px; }
@keyframes cxBlink { 50% { opacity: 0; } }
.cortex-feats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.cortex-feats div { background: rgba(255,255,255,.03); border: 2px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cortex-feats b { font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; font-size: 12px; color: var(--blue-l); }
.cortex-feats span { font-size: 14px; color: #fff; }

/* ── 05 BIOHACKME — bento ── */
.bio-bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "logo logo text text ecg  ecg"
    "logo logo text text ring ring"
    "nutri nutri coach coach meal meal";
}
.bio-tile {
  position: relative; border-radius: 20px; padding: 24px; overflow: hidden;
  background: rgba(255,255,255,.03); border: 2px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .3s, transform .3s;
}
.bio-tile::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.09), transparent 70%);
}
.bio-tile:hover { border-color: var(--bh); }
.bio-tile:hover::before { opacity: 1; }
.bio-tile--logo { grid-area: logo; justify-content: space-between; min-height: 260px; background: #000; padding: 0; }
.bio-tile--logo .ep-num { position: absolute; top: 22px; left: 24px; z-index: 1; }
.bio-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.bio-tile--text { grid-area: text; justify-content: center; }
.bio-tile--ecg { grid-area: ecg; }
.bio-tile--ring { grid-area: ring; flex-direction: row; align-items: center; gap: 18px; }
.bio-tile--ring > div { display: flex; flex-direction: column; gap: 2px; }
.bio-tile--nutri { grid-area: nutri; }
.bio-tile--coach { grid-area: coach; }
.bio-tile--meal  { grid-area: meal; }
.bio-feat { padding-top: 64px; }
.bio-feat .eco-card-text { font-size: 13.5px; }
.bio-feat-scan {
  position: absolute; top: 22px; left: 24px; width: 26px; height: 26px;
  background:
    linear-gradient(var(--scan-c),var(--scan-c)) 0 0/9px 2px no-repeat, linear-gradient(var(--scan-c),var(--scan-c)) 0 0/2px 9px no-repeat,
    linear-gradient(var(--scan-c),var(--scan-c)) 100% 0/9px 2px no-repeat, linear-gradient(var(--scan-c),var(--scan-c)) 100% 0/2px 9px no-repeat,
    linear-gradient(var(--scan-c),var(--scan-c)) 0 100%/9px 2px no-repeat, linear-gradient(var(--scan-c),var(--scan-c)) 0 100%/2px 9px no-repeat,
    linear-gradient(var(--scan-c),var(--scan-c)) 100% 100%/9px 2px no-repeat, linear-gradient(var(--scan-c),var(--scan-c)) 100% 100%/2px 9px no-repeat;
  opacity: .7;
}
.bio-feat-scan::after {
  content: ''; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px;
  background: #a3e635; box-shadow: 0 0 8px #a3e635; animation: bioScan 2.2s ease-in-out infinite;
}
@keyframes bioScan { 0%,100% { top: 4px; } 50% { top: calc(100% - 6px); } }
.bio-macros { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.bio-macros span {
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #a3e635;
  padding: 5px 9px; border-radius: 99px; border: 2px solid rgba(163,230,53,.3);
}
.bio-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.bio-val { font-size: 14px; color: var(--off); }
.bio-val b { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.bio-ecg { width: 100%; height: 64px; margin-top: auto; }
.bio-ecg path {
  fill: none; stroke: #ef4444; stroke-width: 2; stroke-linejoin: round;
  stroke-dasharray: 600; stroke-dashoffset: 600; animation: bioEcg 2.4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(239,68,68,.6));
}
@keyframes bioEcg { to { stroke-dashoffset: -600; } }
.bio-ring { width: 110px; height: 110px; flex: none; transform: rotate(-90deg); }
.bio-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.bio-ring-bg { stroke: rgba(255,255,255,.07); }
.bio-ring-fg { stroke: #22c55e; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.bio-ring-fg--2 { stroke: var(--blue-l); stroke-dasharray: 226.2; stroke-dashoffset: 226.2; }
.ep-bio.in .bio-ring-fg { stroke-dashoffset: calc(314.16 * (1 - var(--p))); }
.ep-bio.in .bio-ring-fg--2 { stroke-dashoffset: calc(226.2 * (1 - var(--p))); }

/* ── 06 .DOC — folha de papel ── */
.doc-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.doc-side { display: flex; flex-direction: column; gap: 16px; }
.doc-logo { width: 200px; height: auto; object-fit: contain; border-radius: 10px; }
.doc-tabs { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; border-left: 2px solid var(--border); }
.doc-tabs button { border-radius: 0 12px 12px 0;
  text-align: left; background: none; border: 0; cursor: pointer;
  font: 500 15px 'Inter', sans-serif; color: var(--dim); padding: 10px 0 10px 18px;
  border-left: 2px solid transparent; margin-left: -1px; transition: color .2s, border-color .2s;
}
.doc-tabs button:hover { color: var(--off); }
.doc-tabs button.is-active { color: #fff; border-left-color: #fff; }
.doc-paper {
  position: relative; background: #f6f5f1; color: #1a1a1a; border-radius: 22px; overflow: hidden;
  padding: 44px 48px 36px; min-height: 360px; display: flex; flex-direction: column;
  box-shadow: 0 2px 0 #e6e4dd, 0 4px 0 #d9d6cd, 0 40px 80px rgba(0,0,0,.5);
  transform: rotate(1.2deg); transition: transform .5s;
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(0,0,0,.05) 31px 32px);
  background-position: 0 92px;
}
.doc-paper:hover { transform: rotate(0deg); }
.doc-paper::after {
  content: ''; position: absolute; top: 0; right: 0; width: 38px; height: 38px;
  background: linear-gradient(225deg, var(--bg) 50%, #dcd9d0 50%);
}
.doc-paper-head {
  display: flex; justify-content: space-between; font: 11px ui-monospace, Consolas, monospace;
  letter-spacing: .06em; color: #8a877e; text-transform: uppercase; margin-bottom: 26px;
}
.doc-pane { display: none; animation: docIn .45s ease; }
.doc-pane.is-active { display: block; }
@keyframes docIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.doc-pane h4 { font: 700 26px/1.2 Georgia, 'Times New Roman', serif; margin-bottom: 16px; color: #111; }
.doc-pane p { font: 16px/2 Georgia, 'Times New Roman', serif; color: #333; }
.doc-pane mark {
  color: inherit; background: linear-gradient(transparent 55%, rgba(250,204,21,.65) 55%) no-repeat;
  background-size: 0% 100%; transition: background-size .9s ease .25s;
}
.doc-pane.is-active.hl mark { background-size: 100% 100%; }
.doc-sign {
  margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 10px;
  font: italic 13px Georgia, serif; color: #8a877e;
}
.doc-sign span { width: 70px; height: 1px; background: #8a877e; }

/* ── responsivo ── */
@media (max-width: 860px) {
  .ep { padding: 56px 0; }
  .movai-body, .nb-grid, .cortex-head, .doc-grid { grid-template-columns: 1fr; gap: 26px; }
  .movai-body .eco-card-name { grid-row: auto; }
  .movai-body { row-gap: 12px; }
  .nb-phone-wrap { order: -1; }
  .cortex-feats { grid-template-columns: 1fr 1fr; }
  .cortex-feats div:last-child { grid-column: 1 / -1; }
  .cortex-term-body { font-size: 12.5px; padding: 18px; min-height: 300px; }
  .bio-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "logo logo" "text text" "ecg ring" "nutri nutri" "coach coach" "meal meal";
  }
  .bio-tile--logo { min-height: 170px; }
  .bio-tile--ring { flex-direction: column; align-items: flex-start; }
  .bio-ring { width: 86px; height: 86px; }
  .doc-paper { padding: 32px 24px 26px; transform: none; min-height: 320px; }
  .doc-tabs { flex-direction: row; border-left: 0; border-bottom: 2px solid var(--border); overflow-x: auto; }
  .doc-tabs button { border-radius: 0 12px 12px 0; border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; padding: 10px 14px; white-space: nowrap; }
  .doc-tabs button.is-active { border-bottom-color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .movai-logo-ring, .bio-ecg path, .cx-caret, .bio-feat-scan::after { animation: none; }
  .bio-ecg path { stroke-dashoffset: 0; }
}

/* ── NexBonus: pôster atrás do celular ── */
.nb-phone-wrap { position: relative; min-height: 560px; align-items: center; }
.nb-poster {
  position: absolute; left: 0; top: 50%; width: min(300px, 58%); aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 24px; transform: translateY(-50%) rotate(-7deg);
  box-shadow: 0 30px 70px rgba(0,0,0,.55); border: 2px solid var(--bh);
  transition: transform .5s;
}
.nb-phone-wrap:hover .nb-poster { transform: translateY(-52%) rotate(-10deg) translateX(-10px); }
.nb-phone { margin-left: auto; margin-right: 4%; transform: rotate(5deg); z-index: 1; }

/* ── Cortex AI: mascote + terminal sobreposto ── */
.cortex-visual {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 7;
  border: 2px solid var(--border); background: #000;
}
.cortex-visual-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cortex-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg)); }
.cortex-term { position: relative; z-index: 1; width: min(860px, 92%); margin: -110px auto 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(6,6,7,.86); }

/* ── BiohackMe: grade com "+" e acento verde-limão ── */
.ep-bio { --lime: #b6e62e; }
.bio-bento { position: relative; }
.bio-bento::before {
  content: ''; position: absolute; inset: -40px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(ellipse at center, #000 40%, transparent 75%);
          mask: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}
.ep-bio .bio-ring-fg { stroke: var(--lime); filter: drop-shadow(0 0 6px rgba(182,230,46,.55)); }
.ep-bio .bio-ring-fg--2 { stroke: #2f3fb0; filter: none; }
.ep-bio .bio-feat-scan::after { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.ep-bio .bio-macros span { color: var(--lime); border-color: rgba(182,230,46,.3); }
.bio-tile--ring { position: relative; }
.bio-ring-tag {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  padding: 5px 10px; border-radius: 99px; border: 2px solid var(--bh);
}
.bio-ring-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }

.ep-bio .eco-card-tagline { font-size: clamp(18px, 2vw, 24px); }

@media (max-width: 860px) {
  .nb-phone-wrap { min-height: 520px; }
  .nb-poster { width: 52%; }
  .cortex-visual { aspect-ratio: 4 / 3; }
  .cortex-term { width: 100%; margin-top: -60px; }
}
/* ═══════════════════════════════════════════
   THEME TOGGLE (lua / sol) + LIGHT MODE
═══════════════════════════════════════════ */
.nav-right { display: flex; align-items: center; gap: 22px; }
.theme-toggle {
  position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--white); cursor: pointer;
  border: 2px solid var(--bh); transition: background .25s, border-color .25s, transform .25s;
  z-index: 901;
}
.theme-toggle:hover { background: rgba(127,127,127,.12); transform: rotate(-12deg); }
.theme-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.tt-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.9,.3,1.2);
}
.tt-moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
html[data-theme="light"] .tt-sun  { opacity: 0; transform: rotate(90deg) scale(.4); }
html[data-theme="light"] .tt-moon { opacity: 1; transform: none; }

html.theme-anim body { transition: background-color .45s ease, color .45s ease; }

/* cards: cada um com sua borda arredondada */
.card-grid-3 { border: 0; overflow: visible; }
.card, .card:nth-child(3n), .card:nth-last-child(-n+3) { border: 2px solid var(--border); }
.bio-feat-scan { --scan-c: #fff; }

html[data-theme="light"] {
  --grad: linear-gradient(125deg,#0a0a0a 0%,#1e3a8a 45%,#2563eb 100%);
}
html[data-theme="light"] body ::-webkit-scrollbar-thumb { background: rgba(10,10,10,.22); }
html[data-theme="light"] .btn-arrow:hover .btn-arr-icon { background: rgba(10,10,10,.06); border-color: rgba(10,10,10,.22); }
html[data-theme="light"] .cta-circle { border-color: rgba(10,10,10,.22); }
html[data-theme="light"] .hw-dim { color: rgba(10,10,10,.32); }
html[data-theme="light"] .platform-statement-text { color: #0a0a0a; -webkit-text-stroke-color: #0a0a0a; }
html[data-theme="light"] .team-name-line { color: #0a0a0a; }
html[data-theme="light"] .team-stack-name { -webkit-text-stroke-color: rgba(10,10,10,.4); }
html[data-theme="light"] .team-stack-item.is-active .team-stack-name { color: #0a0a0a; }
html[data-theme="light"] .card { background: rgba(10,10,10,.025); }
html[data-theme="light"] .card:hover { background: rgba(10,10,10,.05); }
html[data-theme="light"] .hcard, html[data-theme="light"] .hsvc-card, html[data-theme="light"] .div-card { background: rgba(10,10,10,.03); border-color: var(--border); }
html[data-theme="light"] .fanstack-glow-top { background: rgba(37,99,235,.10); }
html[data-theme="light"] .fanstack-glow-bottom { background: rgba(0,0,0,.08); }
html[data-theme="light"] .fanstack-dot { background: rgba(10,10,10,.2); }
html[data-theme="light"] .fanstack-dot:hover { background: rgba(10,10,10,.45); }
html[data-theme="light"] .fanstack-dot.active { background: #0a0a0a; }
html[data-theme="light"] .phone-carousel-stage { border: 2px solid var(--border); }
html[data-theme="light"] .eco-card-name { color: #0a0a0a; -webkit-text-stroke-color: #0a0a0a; }
html[data-theme="light"] .eco-card-tagline,
html[data-theme="light"] .eco-card-text strong { color: #0a0a0a; }
html[data-theme="light"] .eco-card-sublabel { color: rgba(10,10,10,.5); }
html[data-theme="light"] .eco-list li { color: rgba(10,10,10,.82); }
html[data-theme="light"] .eco-list li::before { background: #0a0a0a; }
html[data-theme="light"] .eco-nexon-fan-label span { color: #0a0a0a; }
html[data-theme="light"] .ep-num { color: #0a0a0a; }
html[data-theme="light"] .bio-tile--logo .ep-num { color: #fff; }
html[data-theme="light"] .ep-kicker { color: rgba(10,10,10,.55); }
html[data-theme="light"] .ep-link { color: #0a0a0a; }
html[data-theme="light"] .ep-link:hover { background: rgba(10,10,10,.06); }
html[data-theme="light"] .movai-row span { color: #0a0a0a; }
html[data-theme="light"] .movai-marquee--outline .movai-row span { color: transparent; -webkit-text-stroke-color: rgba(10,10,10,.45); }
html[data-theme="light"] .movai-logo-wrap { box-shadow: 0 0 0 8px var(--bg), 0 20px 60px rgba(76,29,149,.18); border-color: rgba(10,10,10,.12); }
html[data-theme="light"] .nb-tier-top b { color: #0a0a0a; }
html[data-theme="light"] .nb-bar { background: rgba(10,10,10,.08); }
html[data-theme="light"] .cortex-feats div { background: rgba(10,10,10,.03); }
html[data-theme="light"] .cortex-feats span { color: #0a0a0a; }
html[data-theme="light"] .cortex-feats b { color: var(--blue); }
html[data-theme="light"] .bio-tile { background: rgba(10,10,10,.03); }
html[data-theme="light"] .bio-tile--logo { background: #000; }
html[data-theme="light"] .bio-tile::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(10,10,10,.06), transparent 70%); }
html[data-theme="light"] .bio-val b { color: #0a0a0a; }
html[data-theme="light"] .bio-ring-bg { stroke: rgba(10,10,10,.08); }
html[data-theme="light"] .bio-ring-tag { color: #0a0a0a; }
html[data-theme="light"] .bio-bento::before {
  background-image: linear-gradient(rgba(10,10,10,.05) 2px, transparent 2px), linear-gradient(90deg, rgba(10,10,10,.05) 2px, transparent 2px);
}
html[data-theme="light"] .bio-feat-scan { --scan-c: #0a0a0a; }
html[data-theme="light"] .ep-bio { --lime: #65a30d; }
html[data-theme="light"] .doc-tabs button.is-active { color: #0a0a0a; border-left-color: #0a0a0a; }
html[data-theme="light"] .sitemap-links a { color: #0a0a0a; }
html[data-theme="light"] .legal-nav a:hover { background: rgba(10,10,10,.05); }
@media (max-width: 860px) {
  html[data-theme="light"] .doc-tabs button.is-active { border-bottom-color: #0a0a0a; }
  .doc-tabs button { border-radius: 12px 12px 0 0; }
  .nav-right { gap: 12px; }
  .theme-toggle { width: 38px; height: 38px; }
}
/* ═══════════════════════════════════════════
   MOVAI — experiências de cinema
═══════════════════════════════════════════ */
.ep-movai { --mv: #6d28d9; --mv-l: #a78bfa; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 1 — claquete + selos */
.mv-strip { display: flex; justify-content: center; margin-top: 40px; }
.mv-strip .mv-clapper { width: 380px; max-width: 100%; }
.mv-clapper { position: relative; width: 100%; padding-top: 140px; filter: drop-shadow(0 24px 50px rgba(0,0,0,.45)); }
.mv-clap-top {
  height: 46px; border-radius: 14px 14px 6px 6px; overflow: hidden; display: flex;
  background: #111; transform-origin: 6% 100%; transform: rotate(-24deg);
  transition: transform .28s cubic-bezier(.5,0,.2,1.4); border: 2px solid #222;
}
.mv-clap-top i { flex: 1; background: repeating-linear-gradient(0deg, transparent, transparent); }
.mv-clap-top i:nth-child(odd) { background: #f5f5f5; transform: skewX(-28deg) scaleX(1.25); }
.mv-clapper.clap .mv-clap-top { transform: rotate(0deg); }
.mv-clap-body {
  margin-top: 4px; background: #111; border: 2px solid #222; border-radius: 6px 6px 16px 16px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 10px;
  font-family: ui-monospace, Consolas, monospace; color: #f5f5f5;
}
.mv-clap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px solid rgba(255,255,255,.14); padding-bottom: 8px; }
.mv-clap-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mv-clap-row span { font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.5); }
.mv-clap-row b { font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; font-size: 13px; letter-spacing: .04em; text-align: right; }
.mv-clap-row--3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.mv-clap-row--3 div { display: flex; flex-direction: column; gap: 2px; }
.mv-clap-row--3 b { text-align: left; font-size: 20px; }
.mv-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mv-badge {
  border-radius: 20px; padding: 24px 22px; border: 2px solid var(--border);
  background: linear-gradient(160deg, rgba(109,40,217,.16), rgba(109,40,217,0) 60%);
  display: flex; flex-direction: column; gap: 10px; transition: transform .3s, border-color .3s;
}
.mv-badge:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.45); }
.mv-badge b { font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; font-size: clamp(24px, 2.6vw, 34px); color: var(--mv-l); line-height: 1; }
.mv-badge span { font-size: 13.5px; line-height: 1.5; color: var(--off); }

/* 2 — mesa de edição */
.mv-editor {
  margin-top: 28px; border-radius: 26px; border: 2px solid var(--bh); overflow: hidden;
  background: #0b0b0e; box-shadow: 0 40px 100px rgba(0,0,0,.45);
}
.mv-monitor { padding: 18px 18px 0; }
.mv-monitor-screen {
  position: relative; aspect-ratio: 21 / 8; border-radius: 18px; overflow: hidden;
  background: radial-gradient(ellipse at 30% 40%, rgba(109,40,217,.55), transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(37,99,235,.45), transparent 55%), #050507;
  display: flex; align-items: center; justify-content: center; text-align: center;
  transition: background .8s;
}
.mv-editor[data-stage="1"] .mv-monitor-screen { background: radial-gradient(ellipse at 70% 40%, rgba(236,72,153,.45), transparent 60%), radial-gradient(ellipse at 20% 70%, rgba(109,40,217,.5), transparent 55%), #050507; }
.mv-editor[data-stage="2"] .mv-monitor-screen { background: radial-gradient(ellipse at 50% 30%, rgba(14,165,233,.5), transparent 60%), radial-gradient(ellipse at 15% 80%, rgba(34,197,94,.35), transparent 55%), #050507; }
.mv-editor[data-stage="3"] .mv-monitor-screen { background: radial-gradient(ellipse at 25% 35%, rgba(245,158,11,.45), transparent 60%), radial-gradient(ellipse at 80% 75%, rgba(109,40,217,.45), transparent 55%), #050507; }
.mv-editor[data-stage="4"] .mv-monitor-screen { background: radial-gradient(ellipse at 60% 50%, rgba(167,139,250,.55), transparent 60%), radial-gradient(ellipse at 10% 20%, rgba(37,99,235,.4), transparent 55%), #050507; }
.mv-editor[data-stage="5"] .mv-monitor-screen { background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.22), transparent 55%), radial-gradient(ellipse at 85% 20%, rgba(109,40,217,.55), transparent 55%), #050507; }
.mv-grain {
  position: absolute; inset: -50%; opacity: .14; pointer-events: none; mix-blend-mode: overlay;
  background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: mvGrain .5s steps(4) infinite;
}
@keyframes mvGrain { 0% { transform: translate(0,0) } 25% { transform: translate(-6%,4%) } 50% { transform: translate(5%,-3%) } 75% { transform: translate(-3%,-6%) } 100% { transform: translate(0,0) } }
.mv-letterbox { position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height .9s cubic-bezier(.7,0,.2,1); z-index: 2; }
.mv-letterbox--top { top: 0; } .mv-letterbox--bottom { bottom: 0; }
.mv-editor.in-view .mv-letterbox { height: 9%; }
.mv-rec, .mv-tc { position: absolute; top: 14%; z-index: 3; font: 600 12px ui-monospace, Consolas, monospace; color: #fff; letter-spacing: .08em; }
.mv-rec { left: 18px; display: inline-flex; align-items: center; gap: 7px; }
.mv-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; animation: blink 1.2s ease-in-out infinite; }
.mv-tc { right: 18px; }
.mv-monitor-stage { position: relative; z-index: 1; padding: 0 24px; max-width: 640px; }
.mv-monitor-num { font: 700 12px ui-monospace, Consolas, monospace; color: rgba(255,255,255,.65); letter-spacing: .2em; }
.mv-monitor-title {
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(26px, 4.4vw, 56px); color: #fff; line-height: 1.05; margin: 8px 0 10px;
  text-shadow: 0 6px 30px rgba(0,0,0,.5);
}
.mv-monitor-desc { font-size: 14.5px; color: rgba(255,255,255,.82); line-height: 1.55; }
.mv-monitor-stage.swap { animation: mvSwap .55s ease; }
@keyframes mvSwap { 0% { opacity: 0; filter: blur(8px); transform: scale(.97); } 100% { opacity: 1; filter: none; transform: none; } }

.mv-timeline { padding: 18px; }
.mv-ruler {
  display: flex; justify-content: space-between; margin-left: 86px; padding-bottom: 8px;
  font: 10.5px ui-monospace, Consolas, monospace; color: rgba(255,255,255,.4);
}
.mv-tracks { position: relative; display: flex; flex-direction: column; gap: 8px; }
.mv-track { display: grid; grid-template-columns: 78px 1fr; gap: 8px; align-items: center; }
.mv-track-name { font: 700 10.5px 'Inter', sans-serif; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.mv-track-lane { position: relative; height: 34px; border-radius: 10px; background: rgba(255,255,255,.05); }
.mv-track-lane i {
  position: absolute; top: 4px; bottom: 4px; border-radius: 8px;
  background: linear-gradient(180deg, #7c3aed, #5b21b6); box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
}
.mv-track--voice .mv-track-lane i {
  background: repeating-linear-gradient(90deg, rgba(96,165,250,.95) 0 2px, transparent 2px 5px), rgba(37,99,235,.35);
  -webkit-mask: linear-gradient(transparent 0 0), radial-gradient(ellipse at center, #000 40%, rgba(0,0,0,.55) 70%);
}
.mv-track--music .mv-track-lane i { background: linear-gradient(90deg, rgba(34,197,94,.75), rgba(16,185,129,.55)); }
.mv-playhead {
  position: absolute; top: -26px; bottom: -4px; left: 86px; width: 2px; background: #fff; border-radius: 2px;
  box-shadow: 0 0 12px rgba(255,255,255,.7); pointer-events: none; will-change: transform;
}
.mv-playhead span { position: absolute; top: 0; left: 50%; width: 14px; height: 14px; transform: translateX(-50%); border-radius: 4px 4px 50% 50%; background: #fff; }
.mv-stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.mv-stages button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  font: 600 13px 'Inter', sans-serif; color: rgba(255,255,255,.6); cursor: pointer;
  background: rgba(255,255,255,.04); border: 2px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px;
  transition: background .25s, border-color .25s, color .25s;
}
.mv-stages button b { font: 700 10.5px ui-monospace, Consolas, monospace; color: rgba(255,255,255,.4); }
.mv-stages button:hover { color: #fff; border-color: rgba(167,139,250,.35); }
.mv-stages button.is-active { color: #fff; background: rgba(124,58,237,.28); border-color: rgba(167,139,250,.65); }
.mv-stages button.is-active b { color: var(--mv-l); }

/* 3 — gerador de filme */
.mv-gen { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; margin-top: 28px; padding: 36px; border-radius: 26px; border: 2px solid var(--border); background: linear-gradient(140deg, rgba(109,40,217,.12), transparent 55%); }
.mv-gen-form { display: flex; flex-direction: column; gap: 16px; }
.mv-gen-title { font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; font-size: clamp(20px, 2.4vw, 30px); color: var(--white); line-height: 1.15; }
.mv-genres { display: flex; flex-wrap: wrap; gap: 8px; }
.mv-genres button {
  font: 600 13px 'Inter', sans-serif; color: var(--off); background: transparent; cursor: pointer;
  border: 2px solid var(--bh); border-radius: 99px; padding: 9px 16px; transition: all .2s;
}
.mv-genres button:hover { color: var(--white); }
.mv-genres button.is-active { background: var(--mv); border-color: var(--mv); color: #fff; }
.mv-idea input {
  width: 100%; font: 15px 'Inter', sans-serif; color: var(--white); background: rgba(127,127,127,.08);
  border: 2px solid var(--bh); border-radius: 16px; padding: 15px 18px; outline: none; transition: border-color .2s;
}
.mv-idea input:focus { border-color: var(--mv-l); }
.mv-idea input::placeholder { color: var(--dim); }
.mv-gen-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  font: 700 14px 'Inter', sans-serif; letter-spacing: .04em; color: #fff; border: 0; border-radius: 99px;
  padding: 14px 22px 14px 26px; background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 14px 40px rgba(124,58,237,.4); transition: transform .2s, opacity .2s;
}
.mv-gen-btn i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.mv-gen-btn:hover { transform: translateY(-2px); }
.mv-gen-btn:disabled { opacity: .55; cursor: default; transform: none; }
.mv-gen-progress { min-height: 22px; font: 13px ui-monospace, Consolas, monospace; color: var(--off); display: flex; flex-direction: column; gap: 4px; }
.mv-gen-progress .ok { color: #22c55e; }
.mv-gen-progress .ok::before { content: '✓ '; }
.mv-gen-progress .run::before { content: '◌ '; display: inline-block; animation: movaiSpin 1s linear infinite; }
@keyframes movaiSpin { to { transform: rotate(360deg); } }

.mv-poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden; padding: 26px 22px;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: center; color: #fff;
  background: #0a0a12; box-shadow: 0 40px 90px rgba(0,0,0,.5); border: 2px solid rgba(255,255,255,.1);
  transform: rotate(2deg); transition: transform .5s;
}
.mv-poster:hover { transform: rotate(0) scale(1.02); }
.mv-poster.reveal-poster { animation: mvPoster .9s cubic-bezier(.2,.9,.3,1); }
@keyframes mvPoster { 0% { opacity: 0; transform: rotate(2deg) scale(.9); filter: blur(14px) brightness(2); } 100% { opacity: 1; transform: rotate(2deg); filter: none; } }
.mv-poster-art { position: absolute; inset: 0; z-index: 0; }
.mv-poster-art i { position: absolute; border-radius: 50%; filter: blur(30px); }
.mv-poster-art i:nth-child(1) { width: 70%; height: 45%; left: 15%; top: 10%; }
.mv-poster-art i:nth-child(2) { width: 50%; height: 35%; left: -10%; top: 40%; }
.mv-poster-art i:nth-child(3) { width: 55%; height: 30%; right: -10%; top: 30%; }
.mv-poster::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85)); }
.mv-poster > *:not(.mv-poster-art) { position: relative; z-index: 2; }
.mv-poster[data-g="scifi"]   .mv-poster-art i:nth-child(1) { background: #2563eb; } .mv-poster[data-g="scifi"]   .mv-poster-art i:nth-child(2) { background: #7c3aed; } .mv-poster[data-g="scifi"]   .mv-poster-art i:nth-child(3) { background: #06b6d4; }
.mv-poster[data-g="drama"]   .mv-poster-art i:nth-child(1) { background: #b45309; } .mv-poster[data-g="drama"]   .mv-poster-art i:nth-child(2) { background: #7f1d1d; } .mv-poster[data-g="drama"]   .mv-poster-art i:nth-child(3) { background: #44403c; }
.mv-poster[data-g="acao"]    .mv-poster-art i:nth-child(1) { background: #ea580c; } .mv-poster[data-g="acao"]    .mv-poster-art i:nth-child(2) { background: #dc2626; } .mv-poster[data-g="acao"]    .mv-poster-art i:nth-child(3) { background: #facc15; }
.mv-poster[data-g="terror"]  .mv-poster-art i:nth-child(1) { background: #7f1d1d; } .mv-poster[data-g="terror"]  .mv-poster-art i:nth-child(2) { background: #111827; } .mv-poster[data-g="terror"]  .mv-poster-art i:nth-child(3) { background: #14532d; }
.mv-poster[data-g="anim"]    .mv-poster-art i:nth-child(1) { background: #f472b6; } .mv-poster[data-g="anim"]    .mv-poster-art i:nth-child(2) { background: #38bdf8; } .mv-poster[data-g="anim"]    .mv-poster-art i:nth-child(3) { background: #a3e635; }
.mv-poster[data-g="romance"] .mv-poster-art i:nth-child(1) { background: #e11d48; } .mv-poster[data-g="romance"] .mv-poster-art i:nth-child(2) { background: #f9a8d4; } .mv-poster[data-g="romance"] .mv-poster-art i:nth-child(3) { background: #9333ea; }
.mv-poster-kicker { font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.mv-poster-title { font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.08; margin-bottom: 12px; overflow-wrap: anywhere; }
.mv-poster-log { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.82); margin-bottom: 16px; }
.mv-poster-credits { font-size: 8.5px; letter-spacing: .14em; line-height: 1.7; color: rgba(255,255,255,.55); border-top: 2px solid rgba(255,255,255,.18); padding-top: 10px; }
.mv-poster-soon { position: absolute !important; top: 18px; right: 18px; font-size: 10px; font-weight: 700; letter-spacing: .14em; padding: 6px 10px; border-radius: 99px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }

html[data-theme="light"] .mv-badge { background: linear-gradient(160deg, rgba(109,40,217,.10), rgba(109,40,217,0) 60%); }
html[data-theme="light"] .mv-badge b { color: var(--mv); }
html[data-theme="light"] .mv-gen { background: linear-gradient(140deg, rgba(109,40,217,.08), transparent 55%); }
html[data-theme="light"] .mv-gen-progress .ok { color: #15803d; }

@media (max-width: 960px) {
  .mv-strip { grid-template-columns: 1fr; }
  .mv-clapper { max-width: 340px; }
  .mv-badges { grid-template-columns: 1fr; }
  .mv-stages { grid-template-columns: repeat(3, 1fr); }
  .mv-gen { grid-template-columns: 1fr; padding: 24px; }
  .mv-poster { max-width: 320px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
  .mv-monitor-screen { aspect-ratio: 4 / 3; }
  .mv-track { grid-template-columns: 54px 1fr; }
  .mv-track-name { font-size: 9px; letter-spacing: .08em; }
  .mv-ruler { margin-left: 62px; }
  .mv-ruler span:nth-child(even) { visibility: hidden; }
  .mv-playhead { left: 62px; }
  .mv-stages { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .mv-grain, .mv-rec i { animation: none; }
}
/* NexBonus — vitrine do app */
.nb-showcase {
  position: relative; margin: 56px 0 0; border-radius: 28px; overflow: hidden;
  border: 2px solid var(--bh); background: #0b1020;
  box-shadow: 0 40px 100px rgba(79,70,229,.22);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out;
}
.nb-showcase img { display: block; width: 100%; height: auto; }
.nb-showcase figcaption {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 14px; color: #fff; pointer-events: none;
}
.nb-showcase figcaption span {
  font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 99px; background: #4f46e5; box-shadow: 0 8px 24px rgba(79,70,229,.45);
}
.nb-showcase::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(5,8,20,.85)); pointer-events: none; }
.nb-showcase figcaption { z-index: 1; }
@media (max-width: 700px) {
  .nb-showcase { margin-top: 36px; border-radius: 20px; }
  .nb-showcase figcaption { font-size: 12px; left: 14px; bottom: 14px; }
}
/* fixes */
html[data-theme="light"] .cortex-visual::after { background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.35)); }
html[data-theme="light"] .cortex-term { background: #060607; }
@media (max-width: 960px) { .mv-clapper { padding-top: 120px; } .mv-strip { margin-top: 24px; } }
.nb-receipt-logo { display: block; width: 78%; max-width: 170px; height: auto; margin: auto auto 0; mix-blend-mode: multiply; }
.nb-receipt .nb-qr { margin-top: 10px; }

/* Cortex — pilares como cards com imagem */
.cortex-cards .cx-card,
html[data-theme="light"] .cortex-cards .cx-card {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; padding: 20px;
  justify-content: flex-end; gap: 6px;
  background-size: cover; background-position: center; background-color: #111;
  border: 2px solid rgba(255,255,255,.14); border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, background-size .6s;
}
.cortex-cards .cx-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.05) 100%);
  transition: opacity .4s;
}
.cortex-cards .cx-card > * { position: relative; z-index: 1; }
.cortex-cards .cx-card b,
html[data-theme="light"] .cortex-cards .cx-card b { color: rgba(255,255,255,.75); font-size: 12px; }
.cortex-cards .cx-card span,
html[data-theme="light"] .cortex-cards .cx-card span {
  color: #fff; font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif;
  font-size: clamp(13px, 1.25vw, 17px); text-transform: uppercase; letter-spacing: .02em; line-height: 1.15;
}
.cortex-cards .cx-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(37,99,235,.3); }
.cortex-cards .cx-card:hover::before { opacity: .75; }
@media (max-width: 860px) {
  .cortex-cards { grid-template-columns: repeat(2, 1fr); }
  .cortex-cards .cx-card { aspect-ratio: 1 / 1; }
  .cortex-cards .cx-card:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}
.cx-line .cx-who { color: rgba(255,255,255,.45); }
.cx-line--ai .cx-who { color: var(--blue-l); }
.cortex-term-bar span { color: rgba(255,255,255,.4); }

/* ═══ .DOC — bento de saúde (substitui a folha de papel) ═══ */
.ep-doc { --doc: #4ba3dd; --doc-d: #0c2d58; }
.doc-bento {
  position: relative; display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr);
  grid-template-areas: "head head what what what what" "how how how how photo photo";
}
.doc-bento::before {
  content: ''; position: absolute; inset: -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 70% 30%, rgba(75,163,221,.14), transparent 60%);
}
.doc-tile {
  position: relative; border-radius: 22px; padding: 26px; overflow: hidden;
  background: rgba(255,255,255,.03); border: 2px solid var(--border);
  display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .3s;
}
.doc-tile:hover { border-color: rgba(75,163,221,.45); }
.doc-tile .eco-card-sublabel { color: var(--doc); }
.doc-tile--head { grid-area: head; justify-content: space-between; background: linear-gradient(160deg, rgba(12,45,88,.55), rgba(12,45,88,.15)); }
.doc-tile--what { grid-area: what; justify-content: center; }
.doc-tile--what .eco-card-tagline { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.45; }
.doc-tile--how { grid-area: how; }
.doc-tile--photo { grid-area: photo; }
.doc-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.doc-mark { height: 46px; width: auto; display: block; }
.doc-mark--light { display: none; }
html[data-theme="light"] .doc-mark--dark { display: none; }
html[data-theme="light"] .doc-mark--light { display: block; }
.doc-live {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  padding: 7px 12px; border-radius: 99px; border: 2px solid var(--bh);
}
.doc-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--doc); box-shadow: 0 0 10px var(--doc); animation: blink 1.6s ease-in-out infinite; }
.doc-devices { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-devices span {
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--doc);
  padding: 7px 13px; border-radius: 99px; border: 2px solid rgba(75,163,221,.35); background: rgba(75,163,221,.07);
}

/* gráfico 24h */
.doc-chart { position: relative; margin-top: auto; padding-top: 8px; }
.doc-chart svg { width: 100%; height: 140px; display: block; overflow: visible; }
.doc-chart-band { fill: rgba(75,163,221,.09); }
.doc-chart-line {
  fill: none; stroke: var(--doc); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s cubic-bezier(.4,0,.2,1) .2s;
}
.ep-doc.in .doc-chart-line { stroke-dashoffset: 0; }
.doc-chart-dot { fill: #ef4444; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ep-doc.in .doc-chart-dot { animation: docPing 1.8s ease-out 2.4s infinite; }
@keyframes docPing { 0% { opacity: 1; transform: scale(1); } 70% { opacity: .9; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }
.doc-chart-flag {
  position: absolute; right: 8%; top: -4px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: #ef4444; padding: 5px 10px; border-radius: 99px; opacity: 0; transform: translateY(6px);
  transition: opacity .5s 2.6s, transform .5s 2.6s; box-shadow: 0 8px 24px rgba(239,68,68,.35);
}
.ep-doc.in .doc-chart-flag { opacity: 1; transform: none; }
.doc-chart-axis { display: flex; justify-content: space-between; margin-top: 6px; font: 10.5px ui-monospace, Consolas, monospace; color: var(--dim); }

/* visor de foto */
.doc-viewfinder {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(75,163,221,.28), transparent 60%), #0a1424;
}
.vf-c { position: absolute; width: 26px; height: 26px; border: 3px solid #fff; opacity: .85; }
.vf-tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.vf-tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.vf-bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.vf-br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.doc-vf-plus { position: absolute; left: 50%; top: 45%; width: 46px; height: 46px; transform: translate(-50%,-50%); }
.doc-vf-plus::before, .doc-vf-plus::after { content: ''; position: absolute; background: var(--doc); border-radius: 6px; }
.doc-vf-plus::before { left: 17px; top: 0; width: 12px; height: 46px; }
.doc-vf-plus::after { top: 17px; left: 0; height: 12px; width: 46px; }
.doc-vf-scan {
  position: absolute; left: 10%; right: 10%; height: 3px; top: 20%; border-radius: 3px;
  background: var(--doc); box-shadow: 0 0 16px 3px rgba(75,163,221,.7); animation: docScan 2.6s ease-in-out infinite;
}
@keyframes docScan { 0%,100% { top: 18%; } 50% { top: 80%; } }
.doc-vf-status {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap;
  font: 600 11px 'Inter', sans-serif; color: #fff; padding: 6px 12px; border-radius: 99px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
}

html[data-theme="light"] .doc-tile { background: rgba(10,10,10,.03); }
html[data-theme="light"] .doc-tile--head { background: linear-gradient(160deg, rgba(75,163,221,.18), rgba(75,163,221,.04)); }
html[data-theme="light"] .ep-doc { --doc: #1f78b8; }

@media (max-width: 860px) {
  .doc-bento { grid-template-columns: 1fr; grid-template-areas: "head" "what" "how" "photo"; }
  .doc-mark { height: 38px; }
  .doc-tile { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .doc-vf-scan, .doc-live i { animation: none; }
  .doc-chart-line { stroke-dashoffset: 0; transition: none; }
}
/* Nosso Ecossistema — título sobre a foto do escritório */
.eco-cutout-wrap {
  position: relative; isolation: isolate;
  min-height: 72vh; display: flex; align-items: center; justify-content: center;
  background: url('images/niunex-fisica.png') center / cover no-repeat;
  border-radius: 0 0 32px 32px;
}
.eco-cutout-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,8,14,.55) 0%, rgba(5,8,14,.35) 45%, rgba(5,8,14,.7) 100%);
}
.eco-cutout-title span,
html[data-theme="light"] .eco-cutout-title span { color: #fff; text-shadow: 0 8px 40px rgba(0,0,0,.45); }
.eco-cutout-title b { font-weight: inherit; }
.eco-intro-media { display: none; }

@media (max-width: 700px) {
  .eco-cutout-wrap { min-height: 88vh; min-height: 88svh; border-radius: 0 0 26px 26px; padding: 90px 8px; }
  .eco-cutout-title span { white-space: normal !important; font-size: 8.7vw !important; line-height: .9; letter-spacing: -.02em; }
  .eco-cutout-title b { display: block; }
}
html[data-theme] body .eco-cutout-wrap .eco-cutout-title span { color: #fff; }

.eco-cutout-wrap .eco-cutout-title { width: 100%; text-align: center; }
@media (max-width: 700px) { .eco-cutout-title span { font-size: 9.1vw !important; } }

.eco-cutout-wrap .eco-cutout-title span { font-size: 5.6vw; }

/* NexBonus — título e frase maiores */
.ep-nexbonus .eco-card-name { font-size: clamp(30px, 4.4vw, 58px); -webkit-text-stroke-width: 1px; line-height: 1.05; }
.ep-nexbonus .eco-card-tagline { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; max-width: 560px; }
.ep-nexbonus .eco-card-text { font-size: 15.5px; }
/* MovAI — claquete só como detalhe no mobile */
@media (max-width: 700px) {
  .mv-strip { margin-top: 18px; justify-content: flex-start; }
  .mv-strip .mv-clapper { width: 150px; padding-top: 40px; }
}

/* Nosso Ecossistema — sem foto de fundo */
.eco-cutout-wrap { background: var(--bg); min-height: 0; border-radius: 0; }
.eco-cutout-wrap::before { display: none; }
html[data-theme] body .eco-cutout-wrap .eco-cutout-title span { color: var(--white); text-shadow: none; }
.eco-intro-media { display: block; }
@media (max-width: 700px) {
  .eco-cutout-wrap { min-height: 0; padding: 70px 8px; border-radius: 0; }
}
/* MovAI — claquete mini no mobile, Arial Black */
@media (max-width: 700px) {
  .mv-strip .mv-clapper { width: 150px !important; max-width: 150px !important; padding-top: 40px !important; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
  .mv-strip .mv-clap-top { height: 18px; border-radius: 6px 6px 3px 3px; border-width: 1px; transform: rotate(-18deg); }
  .mv-strip .mv-clapper.clap .mv-clap-top { transform: rotate(0deg); }
  .mv-strip .mv-clap-body { margin-top: 2px; padding: 7px 8px; gap: 4px; border-width: 1px; border-radius: 3px 3px 8px 8px; }
  .mv-strip .mv-clap-row { padding-bottom: 4px; border-bottom-width: 1px; gap: 4px; }
  .mv-strip .mv-clap-row span { font: 5.5px 'Arial Black', 'Arial Bold', Arial, sans-serif; letter-spacing: .06em; }
  .mv-strip .mv-clap-row b { font: 900 6.5px 'Arial Black', 'Arial Bold', Arial, sans-serif; letter-spacing: .02em; }
  .mv-strip .mv-clap-row--3 b { font-size: 9px; }
}
/* Cortex — leque arrastável só no mobile */
.cortex-fan-wrap { display: none; }
.cx-fan-num { font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.cx-fan-title { font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; text-transform: uppercase; font-size: 18px; }
@media (max-width: 860px) {
  .cortex-cards { display: none !important; }
  .cortex-fan-wrap { display: block; margin-top: 28px; }
  .cortex-fan-stage { background: transparent; }
  html[data-theme="light"] .cortex-fan-wrap .fanstack-dot { background: rgba(10,10,10,.2); }
  html[data-theme="light"] .cortex-fan-wrap .fanstack-dot.active { background: #0a0a0a; }
}
/* Encerramento — NexBot no fim da página */
.end-robot { position: relative; height: 100vh; height: 100dvh; background: var(--bg); }
.end-robot-frame { position: absolute; inset: 0; overflow: hidden; }
.end-robot .hero-brand { z-index: 10; }

/* Produtos da Nexon — tela branca, texto preto */
.phone-screen { background-image: none; background-color: #fff; }
.phone-screen::before { display: none; }
.phone-screen .fan-card-title,
html[data-theme] body .phone-screen .fan-card-title { color: #0a0a0a; }
.phone-screen .fan-card-bullets li,
html[data-theme] body .phone-screen .fan-card-bullets li { color: #1a1a1a; }
.phone-screen .fan-card-bullets li::before { background: #0a0a0a; }
.phone-screen .fan-card-badge { box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 0 0 2px #0a0a0a; }
/* ═══ CABINE 360 — foto de fundo, título por cima, texto embaixo ═══ */
.cabine-hero {
  position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 9;
  border: 2px solid var(--border); background: #05070d; perspective: 900px; cursor: grab;
}
.cabine-hero.dragging { cursor: grabbing; }
.cabine-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.ep-cabine.in .cabine-hero-img { transform: scale(1); }
.cabine-hero-shade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,6,14,.35) 0%, rgba(3,6,14,0) 30%, rgba(3,6,14,0) 50%, rgba(3,6,14,.85) 100%);
}
.cabine-hero .eco-card-num { position: absolute; top: 22px; left: 24px; z-index: 3; }
.cabine-hero .cabine-orbit { z-index: 1; }
.cabine-hero .cabine-deg { z-index: 3; top: 22px; right: 24px; bottom: auto; }
.cabine-hero-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0;
  padding: 0 28px 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-family: 'Ethnocentric Rg', 'Ethnocentric', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(44px, 11vw, 170px); line-height: .85; letter-spacing: -.02em; color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,.45); pointer-events: none;
}
.cabine-hero-title span:last-child { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); }
.cabine-body {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; margin-top: 32px;
}
.cabine-body .eco-card-tagline { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.cabine-body-text { display: flex; flex-direction: column; gap: 12px; }
.cabine-body-text .eco-card-text { font-size: 15.5px; max-width: none; }
@media (max-width: 860px) {
  .cabine-hero { aspect-ratio: 4 / 5; border-radius: 22px; }
  .cabine-hero-img { object-position: 50% 50%; }
  .cabine-hero-title { flex-direction: column; align-items: flex-start; gap: 0; padding: 0 18px 18px; font-size: 17vw; }
  .cabine-body { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
}
.cabine-hero { container-type: inline-size; }
.cabine-hero-title { font-size: 11.2cqw; }
@media (max-width: 860px) { .cabine-hero-title { font-size: 17.5cqw; } }

/* BiohackMe — vitrine do app */
.bio-showcase { margin-top: 18px; background: #eef0f2; box-shadow: 0 40px 100px rgba(101,163,13,.18); }
.bio-showcase::after { display: none; }
.bio-showcase figcaption span { background: #65a30d; box-shadow: 0 8px 24px rgba(101,163,13,.4); }

/* .DOC — telas do app rolando em loop */
.doc-marquee {
  position: relative; width: 100vw; left: 50%; margin-left: -50vw; margin-top: 36px;
  display: flex; flex-direction: column; gap: 22px; overflow: hidden; padding: 10px 0;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.doc-mq-row { overflow: visible; }
.doc-mq-track { display: flex; gap: 26px; width: max-content; animation: docMq 48s linear infinite; will-change: transform; }
.doc-mq-row--rev .doc-mq-track { animation-direction: reverse; animation-duration: 54s; }
.doc-mq-track img {
  height: 330px; width: auto; flex: none; display: block;
  filter: drop-shadow(0 18px 30px rgba(31,120,184,.22));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.doc-mq-track img:hover { transform: translateY(-8px) scale(1.03); }
.doc-marquee:hover .doc-mq-track { animation-play-state: paused; }
@keyframes docMq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) {
  .doc-marquee { gap: 14px; margin-top: 24px; }
  .doc-mq-track { gap: 16px; animation-duration: 36s; }
  .doc-mq-row--rev .doc-mq-track { animation-duration: 40s; }
  .doc-mq-track img { height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .doc-mq-track { animation: none; }
}
/* BiohackMe — celulares animados */
.bio-phones { position: relative; margin-top: 30px; padding: 40px 0 70px; }
.bio-phones-glow {
  position: absolute; left: 50%; top: 50%; width: 70%; height: 70%; transform: translate(-50%,-50%);
  background: radial-gradient(ellipse at center, rgba(163,230,53,.35), rgba(163,230,53,0) 65%); filter: blur(30px); pointer-events: none;
}
.bio-phones-stage {
  position: relative; display: flex; justify-content: center; align-items: center; gap: 0;
  perspective: 1600px; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out;
}
.bio-phone {
  width: clamp(150px, 24%, 290px); height: auto; display: block; border-radius: 42px;
  filter: drop-shadow(0 30px 45px rgba(30,60,10,.28));
  opacity: 1; will-change: transform;
}
.bio-phones:not(.in-view) .bio-phone { opacity: 0; }
.bio-phone--l { --tilt: 14deg; --x: 34px; --z: -90px; z-index: 1; }
.bio-phone--c { --tilt: 0deg; --x: 0px; --z: 40px; z-index: 2; width: clamp(165px, 27%, 320px); }
.bio-phone--r { --tilt: -14deg; --x: -34px; --z: -90px; z-index: 1; }
.bio-phone { transform: translateX(var(--x)) translateZ(var(--z, 0px)) rotateY(var(--tilt)); }
.bio-phones:not(.in-view) .bio-phone { transform: translateX(var(--x)) translateY(80px) translateZ(var(--z, 0px)) rotateY(var(--tilt)) scale(.94); }
.bio-phones.in-view .bio-phone {
  animation: bioRise 1s cubic-bezier(.2,.9,.3,1.1) both, bioFloat 6s ease-in-out infinite;
}
.bio-phones.in-view .bio-phone--l { animation-delay: .05s, 1.05s; }
.bio-phones.in-view .bio-phone--c { animation-delay: .2s, 1.2s; animation-duration: 1s, 5.2s; }
.bio-phones.in-view .bio-phone--r { animation-delay: .35s, 1.35s; animation-duration: 1s, 6.6s; }
@keyframes bioRise {
  from { opacity: 0; transform: translateX(var(--x)) translateY(80px) translateZ(var(--z, 0px)) rotateY(var(--tilt)) scale(.94); }
  to   { opacity: 1; transform: translateX(var(--x)) translateY(0) translateZ(var(--z, 0px)) rotateY(var(--tilt)) scale(1); }
}
@keyframes bioFloat {
  0%, 100% { opacity: 1; transform: translateX(var(--x)) translateY(0) translateZ(var(--z, 0px)) rotateY(var(--tilt)) scale(1); }
  50%      { opacity: 1; transform: translateX(var(--x)) translateY(-16px) translateZ(var(--z, 0px)) rotateY(var(--tilt)) scale(1); }
}
.bio-phones-tag {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  padding: 8px 14px; border-radius: 99px; background: #65a30d; box-shadow: 0 8px 24px rgba(101,163,13,.4);
}
@media (max-width: 700px) {
  .bio-phones { padding: 20px 0 60px; }
  .bio-phone { width: 38%; border-radius: 26px; }
  .bio-phone--c { width: 42%; }
  .bio-phone--l { --x: 26px; } .bio-phone--r { --x: -26px; }
}
@media (prefers-reduced-motion: reduce) {
  .bio-phone, .bio-phones.in-view .bio-phone { animation: none; opacity: 1; transform: translateX(var(--x)) rotateY(var(--tilt)); }
}
/* ═══ Performance ═══ */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }
.doc-mq-track, .movai-row, .bio-phone { backface-visibility: hidden; transform-style: flat; }
@media (max-width: 860px) {
  #nav { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .mobile-menu { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mv-grain { display: none; }
  .doc-mq-track img { filter: none; }
  .doc-mq-track img:hover { transform: none; }
  .bio-phone { filter: none; box-shadow: 0 18px 34px rgba(30,60,10,.22); border-radius: 26px; }
  .bio-phones-glow { filter: none; }
  .cortex-term, .nb-showcase figcaption span, .doc-vf-status, .mv-poster-soon { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .bio-ecg path { filter: none; }
}

/* ═══ Mais espaço entre projetos no mobile ═══ */
@media (max-width: 860px) {
  .ep { padding: 104px 0; }
  .eco-card { padding: 104px 0; }
  .ep-cabine { padding-top: 104px; }
}
/* NexBonus: imagem sem legenda */
#nbShowcase::after { display: none; }

/* Ainda mais espaço entre projetos no mobile */
@media (max-width: 860px) {
  .ep, .eco-card { padding: 150px 0; }
  .ep-cabine { padding-top: 150px; }
}
