
html {
  scroll-behavior: smooth;
}

section[id], div[id] {
  scroll-margin-top: 95px;
}
/* pricing.css - Landing Page e Checkout do Lean-Six-Sigma-Game */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Fredoka', sans-serif;
  --font-arcade: 'Fredoka', cursive, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --bg-dark: #0a081a;
  --bg-surface: #130f2e;
  --bg-card: rgba(23, 19, 56, 0.82);
  --bg-card-highlight: rgba(36, 30, 84, 0.95);

  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --accent-primary: #3b82f6;
  --accent-secondary: #f59e0b;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(99, 102, 241, 0.45);
  --border-gold: rgba(245, 158, 11, 0.6);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.25);
  --shadow-gold: 0 0 35px rgba(245, 158, 11, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container Global */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Barra de Navegação */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 8, 26, 0.75);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.btn-game-return {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-game-return:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 70px 0 40px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 10%, #a78bfa 50%, #f472b6 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* BENEFÍCIOS RÁPIDOS */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 50px 0 70px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: inline-block;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* TOGGLE MENSAL / ANUAL */
.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.billing-switch-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-top: 14px;
}

.billing-opt {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s;
}

.billing-opt.active {
  color: #fff;
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: .3s;
  border-radius: 28px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.discount-badge {
  background: #10b981;
  color: #064e3b;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* CARDS DE PREÇOS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;
  margin-bottom: 70px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

/* Card Destacado (Instrutor Pro) */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(39, 32, 92, 0.95) 0%, rgba(20, 16, 50, 0.98) 100%);
  border: 2px solid var(--accent-secondary);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
}

.featured-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 44px;
}

.price-wrapper {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.price-cycle {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.features-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.check-icon {
  color: #10b981;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

/* BOTÕES DE CHECKOUT STRIPE */
.btn-stripe-checkout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary-stripe {
  background: linear-gradient(135deg, #f59e0b, #eab308);
  color: #18181b;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-primary-stripe:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

.btn-secondary-stripe {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-secondary-stripe:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.stripe-security-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* SEÇÃO DE FORMULÁRIO DE INSCRIÇÃO / PRÉ-CADASTRO */
.signup-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 70px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.signup-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

.signup-desc {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(10, 8, 26, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* GARANTIA */
.guarantee-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 70px;
}

.guarantee-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.guarantee-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 4px;
}

.guarantee-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ ACCORDION */
.faq-section {
  max-width: 800px;
  margin: 0 auto 80px;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 36px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.2s ease;
  font-size: 1.1rem;
}

/* MODAL CONFIG STRIPE */
.admin-config-bar {
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 12px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.btn-open-stripe-cfg {
  background: transparent;
  border: none;
  color: var(--accent-primary);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  margin-left: 8px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .signup-section {
    padding: 24px 18px;
  }
}
