/* Página de vendas do Mapa do Digital.
   Layout: hero escuro com a VSL no centro, seções alternando papel / lilás / tinta, mesma identidade do ebook.
   Visual único (não muda com o tema do sistema): todas as cores são definidas aqui. */
:root {
  --paper: #FAF7F2;
  --tint: #F1EAFE;
  --ink: #1E1B4B;
  --ink-2: #2A2663;
  --muted: #6B6889;
  --muted-on-ink: #C9C4F2;
  --rule: #E4E0EE;
  --purple: #7C3AED;
  --purple-soft: #B794F6;
  --orange: #FF6B35;
  --orange-dark: #E8551F;
  --buy: #16A34A;
  --buy-dark: #15803D;
  --yellow: #FFD23F;
  --green: #16A34A;
  --white: #FFFFFF;
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-on-ink); }
.eyebrow.dark { color: var(--purple); }
.sub { color: var(--muted); font-size: 19px; max-width: 620px; margin: 12px auto 0; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--buy); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 17px; text-decoration: none; border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer; box-shadow: 0 10px 28px -10px rgba(22, 163, 74, 0.75); transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { background: var(--buy-dark); transform: translateY(-1px); }
.btn:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; }
.btn-xl { font-size: 19px; padding: 18px 34px; }
.btn-sm { font-size: 15px; padding: 11px 18px; box-shadow: none; }
.btn-ghost { background: transparent; border: 2px solid rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-block { width: 100%; }
.micro { font-size: 14px; color: var(--muted-on-ink); margin-top: 12px; }

/* Hero */
.hero { background: var(--ink); color: var(--white); padding-block: 28px 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, #7C3AED 0 10%, #EC4899 10% 20%, #F97316 20% 30%, #2563EB 30% 40%, #16A34A 40% 50%, #F59E0B 50% 60%, #06B6D4 60% 70%, #84CC16 70% 80%, #4338CA 80% 90%, #94A3B8 90%); }
.hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.brand { display: flex; align-items: center; gap: 12px; align-self: flex-start; }
.brand svg { width: 40px; height: 40px; }
.brand-txt { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 0.9; letter-spacing: -0.03em; display: flex; flex-direction: column; text-align: left; }
.brand-txt small { font-size: 11px; letter-spacing: 0.3em; font-weight: 700; color: var(--muted-on-ink); }
.brand-txt i { font-style: normal; color: var(--purple-soft); }
.hero .eyebrow { margin-top: 44px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.05; font-weight: 800; max-width: 900px; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted-on-ink); max-width: 680px; margin-top: 18px; }

/* Player */
.player { position: relative; width: 100%; max-width: 380px; aspect-ratio: 9 / 16; margin-top: 34px; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.player video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.pl-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, 0.15); }
.pl-progress span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.25s linear; }
.pl-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; color: var(--white); background: rgba(30, 27, 75, 0.55); font-family: var(--display); cursor: pointer; padding: 16px; }
.pl-overlay strong { font-size: clamp(20px, 3vw, 30px); font-weight: 800; }
.pl-overlay > span:not(.pl-badge) { font-size: 16px; color: var(--muted-on-ink); }
.pl-badge { width: 76px; height: 76px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; margin-bottom: 10px; animation: pulse 1.8s ease-out infinite; }
.pl-badge svg { width: 34px; height: 34px; stroke: var(--white); }
.pl-resume { cursor: default; background: rgba(30, 27, 75, 0.85); }
.pl-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.pl-actions svg { width: 16px; height: 16px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6); } 100% { box-shadow: 0 0 0 22px rgba(255, 107, 53, 0); } }
.hint { font-size: 14px; color: var(--muted-on-ink); margin-top: 14px; }

.cta-block { margin-top: 26px; display: flex; flex-direction: column; align-items: center; }
.cta-delay:not(.on) { display: none; }

