/* Mapa do Cérebro — estilos isolados desta página. */

@font-face { font-family: "Sora"; src: url("/mapa-do-cerebro/fonts/sora-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/mapa-do-cerebro/fonts/sora-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/mapa-do-cerebro/fonts/sora-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --tinta: #05070D;
  --texto: #E8EDF6;
  --suave: #97A3BA;
  --ciano: #7FD6FF;
  --ambar: #FFB45E;
  --linha: rgba(127, 214, 255, .22);
  --pad: 22px;
  --max: 1160px;
  --topo: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--tinta);
  color: var(--texto);
  font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { font-weight: 300; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--ciano); outline-offset: 4px; border-radius: 4px; }

/* ---------- Fundo vivo ---------- */
.rede { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.vinheta {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 40%, transparent 55%, rgba(5, 7, 13, .75) 100%);
}
main, .rodape { position: relative; z-index: 2; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  height: var(--topo);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: linear-gradient(to bottom, rgba(5, 7, 13, .92), rgba(5, 7, 13, 0));
}
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .9375rem; letter-spacing: -0.01em; }
.marca-no { width: 10px; height: 10px; border-radius: 50%; background: var(--ciano); box-shadow: 0 0 12px 2px rgba(127, 214, 255, .7); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px;
  background: #EAF6FF; color: var(--tinta);
  font: 600 1rem/1.2 "Sora", sans-serif; letter-spacing: -0.01em;
  text-decoration: none; text-align: center;
  box-shadow: 0 0 0 0 rgba(127, 214, 255, 0), 0 8px 40px -8px rgba(127, 214, 255, .45);
  transition: box-shadow .25s, transform .25s;
}
.btn:hover { box-shadow: 0 0 0 6px rgba(127, 214, 255, .16), 0 10px 50px -6px rgba(127, 214, 255, .7); transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: .875rem; background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1px rgba(232, 237, 246, .35); }
.btn--sm:hover { box-shadow: inset 0 0 0 1px var(--ciano), 0 0 24px -4px rgba(127, 214, 255, .6); }
.btn--lg { min-height: 60px; padding: 18px 36px; font-size: 1.0625rem; }
.link { color: var(--texto); text-decoration: none; font-weight: 400; font-size: .9375rem; padding: 14px 4px; border-bottom: 1px solid rgba(232, 237, 246, .3); }
.link:hover { border-color: var(--ciano); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--topo) + 30vh) var(--pad) 72px;
  position: relative;
}
.hero-txt { max-width: 34rem; }
.hero h1 { font-size: clamp(2.25rem, 9.6vw, 4.9rem); line-height: 1.04; }
.hero-sub { margin-top: 1rem; color: #C9D2E3; font-size: 1rem; max-width: 30rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 1.5rem; }
.rolar { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; font-size: .75rem; color: var(--suave); letter-spacing: .08em; }
.rolar span { display: block; width: 1px; height: 36px; margin: 0 auto 8px; background: linear-gradient(var(--ciano), transparent); }

/* ---------- História (palco fixo) ---------- */
.historia { position: relative; }
.palco { position: relative; padding: 0 var(--pad); }
.cap { padding: 18vh 0; max-width: 30rem; }
.cap-n { color: var(--ambar); font-size: .875rem; font-weight: 400; margin-bottom: .75rem; }
.cap h2 { font-size: clamp(1.9rem, 7.4vw, 3.4rem); line-height: 1.08; }
.cap h2 + p { margin-top: 1rem; color: #C9D2E3; max-width: 26rem; }
.frag { display: none; }

.chat {
  margin-top: 1.75rem; max-width: 24rem;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(10, 14, 26, .88);
  box-shadow: inset 0 0 0 1px rgba(255, 180, 94, .35), 0 20px 60px -20px rgba(255, 180, 94, .35);
  font-size: .9375rem; line-height: 1.5;
}
.chat-tag { font-size: .75rem; color: var(--suave); margin-bottom: .75rem; }
.chat-q { display: inline-block; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: rgba(232, 237, 246, .1); font-weight: 400; }
.chat-a { margin-top: .75rem; color: var(--texto); }
.chat-f { margin-top: .6rem; color: var(--ambar); font-size: .8125rem; }
.chat-f::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 10px var(--ambar); margin-right: 8px; vertical-align: 1px; }

/* ---------- Blocos ---------- */
.bloco { max-width: var(--max); margin: 0 auto; padding: 96px var(--pad); }
.bloco h2 { font-size: clamp(1.9rem, 6.6vw, 3.2rem); line-height: 1.08; max-width: 22ch; }
.sobre { color: var(--ambar); font-size: .875rem; font-weight: 400; margin-bottom: .75rem; }

.sinais-lista { margin-top: 2.5rem; display: grid; gap: 14px; }
.sinais-lista li {
  position: relative; padding: 20px 20px 20px 52px;
  border-radius: 14px; background: rgba(12, 17, 30, .72);
  box-shadow: inset 0 0 0 1px rgba(127, 214, 255, .14);
  font-size: 1.0625rem; line-height: 1.45; font-weight: 400;
}
.sinais-lista li::before {
  content: ""; position: absolute; left: 22px; top: 28px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ciano); box-shadow: 0 0 12px 2px rgba(127, 214, 255, .6);
}

