/* =========================================================================
   Revisa que Passa — Curso "O Código do Aprendizado — Curso Oficial"
   Extends styles.css + ebook.css. Adds the AI-disruptive hero, curriculum
   modules, value stack and pricing. Direction: neon / futuristic (método + IA).
   ========================================================================= */

:root {
  --neon-cyan: #22d3ee;
  --neon-violet: #a855f7;
  --neon-blue: #5b4ee6;
}

/* ---------- AI-disruptive hero ---------- */
.curso-hero {
  position: relative;
  padding: calc(var(--space-section) * 0.72) 0 var(--space-section);
  background:
    radial-gradient(900px 560px at 82% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(820px 520px at 6% 40%, rgba(168, 85, 247, 0.20), transparent 62%),
    var(--ink-950);
  overflow: hidden;
}
/* faint tech grid */
.curso-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(91, 78, 230, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 78, 230, 0.10) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 60% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 60% 30%, #000 0%, transparent 72%);
}
.curso-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center;
}
@media (max-width: 940px) { .curso-hero__grid { grid-template-columns: 1fr; gap: 2.4rem; } }

.curso-kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--neon-cyan); margin-bottom: 1.1rem;
  padding: 0.42rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.34); background: rgba(34, 211, 238, 0.07);
}
.curso-hero h1 {
  color: var(--text-inv);
  font-size: clamp(2.5rem, 1rem + 6.4vw, 5.4rem);
  letter-spacing: -0.035em; line-height: 1.0;
}
.curso-hero h1 .grad {
  background: linear-gradient(108deg, var(--neon-cyan), var(--neon-violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.curso-hero__lead {
  color: var(--text-inv-soft); font-size: var(--text-lead);
  margin: 1.3rem 0 1.8rem; max-width: 40ch;
}
.curso-hero__meta { display: flex; flex-wrap: wrap; gap: 1.1rem 2rem; align-items: center; margin-top: 1.7rem; color: var(--text-inv-mut); font-size: 0.92rem; }
.curso-hero__meta b { color: var(--text-inv); }
.curso-price-tag { display: inline-flex; align-items: baseline; gap: 0.5rem; font-family: var(--font-display); }
.curso-price-tag .from { color: var(--text-inv-mut); text-decoration: line-through; font-size: 1.05rem; }
.curso-price-tag .now { color: #fff; font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; }
.curso-price-tag .unit { color: var(--text-inv-mut); font-size: 0.9rem; }

.btn-neon {
  background: linear-gradient(110deg, var(--neon-cyan), var(--neon-blue));
  color: #04121a; box-shadow: 0 16px 40px -12px rgba(34, 211, 238, 0.6);
}
.btn-neon:hover { transform: translateY(-3px); box-shadow: 0 24px 54px -14px rgba(34, 211, 238, 0.75); }
.nav__buy.btn-neon { white-space: nowrap; }
@media (max-width: 480px) { .nav__buy { padding: 0.7rem 1.2rem; font-size: 0.92rem; } }

/* hero portrait — AI, neon-framed, floating */
.curso-hero__photo {
  position: relative; justify-self: center; width: min(100%, 520px);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.18), 0 40px 90px -30px rgba(34, 211, 238, 0.4);
  aspect-ratio: 16 / 12; background: #05040c;
  animation: floaty 7s ease-in-out infinite;
}
.curso-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.curso-hero__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 4, 12, 0.55) 100%),
              linear-gradient(115deg, rgba(34, 211, 238, 0.12), transparent 40%);
}
.curso-hero__badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(7, 6, 15, 0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 999px;
  padding: 0.5rem 0.9rem; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
}
.curso-hero__badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 1.8s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- pain block ---------- */
.pain-list { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 0.8rem; max-width: 640px; }
.pain-list li { display: flex; gap: 0.7rem; color: var(--text-soft); font-size: 1.05rem; line-height: 1.5; }
.pain-list li::before { content: "✕"; color: #ef4444; font-weight: 700; flex: none; }

/* ---------- curriculum modules ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; }
@media (max-width: 720px) { .mod-grid { grid-template-columns: 1fr; } }
.mod {
  position: relative; padding: 1.7rem 1.6rem; border-radius: var(--radius);
  background: #fff; border: 1px solid #ece8fa; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mod:hover { transform: translateY(-4px); box-shadow: 0 26px 52px -26px rgba(91,78,230,0.4); border-color: #d9d2f6; }
.mod__head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.mod__n {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  color: #fff; background: linear-gradient(135deg, var(--indigo), var(--violet));
}
.mod h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.mod p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.55; }
.mod__ai { color: #04121a !important; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue)) !important; }
.mod--ai { border-color: rgba(34,211,238,0.4); background: linear-gradient(180deg, #f0fdff, #fff); }
.mod__tag {
  position: absolute; top: 14px; right: 14px; font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #0369a1; background: rgba(34,211,238,0.14); padding: 0.28rem 0.6rem; border-radius: 999px;
}

/* ---------- bonus strip ---------- */
.bonus-strip {
  display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center;
  background: linear-gradient(135deg, #0b0a18, #1a1733); color: var(--text-inv);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  border: 1px solid var(--line);
}
@media (max-width: 620px) { .bonus-strip { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.bonus-strip__tag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); margin-bottom: 0.5rem; }
.bonus-strip h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.bonus-strip p { color: var(--text-inv-soft); font-size: 1rem; }
.bonus-cover { width: 150px; }

/* ---------- value stack + pricing ---------- */
.stack { list-style: none; padding: 0; margin: 0 auto 1.4rem; max-width: 460px; text-align: left; display: grid; gap: 0.55rem; }
.stack li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; color: var(--text-inv-soft); font-size: 0.98rem; padding-bottom: 0.55rem; border-bottom: 1px dashed var(--line); }
.stack li b { color: #fff; font-weight: 600; }
.stack li .v { color: var(--text-inv-mut); font-size: 0.86rem; white-space: nowrap; }
.stack li .free { color: var(--emerald); font-weight: 700; }
.stack__total { display: flex; justify-content: space-between; max-width: 460px; margin: 0 auto 0.4rem; font-family: var(--font-display); color: var(--text-inv-mut); }
.stack__total b { color: #fff; }

.guarantee {
  display: flex; align-items: center; gap: 1rem; max-width: 520px; margin: 1.8rem auto 0;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius); padding: 1rem 1.3rem; text-align: left;
}
.guarantee .ic { font-size: 2rem; flex: none; }
.guarantee b { color: #fff; } .guarantee p { color: var(--text-inv-soft); font-size: 0.9rem; margin-top: 2px; }

.curso-installment { color: var(--text-inv-soft); font-size: 1rem; margin-top: 0.2rem; }
.curso-installment b { color: #fff; }

/* ---------- checkout: payment tabs + installments (reuses .modal etc.) ---------- */
.paytabs { display: flex; gap: 0.5rem; margin: 0.3rem 0 0.9rem; }
.paytab {
  flex: 1; padding: 0.75rem; border-radius: 12px; cursor: pointer; font-weight: 600;
  border: 1px solid #ded9f2; background: #faf9ff; color: var(--text-soft); font-family: var(--font-body);
  transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.paytab.active { border-color: var(--indigo); background: #efeafe; color: var(--indigo); }
.card-fields, .inst-field { display: none; }
.card-fields.show, .inst-field.show { display: block; }

/* LGPD consent */
.consent { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.82rem; color: var(--text-soft); margin: 0.4rem 0 1rem; line-height: 1.45; }
.consent input { margin-top: 0.15rem; accent-color: var(--indigo); flex: none; width: 16px; height: 16px; }
.consent a { color: var(--indigo); font-weight: 600; }

/* =========================================================================
   ANIMAÇÕES — "mais animado" (compositor-friendly: transform/opacity)
   ========================================================================= */

/* aurora blobs driftando no hero */
.curso-hero__aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.curso-hero__aurora::before,
.curso-hero__aurora::after {
  content: ""; position: absolute; width: 52vw; height: 52vw; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.curso-hero__aurora::before { background: radial-gradient(circle, rgba(34,211,238,0.5), transparent 60%); top: -16%; right: 4%; animation: blobA 16s ease-in-out infinite; }
.curso-hero__aurora::after  { background: radial-gradient(circle, rgba(168,85,247,0.45), transparent 60%); bottom: -20%; left: -8%; animation: blobB 20s ease-in-out infinite; }
@keyframes blobA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6%,8%) scale(1.14); } }
@keyframes blobB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%,-6%) scale(1.1); } }

/* gradiente animado no título */
.curso-hero h1 .grad { background-size: 220% auto; animation: gradFlow 7s ease infinite; }
@keyframes gradFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* brilho pulsante na foto do hero (além do floaty já existente) */
.curso-hero__photo { animation: floaty 7s ease-in-out infinite, glowPulse 5.5s ease-in-out infinite; }
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 0 1px rgba(34,211,238,0.28), 0 40px 90px -30px rgba(34,211,238,0.42); }
  50%     { box-shadow: 0 0 0 1px rgba(168,85,247,0.42), 0 44px 110px -26px rgba(168,85,247,0.5); }
}

