/* ============================================================
   DROPLY — Design System & Styles
   ============================================================ */

:root {
  --primary:          #22C55E;
  --primary-dark:     #16A34A;
  --primary-glow:     rgba(34, 197, 94, 0.35);
  --accent:           #4ADE80;
  --accent-glow:      rgba(74, 222, 128, 0.15);
  --bg-base:          #080B14;
  --bg-surface:       #0F1424;
  --bg-elevated:      #101828;
  --border:           #1A2E22;
  --border-accent:    rgba(34, 197, 94, 0.4);
  --text-primary:     #F0FFF4;
  --text-body:        #94A3B8;
  --text-muted:       #475569;
  --success:          #22C55E;
  --warning:          #F59E0B;
  --danger:           #EF4444;
  --font-display:     'Sora', sans-serif;
  --font-body:        'Inter', sans-serif;
  --text-xs:          0.75rem;
  --text-sm:          0.875rem;
  --text-base:        1rem;
  --text-lg:          1.125rem;
  --text-xl:          1.25rem;
  --text-2xl:         1.5rem;
  --text-3xl:         1.875rem;
  --text-4xl:         2.25rem;
  --text-5xl:         3rem;
  --text-hero:        clamp(2.25rem, 5vw, 3.75rem);
  --spacing-section:  96px;
  --container-max:    1400px;
  --container-pad:    24px;
  --radius-sm:        8px;
  --radius-md:        12px;
  --radius-lg:        16px;
  --radius-xl:        20px;
  --radius-full:      9999px;
  --shadow-primary:   0 8px 28px rgba(34, 197, 94, 0.35);
  --shadow-premium:   0 24px 64px rgba(34, 197, 94, 0.2);
  --shadow-glow:      0 0 0 1px rgba(74, 222, 128, 0.15);
  --transition-fast:  150ms ease;
  --transition-base:  250ms ease;
  --z-navbar:         100;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background-color: var(--bg-base);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

section { width: 100%; padding: var(--spacing-section) 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: stretch;
}

.grid-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 400px));
  gap: 24px;
  justify-content: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
}

h2 { font-size: var(--text-4xl); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: var(--text-xl); font-weight: 600; }
p { font-size: var(--text-base); color: var(--text-body); line-height: 1.7; }

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
}

strong { color: var(--text-primary); font-weight: 800; }

/* ============================================================
   BACKGROUNDS
   ============================================================ */

.bg-hero {
  position: relative;
  background-color: var(--bg-base);
  overflow: hidden;
}

