/* Lucro Leve, landing page. Continuidade com o app: âmbar, tinta marrom, Figtree,
   botões grossos com sombra inferior, cantos arredondados, cinco cores de fase. */
:root {
  --bg: oklch(0.985 0.006 85);
  --surface: oklch(1 0 0);
  --panel: oklch(0.955 0.012 80);
  --line: oklch(0.9 0.012 78);
  --ink: oklch(0.22 0.02 60);
  --ink-2: oklch(0.34 0.025 60);
  --muted: oklch(0.46 0.02 60);
  --primary: oklch(0.82 0.165 75);
  --primary-deep: oklch(0.66 0.16 65);
  --primary-ink: oklch(0.42 0.1 65);
  --tint: oklch(0.945 0.045 85);
  --night: oklch(0.235 0.03 58);
  --night-2: oklch(0.29 0.032 58);
  --night-line: oklch(0.38 0.03 58);
  --on-night: oklch(0.96 0.012 85);
  --on-night-2: oklch(0.82 0.02 82);
  --ok: oklch(0.5 0.13 150);
  --ok-deep: oklch(0.4 0.11 150);
  --ok-soft: oklch(0.95 0.045 150);
  --no: oklch(0.5 0.15 30);
  --focus: oklch(0.5 0.14 250);
  --f1: oklch(0.52 0.1 195); --f1s: oklch(0.95 0.035 195); --f1o: #fff;
  --f2: oklch(0.5 0.16 275); --f2s: oklch(0.95 0.035 275); --f2o: #fff;
  --f3: oklch(0.8 0.165 75); --f3s: oklch(0.95 0.06 85); --f3o: oklch(0.22 0.02 60);
  --f4: oklch(0.5 0.12 150); --f4s: oklch(0.95 0.04 150); --f4o: #fff;
  --f5: oklch(0.56 0.16 30); --f5s: oklch(0.95 0.04 30); --f5o: #fff;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --wrap: 1180px;
  --z-header: 40; --z-dock: 50;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.58 var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: oklch(0.97 0.02 250); box-shadow: 0 0 0 6px oklch(0.4 0.14 250); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; stroke: none; }

/* ---------- botões (do app) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: center; box-shadow: 0 3px 0 var(--line); transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background-color 150ms var(--ease); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 transparent; }
.btn .ic { width: 20px; height: 20px; stroke-width: 2.4; transition: transform 200ms var(--ease); }
.btn-primary { background: var(--primary); border-color: var(--primary); box-shadow: 0 3px 0 var(--primary-deep); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: oklch(0.97 0.02 85); box-shadow: 0 3px 0 oklch(0.1 0.02 60); }
.btn-line { background: transparent; border-color: var(--ink); box-shadow: 0 3px 0 oklch(0.3 0.08 60 / 0.35); }
.btn-night { background: var(--primary); border-color: var(--primary); color: var(--ink); box-shadow: 0 3px 0 var(--primary-deep); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; border-radius: 12px; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .ic.go { transform: translateX(3px); }
  .btn-primary:hover, .btn-night:hover { background: oklch(0.86 0.165 75); }
  .btn-ink:hover { background: oklch(0.3 0.03 60); }
  .btn-line:hover { background: oklch(1 0 0 / 0.28); }
}

/* ---------- header ---------- */
.hero { position: relative; background: var(--primary); color: var(--ink); overflow: clip; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.01em; min-height: 44px; }
.nav { display: none; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--ink-2); transition: background-color 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: oklch(1 0 0 / 0.3); } }
@media (min-width: 900px) { .nav { display: flex; } }
.top .btn { white-space: nowrap; }

