/* ============================================================
   Youtube do Zero à Milhões — CSS Principal
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-blue:    #4a6cf7;
  --brand-pink:    #e05c8a;
  --brand-purple:  #7c3aed;
  --brand-dark:    #0d0f1a;
  --brand-darker:  #070810;
  --brand-card:    #141628;
  --brand-border:  rgba(255,255,255,0.08);
  --text-primary:  #f0f2ff;
  --text-muted:    #8b92b8;
  --gradient-hero: linear-gradient(135deg, #0d0f1a 0%, #1a1040 50%, #0d0f1a 100%);
  --gradient-cta:  linear-gradient(135deg, #4a6cf7, #e05c8a);
  --gradient-card: linear-gradient(135deg, rgba(74,108,247,0.15), rgba(224,92,138,0.10));
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-glow:   0 0 40px rgba(74,108,247,0.25);
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--brand-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.gradient-text {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; border: none; transition: var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-cta); color: #fff;
  box-shadow: 0 4px 24px rgba(74,108,247,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(74,108,247,0.55); }
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-lg { padding: 20px 48px; font-size: 1.15rem; }
.btn-full { width: 100%; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(13,15,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brand-border);
  transition: var(--transition);
}
.navbar.scrolled { padding: 10px 0; background: rgba(13,15,26,0.97); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo img { width: 44px; height: 44px; border-radius: 50%; }
.navbar-logo span { font-size: 1rem; font-weight: 700; }
.navbar-cta { display: flex; gap: 12px; align-items: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 110vh;
  background: var(--gradient-hero);
  display: flex; align-items: center;
  padding-top: 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74,108,247,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,108,247,0.15); border: 1px solid rgba(74,108,247,0.35);
  border-radius: 50px; padding: 8px 18px; font-size: 0.85rem; font-weight: 600;
  color: #a5b4fc; margin-bottom: 24px;
}
.hero-badge span { width: 8px; height: 8px; background: #4a6cf7; border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 0.8rem; color: var(--text-muted); }

/* Vídeo placeholder */
.video-wrapper {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 16/9;
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-glow);
}
.video-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; cursor: pointer;
  background: linear-gradient(135deg, #141628, #1e1040);
}
.video-placeholder .play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 32px rgba(74,108,247,0.5);
  transition: var(--transition);
}
.video-placeholder:hover .play-btn { transform: scale(1.1); }
.video-placeholder p { color: var(--text-muted); font-size: 0.9rem; }
.video-embed { width: 100%; height: 100%; border: none; }

