/* ============================================================
   Cohort Imagem & Vídeo · sales page (v3)
   Loads AFTER ds.css (Academia LP base). Aesthetic of the house and
   of the sibling /materiais page: near-black canvas, one accent,
   Inter Tight + Instrument Serif italic + JetBrains Mono (data only).
   The page's voice is motion: a hero "player" that plays the clone
   workflow like a video composition, a program monitor that follows
   the classes, an edit timeline. Quiet surfaces, moving content.
   ============================================================ */

:root {
  --canvas: #08080a;
  --canvas-2: #0d0d11;
  --node: #141418;
  --node-head: #1b1b21;
  --text: #edebe6;
  --body: rgba(237, 235, 230, 0.76);
  --muted: rgba(237, 235, 230, 0.56);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --bad: #ff8b7d;

  /* the one accent: lime, the /materiais family */
  --accent: #b6f23a;
  --accent-ink: #0d1402;
  --accent-soft: rgba(182, 242, 58, 0.1);
  --accent-line: rgba(182, 242, 58, 0.38);
  --accent-glow: rgba(182, 242, 58, 0.42);

  --ui: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --r: 14px;
}

body { background: var(--canvas); color: var(--text); font-family: var(--ui); font-size: 16px; line-height: 1.6; letter-spacing: -0.008em; -webkit-font-smoothing: antialiased; }
p { margin: 0; color: var(--body); }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: var(--maxw); padding-inline: var(--gutter); }
section { padding-block: 0; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--ui); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; color: var(--text); text-wrap: balance; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
h1 { font-size: clamp(2.5rem, 4.4vw, 3.9rem); }
h1 em { display: block; margin-top: 4px; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.15; }
.lead { font-size: clamp(1.04rem, 1.3vw, 1.16rem); line-height: 1.62; color: var(--body); max-width: 54ch; }
.body { max-width: 62ch; }
.body + .body { margin-top: 14px; }

/* ---------- Controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15.5px/1.2 var(--ui); letter-spacing: -0.01em; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 14px 34px -16px var(--accent-glow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn .arr { transition: transform 0.3s var(--ease-out); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 20px 40px -14px var(--accent-glow); }
.btn:hover .arr { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn.xl { min-height: 60px; font-size: 16.5px; padding: 0 32px; }
.btn.block { width: 100%; }

.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--body); box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255, 255, 255, 0.02); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: none; }
.dot.live { animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---------- Scroll progress (hairline under the topbar) ---------- */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }

/* ---------- Topbar ---------- */
.top { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.top-in { pointer-events: auto; max-width: var(--maxw); margin: 0 auto; height: 60px; padding: 0 8px 0 22px; display: flex; align-items: center; gap: 16px; border-radius: 999px; background: rgba(12, 12, 15, 0.8); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -30px #000; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; color: var(--text); }
.brand .ico { width: 22px; height: 22px; color: var(--accent); }
.brand b { color: var(--accent); }
.top-meta { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 960px) { .top-meta { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 560px) { .top-in { height: 54px; padding-left: 16px; } .brand { font-size: 14px; } .top .btn { display: none; } }

/* ============================================================
   HERO · copy left, the workflow "player" right
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(90% 80% at 72% 42%, #000 35%, transparent 100%); mask-image: radial-gradient(90% 80% at 72% 42%, #000 35%, transparent 100%); }
.hero-grid { position: relative; display: grid; gap: clamp(36px, 4vw, 56px); padding-top: clamp(108px, 12vw, 140px); padding-bottom: clamp(48px, 6vw, 72px); }
@media (min-width: 1120px) { .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; } }
.destaque { margin: 22px 0 10px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1; color: var(--accent); }
.hero .lead { margin-top: 22px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 30px; }
.when { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.8; letter-spacing: 0.03em; color: var(--muted); }
.when span { white-space: nowrap; }
.when span + span::before { content: " · "; white-space: normal; color: rgba(237, 235, 230, 0.28); }

/* The player: a window that plays the workflow as a composition */
.player { border-radius: 18px; overflow: hidden; background: var(--canvas-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -60px #000; }
.player-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: var(--node-head); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.player-bar b { color: var(--text); font-weight: 500; }
.player-bar .tc { margin-left: auto; color: var(--body); font-variant-numeric: tabular-nums; }
.stage { position: relative; aspect-ratio: 720 / 520; background: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.2px) 0 0 / 20px 20px, var(--canvas-2); overflow: hidden; }
/* Own layer: the animated pulses repaint only the wires, never the nodes and shadows under them. */
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; will-change: transform; }
.wire { fill: none; stroke: rgba(255, 255, 255, 0.15); stroke-width: 2; stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 0.9s var(--ease-io); }
.wire.on { stroke-dashoffset: 0; }
.pulse { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 26 900; opacity: 0; filter: drop-shadow(0 0 5px var(--accent-glow)); animation: flow 2.6s linear infinite; transition: opacity 0.4s; }
.pulse.on { opacity: 1; }
.pulse:not(.on) { animation-play-state: paused; }
@keyframes flow { from { stroke-dashoffset: 926; } to { stroke-dashoffset: 0; } }

.node { position: absolute; width: var(--w); border-radius: 12px; overflow: hidden; background: var(--node); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 50px -24px #000; opacity: 0; transform: translateY(14px) scale(0.97); filter: blur(4px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out), box-shadow 0.5s; }
.node.on { opacity: 1; transform: none; filter: none; }
.stage.measure .node { transform: none !important; transition: none !important; }
.node > header { display: flex; align-items: center; gap: 8px; padding: 8px 11px; background: var(--node-head); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node > header i { width: 7px; height: 7px; border-radius: 50%; background: #5b5b66; flex: none; transition: background 0.4s, box-shadow 0.4s; }
.node.live > header i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.node.done { box-shadow: inset 0 0 0 1px var(--accent-line), 0 24px 50px -24px #000; }
.port { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--accent); z-index: 2; }
.port.in { left: -5px; } .port.out { right: -5px; }

.frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.frame img { position: absolute; top: 0; height: 100%; width: auto; max-width: none; }
.frame .real { left: -6%; }
.frame .clone-layer { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.4s var(--ease-io); }
.frame .clone-layer img { right: 0; }
.frame .scan { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; background: var(--accent); box-shadow: 0 0 16px var(--accent); opacity: 0; transition: left 1.4s var(--ease-io), opacity 0.3s; }
.n-clone.wiped .clone-layer { clip-path: inset(0 0 0 0); }
.n-clone.wiping .scan { left: 0; opacity: 1; }
.frame .lock { position: absolute; left: 22%; top: 16%; width: 56%; height: 44%; opacity: 0; transform: scale(1.3); transition: opacity 0.5s, transform 0.8s var(--ease-out); }
.frame .lock::before, .frame .lock::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent); }
.frame .lock::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.frame .lock::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.n-src.locked .lock { opacity: 1; transform: none; }
.frame .lbl { position: absolute; left: 7px; bottom: 7px; z-index: 3; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.72); color: var(--text); }
.frame .lbl.a { color: var(--accent); opacity: 0; transition: opacity 0.4s 0.9s; }
.n-clone.wiped .lbl.a { opacity: 1; }

/* clone → video: film frames sliding under the clone node */
.reel { display: flex; gap: 4px; padding: 6px; background: #0b0b0e; overflow: hidden; }
.reel span { flex: none; width: 30%; aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden; position: relative; background: #111; }
.reel img { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none; }
.reel span:nth-child(2) img { transform: scale(1.12); } .reel span:nth-child(3) img { transform: scale(1.24) translateX(4%); } .reel span:nth-child(4) img { transform: scale(1.12) translateX(-3%); }
.reel-track { display: flex; gap: 4px; animation: reel 6s linear infinite; animation-play-state: paused; }
.n-clone.video .reel-track { animation-play-state: running; }
@keyframes reel { to { transform: translateX(-50%); } }

.n-out .o { padding: 9px 11px 11px; }
.n-out .o b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.n-out .o span { display: block; margin-top: 1px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.bar { position: relative; height: 3px; margin-top: 9px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); transition: transform 1.3s var(--ease-io); }
.n-out.live .bar i, .n-out.done .bar i { transform: scaleX(1); }

/* scrubber: the composition's timeline */
.scrub { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 16px 14px; background: var(--node-head); }
.play { all: unset; box-sizing: border-box; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.2s, color 0.2s; }
.play:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.play:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.play .ico { width: 14px; height: 14px; }
.play .i-play { display: none; }
.player[data-paused] .play .i-pause { display: none; }
.player[data-paused] .play .i-play { display: block; }
/* --t is set on .track itself; fill and head move by clip/transform (no layout per frame). */
.track { position: relative; height: 22px; container-type: inline-size; }
.track .rail { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.track .fill { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; width: 100%; clip-path: inset(0 calc((1 - var(--t, 0)) * 100%) 0 0 round 2px); background: var(--accent); }
.track .head { position: absolute; top: 50%; left: 0; transform: translateX(calc(var(--t, 0) * 100cqw)); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.5); }
.track .mark { position: absolute; top: 50%; width: 1px; height: 9px; margin-top: -4.5px; background: rgba(255, 255, 255, 0.3); }
.chapter { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--muted); min-width: 15ch; text-align: right; white-space: nowrap; }
.chapter b { color: var(--accent); font-weight: 500; }

@media (max-width: 640px) {
  .node > header { font-size: 8.5px; padding: 5px 7px; gap: 5px; }
  .n-out .o { padding: 6px 7px 7px; }
  .n-out .o b { font-size: 10.5px; }
  .n-out .o span { font-size: 8px; }
  .frame .lbl { font-size: 7px; }
  .chapter { min-width: 0; font-size: 9.5px; }
  .scrub { gap: 10px; padding: 10px 12px 12px; }
}
.demo-cap { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 64ch; }

/* Edit sequence under the hero */
.seq { position: relative; padding: 16px 0 20px; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); background: var(--canvas-2); }
.seq-in { position: relative; container-type: inline-size; }
.seq-ruler, .seq-track { display: grid; grid-template-columns: 3fr 3fr 2fr 3fr 3fr 3fr 3fr; gap: 4px; }
.seq-ruler span { padding: 0 0 8px 8px; box-shadow: inset 1px 0 0 var(--line-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; }
.seq-track { height: 48px; }
.clip { position: relative; border-radius: 7px; padding: 8px 11px; overflow: hidden; background: var(--node); box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.4s, box-shadow 0.4s; }
.clip b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip span { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip.hot { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.clip.gap { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.playhead { position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); z-index: 3; animation: play 18s linear infinite; }
@keyframes play { from { transform: translateX(0); } to { transform: translateX(100cqw); } }
@media (max-width: 760px) {
  .seq-scroll { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .seq-scroll .seq-in { min-width: 820px; }
}

/* ============================================================
   Sections
   ============================================================ */
.sec { position: relative; padding-block: clamp(84px, 10vw, 136px); }
.sec.alt { background: var(--canvas-2); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.split { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 980px) { .split { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 96px); align-items: start; } }
.head { display: grid; gap: 20px; }
@media (min-width: 980px) { .head { grid-template-columns: 6fr 5fr; gap: 64px; align-items: end; } }

/* Problema */
.studio { list-style: none; margin: clamp(30px, 4vw, 44px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.studio li { position: relative; padding: 10px 18px; border-radius: 999px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); transition: color 0.6s var(--ease-out), box-shadow 0.6s; transition-delay: var(--d, 0s); }
.studio li::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 1.5px; background: var(--bad); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.7s var(--ease-out); transition-delay: var(--d, 0s); }
.studio[data-visto="true"] li:not(.method) { color: var(--muted); }
.studio[data-visto="true"] li:not(.method)::after { transform: scaleX(1); }
.studio li.method { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--accent-ink); background: var(--accent); box-shadow: 0 14px 30px -16px var(--accent-glow); opacity: 0; transform: translateX(-10px); transition: opacity 0.6s var(--ease-out) 1.3s, transform 0.6s var(--ease-out) 1.3s; }
.studio[data-visto="true"] li.method { opacity: 1; transform: none; }
.closing { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; color: var(--text); max-width: 34ch; }

/* Aulas: program monitor + class list */
.suite { display: grid; gap: 28px; margin-top: clamp(44px, 6vw, 72px); }
@media (min-width: 1040px) { .suite { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; } }
.monitor-col { display: none; }
@media (min-width: 1040px) { .monitor-col { display: block; position: sticky; top: 100px; } }
.monitor { border-radius: 16px; overflow: hidden; background: #050506; box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 90px -50px #000; }
.monitor-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--node-head); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.monitor-bar b { color: var(--text); font-weight: 500; }
.monitor-bar .tc { margin-left: auto; color: var(--body); }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #050506; }
.monitor .scene { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 0.7s var(--ease-out), transform 1.2s var(--ease-out); }
.monitor .scene.on { opacity: 1; transform: none; }
.m-monitor .scene { position: absolute; inset: 0; }
.screen .tag { position: absolute; right: 12px; top: 10px; z-index: 6; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.screen .cap { position: absolute; left: 12px; bottom: 10px; z-index: 6; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.7); color: var(--text); }
.screen .cap.a { left: auto; right: 12px; color: var(--accent); }
.mini-tl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 10px; background: var(--node); }
.mini-tl button { all: unset; box-sizing: border-box; cursor: pointer; position: relative; height: 30px; border-radius: 6px; padding: 0 10px; display: flex; align-items: center; overflow: hidden; font-family: var(--mono); font-size: 10.5px; color: var(--muted); background: var(--node-head); transition: color 0.3s, box-shadow 0.3s; }
.mini-tl button::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease-out); }
.mini-tl button[aria-current="true"] { color: var(--text); box-shadow: inset 0 0 0 1px var(--accent-line); }
.mini-tl button[aria-current="true"]::before { transform: scaleX(1); }
.mini-tl button:hover { color: var(--text); }
.mini-tl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* scenes are short Remotion-rendered loops (assets/video/aula-N.mp4) */
.scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #050506; }
.screen .tag { top: 10px; bottom: auto; right: 12px; padding: 2px 7px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); }

/* class list with a progress rail */
.clips { position: relative; display: grid; gap: 18px; padding-left: 26px; }
.rail { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line-2); }
.rail i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--rp, 0) * 100%); background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); border-radius: 2px; }
.aula { position: relative; border-radius: 16px; overflow: hidden; background: var(--node); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.aula::before { content: ""; position: absolute; left: -26px; top: 22px; width: 14px; height: 14px; margin-left: -6px; border-radius: 50%; background: var(--canvas-2); box-shadow: inset 0 0 0 2px var(--line-2); transition: box-shadow 0.4s, background 0.4s; }
.aula.on { box-shadow: inset 0 0 0 1px var(--accent-line), 0 40px 80px -50px rgba(0, 0, 0, 0.9); }
.aula.on::before, .aula.seen::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.aula > header { display: flex; align-items: center; gap: 10px; padding: 11px 18px; background: var(--node-head); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--body); }
.aula > header .dot { box-shadow: none; background: #5b5b66; }
.aula.on > header .dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.aula > header .date { margin-left: auto; color: var(--muted); }
.aula-body { padding: clamp(20px, 2.6vw, 28px); }
.depara { display: grid; gap: 6px; margin-top: 16px; font-size: 15px; line-height: 1.45; }
.depara .de { color: var(--muted); }
.depara .para { color: var(--text); font-weight: 600; }
.depara .k { display: inline-block; min-width: 56px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.depara .para .k { color: var(--accent); }
.aula ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.aula li { display: flex; gap: 10px; color: var(--body); font-size: 15px; }
.aula li .ico { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }
.leva { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; color: var(--text); }
.leva .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.leva b { font-weight: 600; }
.aula .why { margin-top: 14px; font-size: 14px; color: var(--muted); }
.aula .why b { color: var(--body); font-weight: 600; }
.m-monitor { margin-top: 18px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); }
@media (min-width: 1040px) { .m-monitor { display: none; } }
.closing-meet { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 16px 20px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.closing-meet strong { font-size: 17px; letter-spacing: -0.02em; }
.closing-meet .mono { color: var(--accent); }

/* Antes da Aula 1 */
.prep { list-style: none; margin: clamp(36px, 5vw, 52px) 0 0; padding: 0; display: grid; gap: 10px; position: relative; }
@media (min-width: 900px) { .prep { grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 14px; } }
.prep li { position: relative; padding: 20px 20px 22px; border-radius: 14px; background: var(--node); box-shadow: inset 0 0 0 1px var(--line); }
.prep li.go { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.prep .mono { display: block; color: var(--muted); text-transform: uppercase; font-size: 10.5px; }
.prep b { display: block; margin-top: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--text); }
.prep .files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.prep .files em { font-style: normal; font-family: var(--mono); font-size: 10.5px; padding: 3px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); color: var(--body); }
.prep-line { position: relative; height: 2px; margin-top: 16px; border-radius: 2px; background: var(--line); overflow: hidden; }
.prep-line i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--accent)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 2s var(--ease-io); }
.prep-line[data-visto="true"] i { transform: scaleX(1); }