/* ---------- hero ---------- */
.hero-grid { display: grid; gap: 36px; padding-top: clamp(20px, 4vw, 56px); }
.hero-copy { display: grid; gap: 22px; align-content: start; padding-bottom: 8px; }
.hero h1 { font-size: clamp(2.25rem, 1.35rem + 4.1vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.04; font-weight: 800; max-width: 15ch; }
.hero .sub { font-size: clamp(1.0625rem, 0.98rem + 0.5vw, 1.3125rem); line-height: 1.5; color: oklch(0.27 0.03 60); max-width: 36ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.ctas .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .ctas .btn { flex: 0 0 auto; } }
.hero .note { font-size: 0.9375rem; color: oklch(0.3 0.03 60); max-width: 44ch; display: flex; gap: 10px; align-items: flex-start; }
.hero .note .ic { width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.4; }

.stage { display: flex; align-items: flex-end; justify-content: center; gap: 22px; height: clamp(360px, 92vw, 470px); overflow: hidden; }
.stage .win { display: none; }
@media (min-width: 700px) { .stage { height: 500px; } .stage .win { display: block; flex: 1 1 0; min-width: 0; max-width: 400px; margin-bottom: 0; } }
@media (min-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: end; gap: 48px; padding-top: 48px; }
  .hero-copy { padding-bottom: 72px; }
  .stage { height: 600px; justify-content: flex-end; }
}

/* ---------- janela (desktop) e celular ---------- */
.win { background: var(--bg); border: 2px solid var(--ink); border-bottom: 0; border-radius: 20px 20px 0 0; overflow: hidden; box-shadow: 0 30px 60px -24px oklch(0.3 0.09 60 / 0.5); }
.win.full { border-bottom: 2px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink), 0 28px 50px -26px oklch(0.3 0.09 60 / 0.4); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: oklch(0.82 0.015 78); }
.win-bar span { margin-left: 8px; }
.win-body { padding: 16px; display: grid; gap: 14px; }
.phone { width: 252px; flex: none; background: var(--bg); border: 8px solid var(--ink); border-bottom: 0; border-radius: 40px 40px 0 0; overflow: hidden; height: 100%; max-height: 470px; position: relative; box-shadow: 0 30px 60px -24px oklch(0.3 0.09 60 / 0.55); }
@media (min-width: 1040px) { .phone { width: 268px; max-height: 560px; } }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 72px; height: 20px; margin-left: -36px; border-radius: 99px; background: var(--ink); z-index: 3; }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 36px 16px 10px; background: var(--bg); position: relative; z-index: 2; }
.phone-top { gap: 8px; }
.phone-top .brand { font-size: 0.8125rem; min-height: 0; gap: 6px; white-space: nowrap; }
.phone-top .brand svg { flex: none; }
.phone-top .chip { min-height: 26px; padding: 0 8px; }
.chips { display: flex; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.chip .ic { width: 15px; height: 15px; }
.chip.flame .ic { color: oklch(0.6 0.19 45); }
.chip.xp .ic { color: var(--primary-deep); }
.phone-title { padding: 6px 16px 10px; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }

/* trilha vertical */
.rail { padding: 0 16px 24px; }
.rail li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; --c: var(--f1); --on: var(--f1o); }
.rail li[data-f="1"] { --c: var(--f1); --on: var(--f1o); } .rail li[data-f="2"] { --c: var(--f2); --on: var(--f2o); }
.rail li[data-f="3"] { --c: var(--f3); --on: var(--f3o); } .rail li[data-f="4"] { --c: var(--f4); --on: var(--f4o); }
.rail li[data-f="5"] { --c: var(--f5); --on: var(--f5o); }
.rail li::before, .rail li::after { content: ""; position: absolute; left: 15px; width: 4px; margin-left: -2px; background: var(--line); }
.rail li::before { top: 0; height: 50%; }
.rail li::after { top: 50%; bottom: 0; }
.rail li:first-child::before, .rail li:last-child::after { display: none; }
.rail .rs.done::before, .rail .rs.now::before, .rail .rs.done::after, .rail .rp.a::before, .rail .rp.a::after { background: var(--c); }
.rail .rp { min-height: 36px; padding-left: 40px; align-items: flex-end; padding-bottom: 4px; }
.rail .rp::before, .rail .rp::after { }
.rail .rp::before { height: 100%; } .rail .rp::after { display: none; }
.rail .rp.a::before { background: var(--c); }
.rail .tag { font-size: 0.8125rem; font-weight: 700; padding: 1px 10px; border-radius: 99px; background: var(--c); color: var(--on); }
.rail .rs b { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8125rem; font-weight: 800; background: var(--surface); border: 3px solid var(--c); color: var(--ink-2); flex: none; }
.rail .rs.done b { background: var(--c); color: var(--on); }
.rail .rs.done b .ic { width: 16px; height: 16px; stroke-width: 3; }
.rail .rs.now b { background: var(--c); color: var(--on); border-color: var(--c); box-shadow: 0 0 0 4px oklch(0.82 0.165 75 / 0.0); }
.rail .rs.now b::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--c); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.75); opacity: 0; } }
.rail .rs span { font-size: 0.9375rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); }
.rail .rs.now span { font-weight: 800; color: var(--ink); }
.rail .rs.todo span { color: var(--muted); }
.fade-out { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; z-index: 2; }
.phone .scroll { position: relative; overflow: hidden; height: calc(100% - 100px); }

