/* ===== Fontes (substitutas: Michroma ≈ Sqwared, Outfit ≈ Nexa) ===== */
@font-face { font-family: "Michroma"; src: url("../fonts/michroma-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --mint: #70FFC0; --cyan: #32CAD3; --blue: #009FE3;
  --graphite: #303030; --white: #FFF8F8; --black: #000;
  --ink: #0d1113;
  --grad: linear-gradient(120deg, var(--mint), var(--cyan) 50%, var(--blue));
  --glass: rgba(14, 20, 22, .62);
  --glass-line: rgba(112, 255, 192, .28);
  --muted: rgba(255, 248, 248, .68);
  --attention: #F2C38B;
  --display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --text: "Outfit", "Nexa", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--white); }
body { font-family: var(--text); font-weight: 300; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }

/* ===== Palco ===== */
.stage { position: fixed; inset: 0; z-index: 0; background: var(--ink); }
.stage__poster { position: absolute; inset: 0; background: url("../seq/S0/poster.webp") center / cover no-repeat; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(8, 12, 14, .55) 100%),
    linear-gradient(180deg, rgba(8, 12, 14, .45) 0%, transparent 18%, transparent 70%, rgba(8, 12, 14, .55) 100%);
}
.stage.is-dim .stage__canvas { opacity: .25; transition: opacity .6s; }

/* ===== Barra superior ===== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(10, 14, 16, .6), transparent);
}
.topbar__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.topbar__logo img { width: 34px; height: auto; }
.topbar__logo span { font-family: var(--display); font-size: 15px; letter-spacing: .32em; }
.topbar__logo i { font-style: normal; opacity: .7; }
.topbar__logo b { font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 14px/1 var(--text); letter-spacing: .02em; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn--ghost { border: 1px solid rgba(255, 248, 248, .35); background: rgba(10, 14, 16, .35); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--mint); }
.btn--primary { color: #06201a; background: var(--grad); box-shadow: 0 10px 40px rgba(50, 202, 211, .3); font-size: 16px; padding: 18px 30px; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(50, 202, 211, .45); }

/* ===== Trilho de capítulos ===== */
.rail { position: fixed; right: clamp(14px, 2.4vw, 32px); top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 14px; }
.rail a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255, 248, 248, .55); transition: all .3s; }
.rail a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; letter-spacing: .08em; opacity: 0; transition: opacity .3s; pointer-events: none; }
.rail a:hover span, .rail a.is-active span { opacity: .9; }
.rail a.is-active { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 14px var(--mint); }

/* ===== Trilha e textos ===== */
main { position: relative; z-index: 10; }
.track { position: relative; }
.copy { position: absolute; left: 0; right: 0; pointer-events: none; }
.copy > * { pointer-events: auto; }
.copy__box {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px clamp(20px, 6vw, 96px);
  opacity: 0; will-change: opacity, transform;
}
.copy--left .copy__box, .copy--right .copy__box { max-width: min(520px, 46vw); }
.copy--right .copy__box { margin-left: auto; }
.copy--top .copy__box { justify-content: flex-start; padding-top: 110px; }
.copy--left .copy__inner, .copy--right .copy__inner {
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 248, 248, .1); border-radius: 22px; padding: 30px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.tag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.copy h2, .channels h2, .cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.3; letter-spacing: .01em; margin-bottom: 16px; }
.copy p { color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); }
.copy ul { margin-top: 18px; display: grid; gap: 9px; }
.copy li { position: relative; padding-left: 22px; font-size: 15px; }
.copy li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; border-radius: 2px; background: var(--grad); }