/* ── Section Headers ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(74,108,247,0.15);
  border: 1px solid rgba(74,108,247,0.3); border-radius: 50px;
  padding: 6px 18px; font-size: 0.8rem; font-weight: 600;
  color: #a5b4fc; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 16px auto 0; font-size: 1.05rem; }

/* ── Pain Section ─────────────────────────────────────────── */
.pain { background: var(--brand-darker); }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pain-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition);
}
.pain-card:hover { border-color: rgba(224,92,138,0.4); transform: translateY(-4px); }
.pain-icon { font-size: 2rem; margin-bottom: 16px; }
.pain-card h3 { font-size: 1rem; margin-bottom: 10px; color: #e05c8a; }
.pain-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Benefits ─────────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.benefit-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg); padding: 32px;
  background: var(--gradient-card);
  transition: var(--transition);
}
.benefit-card:hover { border-color: rgba(74,108,247,0.4); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.benefit-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: rgba(74,108,247,0.2); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.benefit-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.benefit-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Modules ──────────────────────────────────────────────── */
.modules { background: var(--brand-darker); }
.modules-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.module-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--radius); padding: 24px;
  transition: var(--transition);
}
.module-item:hover { border-color: rgba(74,108,247,0.35); }
.module-num {
  min-width: 44px; height: 44px; border-radius: 10px;
  background: var(--gradient-cta); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.module-info h3 { font-size: 1rem; margin-bottom: 6px; }
.module-info p { font-size: 0.85rem; color: var(--text-muted); }

/* ── Instructors ──────────────────────────────────────────── */
.instructors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.instructor-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 2px solid var(--brand-border);
  box-shadow: var(--shadow-glow);
}
.instructor-photo img { width: 100%; }
.instructor-content h2 { margin-bottom: 20px; }
.instructor-content p { color: var(--text-muted); margin-bottom: 16px; }
.instructor-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge {
  background: rgba(74,108,247,0.15); border: 1px solid rgba(74,108,247,0.3);
  border-radius: 50px; padding: 6px 16px; font-size: 0.8rem; color: #a5b4fc;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials { background: var(--brand-darker); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg); padding: 28px;
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-cta); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ── Guarantee ────────────────────────────────────────────── */
.guarantee {
  background: linear-gradient(135deg, rgba(74,108,247,0.1), rgba(224,92,138,0.08));
  border: 1px solid rgba(74,108,247,0.2);
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; gap: 32px; align-items: center;
}
.guarantee-icon { font-size: 5rem; flex-shrink: 0; }
.guarantee h2 { margin-bottom: 12px; }
.guarantee p { color: var(--text-muted); }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing { background: var(--brand-darker); }
.pricing-card {
  max-width: 560px; margin: 0 auto;
  background: var(--brand-card); border: 2px solid rgba(74,108,247,0.4);
  border-radius: var(--radius-lg); padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-cta);
}
.pricing-badge {
  display: inline-block; background: var(--gradient-cta);
  border-radius: 50px; padding: 6px 20px; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 24px;
}
.pricing-price { margin: 24px 0; }
.pricing-price .from { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }
.pricing-price .amount { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.pricing-price .period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-features { list-style: none; text-align: left; margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.pricing-features li::before { content: '✓'; color: #4ade80; font-weight: 700; flex-shrink: 0; }

/* ── Lead Form ────────────────────────────────────────────── */
.lead-section {
  background: linear-gradient(135deg, rgba(74,108,247,0.12), rgba(224,92,138,0.08));
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.lead-form-wrapper { max-width: 560px; margin: 0 auto; }
.lead-form { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-group input {
  padding: 14px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,0.06); border: 1px solid var(--brand-border);
  color: var(--text-primary); font-size: 1rem; transition: var(--transition);
}
.form-group input:focus { outline: none; border-color: var(--brand-blue); background: rgba(74,108,247,0.08); }
.form-group input::placeholder { color: var(--text-muted); }
.form-message { padding: 12px 18px; border-radius: var(--radius); font-size: 0.9rem; text-align: center; display: none; }
.form-message.success { background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; display: block; }
.form-message.error { background: rgba(248,113,113,0.15); border: 1px solid rgba(248,113,113,0.3); color: #f87171; display: block; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-question {
  width: 100%; padding: 20px 24px; background: none; border: none;
  color: var(--text-primary); font-size: 1rem; font-weight: 600;
  text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}
.faq-question:hover { color: #a5b4fc; }
.faq-question .icon { transition: var(--transition); font-size: 1.2rem; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--brand-darker); border-top: 1px solid var(--brand-border);
  padding: 48px 0 32px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.footer-brand img { width: 48px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; max-width: 280px; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; transition: var(--transition); }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { text-align: center; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--brand-border); color: var(--text-muted); font-size: 0.8rem; }

/* ── Exit Intent Popup ────────────────────────────────────── */
.popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.popup-overlay.active { opacity: 1; pointer-events: all; }
.popup-box {
  background: var(--brand-card); border: 1px solid rgba(74,108,247,0.4);
  border-radius: var(--radius-lg); padding: 40px 36px; max-width: 480px; width: 90%;
  position: relative; transform: translateY(20px); transition: transform 0.3s ease;
  box-shadow: 0 0 60px rgba(74,108,247,0.3);
}
.popup-overlay.active .popup-box { transform: translateY(0); }
.popup-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--text-muted); font-size: 1.4rem;
  cursor: pointer; transition: var(--transition);
}
.popup-close:hover { color: var(--text-primary); }
.popup-tag { color: #e05c8a; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.popup-box h3 { font-size: 1.4rem; margin-bottom: 12px; }
.popup-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.popup-perks { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.popup-perks li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.popup-perks li::before { content: '✓'; color: #4ade80; font-weight: 700; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .instructors-grid { grid-template-columns: 1fr; }
  .hero-grid .video-wrapper { order: -1; }
  .instructors-grid .instructor-photo { max-width: 400px; margin: 0 auto; }
  .guarantee { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero-ctas { flex-direction: column; }
  .btn-lg { padding: 16px 32px; font-size: 1rem; }
  .pricing-card { padding: 32px 24px; }
  .guarantee { padding: 32px 24px; }
  .navbar-logo span { display: none; }
}