/* Seções */
.sec { padding-block: 72px; }
.sec-tint { background: var(--tint); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; font-weight: 800; }
.prose { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; font-size: 19px; color: #3B3866; max-width: 65ch; }
.prose-p { font-size: 18px; color: #3B3866; margin-top: 12px; max-width: 60ch; }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.mockup { position: relative; margin: 0; padding-bottom: 40px; max-width: 440px; width: 100%; justify-self: center; }
.tablet { width: 82%; padding: 14px; background: #121027; border-radius: 30px; box-shadow: 0 40px 80px -30px rgba(30, 27, 75, 0.6), inset 0 0 0 2px #2E2A5C; transform: rotate(-4deg); }
.tablet img, .phone img { border-radius: 14px; width: 100%; }
.phone { position: absolute; right: 0; bottom: 0; width: 40%; padding: 8px; background: #121027; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(30, 27, 75, 0.7), inset 0 0 0 2px #2E2A5C; transform: rotate(5deg); }
.phone img { border-radius: 18px; }
.answers { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.answers li { background: var(--white); border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.answers svg { width: 30px; height: 30px; stroke: var(--purple); margin-bottom: 6px; }
.answers b { font-family: var(--display); font-size: 19px; line-height: 1.25; }
.answers p { font-size: 15px; color: var(--muted); }
.split-txt h2 { margin-top: 10px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 16px; padding-block: 14px; border-top: 1.5px solid #D9CFF3; }
.facts b { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--purple); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.facts span { font-size: 17px; }

.spread { margin-top: 36px; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(30, 27, 75, 0.5); }
.anatomy { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.anatomy li { display: flex; gap: 14px; align-items: flex-start; }
.anatomy .dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.anatomy b { font-family: var(--display); font-size: 17px; }
.anatomy p { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* Linhas dos módulos */
.sec-ink .eyebrow { color: var(--muted-on-ink); }
.lines { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.line { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding-block: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.line .n { width: 52px; height: 52px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--white); font-variant-numeric: tabular-nums; }
.line b { font-family: var(--display); font-size: 19px; display: block; }
.line span { font-size: 14px; color: var(--muted-on-ink); }

/* Pra quem é */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fit { border-radius: var(--radius); padding: 28px; background: var(--white); border: 1.5px solid var(--rule); }
.fit h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.fit h3 svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; color: var(--white); }
.fit.yes h3 svg { background: var(--green); stroke: var(--white); }
.fit.no h3 svg { background: #94A3B8; stroke: var(--white); }
.fit ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.fit li { font-size: 17px; }

/* Autor */
.author { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; }
.author-pic { width: 220px; height: 220px; border-radius: 50%; border: 8px solid var(--white); box-shadow: 0 20px 50px -20px rgba(30, 27, 75, 0.45); }
.author h2 { margin-top: 8px; }
.stats { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 36px; }
.stats b { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--purple); letter-spacing: -0.02em; }
.stats span { font-size: 14px; color: var(--muted); }

/* Oferta */
.offer { background: var(--white); border-radius: 26px; padding: 44px clamp(20px, 5vw, 48px); border: 1.5px solid var(--rule); box-shadow: 0 30px 70px -40px rgba(30, 27, 75, 0.45); display: flex; flex-direction: column; gap: 24px; }
.offer h2 { margin-top: -12px; }
.get { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.get li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.get svg { width: 24px; height: 24px; stroke: var(--green); margin-top: 2px; }
.price { display: flex; flex-direction: column; align-items: center; padding-block: 8px; }
.price-label, .price-note { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.price strong { font-family: var(--display); font-size: clamp(56px, 9vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); }
.checkout-pending { text-align: center; font-size: 14px; color: var(--orange-dark); margin-top: -12px; }
.guarantee { display: flex; gap: 16px; align-items: flex-start; background: var(--tint); border-radius: var(--radius); padding: 20px; }
.guarantee svg { width: 40px; height: 40px; stroke: var(--purple); }
.guarantee b { font-family: var(--display); font-size: 18px; }
.guarantee p { font-size: 15px; color: #3B3866; margin-top: 2px; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 14px; border: 1.5px solid #E2D8F7; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-family: var(--display); font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; stroke: var(--purple); transition: transform 0.2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: #3B3866; font-size: 16px; }

.final .sub { color: var(--muted-on-ink); margin-bottom: 28px; }
.final .wrap { display: flex; flex-direction: column; align-items: center; }

.foot { background: #15123A; color: #8F8BB8; font-size: 13px; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot .wrap { display: grid; gap: 6px; }

@media (max-width: 860px) {
  .split, .author { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mockup { max-width: 340px; }
  .answers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author { justify-items: start; }
  .author-pic { width: 150px; height: 150px; }
  .anatomy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lines, .two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .sec { padding-block: 52px; }
  .answers { grid-template-columns: minmax(0, 1fr); }
  .player { max-width: 100%; }
  .facts li { grid-template-columns: 72px 1fr; }
  .facts b { font-size: 32px; }
  .btn-xl { font-size: 17px; padding: 16px 22px; width: 100%; }
  .pl-badge { width: 58px; height: 58px; }
  .pl-badge svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pl-badge { animation: none; }
  .btn, .faq summary svg { transition: none; }
}
