/* ══════════════════════════════════════════
   COMO CRIAR E VENDER eBOOKS COM IA — 2026
   style.css
══════════════════════════════════════════ */

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --border: #1e1e2e;
  --accent: #f0c040;
  --accent2: #ff6b35;
  --text: #f0eee8;
  --muted: #888899;
  --green: #22c55e;
  --card: #15151f;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240,192,64,.12) 0%, transparent 65%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,107,53,.08) 0%, transparent 60%);
  pointer-events: none;
}
.badge {
  display: inline-block;
  background: rgba(240,192,64,.12);
  border: 1px solid rgba(240,192,64,.35);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp .6s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  max-width: 820px;
  animation: fadeUp .7s .1s ease both;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #b8b8cc;
  max-width: 560px;
  animation: fadeUp .7s .2s ease both;
}
.hero-cta-wrap {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeUp .7s .3s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 44px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 40px rgba(240,192,64,.3);
  letter-spacing: .02em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(240,192,64,.5);
}
.btn-primary svg { width: 20px; height: 20px; }
.hero-guarantee {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-guarantee span { color: var(--green); }
.hero-stats {
  margin-top: 64px;
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .7s .45s ease both;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label { font-size: 13px; color: var(--muted); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0 auto; max-width: 900px; }

/* ── SECTION BASE ── */
section { padding: 80px 24px; max-width: 960px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.1rem; color: #b8b8cc; max-width: 600px; }

/* ── PROBLEM ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.problem-card p { font-size: 15px; color: #c8c8d8; }

/* ── FOR WHO ── */
.forwho-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.forwho-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: 16px;
}
.forwho-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── MODULES ── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.module-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.module-card:hover {
  border-color: rgba(240,192,64,.4);
  transform: translateY(-3px);
}
.module-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(240,192,64,.12);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}
.module-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.module-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}
.stars { margin-bottom: 12px; }
.stars svg { display: inline; }
.testi-text { font-size: 15px; color: #c8c8d8; margin-bottom: 18px; line-height: 1.6; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0f;
  flex-shrink: 0;
}
.testi-name { font-weight: 500; font-size: 14px; }
.testi-role { font-size: 13px; color: var(--muted); }

/* ── BONUS ── */
.bonus-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}
.bonus-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid rgba(240,192,64,.2);
  border-radius: 12px;
  padding: 20px 24px;
}
.bonus-tag {
  background: none;
  border: 1px solid rgba(240,192,64,.4);
  color: var(--accent);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bonus-item h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.bonus-item p { font-size: 14px; color: var(--muted); }

/* ── PRICING ── */
.pricing-wrap {
  max-width: 520px;
  margin: 40px auto 0;
  background: var(--card);
  border: 2px solid rgba(240,192,64,.35);
  border-radius: 20px;
  padding: 44px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 80px rgba(240,192,64,.08);
}
.pricing-tag {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0a0f;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.price-main {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.price-main sup { font-size: 1.8rem; vertical-align: top; margin-top: 10px; display: inline-block; }
.price-installment { font-size: 14px; color: var(--muted); margin-top: 4px; }
.price-pix-sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.btn-pricing {
  display: block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 32px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 18px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 40px rgba(240,192,64,.3);
  letter-spacing: .02em;
}
.btn-pricing:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(240,192,64,.5); }
.guarantee-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ── GUARANTEE SECTION ── */
.guarantee-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 40px;
}
.guarantee-medal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  padding-top: 4px;
}
.guarantee-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.guarantee-box p { color: #b8b8cc; font-size: 15px; }

/* ── FAQ ── */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .arrow {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: 15px;
  color: #b8b8cc;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 220px; padding: 0 24px 20px; }

/* ── FINAL CTA ── */
.final-cta {
  text-align: center;
  padding: 100px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { color: #b8b8cc; margin-bottom: 40px; font-size: 1.05rem; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); text-decoration: underline; }

/* ── STICKY BAR ── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-text { font-size: 14px; color: var(--muted); }
.sticky-bar-text strong { color: var(--text); font-weight: 600; }
.btn-sticky {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.btn-sticky:hover { transform: translateY(-1px); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero-stats { gap: 28px; }
  .guarantee-box { flex-direction: column; gap: 16px; }
  .pricing-wrap { padding: 40px 24px; }
  .sticky-bar { flex-direction: column; text-align: center; }
}