.passos { position: relative; margin-top: 3rem; display: grid; gap: 34px; padding-left: 34px; }
.passos::before, .passos::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--linha); }
.passos::after { background: linear-gradient(var(--ciano), var(--ambar)); transform-origin: top; transform: scaleY(var(--fill, 1)); box-shadow: 0 0 10px rgba(127, 214, 255, .6); }
.passos li { position: relative; }
.passos li::before {
  content: ""; position: absolute; left: -34px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--ciano), 0 0 14px rgba(127, 214, 255, .5);
  z-index: 1;
}
.passos p { margin-top: .35rem; color: #C9D2E3; max-width: 22rem; }

.entrega { margin-top: 3rem; padding: 28px 24px; border-radius: 18px; background: rgba(12, 17, 30, .78); box-shadow: inset 0 0 0 1px rgba(255, 180, 94, .28); }
.entrega > p { font-size: 1.125rem; line-height: 1.55; font-weight: 400; max-width: 44rem; }
.fatos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.fatos li { padding: 8px 14px; border-radius: 999px; font-size: .875rem; font-weight: 400; box-shadow: inset 0 0 0 1px rgba(232, 237, 246, .25); }

.quem { display: grid; gap: 28px; align-items: center; }
.quem-foto { position: relative; max-width: 340px; margin: 0 auto; width: 78%; }
.quem-foto::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(127, 214, 255, .28), rgba(127, 214, 255, .08) 55%, transparent 72%);
}
.quem-foto::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ciano), var(--ambar), transparent);
  box-shadow: 0 0 14px rgba(127, 214, 255, .7);
}
.quem-foto img { position: relative; width: 100%; filter: saturate(.85) contrast(1.05) drop-shadow(0 0 1px rgba(160, 225, 255, .9)) drop-shadow(0 0 18px rgba(127, 214, 255, .35)); }
.quem-lista { margin-top: 1.5rem; display: grid; gap: 14px; max-width: 34rem; }
.quem-lista li { position: relative; padding-left: 26px; font-size: 1.0625rem; line-height: 1.5; font-weight: 400; color: #D5DCEA; }
.quem-lista li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ciano); box-shadow: 0 0 10px 2px rgba(127, 214, 255, .55); }
.nichos-titulo { margin-top: 2rem; color: var(--ambar); font-size: .875rem; font-weight: 400; }
.nichos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .75rem; max-width: 36rem; }
.nichos li { padding: 7px 13px; border-radius: 999px; font-size: .875rem; font-weight: 400; color: #D5DCEA; background: rgba(12, 17, 30, .72); box-shadow: inset 0 0 0 1px rgba(127, 214, 255, .28); }

.final { position: relative; text-align: center; padding: 140px var(--pad) 160px; }
.final h2 { text-shadow: 0 2px 30px rgba(5, 7, 13, .9); }
.final h2 { font-size: clamp(2.1rem, 8vw, 4.2rem); line-height: 1.06; max-width: 16ch; margin: 0 auto; }
.final > p { margin: 1.25rem auto 2.25rem; color: #C9D2E3; max-width: 28rem; }
.final .nota { margin: 1rem auto 0; font-size: .8125rem; color: var(--suave); }

.flutua {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 9;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.flutua.on { opacity: 1; transform: none; pointer-events: auto; }

.rodape { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 100px; font-size: .8125rem; color: var(--suave); border-top: 1px solid rgba(232, 237, 246, .1); }
.rodape a { margin-left: 18px; }

/* ---------- Movimento ---------- */
.motion .historia { height: 440vh; height: 440svh; }
.motion .palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .cap {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 7svh;
  padding: 0; opacity: 0; transform: translateY(24px);
  transition: opacity .2s ease, transform .3s ease;
  pointer-events: none;
}
.motion .cap::before {
  content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad)); top: -80px; bottom: -8svh;
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0), rgba(5, 7, 13, .9) 38%);
}
.motion .cap.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s ease .18s, transform .7s cubic-bezier(.2, .7, .1, 1) .18s; }
.motion .frag { display: block; position: absolute; inset: 0; pointer-events: none; }
.motion .frag li {
  position: absolute; left: calc(14% + var(--x) * 72%); top: calc(8% + var(--y) * 52%);
  white-space: nowrap; font-size: .75rem; font-weight: 400; color: #BFD3E6;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(5, 7, 13, .7); box-shadow: inset 0 0 0 1px rgba(127, 214, 255, .35);
  opacity: 0; transform: translate(-50%, 8px) scale(.96);
  transition: opacity .5s, transform .6s;
}
.motion .frag.on li { opacity: 1; transform: translate(-50%, 0); }
.motion .frag.on li:nth-child(2) { transition-delay: .08s; } .motion .frag.on li:nth-child(3) { transition-delay: .16s; }
.motion .frag.on li:nth-child(4) { transition-delay: .24s; } .motion .frag.on li:nth-child(5) { transition-delay: .32s; }
.motion .frag.on li:nth-child(6) { transition-delay: .4s; }
.motion .rolar { display: block; }
.motion [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .1, 1); }
.motion [data-in].on { opacity: 1; transform: none; }