/* Hero */
.copy--hero .copy__box { align-items: center; text-align: center; opacity: 1; }
.copy--hero .copy__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.copy--hero .copy__inner::before {
  content: ""; position: absolute; inset: -12% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(6, 10, 12, .72), rgba(6, 10, 12, .45) 55%, transparent);
}
.copy--hero .kicker { font-size: 11px; letter-spacing: .3em; color: var(--mint); margin-bottom: 26px; }
.hero-logo { width: min(230px, 56vw); height: auto; margin-bottom: 30px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.copy--hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.8vw, 42px); line-height: 1.3; max-width: 22ch; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.copy--hero h1 span { display: block; margin-top: 8px; font-size: .62em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.copy--hero .lead { max-width: 60ch; margin-top: 22px; color: rgba(255,248,248,.85); font-size: clamp(15px, 1.15vw, 18px); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.scroll-hint { margin-top: 34px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 46px; margin: 14px auto 0; background: linear-gradient(var(--mint), transparent); animation: hint 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0%,100% { transform: scaleY(.3); opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

/* ===== Canais ===== */
.channels {
  position: relative; min-height: 100vh; padding: 140px clamp(20px, 6vw, 96px) 80px;
  background: radial-gradient(80% 60% at 50% 45%, rgba(50, 202, 211, .12), transparent 70%), linear-gradient(180deg, rgba(13,17,19,0) 0%, var(--ink) 18%);
}
.channels__intro { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.channels__intro p:last-child { color: var(--muted); }
.hub { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 1000 / 640; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines path { fill: none; stroke: url(#sig); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; vector-effect: non-scaling-stroke; }
.hub__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 28px 30px; border-radius: 50%; width: 210px; aspect-ratio: 1;
  align-content: center; background: radial-gradient(circle, #13302f, #0d1416 70%);
  border: 1px solid var(--glass-line); box-shadow: 0 0 60px rgba(50, 202, 211, .25);
}
.hub__core img { width: 54px; height: auto; }
.hub__core strong { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .06em; }
.hub__core span { font-size: 12px; color: var(--muted); }
.ch {
  position: absolute; width: min(300px, 30%);
  background: var(--glass); border: 1px solid rgba(255, 248, 248, .1); border-radius: 18px; padding: 20px 22px;
  backdrop-filter: blur(12px);
}
.ch--tl { left: 0; top: 0; } .ch--tr { right: 0; top: 0; } .ch--bl { left: 0; bottom: 0; } .ch--br { right: 0; bottom: 0; }
.ch h3 { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: .04em; }
.ch .ch__product { font-size: 13px; color: var(--mint); margin: 4px 0 10px; }
.ch p { font-size: 14px; color: var(--muted); }
.ch .privacy { margin-top: 12px; }
.channels__rule { text-align: center; margin-top: 54px; font-family: var(--display); font-size: clamp(16px, 1.6vw, 22px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.channels__note { text-align: center; margin: 18px auto 0; max-width: 60ch; font-size: 12px; color: rgba(255,248,248,.45); }

/* ===== CTA e rodapé ===== */
.cta { position: relative; padding: 120px clamp(20px, 6vw, 96px); text-align: center; background: var(--ink); }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 34px; }
.footer { position: relative; z-index: 10; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; padding: 50px clamp(20px, 6vw, 96px) 60px; border-top: 1px solid rgba(255,248,248,.08); background: var(--ink); font-size: 14px; color: var(--muted); }
.footer img { width: 150px; height: auto; }
.footer a { text-decoration: none; border-bottom: 1px solid rgba(255,248,248,.2); }
.footer__small { font-size: 12px; opacity: .6; margin-top: 6px; }

/* ===== Celular ===== */
@media (max-width: 768px) {
  .topbar .btn { padding: 10px 14px; font-size: 12px; }
  .topbar__logo span { display: none; }
  .rail { display: none; }
  .copy--left .copy__box, .copy--right .copy__box { max-width: none; justify-content: flex-end; padding: 0 14px 22px; }
  .copy--top .copy__box { justify-content: flex-end; padding-top: 0; }
  .copy--left .copy__inner, .copy--right .copy__inner { padding: 20px; border-radius: 18px; }
  .copy ul { display: none; }
  .copy p { font-size: 14px; }
  .hub { aspect-ratio: auto; display: grid; gap: 14px; }
  .hub__lines { display: none; }
  .hub__core { position: relative; left: auto; top: auto; transform: none; margin: 0 auto 10px; width: 180px; }
  .ch { position: relative; width: auto; inset: auto; }
}

/* ===== Movimento reduzido ===== */
@media (prefers-reduced-motion: reduce) {
  .scroll-hint::after { animation: none; }
  * { scroll-behavior: auto !important; }
}