/* Fit */
.fit { display: grid; gap: 16px; }
@media (min-width: 980px) { .fit { grid-template-columns: 1.15fr 1fr; gap: 20px; } }
.fit-col { padding: clamp(24px, 3.2vw, 40px); border-radius: 18px; background: var(--node); box-shadow: inset 0 0 0 1px var(--line); }
.fit-col.yes { box-shadow: inset 0 0 0 1px var(--accent-line); }
.fit-col ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.fit-col li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--body); }
.fit-col li .ico { width: 18px; height: 18px; margin-top: 3px; }
.fit-col.yes .ico { color: var(--accent); }
.fit-col.no .ico { color: var(--bad); }

/* Professor */
.prof { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 980px) { .prof { grid-template-columns: 5fr 7fr; } }
.viewfinder { position: relative; aspect-ratio: 4 / 4.3; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 50px 90px -50px #000; }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease-out); }
.viewfinder[data-visto="true"] img { transform: scale(1); }
.viewfinder .vf { position: absolute; inset: 14px; pointer-events: none; }
.viewfinder .vf i { position: absolute; width: 24px; height: 24px; border: 1.5px solid rgba(255, 255, 255, 0.75); }
.viewfinder .vf i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.viewfinder .vf i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.viewfinder .vf i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.viewfinder .vf i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.viewfinder .focus { position: absolute; left: 33%; top: 20%; width: 34%; height: 38%; border: 1.5px solid var(--accent); animation: focus 3.6s var(--ease-out) infinite; }
@keyframes focus { 0% { transform: scale(1.25); opacity: 0; } 25% { transform: scale(1); opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.viewfinder .vtc { position: absolute; right: 26px; bottom: 22px; font-family: var(--mono); font-size: 11px; color: #fff; text-shadow: 0 1px 2px #000; }
.prof .role { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prof .body { margin-top: 16px; font-size: 16.5px; }
.quote { margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.18; color: var(--text); }
.quote cite { display: block; margin-top: 14px; font-family: var(--mono); font-style: normal; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.quote cite b { color: var(--accent); font-weight: 500; }

/* Como funciona: edit calendar */
.nle { margin-top: clamp(36px, 5vw, 52px); border-radius: 18px; overflow: hidden; background: var(--node); box-shadow: inset 0 0 0 1px var(--line-2); }
.nle-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--node-head); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.nle-bar b { color: var(--text); font-weight: 500; }
.nle-bar .mono { margin-left: auto; }
.nle-body { padding: 14px 16px 18px; }
.nle-grid { position: relative; display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); gap: 4px; }
.nle-grid .lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); align-self: center; }
.nle-grid .day { padding: 0 0 8px 6px; box-shadow: inset 1px 0 0 var(--line-2); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nle-grid .clip { height: 64px; }
.nle-grid .clip b { white-space: normal; line-height: 1.15; }
.nle-grid .wave { height: 26px; border-radius: 5px; background: rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nle-grid .wave svg { width: 100%; height: 100%; }
.nle-grid .wave path { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke 0.4s; }
.nle-grid .wave.hot path { stroke: var(--accent); }
.nle-grid .nowave { height: 26px; }
.nle-ph { position: absolute; top: -4px; bottom: -4px; left: 60px; width: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); z-index: 3; transform: translateX(0); transition: transform 3.4s var(--ease-io); }
@media (max-width: 860px) { .nle-scroll { overflow-x: auto; scrollbar-width: none; } .nle-scroll .nle-body { min-width: 900px; } }
.works { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 980px) { .works { grid-template-columns: 1fr 1fr 1fr 1.3fr; gap: 16px; } }
.works .w, .works .need { padding: 22px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.works .need { background: var(--node); }
.works h3 { font-size: 1.1rem; }
.works .w p { margin-top: 8px; font-size: 15px; }
.works .w .ico { width: 22px; height: 22px; margin-bottom: 16px; color: var(--accent); }
.works .need ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.works .need li { display: flex; gap: 10px; font-size: 14.5px; color: var(--body); }
.works .need li .ico { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }

/* Oferta */
.offer { display: grid; gap: 20px; margin-top: clamp(36px, 5vw, 52px); }
@media (min-width: 1040px) { .offer { grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; } }
.queue { border-radius: 18px; overflow: hidden; background: var(--node); box-shadow: inset 0 0 0 1px var(--line-2); }
.queue-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--node-head); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.queue-bar b { color: var(--text); font-weight: 500; }
.queue ol { list-style: none; margin: 0; padding: 4px 18px 8px; }
.queue li { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px 12px; align-items: start; padding: 15px 0; }
.queue li + li { box-shadow: inset 0 1px 0 var(--line); }
.queue li .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.queue li p { font-size: 15.5px; line-height: 1.5; color: var(--text); }
.queue li .st { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.queue li .q { grid-column: 2 / -1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.queue li .q i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease-io); transition-delay: var(--d, 0s); }
.queue[data-visto="true"] .q i { transform: scaleX(1); }
.queue .ctx { margin: 0 18px 18px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); font-size: 15px; color: var(--body); }
.ticket { position: relative; border-radius: 18px; padding: clamp(24px, 3vw, 34px); background: radial-gradient(90% 70% at 100% 0%, var(--accent-soft), transparent 60%), var(--node); box-shadow: inset 0 0 0 1px var(--accent-line), 0 50px 100px -50px var(--accent-glow); }
.ticket .mono { color: var(--muted); text-transform: uppercase; }
.price { margin: 14px 0 0; font-size: clamp(3.4rem, 6.4vw, 5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { font-size: 0.4em; letter-spacing: -0.02em; margin-right: 6px; vertical-align: 0.75em; color: var(--text); }
.price small.x { margin-right: 10px; }
.installments { margin-top: 12px; font-size: 17px; font-weight: 600; color: var(--text); }
.per { margin-top: 16px; font-size: 15px; color: var(--body); max-width: 42ch; }
.ticket .btn { margin-top: 26px; }

/* Garantia */
.guar { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 860px) { .guar { grid-template-columns: auto minmax(0, 1fr); } }
.stamp { position: relative; width: 200px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, var(--accent-soft), transparent 70%); box-shadow: inset 0 0 0 1px var(--accent-line); }
.stamp::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1.5px dashed var(--accent-line); animation: turn 40s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.stamp-in { text-align: center; }
.stamp-in strong { display: block; font-size: 4.2rem; font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; color: var(--accent); }
.stamp-in span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.45; color: var(--text); }
.guar .body { margin-top: 18px; }
.deadline { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 14px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; color: var(--body); box-shadow: inset 0 0 0 1px var(--line-2); }

/* FAQ */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; } .faq-grid > h2 { position: sticky; top: 110px; } }
.faq { counter-reset: q; box-shadow: inset 0 1px 0 var(--line); }
.faq details { box-shadow: inset 0 -1px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 40px 1fr 20px; gap: 8px; align-items: baseline; padding: 20px 4px; font-size: 16.5px; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--muted); }
.faq summary::after { content: "+"; justify-self: end; font-family: var(--mono); font-size: 1.2rem; line-height: 1; color: var(--accent); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.faq details p { padding: 0 4px 22px 52px; font-size: 15.5px; max-width: 64ch; }

/* Final */
.final { position: relative; overflow: hidden; padding-block: clamp(96px, 12vw, 160px); }
.final .hero-canvas { -webkit-mask-image: radial-gradient(70% 90% at 80% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(70% 90% at 80% 50%, #000 30%, transparent 100%); }
.final-wires { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; pointer-events: none; opacity: 0.9; will-change: transform; }
.final-wires path { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.5; }
.final-wires path.p { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 24 900; animation: flow 4s linear infinite; filter: drop-shadow(0 0 4px var(--accent-glow)); }
.final-wires path.p:nth-of-type(odd) { animation-delay: -1.6s; }
.final .wrap { position: relative; z-index: 2; }
.final h2 { max-width: 16ch; font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.final h2 em { display: block; }
.final .lead { margin-top: 22px; }
.final .lead + .lead { margin-top: 12px; }
.final .cta { margin-top: 32px; }
@media (max-width: 900px) { .final-wires { width: 100%; opacity: 0.35; } }

/* Footer */
footer { padding: 56px 0 40px; box-shadow: inset 0 1px 0 var(--line); font-size: 14px; color: var(--muted); }
.foot { display: grid; gap: 32px; }
@media (min-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot li a { display: inline-flex; align-items: center; gap: 10px; }
.foot-legal { margin-top: 40px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--line); display: grid; gap: 4px; font-size: 12.5px; }
.foot-legal p { color: var(--muted); }
.foot-legal strong { color: var(--body); }

/* Sticky mobile bar (ui.js) */
[data-barra-fixa] { background: rgba(8, 8, 10, 0.94); box-shadow: inset 0 1px 0 var(--line-2); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
@media (max-width: 879px) { body.tem-barra { padding-bottom: 86px; } }

/* Reveal (ui.js sets data-visto) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out); transition-delay: var(--rd, 0s); }
.js [data-reveal][data-visto="true"] { opacity: 1; transform: none; filter: none; }

/* ---------- v3 pass 2 ---------- */
h1 em { font-size: 0.86em; }
.reel-track { flex: none; width: 266%; }
.reel span { width: calc(12.5% - 4px); }
.aula { overflow: visible; }
.aula > header { border-radius: 16px 16px 0 0; }

.head.solo { grid-template-columns: 1fr; }
.head.solo .lead { max-width: 78ch; }

/* ---------- Video-first class suite (desktop) ----------
   The monitor is the hero of this section: wider column, centred sticky.
   Each class gets extra scroll distance so its loop plays before the next one takes over. */
@media (min-width: 1040px) {
  .suite { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); }
  .monitor-col { top: max(96px, calc(50vh - 300px)); }
  .clips { gap: 0; }
  .clips > .aula, .clips > .closing-meet { margin-bottom: 46vh; }
  .clips > .closing-meet { margin-bottom: 0; }
  .suite .aula-body { padding: 18px 20px 20px; }
  .suite .aula h3 { font-size: 1.2rem; }
  .suite .depara { margin-top: 12px; font-size: 13.5px; }
  .suite .depara .k { min-width: 48px; font-size: 9.5px; }
  .suite .aula ul { margin-top: 12px; gap: 6px; }
  .suite .aula li { font-size: 13.5px; }
  .suite .aula li .ico { width: 14px; height: 14px; margin-top: 3px; }
  .suite .leva { margin-top: 12px; padding: 9px 12px; font-size: 13px; }
  .suite .aula .why { font-size: 12.5px; }
  .suite .aula > header { padding: 9px 16px; font-size: 10px; }
  .suite .aula:not(.on) { opacity: 0.55; transition: opacity 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
}

[data-offscreen] *, [data-offscreen]::before, [data-offscreen]::after { animation-play-state: paused !important; }

/* Talk to the team (WhatsApp). Solid WhatsApp green so it reads as a contact channel;
   on mobile it rides above the sticky buy bar. The click opens the contact form (wa-modal). */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px 13px 14px; border-radius: 999px; background: #25d366; color: #062b14; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.55), 0 2px 0 rgba(255, 255, 255, 0.25) inset; transition: transform 0.35s var(--ease-out), box-shadow 0.25s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); animation: wa-ring 2.8s var(--ease-out) infinite; pointer-events: none; }
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.wa-float .wa-ico { width: 28px; height: 28px; fill: currentColor; flex: none; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(37, 211, 102, 0.7), 0 2px 0 rgba(255, 255, 255, 0.25) inset; }
.wa-float:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 879px) {
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 11px 18px 11px 12px; font-size: 14.5px; }
  .wa-float .wa-ico { width: 26px; height: 26px; }
  [data-barra-fixa][data-visivel="true"] ~ .wa-float { transform: translateY(calc(-72px - env(safe-area-inset-bottom))); }
}

/* Contact form (native dialog: Esc closes, focus stays inside) */
.wa-modal { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; background: transparent; color: var(--text); overflow: visible; }
.wa-modal::backdrop { background: rgba(4, 4, 6, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wa-modal[open] { animation: wa-in 0.4s var(--ease-out); }
.wa-modal[open]::backdrop { animation: wa-fade 0.3s ease-out; }
@keyframes wa-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes wa-fade { from { opacity: 0; } to { opacity: 1; } }
.wa-card { position: relative; display: grid; gap: 14px; padding: 30px 28px 24px; border-radius: 22px; background: radial-gradient(90% 60% at 100% 0%, rgba(37, 211, 102, 0.12), transparent 60%), var(--node); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.wa-close { all: unset; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); cursor: pointer; transition: color 0.2s, background 0.2s; }
.wa-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.wa-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wa-close .ico { width: 18px; height: 18px; }
.wa-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.wa-kicker .dot { background: #25d366; box-shadow: 0 0 10px #25d366; }
.wa-card h2 { margin: 0; font-size: 1.9rem; letter-spacing: -0.035em; line-height: 1.05; }
.wa-lead { margin: 0 0 4px; font-size: 15px; line-height: 1.5; color: var(--body); }
.wa-field { display: grid; gap: 6px; }
.wa-field label { font-size: 13px; font-weight: 600; color: var(--text); }
.wa-input { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: 500 16px var(--ui, inherit); transition: box-shadow 0.2s, background 0.2s; }
.wa-input::placeholder { color: rgba(237, 235, 230, 0.4); }
.wa-input:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.wa-input:focus { outline: none; box-shadow: inset 0 0 0 1.5px #25d366; background: rgba(255, 255, 255, 0.065); }
.wa-input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--bad); }
.wa-error { display: none; margin: 0; font-size: 12.5px; color: var(--bad); }
.wa-field[data-invalid] .wa-error { display: block; }
.wa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wa-submit { margin-top: 6px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; background: #25d366; color: #062b14; box-shadow: 0 16px 34px -14px rgba(37, 211, 102, 0.6); }
.wa-submit:hover { box-shadow: 0 20px 40px -14px rgba(37, 211, 102, 0.75); }
.wa-submit .wa-ico { width: 22px; height: 22px; fill: currentColor; }
.wa-submit[aria-busy="true"] { opacity: 0.75; pointer-events: none; }
.wa-legal { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
  .wa-float::before, .wa-modal[open], .wa-modal[open]::backdrop { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .node { opacity: 1; transform: none; filter: none; }
  .wire { stroke-dashoffset: 0; }
  .n-clone .clone-layer { clip-path: inset(0 0 0 50%); }
  .bar i, .queue .q i, .prep-line i { transform: none; }
  .studio li:not(.method)::after { transform: scaleX(1); }
  .studio li.method { opacity: 1; transform: none; }
  .playhead { display: none; }
}