/* sweep de brilho no CTA neon */
.btn-neon { position: relative; overflow: hidden; }
.btn-neon::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 38%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); animation: sweep 3.8s ease-in-out infinite;
}
@keyframes sweep { 0% { left: -60%; } 55%,100% { left: 130%; } }

/* entrada escalonada dos módulos */
.mod-grid .mod { transition: transform 0.6s var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity 0.6s var(--ease); }
.mod-grid .mod.reveal:nth-child(1) { transition-delay: 0.04s; }
.mod-grid .mod.reveal:nth-child(2) { transition-delay: 0.10s; }
.mod-grid .mod.reveal:nth-child(3) { transition-delay: 0.16s; }
.mod-grid .mod.reveal:nth-child(4) { transition-delay: 0.22s; }
.mod-grid .mod.reveal:nth-child(5) { transition-delay: 0.28s; }
.mod-grid .mod.reveal:nth-child(6) { transition-delay: 0.34s; }

/* glow pulsante nas tags de IA */
.mod__tag { animation: tagGlow 2.6s ease-in-out infinite; }
@keyframes tagGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } 50% { box-shadow: 0 0 14px 0 rgba(34,211,238,0.4); } }

@media (prefers-reduced-motion: reduce) {
  .curso-hero__aurora::before, .curso-hero__aurora::after,
  .curso-hero h1 .grad, .curso-hero__photo, .btn-neon::after,
  .mod__tag { animation: none !important; }
}

