/* ========== Tokens (mesmos da Home v3) ========== */
:root {
  --bg-dark: #0A0912;
  --bg-dark-2: #0D0B15;
  --surface-dark: #14101F;
  --text-dark: #EDEBF5;
  --dim-dark: #A7A1B8;
  --faint-dark: #7C7690;
  --line-dark: rgba(167, 139, 250, 0.14);
  --accent-lilac: #A78BFA;

  --bg-light: #FFFFFF;
  --surface-light: #F5F3FA;
  --text-light: #14101F;
  --dim-light: #5A5468;
  --line-light: rgba(20, 16, 35, 0.10);
  --accent-deep: #5B21B6;

  --primary: #7C3AED;
  --primary-hover: #6D28D9;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --pad-x: clamp(20px, 5vw, 56px);
  --pad-y: clamp(72px, 10vw, 140px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg-dark); color: var(--text-dark); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: rgba(167, 139, 250, 0.3); color: #fff; }
a { color: var(--accent-lilac); text-decoration: none; }
a:hover { color: var(--text-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ========== Sections ========== */
.section-dark { background: var(--bg-dark); color: var(--text-dark); }
.section-light { background: var(--bg-light); color: var(--text-light); border-top: 1px solid rgba(20, 16, 35, 0.08); }
.section-light a:not(.btn) { color: var(--accent-deep); }
.section-light a:not(.btn):hover { color: var(--text-light); }
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-lilac); margin-bottom: 24px; }
.section-light .kicker { color: var(--accent-deep); }
.section h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.03em; max-width: 900px; margin-bottom: clamp(40px, 5vw, 72px); text-wrap: balance; }
.accent { color: var(--accent-lilac); }

/* ========== Buttons ========== */
.btn { font-family: var(--font-body); font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 16px 28px; border-radius: 10px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-sm { font-size: 14.5px; min-height: 44px; padding: 10px 18px; border-radius: 8px; }
.btn-primary { background: var(--primary); color: #fff; border: none; font-weight: 700; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--text-dark); border: 1px solid rgba(167, 139, 250, 0.35); }
.btn-outline:hover { border-color: var(--accent-lilac); color: var(--text-dark); }
.btn.full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn:focus-visible, .step:focus-visible { outline: 2px solid var(--accent-lilac); outline-offset: 3px; }

/* ========== Nav ========== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10, 9, 18, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(167, 139, 250, 0.10); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; color: var(--text-dark); display: flex; align-items: baseline; gap: 10px; }
.logo span { font-family: var(--font-body); font-weight: 500; font-size: 13.5px; letter-spacing: 0; color: var(--dim-dark); }
.logo:hover { color: var(--text-dark); }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14.5px; }
.nav-links a { color: var(--dim-dark); }
.nav-links a:hover { color: var(--text-dark); }

/* ========== Hero ========== */
.hero { padding-top: clamp(64px, 9vw, 130px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 28px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--dim-dark); max-width: 560px; margin-bottom: 40px; }
.price-micro { margin-top: 22px; font-size: 14px; color: var(--faint-dark); }
.price-micro s { opacity: .8; }
.price-micro b { color: var(--text-dark); }

.hero-stack { position: relative; aspect-ratio: 1600 / 1037; margin: 40px 0; }
.stack-card, .stack-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); border: 1px solid rgba(167, 139, 250, 0.22); }
.stack-card { background: var(--surface-dark); }
.stack-card.s3 { transform: translate(7%, -12%) rotate(5deg) scale(.86); opacity: .45; }
.stack-card.s2 { transform: translate(4%, -5%) rotate(2.5deg) scale(.93); opacity: .65; }
.stack-img.s1 { height: auto; transform: translate(-2%, 6%) rotate(-2deg); }

.facts { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.fact-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; margin-bottom: 6px; }
.fact-label { font-size: 14px; line-height: 1.45; color: var(--dim-dark); }

/* ========== Pains ========== */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 3vw, 48px); }
.pain { padding: 24px 0; border-top: 1px solid rgba(20, 16, 35, 0.14); font-size: 17px; line-height: 1.5; display: flex; gap: 14px; }
.pain::before { content: "×"; color: var(--primary); font-family: var(--font-display); font-weight: 600; }
.pains-close { margin-top: clamp(32px, 4vw, 48px); font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; color: var(--accent-deep); max-width: 760px; }

/* ========== Steps + preview ========== */
.steps-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(20, 16, 35, 0.14); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0 22px 16px; border-bottom: 1px solid rgba(20, 16, 35, 0.10); border-left: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.step.active { border-left-color: var(--primary); background: var(--surface-light); }
.step-n { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--dim-light); padding-top: 4px; }
.step.active .step-n { color: var(--accent-deep); }
.step h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 6px; }
.step p { font-size: 15.5px; line-height: 1.55; color: var(--dim-light); }
.step-credit { font-size: 13px; color: var(--dim-light); margin-top: 6px; }