/* entrada da trilha no hero */
.rail .rs, .rail .rp { animation: stepIn 520ms var(--ease) backwards; animation-delay: calc(var(--i, 0) * 45ms + 250ms); }
@keyframes stepIn { from { transform: translateY(14px); } }

/* ---------- XP, anel, medalhas (painel) ---------- */
.mission { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 4px 0 var(--line); }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 99px; font-size: 0.8125rem; font-weight: 700; width: fit-content; background: var(--tint); color: var(--primary-ink); }
.pill.p1 { background: var(--f1s); color: var(--f1); } .pill.p2 { background: var(--f2s); color: var(--f2); } .pill.p3 { background: var(--f3s); color: oklch(0.42 0.1 70); }
.pill.p4 { background: var(--f4s); color: var(--f4); } .pill.p5 { background: var(--f5s); color: var(--f5); }
.mission-top { display: flex; gap: 14px; align-items: center; }
.ring { position: relative; display: grid; place-items: center; flex: none; width: 64px; height: 64px; }
.ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring .trk { stroke: var(--line); fill: none; } .ring .val { stroke: var(--primary-deep); fill: none; stroke-linecap: round; transition: stroke-dashoffset 700ms var(--ease); }
.ring .mid { position: absolute; font-weight: 800; font-size: 0.9375rem; line-height: 1; text-align: center; }
.ring .mid small { display: block; font-size: 0.6875rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
.mission .big { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.mission .lbl { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.fake-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; background: var(--primary); box-shadow: 0 3px 0 var(--primary-deep); font-weight: 700; }
.fake-btn .ic { width: 18px; height: 18px; stroke-width: 2.4; }

.xpanel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; align-content: start; }
.xpanel h4 { font-size: 0.9375rem; font-weight: 750; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lvl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lvl b { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.01em; }
.lvl span { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 100%; background: var(--primary); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0.5)); transition: transform 500ms var(--ease); }
.xp-line { font-size: 0.875rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.medals { display: flex; gap: 8px; flex-wrap: wrap; }
.medal { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--primary-ink); border: 2px solid var(--primary-deep); }
.medal .ic { width: 20px; height: 20px; }
.medal.lock { background: var(--panel); border-color: var(--line); border-style: dashed; color: var(--muted); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.day { display: grid; gap: 4px; justify-items: center; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.day i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: #fff; }
.day i .ic { width: 14px; height: 14px; stroke-width: 3; }
.day.on i { background: var(--ok); border-color: var(--ok); }
.day.today i { border-color: var(--primary-deep); }

/* ---------- seções ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec h2 { font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3.125rem); letter-spacing: -0.028em; max-width: 20ch; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.prose { display: grid; gap: 16px; max-width: 56ch; color: var(--ink-2); }

/* problema */
.problem-grid { display: grid; gap: 40px; margin-top: 36px; }
@media (min-width: 900px) { .problem-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; margin-top: 56px; } }
.pile { position: relative; display: flex; flex-wrap: wrap; gap: 10px 8px; padding: 6px 2px; align-content: flex-start; }
.pile span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; background: var(--surface); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); font-weight: 600; font-size: 0.9375rem; color: var(--ink-2); }
.pile span:nth-child(1) { transform: rotate(-4deg) translateY(6px); } .pile span:nth-child(2) { transform: rotate(3deg); margin-left: 10px; }
.pile span:nth-child(3) { transform: rotate(-2deg) translateY(10px); } .pile span:nth-child(4) { transform: rotate(5deg) translateX(-6px); }
.pile span:nth-child(5) { transform: rotate(-5deg); margin-left: 6px; } .pile span:nth-child(6) { transform: rotate(2deg) translateY(8px); }
.pile span:nth-child(7) { transform: rotate(-3deg) translateX(8px); } .pile span:nth-child(8) { transform: rotate(4deg) translateY(-2px); }
.pile span:nth-child(9) { transform: rotate(-2deg) translateY(4px); background: var(--tint); border-color: var(--primary-deep); box-shadow: 0 3px 0 var(--primary-deep); color: var(--ink); }
.pile-card { background: var(--panel); border-radius: 28px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 28px; }
.pile-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.path { display: grid; gap: 0; }
.path li { position: relative; display: flex; gap: 16px; align-items: center; min-height: 64px; }
.path li::before { content: ""; position: absolute; left: 15px; margin-left: -2px; top: 50%; bottom: -50%; width: 4px; background: var(--ok); }
.path li:last-child::before { display: none; }
.path b { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; flex: none; }
.path b .ic { width: 16px; height: 16px; stroke-width: 3; }
.path span { font-size: 1.1875rem; font-weight: 700; }
.path small { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }

/* como funciona */
.how { background: var(--bg); }
.how-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.how-row { display: grid; gap: 28px; padding-block: clamp(28px, 4vw, 52px); align-items: center; }
.how-row + .how-row { border-top: 1px solid var(--line); }
.how-copy { display: grid; gap: 14px; align-content: center; max-width: 46ch; }
.how-copy h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.how-copy p { color: var(--ink-2); }
.how-copy ul { display: grid; gap: 8px; color: var(--ink-2); font-size: 0.9688rem; }
.how-copy li { display: flex; gap: 10px; align-items: flex-start; }
.how-copy li .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--ok); stroke-width: 2.6; }
.how-vis { min-width: 0; }
@media (min-width: 900px) {
  .how-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
  .how-row:nth-child(even) .how-copy { order: 2; }
  .how-row:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .how-row:nth-child(even) .how-vis { order: 1; }
}

/* check-in (quiz) */
.quiz { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 4px 0 var(--line); display: grid; gap: 14px; max-width: 520px; margin-inline: auto; width: 100%; }
.segs { display: flex; gap: 5px; }
.segs i { flex: 1; height: 8px; border-radius: 99px; background: var(--line); transition: background-color 250ms var(--ease); }
.segs i.on { background: var(--ok); }
.segs i.pop { animation: pop 380ms var(--ease); }
@keyframes pop { 0% { transform: scaleY(0.6); } 50% { transform: scaleY(1.9); } 100% { transform: none; } }
.q-meta { display: flex; justify-content: space-between; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.q-text { font-size: 1.3125rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.q-hint { font-size: 0.9375rem; color: var(--muted); }
.opts { display: grid; gap: 10px; margin-top: 6px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); font-weight: 700; box-shadow: 0 3px 0 var(--line); }
.opt .oi { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--muted); flex: none; }
.opt .oi .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.opt.sel { border-color: var(--primary-deep); background: var(--f3s); box-shadow: 0 3px 0 var(--primary-deep); }
.opt.sel .oi { background: var(--primary); color: var(--ink); }
.quiz-result { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--ok-soft); color: var(--ok-deep); font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.quiz-result .ic { stroke-width: 2.6; }
.quiz-result small { display: block; font-weight: 600; color: oklch(0.38 0.08 150); font-size: 0.8125rem; }