/* =========================================================================
   CINEMATIC VIDEO HERO — full-viewport background video + minimal chrome
   (adapted from the reference spec; CSS animations, ease [0.16,1,0.3,1])
   ========================================================================= */
.chero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; background: #05040c; isolation: isolate;
}
.chero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 32% center; z-index: 0;
  animation: cheroVideo 1.8s var(--ease) both;
}
@keyframes cheroVideo { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.chero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, #07060f 2%, rgba(7,6,15,0.55) 26%, rgba(7,6,15,0.05) 54%, transparent 72%),
    linear-gradient(90deg, rgba(7,6,15,0.4), transparent 48%);
}

/* --- navbar --- */
.chero__nav {
  position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: 16px; pointer-events: none; animation: cheroDown 0.8s var(--ease) both;
}
.chero__nav > * { pointer-events: auto; }
@keyframes cheroDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.chero__nav-left { display: flex; align-items: center; gap: 10px; }
.chero__brand { display: flex; align-items: center; gap: 9px; }
.chero__brandname { display: none; color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.05rem; }
.chero__brandname b { color: var(--indigo-bright); font-weight: 600; }
.chero__menu {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.14);
  color: #fff; font-size: 11px; font-weight: 500; padding: 4px 12px 4px 4px; border-radius: 999px;
}
.chero__menu-ic { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: 15px; line-height: 0; font-weight: 700; }
.chero__tags {
  display: none; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 12px; padding: 7px 14px; border-radius: 999px;
}
.chero__tags .dot2 { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.chero__cta-pill {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--font-body);
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; font-size: 12px; font-weight: 500; padding: 4px 15px 4px 4px; border-radius: 999px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chero__cta-pill:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }
.chero__grid-ic { width: 24px; height: 24px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-size: 12px; }