.viewer { position: sticky; top: 96px; margin: 0; }
.viewer-frame { position: relative; border: 1px solid rgba(20, 16, 35, 0.12); border-radius: 12px; overflow: hidden; background: var(--surface-light); box-shadow: 0 24px 60px rgba(20, 16, 35, 0.12); }
.viewer-frame img { width: 100%; height: auto; transition: opacity .2s; }
.viewer-frame img.fading { opacity: 0; }
.viewer figcaption { margin-top: 14px; font-size: 14px; color: var(--dim-light); }

.preview-badge { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(20, 16, 35, 0.72); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 100px; }

.step-thumb { display: none; }

/* ========== Modes ========== */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 4vw, 56px); }
.mode-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--text-light); }
.mode-head h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.mode-head span { font-size: 14px; color: var(--dim-light); }
.mode ol { list-style: none; counter-reset: m; margin: 0; padding: 0; }
.mode li { counter-increment: m; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; display: flex; gap: 16px; }
.mode li::before { content: counter(m, decimal-leading-zero); font-family: var(--font-display); font-size: 13px; color: var(--accent-deep); padding-top: 2px; min-width: 22px; }
.mode-note { margin-top: 18px; font-size: 14.5px; color: var(--dim-light); }

/* ========== Rules ========== */
.rules { border-top: 1px solid rgba(20, 16, 35, 0.14); }
.rule { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.8vw, 36px); letter-spacing: -0.02em; padding: 24px 0; border-bottom: 1px solid var(--line-light); display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px); }
.rule span { font-size: 14px; color: var(--accent-deep); min-width: 24px; }

/* ========== Section CTA ========== */
.section-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; }
.section-dark .section-cta, .section-light .section-cta { justify-content: flex-start; }

/* ========== About ========== */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-grid h2 { margin-bottom: 10px; }
.about-role { font-size: 16px; color: var(--dim-light); }
.about-copy p { font-size: 17px; line-height: 1.65; color: var(--dim-light); }
.about-copy p + p { margin-top: 18px; }
.about-copy blockquote { margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--primary); font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; color: var(--text-light); }

/* ========== FAQ ========== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid rgba(20, 16, 35, 0.14); }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.faq-q { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.faq-a { font-size: 15.5px; line-height: 1.55; color: var(--text-light); max-width: 62ch; }

/* ========== Acesso (conversão única) ========== */
.acesso-inner { max-width: 620px; }
.acesso-copy { font-size: 17px; line-height: 1.6; color: var(--dim-dark); max-width: 480px; }
.price { margin-top: 32px; }
.price-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-lilac); border: 1px solid rgba(167, 139, 250, 0.35); padding: 3px 10px; border-radius: 100px; margin-bottom: 12px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-row s { font-family: var(--font-display); font-size: 18px; color: var(--faint-dark); }
.price-row b { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4vw, 48px); letter-spacing: -0.03em; color: var(--text-dark); }
.price-row span { font-size: 14px; color: var(--faint-dark); }
.acesso-btn { margin-top: 32px; }
.acesso-note { margin-top: 16px; font-size: 13px; color: var(--faint-dark); }
.acesso-next { margin-top: 28px; max-width: 52ch; font-size: 15.5px; line-height: 1.6; color: var(--dim-dark); }
.acesso-next a { color: #4ADE80; border-bottom: 1px solid rgba(74, 222, 128, 0.45); }
.acesso-next a:hover { color: #fff; border-color: #fff; }

.exit-strip-inner { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 40px); font-size: 14.5px; }
.exit-strip-inner a { color: var(--dim-dark); border-bottom: 1px solid var(--line-dark); padding-bottom: 2px; }
.exit-strip-inner a:hover { color: var(--accent-lilac); border-color: var(--accent-lilac); }

/* ========== Footer ========== */
.footer { background: var(--bg-dark-2); border-top: 1px solid var(--line-dark); }
.footer-inner { padding-top: 32px; padding-bottom: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--faint-dark); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--dim-dark); }
.footer-links a:hover { color: var(--text-dark); }

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero-grid, .steps-layout, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .viewer { display: none; }
  .step-thumb { display: block; position: relative; margin-top: 16px; border: 1px solid rgba(20, 16, 35, 0.12); border-radius: 12px; overflow: hidden; background: var(--surface-light); }
  .step-thumb img { width: 100%; height: auto; }
  .hero-stack { margin: 24px 6% 16px; }
  .pains { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: none; }
  .fact:nth-child(n+3) { margin-top: 12px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .logo span { display: none; }
  .pains { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .viewer-frame img { transition: none; }
}