.bg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.13) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.bg-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 800px;
  height: 700px;
  background: radial-gradient(ellipse at 60% 40%,
    rgba(34, 197, 94, 0.2) 0%,
    rgba(74, 222, 128, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.bg-hero .container { position: relative; z-index: 1; }

.hero__spotlight {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at 40% 50%,
    rgba(34, 197, 94, 0.15) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.4;
  margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-navbar);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 250px;
  background: rgba(8, 11, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 1px 0 0 rgba(34, 197, 94, 0.08), 0 4px 24px rgba(0,0,0,0.4);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.navbar.scrolled {
  background: rgba(8, 11, 20, 0.95);
  border-bottom-color: rgba(34, 197, 94, 0.35);
}

.navbar__logo { flex: 1; }
.navbar__links { flex: 2; display: flex; align-items: center; justify-content: center; gap: 40px; }
.navbar__links a { font-size: 22px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-body); transition: color var(--transition-fast); }
.navbar__links a:hover { color: var(--text-primary); }
.navbar__cta { flex: 1; display: flex; align-items: center; justify-content: flex-end; }

/* ============================================================
   ANIMAÇÕES
   ============================================================ */

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes shimmer {
  0%   { left: -100%; opacity: 0; }
  20%  { opacity: 1; }
  100% { left: 200%; opacity: 0; }
}
/* ============================================================
   BOTÕES
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8em 3em;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(160deg, #86EFAC 0%, #22C55E 30%, #15803D 60%, #166534 80%, #22C55E 100%);
  border: 1.5px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
  outline: 2px solid rgba(34, 197, 94, 0.5);
  outline-offset: 6px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), outline-color var(--transition-fast), outline-offset var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  outline-color: rgba(34, 197, 94, 0.9);
  outline-offset: 4px;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out infinite;
  z-index: 2;
}

.btn-primary span { position: relative; z-index: 1; }

.btn-navbar {
  padding: 16px 40px;
  font-size: 1rem;
  outline-offset: 4px;
}
.btn-navbar:hover { outline-offset: 2px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8em 3em;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-body);
  background: transparent;
  border: none;
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 6px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-fast), outline-color var(--transition-fast);
}

.btn-secondary:hover { color: var(--text-primary); }

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.08);
  transition: left 0.4s ease;
  z-index: 0;
}
.btn-secondary:hover::before { left: 0; }
.btn-secondary span { position: relative; z-index: 1; }

.btn-full {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  outline: none;
}

/* ============================================================
   HERO — DUAS COLUNAS
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 0;
  position: relative;
  overflow: hidden;
}

/* Grid de duas colunas */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

/* Coluna esquerda */
.hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.hero__title {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-align: left;
}

.hero__title--gradient {
  display: block;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 480px;
  margin-top: -16px;
}

.hero__cta-group {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

/* Coluna direita */
.hero__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 40px 120px rgba(34, 197, 94, 0.12), 0 0 0 1px rgba(34, 197, 94, 0.1);
  width: 100%;
  max-width: 680px;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}

/* Logos — faixa full-width abaixo das colunas */
.hero__logos {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.hero__logos-track {
  display: flex;
  gap: 80px;
  align-items: center;
  animation: marquee 25s linear infinite;
  width: max-content;
  white-space: nowrap;
}

.hero__logos img {
  height: 36px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1) brightness(2);
  transition: opacity var(--transition-base), filter var(--transition-base);
  flex-shrink: 0;
}

.hero__logos img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

/* ============================================================
   FAIXA E CURSOS
   ============================================================ */

.faixas-banner { width: 100%; overflow: hidden; }
.faixas-banner img { width: 100%; display: block; opacity: 0.7; }

.courses-section { background: var(--bg-surface); }

.courses-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  padding: 8px 0 16px;
  width: 100%;
}

.courses-track-inner {
  display: flex;
  gap: 24px;
  animation: marquee-courses 30s linear infinite;
  width: max-content;
}

@keyframes marquee-courses {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.courses-track::-webkit-scrollbar { display: none; }

.course-card {
  min-width: 280px;
  max-width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.course-card img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  display: block;
}

/* ============================================================
   ETAPAS
   ============================================================ */

.steps-section { text-align: center; padding: 120px 0; }

.step-card {
  background: rgba(15, 20, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15), 0 0 0 1px rgba(34, 197, 94, 0.3);
}

.step-card__number {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.step-card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.step-card p { font-size: 1.0625rem; line-height: 1.8; }

/* ============================================================
   PRICING
   ============================================================ */

.pricing-card {
  border-radius: 32px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.08);
}

.pricing-card__header { text-align: center; }

.pricing-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-card__subtitle {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pricing-card__features li:last-child { border-bottom: none; }

.pricing-card__features li svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.pricing-card__price-block { text-align: center; }

.pricing-card__price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  opacity: 0.5;
  filter: grayscale(1) brightness(2);
}

.pricing-card__payments img { height: 20px; width: auto; }

.pricing-card--premium {
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   STATS
   ============================================================ */

.stats-section { padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.stat-label { font-size: var(--text-sm); color: var(--text-body); font-weight: 500; }

/* ============================================================
   FAQ
   ============================================================ */

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  gap: 16px;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question svg { width: 20px; height: 20px; color: var(--primary); transition: transform var(--transition-base); flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-top: 16px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials-section { overflow: hidden; }

/* ============================================================
   CTA FINAL
   ============================================================ */

.cta-final {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(34, 197, 94, 0.1) 0%, transparent 70%), var(--bg-surface);
  padding: 120px 24px;
}
.cta-final h2 { max-width: 640px; margin: 0 auto 16px; }
.cta-final p { max-width: 480px; margin: 0 auto 40px; }

/* ============================================================
   FOOTER
   ============================================================ */

footer { padding: 64px 0 40px; border-top: 1px solid var(--border); text-align: center; }
.footer__logo { margin-bottom: 24px; }
.footer__copy { font-size: 0.8125rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 1024px) {
  .navbar { padding: 0 40px; }
  .navbar__links { gap: 24px; }
  .hero__layout { grid-template-columns: 1fr; gap: 48px; }
  .hero__left { align-items: center; text-align: center; }
  .hero__title { text-align: center; }
  .hero__right { justify-content: center; perspective: 900px; }
}

@media (max-width: 768px) {
  :root { --spacing-section: 64px; --container-pad: 16px; }
  .navbar { padding: 0 20px; height: 72px; }
  .navbar__links { display: none; }
  .grid-3, .grid-pricing { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero { padding: 100px 0 0; }
  h2 { font-size: var(--text-3xl); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero__cta-group { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}