/* mapa da rota */
.map { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 4px 0 var(--line); display: grid; gap: 22px; }
.map-line { display: flex; align-items: center; }
.ph { display: flex; flex-direction: column; gap: 10px; min-width: 0; --c: var(--f1); --on: var(--f1o); }
.ph[data-f="2"] { --c: var(--f2); --on: var(--f2o); } .ph[data-f="3"] { --c: var(--f3); --on: var(--f3o); }
.ph[data-f="4"] { --c: var(--f4); --on: var(--f4o); } .ph[data-f="5"] { --c: var(--f5); --on: var(--f5o); }
.ph[data-n="2"] { flex: 2; } .ph[data-n="3"] { flex: 3; }
.ph .nodes { display: flex; align-items: center; position: relative; }
.ph .nodes::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: var(--c); top: 50%; margin-top: -2px; }
.ph:last-child .nodes::before { right: 50%; } .ph:first-child .nodes::before { left: 50%; }
.ph .nodes i { position: relative; flex: 1; display: grid; place-items: center; }
.ph .nodes i b { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 3px solid var(--c); font-size: 0; display: block; }
.ph .nodes i.d b { background: var(--c); }
.ph .nodes i.n b { background: var(--c); animation: none; position: relative; }
.ph .nodes i.n b::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--c); animation: ping 2.2s var(--ease) infinite; }
.ph em { font-style: normal; font-weight: 700; font-size: 0.8125rem; text-align: center; color: var(--ink-2); line-height: 1.2; }
.levels { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.levels ol { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.levels li { font-size: 0.8125rem; font-weight: 700; color: var(--muted); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); }
.levels li.on { background: var(--primary); border-color: var(--primary); color: var(--ink); }
.levels li.past { background: var(--ok-soft); border-color: transparent; color: var(--ok-deep); }

/* modo foco (demo) */
.win.demo { container-type: inline-size; }
.demo-grid { grid-template-columns: 1fr; gap: 16px; }
@container (min-width: 600px) { .demo-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.focus { display: grid; gap: 14px; align-content: start; position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 4px 0 var(--line); }
.f-title { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; }
.f-count { font-size: 0.8125rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.f-action { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; min-height: calc(1.35em * 4); transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
.f-action.swap { opacity: 0; transform: translateY(6px); }
.f-btn { position: relative; }
.f-btn[hidden] { display: none; }
.xpfloat { position: absolute; right: 12px; top: -6px; font-weight: 800; font-size: 0.9375rem; color: var(--ok-deep); background: var(--ok-soft); padding: 2px 10px; border-radius: 99px; pointer-events: none; animation: xpup 900ms var(--ease) forwards; z-index: 3; }
@keyframes xpup { from { transform: translateY(8px); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-28px); opacity: 0; } }
.reward { display: flex; gap: 14px; align-items: center; background: var(--ok-soft); border-radius: 16px; padding: 14px 16px; color: var(--ok-deep); }
.reward[hidden] { display: none; }
.reward b { display: block; font-size: 1.0625rem; }
.reward span { font-size: 0.9375rem; font-weight: 600; }
.reward .tr { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; flex: none; }
.reward .tr .ic { animation: starIn 600ms var(--ease); }
@keyframes starIn { from { transform: scale(0.6) rotate(-30deg); } }
.acc details { border-top: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; font-size: 0.9688rem; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { width: 20px; height: 20px; color: var(--primary-deep); }
.acc summary .chev { margin-left: auto; color: var(--muted); transition: transform 200ms var(--ease); }
.acc details[open] summary .chev { transform: rotate(180deg); }
.acc details p { padding: 0 0 14px 30px; font-size: 0.9688rem; color: var(--ink-2); }
.demo-reset { margin-top: 6px; justify-self: start; background: none; border: 0; padding: 0 4px; min-height: 44px; font-weight: 700; font-size: 0.9375rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.demo-hint { text-align: center; font-size: 0.875rem; color: var(--muted); margin-top: 14px; }

/* meu espaço */
.space { display: grid; gap: 14px; }
@media (min-width: 560px) { .space { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.tree { display: grid; gap: 2px; align-content: start; font-size: 0.9375rem; font-weight: 600; }
.tree li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; color: var(--ink-2); }
.tree li .ic { width: 18px; height: 18px; color: var(--muted); }
.tree li.sub { margin-left: 22px; font-weight: 500; }
.tree li.cur { background: var(--tint); color: var(--ink); }
.tree li.cur .ic { color: var(--primary-deep); }
.nota { background: var(--surface); border: 2px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; align-content: start; }
.nota h4 { font-size: 0.9375rem; font-weight: 750; }
.nota p { font-size: 0.9688rem; line-height: 1.5; color: var(--ink-2); border-left: 0; background: var(--panel); border-radius: 12px; padding: 12px 14px; }
.files { display: flex; gap: 8px; flex-wrap: wrap; }
.file { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 10px; background: var(--f2s); color: var(--f2); font-weight: 700; font-size: 0.8125rem; }
.file .ic { width: 16px; height: 16px; }
.file.b { background: var(--f1s); color: var(--f1); }

/* profissões */
.prof { background: var(--tint); }
.prof-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 5vw, 48px); }
.prof-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .prof-grid { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; align-items: start; } }
.tabs { display: none; }
.js .tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: thin; }
.tab { flex: none; scroll-snap-align: start; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 2px solid oklch(0.85 0.05 82); background: var(--surface); font-weight: 700; font-size: 0.9688rem; white-space: nowrap; box-shadow: 0 3px 0 oklch(0.85 0.05 82); transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background-color 150ms var(--ease); }
.tab:active { transform: translateY(2px); box-shadow: 0 1px 0 oklch(0.85 0.05 82); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: oklch(0.97 0.02 85); box-shadow: 0 3px 0 oklch(0.1 0.02 60); }
@media (hover: hover) and (pointer: fine) { .tab[aria-selected="false"]:hover { background: oklch(0.99 0.02 85); } }
@media (min-width: 900px) { .js .tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 8px; } .tab { text-align: left; white-space: normal; } }
.tabpanel { display: grid; gap: 22px; background: var(--surface); border: 2px solid oklch(0.88 0.05 82); border-radius: 24px; padding: clamp(20px, 3.5vw, 36px); box-shadow: 0 4px 0 oklch(0.88 0.05 82); }
.tabpanel[hidden] { display: none; }
.tabpanel.show { animation: panelIn 220ms var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }
.tabpanel h3 { font-size: 1.5rem; }
.tp-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .tp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 36px; } }
.tp-grid dl { display: grid; gap: 18px; }
.tp-grid dt { font-weight: 800; font-size: 0.9375rem; color: var(--primary-ink); margin-bottom: 4px; }
.tp-grid dd { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.week7 { display: grid; gap: 0; align-content: start; background: var(--bg); border-radius: 18px; padding: 18px; }
.week7 h4 { font-size: 0.9375rem; font-weight: 800; color: var(--primary-ink); margin-bottom: 12px; }
.week7 li { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding-bottom: 18px; font-size: 0.9688rem; line-height: 1.45; color: var(--ink-2); }
.week7 li:last-child { padding-bottom: 0; }
.week7 li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 3px; border-radius: 3px; background: var(--primary-deep); opacity: 0.5; }
.week7 li:last-child::before { display: none; }
.week7 b { color: var(--ink); font-weight: 800; position: relative; padding-left: 28px; font-size: 0.9375rem; white-space: nowrap; }
.week7 b::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 3px solid var(--primary-deep); }
.week7 li span { grid-column: 2; }
.tp-gap { grid-template-columns: 1fr; }
.week7 .mid { margin: -6px 0 12px 66px; font-size: 0.875rem; color: var(--muted); font-weight: 600; }