@media (min-width: 600px) {
  :root { --pad: 40px; }
  .sinais-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  :root { --pad: 56px; --topo: 76px; }
  body { font-size: 1.125rem; }
  .hero { justify-content: center; padding: var(--topo) var(--pad) 80px; max-width: var(--max); margin: 0 auto; }
  .hero h1 { font-size: clamp(3.2rem, min(5vw, 9vh), 5rem); }
  .hero-txt { max-width: 36rem; }
  .hero-sub { font-size: 1.125rem; margin-top: 1.25rem; }
  .hero-cta { margin-top: 2rem; }
  .cap { max-width: 32rem; }
  .motion .cap { left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); right: auto; bottom: auto; top: 50%; transform: translateY(calc(-50% + 24px)); width: 30rem; }
  .motion .cap.on { transform: translateY(-50%); }
  .motion .cap::before { left: -60px; right: -80px; top: -60px; bottom: -60px; background: radial-gradient(closest-side, rgba(5, 7, 13, .82), rgba(5, 7, 13, 0)); }
  .motion .frag li { top: calc(var(--y) * 100%); left: calc(38% + var(--x) * 58%); font-size: .8125rem; }
  .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-left: 0; padding-top: 40px; }
  .passos::before, .passos::after { left: 6px; right: 6px; top: 6px; bottom: auto; width: auto; height: 1px; }
  .passos::after { transform-origin: left; transform: scaleX(var(--fill, 1)); background: linear-gradient(90deg, var(--ciano), var(--ambar)); }
  .passos li::before { left: 0; top: -40px; }
  .entrega { padding: 36px 40px; }
  .quem { grid-template-columns: 420px minmax(0, 1fr); gap: 72px; }
  .quem-foto { max-width: none; width: 100%; }
  .flutua { display: none; }
  .rodape { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
