/* ═══════════════════════════════════════════════════════════
   BRAINESTAR 2.0 : design system oficial
   roxo #2201B1 · navy-ink #0D0A3F · rosa #ED3888 · Outfit
   base clara (branco lilás) · seções "de força" em roxo
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #0D0A3F;
  --purple: #2201B1;
  --purple-2: #3222A2;
  --purple-3: #390FB3;
  --purple-blue: #2C3CA4;
  --pink: #ED3888;
  --pink-hot: #F90A7B;
  --cap-blue: #1d74e0;
  --bg: #FAFAFE;
  --bg-2: #FFFFFF;
  --lilac: #EFEDF9;
  --text: #0D0A3F;
  --muted: #4B4A70;
  --faint: #8A89A8;
  --stroke: rgba(13, 10, 63, 0.10);
  --shadow: 0 22px 44px -26px rgba(13, 10, 63, 0.35);
  --font: 'Outfit', -apple-system, 'Helvetica Neue', sans-serif;
  --font-read: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --nav-h: 76px;
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--pink); color: #fff; }
img, canvas, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
strong, b { font-weight: 700; }

/* ── utilitários ── */
.wrap { max-width: 1140px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before { content: ''; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.eyebrow { white-space: nowrap; }
@media (max-width: 560px) { .eyebrow { font-size: 11px; letter-spacing: 0.14em; } }
.on-dark .eyebrow, .on-purple .eyebrow { color: #cfcaff; }
.h-display { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; }
.h-section { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.on-dark .lead, .on-purple .lead { color: #cfcaff; }
.accent { color: var(--pink); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* placeholder de ativo : sinalizado, para vocês verem onde cada coisa entra */
.ph {
  position: relative;
  display: grid; place-items: center;
  border: 2px dashed rgba(237, 56, 136, 0.55);
  background: repeating-linear-gradient(135deg, #f7f5fd 0 12px, #f2effb 12px 24px);
  border-radius: 18px;
  color: var(--purple);
  text-align: center;
  overflow: hidden;
}
.ph-in { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; }
.ph-in svg { width: 34px; height: 34px; }
.ph b { font-size: 14.5px; font-weight: 700; }
.ph small { font-size: 12px; color: var(--muted); max-width: 300px; }
.ph-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--pink); color: #fff; padding: 5px 9px; border-radius: 999px;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 clamp(18px, 4vw, 48px);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(250, 250, 254, 0.86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--stroke);
}
.nav.is-inverse { background: rgba(13, 10, 63, 0.7); border-bottom-color: rgba(255,255,255,0.1); }
.nav.is-inverse .brand-word b { color: #fff; }
.nav.is-inverse .brand-word small { color: #cfcaff; }
.nav.is-inverse .nav-links a { color: #d9d6ff; }
.nav.is-inverse .nav-links a:hover { color: #fff; }
.nav.is-inverse .burger span { background: #fff; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-size: 19px; font-weight: 700; letter-spacing: 0.08em; color: var(--navy); }
.brand-word small { font-size: 9.5px; letter-spacing: 0.1em; color: var(--purple-2); margin-top: 4px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a { transition: color 0.25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--pink); transition: right 0.3s var(--ease); }
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { right: 0; }
.nav-cta { white-space: nowrap; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: rgba(250, 250, 254, 0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: none; flex-direction: column; gap: 6px; padding: 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 600; padding: 12px 8px; border-bottom: 1px solid var(--stroke); }
.mobile-menu .btn { margin-top: 18px; align-self: flex-start; }

/* ═══════════ BOTÕES ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 10px 26px -12px rgba(237, 56, 136, 0.7); }
.btn-primary:hover { background: var(--pink-hot); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(249, 10, 123, 0.7); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 10px 26px -12px rgba(34, 1, 177, 0.6); }
.btn-purple:hover { background: var(--purple-3); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--stroke); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.on-dark .btn-ghost, .on-purple .btn-ghost { border-color: rgba(255,255,255,0.28); color: #fff; background: rgba(255,255,255,0.06); }
.on-dark .btn-ghost:hover, .on-purple .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 16.5px; }
.btn-play::before {
  content: ''; width: 0; height: 0;
  border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  margin-left: 2px;
}

/* ═══════════ HUD (só durante o filme) ═══════════ */
.hud {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px; width: 158px; border-radius: 16px;
  background: rgba(255,255,255,0.72); border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none; transition: opacity 0.5s, background 0.5s;
}
.hud.is-on { opacity: 1; }
.hud.is-inverse { background: rgba(13, 10, 63, 0.55); border-color: rgba(255,255,255,0.12); }
.hud-wave { width: 100%; height: 28px; }
.hud-bands { display: flex; flex-direction: column; gap: 4px; }
.hud-bands li { display: grid; grid-template-columns: 16px 1fr auto; gap: 6px; align-items: baseline; font-size: 10.5px; letter-spacing: 0.04em; color: var(--faint); transition: color 0.4s; }
.hud-bands li i { font-style: normal; font-size: 12px; }
.hud-bands li b { font-weight: 600; }
.hud-bands li u { text-decoration: none; opacity: 0.8; font-variant-numeric: tabular-nums; }
.hud-bands li.is-active { color: var(--pink); }
.hud-bands li.is-past { color: var(--muted); }
.hud.is-inverse .hud-bands li { color: #6f6d9a; }
.hud.is-inverse .hud-bands li.is-past { color: #cfcaff; }
.hud.is-inverse .hud-bands li.is-active { color: #ff7ab3; }
.hud-track { height: 2px; background: rgba(13,10,63,0.1); border-radius: 2px; overflow: hidden; }
.hud.is-inverse .hud-track { background: rgba(255,255,255,0.12); }
.hud-progress { height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--pink)); }

/* ═══════════ FILME (mergulho compacto) ═══════════ */
#scene, #turntable { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#turntable { transition: opacity 0.15s linear; }
/* o filme rola 300vh (100vh de pin + 300vh de "pista"); todas as camadas de texto ficam empilhadas no mesmo pin
   e cada uma tem sua janela de tempo (data-in / data-out em frações de filmP) */
.film { position: relative; z-index: 1; height: 400vh; }
.film-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 0 clamp(20px, 5vw, 64px); }
.film-pin > * { grid-area: 1 / 1; }
[data-fx] { opacity: 0; transform: translateY(28px); will-change: opacity, transform; pointer-events: none; }
[data-fx].is-live { pointer-events: auto; }

/* HERO */
.hero-grid {
  width: 100%; max-width: 1140px;
  display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center; gap: 24px;
  padding-top: var(--nav-h);
}
.hero-copy { position: relative; }
.hero-copy::before {
  content: ''; position: absolute; inset: -12% -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(250, 250, 254, 0.9) 45%, rgba(250, 250, 254, 0) 78%);
}
.hero-title { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; margin: 18px 0 20px; }
.hero-title em { font-style: normal; color: var(--purple); }
.hero-sub { font-size: clamp(16px, 1.7vw, 20px); color: var(--muted); max-width: 500px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  font-size: 13px; color: var(--muted);
}
.trust b { color: var(--navy); font-weight: 600; }
.trust .stars { color: var(--pink); letter-spacing: 0.1em; }
.trust .isnr-mini { display: inline-flex; align-items: center; gap: 6px; }
.trust .isnr-mini i { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; border: 1.5px solid var(--purple); color: var(--purple); border-radius: 999px; padding: 3px 7px; }
.scroll-hint { margin-top: 36px; display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); }
.scroll-hint em { width: 40px; height: 1px; background: linear-gradient(90deg, var(--pink), transparent); animation: hint 2s ease-in-out infinite; transform-origin: left; }
@keyframes hint { 0%,100% { transform: scaleX(0.2); opacity: 0.4 } 50% { transform: scaleX(1); opacity: 1 } }

/* frases do mergulho */
.dive-line { text-align: center; max-width: 820px; }
.dive-line h2 { font-size: clamp(34px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.dive-line p { margin-top: 14px; font-size: clamp(15px, 1.7vw, 19px); color: #cfcaff; }
/* sobre fundo claro/variável (a touca ampliada): painel de vidro branco garante leitura em qualquer ponto do zoom */
.dive-line.on-light {
  padding: clamp(22px, 3.5vw, 40px) clamp(22px, 4vw, 48px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 30px 60px -40px rgba(13, 10, 63, 0.35);
}
.dive-line.on-light h2 { color: var(--navy); }
.dive-line.on-light p { color: #2E2D55; font-weight: 500; }
.dive-line.no-glass { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.dive-line .h-tag { display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--pink); }

/* ═══════════ SEÇÕES ═══════════ */
.section { position: relative; z-index: 1; padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 64px); background: var(--bg); }
.section.alt { background: var(--bg-2); }
.section.on-purple { background: linear-gradient(135deg, var(--purple-2) 0%, var(--purple-3) 55%, var(--purple) 100%); color: #fff; }
.section.on-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 14px; }

/* ── 3. O que é em 30 segundos ── */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step3 {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--stroke); box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.step3:hover { transform: translateY(-4px); border-color: rgba(34,1,177,0.35); }
.step3-n { position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--pink); }
.step3-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--lilac); margin-bottom: 20px; }
.step3-ico svg { width: 36px; height: 36px; }
.step3 h3 { font-size: 24px; margin-bottom: 10px; }
.step3 h3 span { color: var(--purple); }
.step3 p { color: var(--muted); font-size: 15px; }
.step3 .tip { margin-top: 14px; font-size: 13px; color: var(--purple); font-weight: 600; }

/* ── 4. Controle remoto (interativo) ── */
.remote { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.tv {
  position: relative; border-radius: 26px; padding: 14px;
  background: linear-gradient(180deg, #1a1650, #0D0A3F);
  box-shadow: 0 40px 70px -40px rgba(13,10,63,0.6);
  -webkit-user-select: none; user-select: none; touch-action: none;
}
.tv-screen { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: #0b0a2f; }
.tv-screen svg { width: 100%; height: 100%; filter: blur(14px) saturate(0.7); transition: filter 0.12s linear; transform: scale(1.06); }
.tv-noise { position: absolute; inset: 0; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }
.tv-hud { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 12.5px; }
.tv-hud .bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.18); overflow: hidden; }
.tv-hud .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple-blue), var(--pink)); transition: width 0.1s linear; }
.tv-hud b { font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }
.tv-hold {
  margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 16px; border-radius: 999px;
  background: var(--pink); color: #fff; font-weight: 700; font-size: 16px;
  transition: background 0.2s, transform 0.2s;
}
.tv-hold:active, .tv-hold.is-holding { background: var(--pink-hot); transform: scale(0.98); }
.tv-hold i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6) } 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0) } }
.tv-done { margin-top: 12px; text-align: center; font-size: 14.5px; color: var(--purple); font-weight: 600; min-height: 22px; }
.remote-copy h2 { margin-top: 14px; }
.remote-copy .lead { margin-top: 14px; }
.remote-copy ol { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; counter-reset: rc; }
.remote-copy li { position: relative; padding-left: 40px; color: var(--muted); font-size: 15px; }
.remote-copy li::before { counter-increment: rc; content: counter(rc); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--lilac); color: var(--purple); font-weight: 700; font-size: 13px; display: grid; place-items: center; }

/* ── 5. Como funciona ── */
.video-slot { aspect-ratio: 16 / 9; width: 100%; max-width: 980px; margin: 0 auto; }
.timeline { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--purple), var(--pink)); opacity: 0.35; }
.tl { position: relative; padding: 0 6px; }
.tl-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--purple); color: var(--purple); font-weight: 800; font-size: 16px; margin-bottom: 16px; position: relative; z-index: 1; }
.tl h4 { font-size: 17px; margin-bottom: 6px; }
.tl p { font-size: 13.5px; color: var(--muted); }
.facts { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fact { padding: 10px 16px; border-radius: 999px; background: var(--lilac); font-size: 13.5px; color: var(--purple); font-weight: 600; }
.fact.todo { border: 1.5px dashed rgba(237,56,136,0.6); background: #fff; color: var(--pink); }

/* ── 6. Mapeamento ── */
.map-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.ba { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--stroke); box-shadow: var(--shadow); touch-action: none; -webkit-user-select: none; user-select: none; }
.ba canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--pink); transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: '⇆'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 8px 20px -6px rgba(237,56,136,0.7); }
.ba-lab { position: absolute; top: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(13,10,63,0.85); color: #fff; }
.ba-lab.l { left: 14px; } .ba-lab.r { right: 14px; }
.ba-note { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 11.5px; color: var(--pink); background: rgba(255,255,255,0.9); border: 1px dashed rgba(237,56,136,0.6); border-radius: 10px; padding: 6px 10px; text-align: center; }
.legend { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.legend li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--muted); }
.legend li i { width: 22px; height: 22px; border-radius: 6px; margin-top: 2px; }
.legend li b { color: var(--navy); }
.map-cards { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.map-card { background: #fff; border: 1px solid var(--stroke); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.map-card .ph { aspect-ratio: 4 / 3; margin-bottom: 14px; }
.map-card h4 { font-size: 17px; margin-bottom: 4px; }
.map-card p { font-size: 13.5px; color: var(--muted); }
.wave-strip { width: 100%; height: 56px; margin: 6px auto 0; opacity: 0.85; }

/* ── 7. Resultados ── */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: clamp(36px, 4vw, 56px); }
.counter { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }
.counter b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.counter span { font-size: 13.5px; color: #cfcaff; }
.counter.todo { border-style: dashed; border-color: rgba(255,122,179,0.7); }
.counter.todo b { color: #ff7ab3; font-size: clamp(22px, 2.6vw, 30px); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: clamp(36px, 4vw, 56px); }
.results-grid .ph { aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 12px, rgba(255,255,255,0.03) 12px 24px); border-color: rgba(255,122,179,0.6); color: #fff; }
.results-grid .ph small { color: #cfcaff; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { padding: 26px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); transition: transform 0.4s var(--ease), background 0.3s; }
.quote:hover { transform: translateY(-4px); background: rgba(255,255,255,0.11); }
.quote .stars { color: #ff7ab3; letter-spacing: 0.12em; font-size: 14px; }
.quote p { margin: 12px 0 14px; font-size: 15px; line-height: 1.6; color: #fff; }
.quote footer { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #cfcaff; }
.quote.todo { border-style: dashed; border-color: rgba(255,122,179,0.6); }
.google-link { margin-top: 26px; text-align: center; }

/* ── 8. Para quem ── */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.choice-card {
  text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 22px;
  border-radius: var(--radius); border: 1px solid var(--stroke); background: #fff; box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.choice-card:hover { transform: translateY(-4px); border-color: rgba(34,1,177,0.4); }
.choice-card[aria-selected="true"] { border-color: var(--purple); background: linear-gradient(180deg, #fff, var(--lilac)); }
.choice-kicker { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.choice-name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.choice-desc { font-size: 14px; color: var(--muted); }
.choice-arrow { margin-top: 8px; color: var(--pink); font-size: 20px; transition: transform 0.3s var(--ease); }
.choice-card:hover .choice-arrow, .choice-card[aria-selected="true"] .choice-arrow { transform: translateX(6px); }
.panel { margin-top: 20px; }
.panel[hidden] { display: none; }
.panel-inner { border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--stroke); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 48px); animation: panel-in 0.55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
.panel-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-bottom: 30px; }
.panel-top h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.panel-top p { color: var(--muted); font-size: 15.5px; }
.signs { background: var(--lilac); border-radius: 16px; padding: 18px 20px; }
.signs h5 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.signs li { font-size: 14px; color: var(--muted); padding: 4px 0 4px 22px; position: relative; }
.signs li::before { content: '✓'; position: absolute; left: 0; color: var(--pink); font-weight: 800; }
.cond-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cond-block { border: 1px solid var(--stroke); border-radius: 16px; padding: 18px 16px; background: var(--bg); }
.cond-block h4 { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.cond-block li { font-size: 14px; color: var(--muted); padding: 2px 0; }
.cond-block li::before { content: '· '; color: var(--pink); font-weight: 800; }
.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.perf-block { border: 1px solid var(--stroke); border-radius: 16px; padding: 22px 20px; background: var(--bg); }
.perf-block h4 { font-size: 17px; margin-bottom: 6px; }
.perf-block p { font-size: 14px; color: var(--muted); }
.panel-cta { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.panel-brand { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.panel-brand b { color: var(--purple); }

/* ── 9. Por que a BrainEstar ── */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 0.4s var(--ease), background 0.3s; }
.tile:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); }
.tile-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,0.14); display: grid; place-items: center; margin-bottom: 16px; }
.tile-ico svg { width: 26px; height: 26px; }
.tile h3 { font-size: 20px; margin-bottom: 8px; color: #fff; }
.tile p { font-size: 14.5px; color: #dcd8ff; }
.tile .isnr-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #ff7ab3; color: #ff7ab3; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.inst-strip { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; font-size: 13.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #cfcaff; }
.inst-strip i { font-style: normal; color: rgba(255,255,255,0.4); }

/* ── 10. Equipe (prévia) ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--stroke); box-shadow: var(--shadow); transition: transform 0.4s var(--ease); }
.team-card:hover { transform: translateY(-4px); }
.team-photo { aspect-ratio: 1 / 1; border-radius: 18px; margin-bottom: 18px; }
.team-card h3 { font-size: 20px; }
.team-role { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin: 4px 0 12px; font-weight: 700; }
.team-card ul { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--muted); }
.team-card li::before { content: ': '; color: var(--faint); }
.center { text-align: center; margin-top: 30px; }

/* ── 11. FAQ ── */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--stroke); border-radius: 16px; overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(34,1,177,0.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: var(--lilac); color: var(--purple); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); font-family: var(--font-read); font-size: 14.5px; line-height: 1.7; }
.faq .ans .todo { color: var(--pink); font-weight: 600; }

/* ── 12. Unidades ── */
.unit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.unit-card { padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--stroke); box-shadow: var(--shadow); }
.unit-card h3 { font-size: 26px; margin-bottom: 8px; }
.unit-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.unit-card .ph { aspect-ratio: 16 / 7; margin-bottom: 18px; }
.unit-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── 13. Agendar (mini-jornada) ── */
.journey { max-width: 720px; margin: 0 auto; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 3.5vw, 40px); }
.jsteps { display: flex; gap: 8px; margin-bottom: 26px; }
.jsteps li { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.18); }
.jsteps li.is-done, .jsteps li.is-now { background: var(--pink); }
.jq { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; margin-bottom: 18px; color: #fff; }
.jstep[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 14px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.28); color: #fff; font-weight: 600; font-size: 15px; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.chip:hover { border-color: #fff; transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); }
.jfields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #cfcaff; }
.field input { font: inherit; color: #fff; background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.22); border-radius: 14px; padding: 15px 18px; outline: none; transition: border-color 0.25s, background 0.25s; }
.field input::placeholder { color: rgba(255,255,255,0.45); }
.field input:focus { border-color: #fff; background: rgba(255,255,255,0.12); }
.field input.is-invalid { border-color: #ff7ab3; }
.jnav { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.jback { color: #cfcaff; font-weight: 600; font-size: 14px; }
.jback:hover { color: #fff; }
.jsummary { margin-top: 10px; font-size: 13.5px; color: #cfcaff; }
.jsummary b { color: #fff; }

/* ═══════════ FOOTER ═══════════ */
.footer { position: relative; z-index: 1; background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 64px) 34px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; max-width: 1140px; margin: 0 auto 44px; }
.footer .brand-word b { color: #fff; }
.footer .brand-word small { color: #cfcaff; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #cfcaff; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #8f8cc0; margin-bottom: 6px; }
.footer-col a { font-size: 14px; color: #dcd8ff; transition: color 0.25s; }
.footer-col a:hover { color: #ff7ab3; }
.footer-legal { max-width: 1140px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 12.5px; color: #8f8cc0; text-align: center; }

/* ═══════════ LIGHTBOX (vídeo) ═══════════ */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(13,10,63,0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: none; place-items: center; padding: 20px; }
.lightbox.is-open { display: grid; }
.lightbox-box { width: min(1000px, 96vw); aspect-ratio: 16 / 9; }
.lightbox-box .ph { width: 100%; height: 100%; }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 22px; display: grid; place-items: center; }

/* ═══════════ PÁGINA EQUIPE ═══════════ */
.page-hero { padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) clamp(20px, 5vw, 64px) clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--lilac), var(--bg)); text-align: center; }
.page-hero h1 { margin-top: 14px; }
.page-hero .lead { max-width: 680px; margin: 16px auto 0; }
.person { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding: clamp(28px, 3.5vw, 44px); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--stroke); box-shadow: var(--shadow); }
.person + .person { margin-top: 20px; }
.person .ph { aspect-ratio: 4 / 5; }
.person h2 { font-size: clamp(26px, 3.2vw, 36px); }
.person .role { color: var(--pink); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12.5px; margin: 6px 0 16px; }
.person .bio { color: var(--muted); font-family: var(--font-read); font-size: 15px; line-height: 1.75; }
.person .bio.todo { border-left: 3px solid var(--pink); padding-left: 14px; }
.creds { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cred { display: flex; gap: 10px; align-items: start; font-size: 14px; color: var(--muted); }
.cred i { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--lilac); display: grid; place-items: center; color: var(--purple); font-style: normal; font-weight: 800; font-size: 12px; }
.cred b { color: var(--navy); }
.quote-line { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--lilac); color: var(--purple); font-weight: 600; font-size: 15px; }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.staff { background: #fff; border: 1px solid var(--stroke); border-radius: 18px; padding: 16px; text-align: center; }
.staff .ph { aspect-ratio: 1 / 1; margin-bottom: 12px; }
.staff b { display: block; font-size: 15px; }
.staff span { font-size: 12.5px; color: var(--muted); }
.behind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.behind .tile { background: #fff; border-color: var(--stroke); }
.behind .tile h3 { color: var(--navy); }
.behind .tile p { color: var(--muted); }
.behind .tile-ico { background: var(--lilac); }

/* ═══════════ MOBILE ═══════════ */
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .film-pin > .hero-grid { align-self: start; }
  .hero-grid { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 8px); align-content: start; gap: 0; }
  .hero-copy { text-align: left; }
  /* hero compacto: sobra ~40% da tela para a touca real embaixo */
  .hero-title { margin: 14px 0 14px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn-lg { padding: 13px 18px; font-size: 14.5px; }
  .trust { margin-top: 20px; gap: 6px 14px; font-size: 12.5px; }
  .scroll-hint { display: none; }
  .steps3, .quotes, .team-grid, .tiles, .results-grid, .map-cards, .perf-grid, .behind { grid-template-columns: 1fr; }
  .cond-grid { grid-template-columns: 1fr 1fr; }
  .counters { grid-template-columns: 1fr 1fr; }
  .remote, .map-grid, .panel-top, .unit-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--purple), var(--pink)); }
  .tl { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
  .tl-dot { margin-bottom: 0; }
  .choice-grid { grid-auto-flow: column; grid-auto-columns: 80%; grid-template-columns: unset; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .choice-grid::-webkit-scrollbar { display: none; }
  .choice-card { scroll-snap-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hud { right: auto; left: 14px; top: auto; bottom: 14px; transform: none; width: auto; flex-direction: row; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 999px; }
  .hud-wave { width: 60px; height: 20px; }
  .hud-bands { flex-direction: row; }
  .hud-bands li { display: none; }
  .hud-bands li.is-active { display: grid; grid-template-columns: auto auto auto; gap: 5px; font-size: 10px; }
  .hud-track { display: none; }
  .person { grid-template-columns: 1fr; }
  .person .ph { max-width: 320px; }
  .creds { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .jfields { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cond-grid, .counters { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-fx], .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
