/* ========== Tokens ========== */
:root {
  --ink: #1E1B3A;
  --text: #3E3B5B;
  --muted: #6B6883;
  --primary: #2E2A7A;
  --primary-2: #231F63;
  --accent: #6C5CE7;
  --accent-dark: #5B4BD6;
  --accent-soft: #8E82F0;
  --cta: #FFB020;
  --cta-dark: #E89A00;
  --cta-ink: #2A1E00;
  --bg: #FBFAFF;
  --tint: #F2F0FE;
  --line: #DCD8F5;
  --card: #FFFFFF;
  --ok: #2F7A52;
  --ok-soft: #EAF6EF;
  --bad: #B8433F;
  --bad-soft: #FBEFEF;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(30, 27, 58, .06), 0 8px 28px rgba(46, 42, 122, .08);
  --wrap: 1160px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ========== Botões ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--font); text-decoration: none; border-radius: 999px;
  padding: 15px 26px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.btn--primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 6px 18px rgba(232, 154, 0, .35); }
.btn--primary:hover { background: var(--cta-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--lg { padding: 18px 30px; font-size: 17px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.link { font-weight: 700; }

/* ========== Topo ========== */
.topbar { background: var(--primary-2); color: #E4E0FF; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; text-align: center; flex-wrap: wrap; }
.topbar strong { color: #fff; }
.topbar__link { color: var(--cta); font-weight: 700; text-decoration: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 0 rgba(255, 176, 32, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 176, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; letter-spacing: .06em; }
.brand b { font-weight: 800; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--accent-dark); }

/* ========== Hero ========== */
.hero { position: relative; overflow: hidden; background: var(--primary); color: #E4E0FF; padding: 72px 0 88px; }
.hero__bg span { position: absolute; border-radius: 50%; }
.hero__bg span:first-child { width: 560px; height: 560px; right: -160px; top: -200px; background: var(--accent); opacity: .55; }
.hero__bg span:last-child { width: 260px; height: 260px; left: -90px; bottom: -120px; background: var(--accent-soft); opacity: .35; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; margin-bottom: 20px; }
.hero__lead { font-size: 19px; color: #E4E0FF; max-width: 600px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero__ctas--center { justify-content: center; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__chips li { font-size: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }

.hero__card { background: #fff; color: var(--text); border-radius: 22px; padding: 28px; box-shadow: 0 24px 60px rgba(10, 8, 40, .35); }
.hero__card-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); margin-bottom: 12px; }
.facts { margin: 0 0 18px; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 15px; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 16px; }
.countdown div { background: var(--tint); border-radius: 12px; padding: 10px 4px; text-align: center; }
.countdown b { display: block; font-size: 24px; color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: 12px; color: var(--muted); }

.seats { margin-bottom: 18px; }
.seats__bar { height: 8px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.seats__bar span { display: block; height: 100%; width: 10%; background: linear-gradient(90deg, var(--accent), var(--cta)); border-radius: inherit; transition: width 1s ease; }
.seats p { font-size: 14px; margin: 8px 0 0; color: var(--muted); }
.seats p strong { color: var(--ink); }

/* ========== Seções ========== */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--primary); color: #D9D4FF; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px; }
.eyebrow--light { color: #C9C2FF; }
.h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-bottom: 16px; max-width: 820px; }
.h2.center, .eyebrow.center { margin-left: auto; margin-right: auto; }
.h2--light { color: #fff; }
.lead { font-size: 19px; max-width: 720px; margin-bottom: 36px; }
.lead--light { color: #D9D4FF; }
.center .lead { margin-left: auto; margin-right: auto; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }

.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15.5px; margin: 0; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent-dark); font-size: 22px; margin-bottom: 16px; }
.card--area { border-top: 4px solid var(--accent); }
.card__num { display: block; font-size: 32px; font-weight: 800; color: var(--accent-soft); margin-bottom: 8px; }

/* Comparação */
.compare { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.compare__row { display: grid; grid-template-columns: 1fr 1.1fr 1.4fr; }
.compare__row > span { padding: 18px 22px; border-top: 1px solid var(--line); font-size: 15.5px; }
.compare__head > span { background: var(--primary); color: #fff; font-weight: 700; border-top: 0; font-size: 14px; letter-spacing: .03em; }
.is-before { background: var(--bad-soft); color: #6E2B28; }
.is-after { background: var(--ok-soft); color: #1F5439; font-weight: 600; }

/* Linha do tempo */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; counter-reset: none; }
.timeline li { display: grid; grid-template-columns: 78px 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.timeline__time { align-self: start; font-weight: 800; font-size: 14px; color: var(--primary); background: var(--tint); border-radius: 10px; padding: 8px 6px; text-align: center; }
.timeline h3 { font-size: 18px; margin-bottom: 6px; }
.timeline p { font-size: 15.5px; margin: 0; }

/* Para quem */
.fit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 28px; }
.fit__col { border-radius: var(--radius); padding: 26px 28px; }
.fit__col h3 { font-size: 19px; margin-bottom: 12px; }
.fit__col ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.fit__col li { position: relative; padding-left: 30px; font-size: 15.5px; }
.fit__col--yes { background: var(--ok-soft); }
.fit__col--no { background: var(--bad-soft); }
.fit__col--yes li::before, .fit__col--no li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.fit__col--yes li::before { content: "✓"; background: var(--ok); }
.fit__col--no li::before { content: "✕"; background: var(--bad); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.checklist--light li { color: #EDEBFF; }
.checklist--light li::before { background: var(--cta); color: var(--cta-ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--form { align-items: start; }

/* Instrutor */
.instructor { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.avatar, .instructor__photo img { width: 100%; aspect-ratio: 4 / 5; border-radius: 24px; object-fit: cover; }
.avatar { display: grid; place-items: center; font-size: 72px; font-weight: 800; color: #fff; background: linear-gradient(145deg, var(--accent), var(--primary)); }

/* Oferta */
.offer { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--card); border-radius: 26px; box-shadow: 0 30px 70px rgba(46, 42, 122, .16); overflow: hidden; border: 1px solid var(--line); margin-top: 36px; }
.offer__main { padding: 40px; }
.offer__badge { display: inline-block; background: var(--tint); color: var(--accent-dark); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.offer__title { font-size: 26px; margin-bottom: 6px; }
.offer__when { color: var(--muted); margin-bottom: 22px; }
.offer__price { background: var(--primary); color: #D9D4FF; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.price__old { margin: 0; font-size: 16px; }
.price__main { font-size: clamp(40px, 5vw, 54px); font-weight: 800; color: #fff; line-height: 1.05; margin: 4px 0 6px; }
.price__inst { font-size: 17px; color: #fff; margin-bottom: 24px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; margin: 14px 0 20px; text-align: center; }
.seats--light .seats__bar { background: rgba(255, 255, 255, .15); }
.seats--light p { color: #D9D4FF; }
.seats--light p strong { color: #fff; }
.policy { font-size: 14px; margin: 0; }
.team { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 18px; padding-top: 16px; font-size: 15px; }
.team p { margin-bottom: 6px; }
.team .link { color: var(--cta); }

/* Formulário */
.form { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form h3 { font-size: 22px; }
.form__hint { font-size: 14px; color: var(--muted); margin: -6px 0 4px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.form input, .form select { font: inherit; font-weight: 400; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108, 92, 231, .2); }
.form__error { color: var(--bad); font-size: 14px; margin: 0; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; }

.cta-final { text-align: center; }
.cta-final .h2, .cta-final .lead { margin-left: auto; margin-right: auto; }

/* Rodapé */
.footer { background: #16133A; color: #B9B4DA; padding: 40px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 18px; }
.footer p { margin: 0 0 4px; }
.footer .muted { color: #9994BF; }
.brand--footer { color: #fff; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: #fff; text-decoration: none; font-weight: 600; }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; }

/* CTA fixo no celular */
.sticky-cta { display: none; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========== Responsivo ========== */
@media (max-width: 1000px) {
  .hero__grid, .split, .offer { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .instructor { grid-template-columns: 220px 1fr; gap: 32px; }
  .hero__grid { gap: 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .topbar { font-size: 13px; }
  .topbar__link, .dot { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero__lead, .lead { font-size: 17px; }
  .hero__ctas .btn { width: 100%; }
  .cards--4, .fit { grid-template-columns: 1fr; }
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__row > span:first-child { background: var(--tint); }
  .compare__row .is-before::before { content: "Antes: "; font-weight: 700; }
  .compare__row .is-after::before { content: "Depois: "; font-weight: 700; }
  .instructor { grid-template-columns: 1fr; }
  .instructor__photo { max-width: 220px; }
  .offer__main, .offer__price { padding: 28px 22px; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; }
  .timeline__time { justify-self: start; padding: 6px 12px; }
  .facts div { grid-template-columns: 96px 1fr; }
  .header .btn { display: none; }
  .sticky-cta:not([hidden]) {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(30, 27, 58, .12);
  }
  .sticky-cta p { margin: 0; line-height: 1.3; }
  .sticky-cta__price { font-weight: 800; color: var(--ink); font-size: 15px; }
  .sticky-cta__seats { font-size: 13px; color: var(--muted); }
  .footer { padding-bottom: 96px; }
}