/* o que tem dentro */
.inside { display: grid; gap: 44px; }
@media (min-width: 900px) { .inside { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; } .inside-head { position: sticky; top: 32px; } }
.inside-head { display: grid; gap: 18px; }
.items { display: grid; gap: 0; }
.item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line); }
.item:last-child { border-bottom: 1px solid var(--line); }
.item .ib { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--primary-ink); }
.item .ib .ic { width: 22px; height: 22px; }
.item h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.item p { color: var(--ink-2); font-size: 1rem; }
.item.big h3 { font-size: 1.625rem; }
.base { margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: var(--panel); color: var(--ink-2); font-size: 1rem; }
.base b { color: var(--ink); font-weight: 800; }

/* para quem é */
.fit { background: var(--bg); }
.fit-head { margin-bottom: clamp(28px, 5vw, 48px); }
.fit-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .fit-grid { grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; } }
.fit-col { border-radius: 24px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; align-content: start; }
.fit-col h3 { font-size: 1.5rem; }
.fit-col li { display: flex; gap: 14px; align-items: flex-start; padding-block: 8px; font-size: 1.0625rem; line-height: 1.45; }
.fit-col li .ic { width: 22px; height: 22px; margin-top: 1px; stroke-width: 2.6; }
.fit-yes { background: var(--ok-soft); border: 2px solid oklch(0.88 0.06 150); }
.fit-yes li .ic { color: var(--ok); }
.fit-no { background: var(--panel); border: 2px solid var(--line); }
.fit-no li { color: var(--ink-2); }
.fit-no li .ic { color: var(--no); }

