/* RochaStack Afiliados — Layout Course Academy Theme */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.course-academy-theme {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #f4f4f5;
  background-color: #0a0a0c;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --accent-purple: #7c3aed;
  --accent-gold: #fbbf24;
  --bg-dark: #0a0a0c;
  --bg-card: rgba(24, 24, 27, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-muted: #a1a1aa;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.section__title--center { text-align: center; }

/* Topbar */
.topbar { background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); padding: 12px 0; sticky: top; z-index: 50; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar__logo { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 800; color: #fff; }
.topbar__badge { font-size: 12px; font-weight: 700; color: #818cf8; background: rgba(79, 70, 229, 0.2); padding: 4px 12px; border-radius: 999px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
}

.btn--lg { padding: 18px 36px; font-size: 18px; }
.btn--block { width: 100%; }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.eyebrow--academy { color: #a78bfa; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; display: inline-block; }
.hero__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero__headline mark { background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero__subheadline { color: var(--text-muted); font-size: 18px; max-width: 720px; margin: 0 auto 24px; }
.hero__extra { color: #34d399; font-weight: 700; font-size: 14px; margin-bottom: 20px; }

/* Countdown Bar */
.countdown-bar { background: rgba(24, 24, 27, 0.8); border-y: 1px solid var(--border-color); padding: 14px 0; }
.countdown-bar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.countdown-bar__label { font-weight: 800; font-size: 14px; color: #fff; }
.countdown { display: flex; gap: 8px; }
.countdown__unit { background: rgba(255,255,255,0.06); border: 1px solid var(--border-color); border-radius: 8px; padding: 6px 12px; text-align: center; min-width: 54px; }
.countdown__unit span { display: block; font-size: 20px; font-weight: 900; color: #a78bfa; }
.countdown__unit small { font-size: 10px; color: var(--text-muted); }

/* VSL */
.vsl__frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  margin-top: 16px;
}
.vsl__frame iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }
.vsl__badge-row { text-align: center; margin-top: 12px; }
.vsl__badge { font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.08); padding: 4px 12px; border-radius: 999px; color: #d4d4d8; }

/* Grids & Cards */
.highlights__grid, .steps__grid, .personas__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }

.highlight-card, .step-card, .persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}
.highlight-card__title, .step-card__title, .persona-card__title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.highlight-card__text, .step-card__text, .persona-card__text { color: var(--text-muted); font-size: 14px; }

/* Gallery & Before-After */
.academy-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.academy-gallery__item img { border-radius: 12px; width:100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--border-color); }

.academy-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.academy-ba__card { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-color); }
.academy-ba__card img { width:100%; aspect-ratio: 1/1; object-fit: cover; }
.ba-tag { position: absolute; top:10px; left:10px; background: #3f3f46; color:#fff; font-size:11px; font-weight:800; padding:2px 8px; border-radius:4px; }
.ba-tag--after { background: var(--accent-purple); }

/* Bonus Stack */
.bonus-stack__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.bonus-card { background: rgba(124, 58, 237, 0.08); border: 1px solid rgba(124, 58, 237, 0.3); border-radius: 16px; padding: 24px; }
.bonus-card__badge { font-size: 11px; font-weight: 800; color: var(--accent-gold); display: block; margin-bottom: 8px; }
.bonus-card__name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.bonus-card__description { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.bonus-card__value { font-size: 14px; color: #a1a1aa; }
.bonus-card__value strong { color: #34d399; }

/* Offer */
.offer__inner {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.9) 0%, rgba(10, 10, 12, 1) 100%);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 24px;
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.price-box__from { color: var(--text-muted); font-size: 15px; }
.price-box__now { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 900; color: #fff; margin: 6px 0; }
.price-box__installment { color: #a78bfa; font-weight: 700; font-size: 15px; margin-bottom: 20px; }

/* Instructor */
.instructor__inner { display: flex; align-items: center; gap: 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; }
.instructor__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-purple); }
.instructor__name { font-family: 'Space Grotesk', sans-serif; font-size: 24px; color: #fff; margin-bottom: 8px; }
.instructor__bio { color: var(--text-muted); font-size: 15px; }

/* Guarantee */
.guarantee__inner { display: flex; align-items: center; gap: 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; }
.guarantee__seal { background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%); color: #fff; font-size: 28px; font-weight: 900; border-radius: 50%; min-width: 80px; height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }

/* FAQ Accordion */
.accordion { max-width: 760px; margin: 24px auto 0; }
.accordion__item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.accordion__trigger { width: 100%; background: transparent; border: none; padding: 18px 24px; color: #fff; font-weight: 700; font-size: 16px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion__panel { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); font-size: 15px; }
.accordion__item.is-open .accordion__panel { padding-bottom: 18px; }

/* Footer */
.footer { background: #050507; border-top: 1px solid var(--border-color); padding: 36px 0 90px; font-size: 13px; text-align: center; color: var(--text-muted); }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  color: #fff; text-align: center; padding: 14px; font-weight: 800;
  transform: translateY(100%); transition: transform 0.2s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

@media (max-width: 768px) {
  .hero__headline { font-size: 32px; }
  .instructor__inner, .guarantee__inner { flex-direction: column; text-align: center; }
}
