/* ═══════════════════════════════════════════════════════════
   ENGLISH VIP COURSE v2 — Components
   Botões pill, cards, badges, lite-yt-embed, whatsapp float
═══════════════════════════════════════════════════════════ */

/* ─── Botões pill (estilo GeraCloud) ─────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--brand-deep);
  box-shadow: var(--shadow-glow-teal);
}
.btn-primary:hover {
  transform: translateY(-1px) scale(1.015);
  box-shadow: 0 25px 70px -20px rgba(109, 214, 197, 0.7);
}

.btn-dark {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn-dark:hover { background: var(--brand-mid); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--brand-mid);
  color: var(--brand-mid);
}

.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 16px 40px -16px rgba(37, 211, 102, 0.6);
}
.btn-wa:hover { background: var(--whatsapp-hover); transform: translateY(-1px); }

/* Botão "Ver vídeo do Luan" — fundo amarelo (hero) */
.btn-yt {
  background: #fbbf24;
  color: #1a2545;
  border: 1px solid #fbbf24;
  box-shadow: 0 12px 28px -12px rgba(251, 191, 36, 0.55);
}
.btn-yt:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -12px rgba(245, 158, 11, 0.65);
}
.btn-yt svg { fill: currentColor; }

/* Magnetic */
.magnetic { transition: transform 0.4s var(--ease-out); }

/* ─── Cards premium (estilo GeraCloud) ──────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-1);
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.card-elevated { box-shadow: var(--shadow-2); }
.card-elevated:hover { box-shadow: var(--shadow-3); }

.card-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.card-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.card-feature:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(109, 214, 197, 0.15), rgba(108, 184, 227, 0.15));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-mid);
  margin-bottom: var(--space-5);
}
.card-icon-teal { background: linear-gradient(135deg, rgba(109, 214, 197, 0.18), rgba(136, 227, 211, 0.18)); color: var(--brand-teal); }

.card-feature h3,
.card-feature h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-3);
}
.card-feature p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ─── Trust Badge inline (eyebrow com ícone) ─────────────── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-8);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-badge-light { color: rgba(255, 255, 255, 0.85); }
.trust-badge-light svg { color: var(--brand-teal); flex-shrink: 0; }
.trust-badge-dark { color: var(--text-soft); }
.trust-badge-dark svg { color: var(--brand-mid); flex-shrink: 0; }

/* ─── Inline CTA (card teal destacado) ──────────────────── */
.inline-cta {
  background:
    linear-gradient(135deg, rgba(109, 214, 197, 0.30) 0%, rgba(108, 184, 227, 0.20) 50%, rgba(61, 95, 191, 0.15) 100%);
  border: 2px solid rgba(109, 214, 197, 0.5);
  border-radius: var(--radius-3xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-glow-teal);
  position: relative;
  overflow: hidden;
}
.inline-cta-grid {
  display: grid;
  align-items: center;
  gap: var(--space-8);
  grid-template-columns: 1.4fr 1fr;
}
.inline-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.inline-cta p {
  color: var(--text-soft);
  margin-top: var(--space-3);
  font-size: 1rem;
}
.inline-cta-checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-5);
  margin-top: var(--space-5);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-deep);
}
.inline-cta-checks span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.inline-cta-checks svg { color: var(--brand-mid); }

@media (max-width: 768px) {
  .inline-cta { padding: var(--space-8); }
  .inline-cta-grid { grid-template-columns: 1fr; }
}

/* ─── Lite YouTube Embed ────────────────────────────────── */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--brand-deep);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-3);
}
.video-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.video-frame:hover img { transform: scale(1.04); }
.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.video-play::after {
  content: '';
  width: 0; height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}
.video-frame:hover .video-play { background: var(--brand-teal); transform: translate(-50%, -50%) scale(1.08); }
.video-frame.playing .video-play,
.video-frame.playing img { display: none; }
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-frame-wrapper {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  position: relative;
}
.video-frame-wrapper::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  border-radius: inherit;
}

/* ─── WhatsApp Float ────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: var(--transition);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.7);
  color: #fff;
}
.wa-float-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.5;
  z-index: -1;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}

/* ─── Scroll Progress ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--gradient-accent);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.05s linear;
}

/* ─── Marquee / pill divider (opcional) ─────────────────── */
.pill-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}
.pill-row .pill-icon {
  width: 22px; height: 22px;
  background: var(--gradient-accent);
  color: var(--brand-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}