/* oferta */
.on-dark { background: var(--night); color: var(--on-night); }
.offer { display: grid; gap: 44px; }
@media (min-width: 960px) { .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 80px; align-items: start; } }
.offer h2 { color: var(--on-night); max-width: 16ch; }
.offer .lead { color: var(--on-night-2); }
.stack-list { display: grid; gap: 0; margin-top: 8px; }
.stack-list li { display: flex; gap: 14px; align-items: flex-start; padding-block: 14px; border-top: 1px solid var(--night-line); color: var(--on-night); font-size: 1.0625rem; line-height: 1.4; }
.stack-list li:last-child { border-bottom: 1px solid var(--night-line); }
.stack-list .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--primary); stroke-width: 2.6; }
.stack-list small { display: block; color: var(--on-night-2); font-size: 0.9375rem; margin-top: 2px; }
.buy { background: var(--surface); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; box-shadow: 0 6px 0 var(--primary-deep); }
.buy h3 { font-size: 1.25rem; }
.price { display: grid; gap: 4px; }
.price .now { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price .now b { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .now span { font-weight: 700; color: var(--primary-ink); font-size: 1rem; }
.price p { color: var(--muted); font-size: 1rem; }
.price p s { text-decoration-thickness: 2px; }
.compare { font-size: 0.9688rem; color: var(--ink-2); padding: 14px 16px; background: var(--panel); border-radius: 14px; }
.guarantee { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--ok-soft); color: oklch(0.3 0.08 150); }
.guarantee .ic { width: 28px; height: 28px; color: var(--ok); margin-top: 2px; stroke-width: 2.2; }
.guarantee b { display: block; font-size: 1.0625rem; margin-bottom: 2px; }
.guarantee span { font-size: 0.9688rem; line-height: 1.45; }
.buy .alt { text-align: center; font-size: 0.9688rem; color: var(--muted); }
.buy .alt a { font-weight: 700; color: var(--ink); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }

/* FAQ */
.faq-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: start; } }
.faq-list { display: grid; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 12px; font-weight: 700; font-size: 1.125rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { color: var(--muted); transition: transform 220ms var(--ease); }
.faq-list details[open] summary .ic { transform: rotate(180deg); }
.faq-list .ans { padding: 0 40px 22px 0; color: var(--ink-2); display: grid; gap: 10px; max-width: 62ch; }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { color: var(--primary-ink); } }

/* CTA final + rodapé */
.final { background: var(--primary); color: var(--ink); }
.final-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .final-in { grid-template-columns: 1fr auto; gap: 56px; } }
.final h2 { max-width: 18ch; font-size: clamp(1.875rem, 1.2rem + 3vw, 3.25rem); }
.final p { color: oklch(0.27 0.03 60); font-size: 1.1875rem; margin-top: 12px; max-width: 46ch; }
.foot { background: var(--night); color: var(--on-night-2); padding-block: 40px 56px; }
.foot-in { display: grid; gap: 22px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; } }
.foot .brand { color: var(--on-night); }
.foot p { font-size: 0.9375rem; line-height: 1.55; max-width: 62ch; }
.foot a { color: var(--on-night); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot .by { font-size: 0.9375rem; margin-top: 6px; }

/* dock mobile */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 260ms var(--ease); display: none; }
.dock.show { transform: none; }
@media (max-width: 719px) { .dock { display: block; } body { padding-bottom: 0; } }

/* revelar ao rolar: o padrão é visível; só adiciona um deslocamento curto */
.rise.in { animation: rise 560ms var(--ease) backwards; }
@keyframes rise { from { transform: translateY(18px); opacity: 0.35; } }
.hero-copy > * { animation: heroIn 640ms var(--ease) backwards; }
.hero-copy > *:nth-child(2) { animation-delay: 70ms; } .hero-copy > *:nth-child(3) { animation-delay: 140ms; } .hero-copy > *:nth-child(4) { animation-delay: 210ms; }
@keyframes heroIn { from { transform: translateY(16px); } }
.stage > * { animation: stageIn 800ms var(--ease) backwards; }
.stage > *:first-child { animation-delay: 120ms; } .stage > *:last-child { animation-delay: 260ms; }
@keyframes stageIn { from { transform: translateY(40px); } }
.val-anim { animation: ringIn 1200ms var(--ease) 500ms backwards; }
@keyframes ringIn { from { stroke-dashoffset: var(--full); } }
.bar > i.anim { animation: barIn 1000ms var(--ease) 500ms backwards; }
@keyframes barIn { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .rail .rs.now b::after, .ph .nodes i.n b::after { animation: none; opacity: 0.5; transform: scale(1.4); }
  .tabpanel.show { animation: none; }
}