/* --- bottom content --- */
.chero__foot {
  position: relative; z-index: 30; display: flex; flex-direction: column; gap: 1.8rem;
  padding: 2rem 1.5rem 2.4rem; animation: cheroUp 1s var(--ease) 0.5s both;
}
@keyframes cheroUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.chero__foot-left { display: flex; flex-direction: column; gap: 1.1rem; }
.chero__sub { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.72); font-size: 13px; animation: cheroUp 0.8s var(--ease) 0.6s both; }
.chero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); flex: none; }
.chero__title {
  color: #fff; font-family: var(--font-body); font-weight: 300;
  font-size: clamp(2.1rem, 8vw, 4.5rem); letter-spacing: -0.03em; line-height: 1.0; margin: 0;
  animation: cheroUp 0.8s var(--ease) 0.8s both;
}
.chero__btns { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; animation: cheroUp 0.8s var(--ease) 1s both; }
.chero__btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 13px; font-weight: 500; padding: 0.85rem 1.5rem; border-radius: 999px; cursor: pointer; border: 0; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.chero__btn--solid { background: #fff; color: #000; }
.chero__btn--solid:hover { transform: translateY(-2px); background: #f0f0f0; }
.chero__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.chero__btn--ghost:hover { background: rgba(255,255,255,0.12); }
.chero__price { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.chero__price b { color: #fff; font-weight: 600; }
.chero__foot-right { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chero__pill { color: #fff; font-size: 11px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 0.5rem 0.9rem; border-radius: 999px; }

@media (min-width: 768px) {
  .chero__nav { padding: 24px 32px; }
  .chero__nav-left { gap: 12px; }
  .chero__brandname { display: block; }
  .chero__tags { display: inline-flex; }
  .chero__menu-ic, .chero__grid-ic { width: 24px; height: 24px; }
  .chero__foot { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 2.4rem 3rem 3.2rem; }
  .chero__foot-left { max-width: 62%; }
}

@media (prefers-reduced-motion: reduce) {
  .chero__video, .chero__nav, .chero__foot, .chero__sub, .chero__title, .chero__btns { animation: none !important; }
}

/* =========================================================================
   "Isso é pra você se…" — LIQUID GLASS cards over atmospheric dark
   ========================================================================= */
.pain {
  position: relative; overflow: hidden;
  background: var(--ink-950); color: var(--text-inv);
  padding: var(--space-section) 0;
}
/* light behind the glass so it refracts (glass needs content behind it) */
.pain__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 420px at 16% 12%, rgba(91,78,230,0.28), transparent 60%),
    radial-gradient(620px 400px at 88% 88%, rgba(34,211,238,0.18), transparent 62%),
    radial-gradient(520px 360px at 65% 30%, rgba(168,85,247,0.16), transparent 64%);
}
.pain .container { position: relative; z-index: 1; }
.pain__title { color: #fff; font-size: var(--text-h2); max-width: 18ch; margin: 0.7rem 0 0; }
.pain__hl {
  background: linear-gradient(100deg, var(--neon-cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.6rem; }
@media (max-width: 680px) { .pain-grid { grid-template-columns: 1fr; } }

.pain-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.6rem 1.6rem; border-radius: 22px; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* specular sheen across the top edge — the "liquid" highlight */
.pain-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%);
  opacity: 0.9;
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 32px 70px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.pain-card p {
  position: relative; z-index: 1; margin: 0;
  color: rgba(255, 255, 255, 0.82); font-size: 1.06rem; line-height: 1.55;
}
.pain-card p b { color: #fff; font-weight: 600; }
.pain-x {
  position: relative; z-index: 1; flex: none;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: #ff8080; font-size: 0.9rem; font-weight: 700;
  background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* staggered reveal */
.pain-grid .pain-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.pain-grid .pain-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.pain-grid .pain-card.reveal:nth-child(3) { transition-delay: 0.19s; }
.pain-grid .pain-card.reveal:nth-child(4) { transition-delay: 0.26s; }

/* =========================================================================
   "Tudo que você recebe" — bundle bento (glass) + total anchor
   ========================================================================= */
.incl { position: relative; overflow: hidden; background: var(--ink-950); color: var(--text-inv); padding: var(--space-section) 0; }
.incl__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 440px at 82% 8%, rgba(34,211,238,0.18), transparent 60%),
              radial-gradient(640px 420px at 12% 92%, rgba(91,78,230,0.24), transparent 62%); }
.incl .container { position: relative; z-index: 1; }
.incl__title { color: #fff; font-size: var(--text-h2); max-width: 20ch; margin: 0.7rem 0 0; }
.incl__lead { color: var(--text-inv-soft); font-size: var(--text-lead); margin-top: 1rem; }

.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.6rem; }
@media (max-width: 720px) { .incl-grid { grid-template-columns: 1fr; } }
.incl-card {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; border-radius: 20px; position: relative; overflow: hidden;
  background: rgba(255,255,255,0.055); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 22px 56px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.incl-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.24); }
.incl-card--wide { grid-column: span 2; }
@media (max-width: 720px) { .incl-card--wide { grid-column: span 1; } }
.incl-ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(91,78,230,0.2)); border: 1px solid rgba(255,255,255,0.14); }
.incl-body { flex: 1; }
.incl-body h3 { color: #fff; font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.incl-body p { color: var(--text-inv-soft); font-size: 0.96rem; line-height: 1.5; }
.incl-val { flex: none; align-self: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; white-space: nowrap; }

.incl-total {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; margin-top: 1.4rem;
  padding: 1.6rem 1.8rem; border-radius: 24px;
  background: linear-gradient(120deg, rgba(34,211,238,0.1), rgba(91,78,230,0.12));
  border: 1px solid rgba(255,255,255,0.16);
}
.incl-total__label { color: var(--text-inv-mut); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.incl-total__sum { font-family: var(--font-display); font-weight: 700; color: var(--text-inv-soft); font-size: 1.8rem; text-decoration: line-through; text-decoration-color: rgba(255,120,120,0.7); }
.incl-total__arrow { color: var(--neon-cyan); font-size: 1.6rem; }
.incl-total__right { display: flex; flex-direction: column; gap: 0.5rem; }
.incl-total__now { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(2rem, 1rem + 4vw, 3rem); line-height: 1; }
.incl-total__now span { color: var(--text-inv-soft); font-size: 0.95rem; font-weight: 500; }
.incl-total__right .btn { align-self: flex-start; margin-top: 0.4rem; }

/* =========================================================================
   Plataforma — feature cards (games)
   ========================================================================= */
.plat { position: relative; overflow: hidden; background: var(--ink-900); color: var(--text-inv); padding: var(--space-section) 0; }
.plat__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 400px at 90% 20%, rgba(168,85,247,0.16), transparent 62%); }
.plat .container { position: relative; z-index: 1; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  padding: 1.6rem 1.4rem; border-radius: 18px;
  background: rgba(255,255,255,0.05); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feat:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.24); }
.feat-ic { font-size: 1.7rem; margin-bottom: 0.7rem; }
.feat h3 { color: #fff; font-size: 1.06rem; letter-spacing: -0.01em; margin-bottom: 0.35rem; }
.feat p { color: var(--text-inv-soft); font-size: 0.94rem; line-height: 1.5; }

/* =========================================================================
   AprovaAI — tool / Pareto prático
   ========================================================================= */
.tool { background: var(--ink-950); padding: var(--space-section) 0; }
.tool-card {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: radial-gradient(900px 400px at 15% 0%, rgba(16,185,129,0.14), transparent 60%), linear-gradient(160deg, #10231b, #0b0a18);
  border: 1px solid rgba(16,185,129,0.3); color: var(--text-inv);
  padding: clamp(1.8rem, 1rem + 3vw, 3.2rem);
}
.tool-badge { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--emerald); background: rgba(16,185,129,0.14); border: 1px solid rgba(16,185,129,0.34); padding: 0.4rem 0.9rem; border-radius: 999px; }
.tool-title { color: #fff; font-size: var(--text-h2); max-width: 22ch; margin: 1rem 0 0.7rem; }
.tool-lead { color: var(--text-inv-soft); font-size: var(--text-lead); max-width: 60ch; }
.tool-steps { list-style: none; padding: 0; margin: 2rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
@media (max-width: 680px) { .tool-steps { grid-template-columns: 1fr; } }
.tool-steps li { display: flex; gap: 0.9rem; align-items: flex-start; }
.tool-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  color: #04121a; background: var(--emerald); }
.tool-steps b { color: #fff; display: block; margin-bottom: 0.15rem; }
.tool-steps p { color: var(--text-inv-soft); font-size: 0.94rem; line-height: 1.5; }
.tool-card > .btn { position: relative; z-index: 1; }

/* =========================================================================
   2 livros
   ========================================================================= */
.books-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.6rem; }
@media (max-width: 720px) { .books-grid { grid-template-columns: 1fr; } }
.book-item { display: flex; gap: 1.8rem; align-items: center; padding: 1.6rem; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid #ece8fa; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.book-item:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -28px rgba(91,78,230,0.4); }
.book-item__cover { flex: none; width: min(210px, 42vw); border: 0; padding: 0; background: none;
  transform: perspective(1200px) rotateY(-8deg); transition: transform var(--dur) var(--ease);
  filter: drop-shadow(12px 16px 26px rgba(0,0,0,0.4)); }
.book-item:hover .book-item__cover { transform: perspective(1200px) rotateY(-3deg); }
.book-item__cover img { width: 100%; border-radius: 8px; display: block; }
@media (max-width: 460px) { .book-item { flex-direction: column; text-align: center; } .book-item__cover { width: min(200px, 60vw); } }
.book-item__tag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--indigo); background: #efeafe; padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.5rem; }
.book-item__tag--new { color: #0a6b45; background: #e3f9ef; }
.book-item__body h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.book-item__body p { color: var(--text-soft); font-size: 0.96rem; line-height: 1.55; }

/* =========================================================================
   Acompanhamento / mentoria
   ========================================================================= */
.mentor { position: relative; overflow: hidden; background: var(--ink-950); color: var(--text-inv); padding: var(--space-section) 0; }
.mentor__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 460px at 85% 30%, rgba(34,211,238,0.18), transparent 60%), radial-gradient(560px 420px at 10% 90%, rgba(168,85,247,0.18), transparent 62%); }
.mentor__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (max-width: 860px) { .mentor__grid { grid-template-columns: 1fr; } }
.mentor-points { display: grid; gap: 0.7rem; margin: 1.6rem 0; }
.mentor-points div { display: flex; align-items: center; gap: 0.7rem; color: var(--text-inv-soft); font-size: 1rem; }
.mentor-points span { font-size: 1.15rem; }
.mentor-card { text-align: center; border-radius: var(--radius-lg); padding: 2rem 1.6rem;
  background: rgba(255,255,255,0.055); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 24px 60px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.2); }
.mentor-card__val { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(2.4rem, 1rem + 5vw, 3.4rem); line-height: 1; }
.mentor-card__lbl { color: var(--text-inv-mut); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.4rem; }
.mentor-card__sub { color: var(--text-inv-soft); font-size: 0.95rem; margin-top: 0.9rem; }

/* staggered reveal for the new grids */
.incl-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.incl-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.incl-grid .reveal:nth-child(4) { transition-delay: 0.20s; }
.feat-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.feat-grid .reveal:nth-child(3) { transition-delay: 0.13s; }
.feat-grid .reveal:nth-child(4) { transition-delay: 0.19s; }

/* flip-book lightbox title (which book is being read) */
.flip-lightbox__title { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; text-align: center; opacity: 0.9; margin-bottom: 0.1rem; }
.flip-lightbox__title:empty { display: none; }

/* =========================================================================
   Pacote: card único de SOMA com risco animado no total -> R$ 497
   ========================================================================= */
.sum-card {
  position: relative; z-index: 1; max-width: 840px; margin: 2.6rem auto 0;
  border-radius: var(--radius-xl); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem);
  background: linear-gradient(160deg, rgba(21,19,44,0.85), rgba(11,10,24,0.85));
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.16);
}
.sum-list { list-style: none; padding: 0; margin: 0; }
.sum-row {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.in .sum-row { opacity: 1; transform: none; }
.reveal.in .sum-row:nth-child(1) { transition-delay: 0.10s; }
.reveal.in .sum-row:nth-child(2) { transition-delay: 0.30s; }
.reveal.in .sum-row:nth-child(3) { transition-delay: 0.50s; }
.reveal.in .sum-row:nth-child(4) { transition-delay: 0.70s; }
.sum-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(91,78,230,0.2)); border: 1px solid rgba(255,255,255,0.12); }
.sum-desc { flex: 1; min-width: 0; }
.sum-desc b { color: #fff; display: block; font-size: 1.02rem; letter-spacing: -0.01em; }
.sum-desc small { color: var(--text-inv-mut); font-size: 0.85rem; line-height: 1.35; display: block; margin-top: 2px; }
.sum-plus { flex: none; color: var(--neon-cyan); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.sum-val { flex: none; min-width: 92px; text-align: right; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.08rem; }
@media (max-width: 520px) { .sum-plus { display: none; } .sum-desc small { display: none; } .sum-val { min-width: 72px; } .sum-ic { width: 38px; height: 38px; } }

.sum-total { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 0.2rem; }
.sum-total__label { color: var(--text-inv-soft); font-size: 0.95rem; }
.sum-total__value { position: relative; flex: none; font-family: var(--font-display); font-weight: 700; color: var(--text-inv-soft); font-size: 1.8rem; }
.sum-total__value::after {
  content: ""; position: absolute; left: -5px; right: -5px; top: 52%; height: 3px; border-radius: 2px;
  background: #ff6b6b; box-shadow: 0 0 10px rgba(255,107,107,0.7);
  transform: scaleX(0); transform-origin: left;
}
.reveal.in .sum-total__value::after { animation: sumStrike 0.55s var(--ease) 1.35s forwards; }
@keyframes sumStrike { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.sum-final { margin-top: 1.5rem; text-align: center; opacity: 0; transform: translateY(14px) scale(0.96);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-spring); }
.reveal.in .sum-final { opacity: 1; transform: none; transition-delay: 2s; }
.sum-final__label { color: var(--text-inv-mut); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.sum-final__price { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(2.6rem, 1rem + 6vw, 4rem); line-height: 1; margin: 0.4rem 0 1.2rem; }
.sum-final__price span { display: block; color: var(--text-inv-soft); font-size: 1rem; font-weight: 500; margin-top: 0.35rem; }

@media (prefers-reduced-motion: reduce) {
  .sum-row, .sum-final { opacity: 1 !important; transform: none !important; }
  .sum-total__value::after { transform: scaleX(1); animation: none; }
}

/* =========================================================================
   Ferramenta: 2 colunas (copy + terminal) · Codex + Claude Code
   ========================================================================= */
.tool-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.6rem, 1rem + 3vw, 3rem); align-items: center; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-main .btn { position: relative; z-index: 1; }
.tool-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 1.6rem; }
.tool-pills span {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: #d7fff0;
  background: rgba(16,185,129,0.14); border: 1px solid rgba(16,185,129,0.34); padding: 0.4rem 0.8rem; border-radius: 999px;
}
.tool-steps { margin-bottom: 1.6rem; }

/* terminal mock */
.tool-term {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(16,185,129,0.28);
  background: #05100c; box-shadow: 0 30px 70px -34px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.tool-term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06); }
.tool-term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3a34; }
.tool-term__bar i:nth-child(1) { background: #ff5f57; } .tool-term__bar i:nth-child(2) { background: #febc2e; } .tool-term__bar i:nth-child(3) { background: #28c840; }
.tool-term__bar span { margin-left: 8px; color: rgba(255,255,255,0.4); font-size: 0.76rem; }
.tool-term__body { padding: 1.1rem 1.2rem; font-size: 0.84rem; line-height: 1.85; color: #b9d8cd; }
.tool-term__body p { margin: 0; opacity: 0; }
.reveal.in .tool-term__body p:nth-child(1) { animation: termIn 0.3s var(--ease) 0.3s forwards; }
.reveal.in .tool-term__body p:nth-child(2) { animation: termIn 0.3s var(--ease) 0.8s forwards; }
.reveal.in .tool-term__body p:nth-child(3) { animation: termIn 0.3s var(--ease) 1.5s forwards; }
.reveal.in .tool-term__body p:nth-child(4) { animation: termIn 0.3s var(--ease) 2.0s forwards; }
.reveal.in .tool-term__body p:nth-child(5) { animation: termIn 0.3s var(--ease) 2.5s forwards; }
.reveal.in .tool-term__body p:nth-child(6) { animation: termIn 0.3s var(--ease) 3.0s forwards; }
.reveal.in .tool-term__body p:nth-child(7) { animation: termIn 0.3s var(--ease) 3.6s forwards; }
@keyframes termIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tool-term .c-ok { color: #2ee6a0; } .tool-term .c-em { color: #ffd166; } .tool-term .c-cy { color: #22d3ee; } .tool-term .c-dim { color: rgba(185,216,205,0.55); }
.tool-term .cursor { color: #2ee6a0; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tool-term__body p { opacity: 1 !important; animation: none !important; }
  .tool-term .cursor { animation: none; }
}
@media (max-width: 560px) { .tool-term__body { font-size: 0.72rem; } }
