/* ========================================
   CROWN - Estudo Financeiro Bíblico
   Paleta: Azul Escuro + Branco + Dourado
======================================== */

/* ===== VARIABLES ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f6f8fc;
    --bg-tertiary: #eef3fb;
    --bg-card: #ffffff;
    --bg-glass: rgba(10, 30, 70, 0.06);
    --bg-soft: rgba(15, 42, 92, 0.04);
    --bg-soft-gold: rgba(200, 153, 60, 0.08);
    --blue: #0f2a5c;
    --blue-light: #1a3d7a;
    --blue-dark: #091b3d;
    --gold: #c8993c;
    --gold-light: #dbb05a;
    --gold-dark: #a67c2e;
    --gold-glow: rgba(200, 153, 60, 0.18);
    --white: #ffffff;
    --text: #0f2a5c;
    --text-secondary: #4a5e7a;
    --text-muted: #8a97ab;
    --border: rgba(10, 30, 70, 0.1);
    --border-gold: rgba(200, 153, 60, 0.3);
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --info: #2563eb;
    --whatsapp: #25D366;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(10, 30, 70, 0.08);
    --shadow-soft: 0 14px 40px rgba(10, 30, 70, 0.07);
    --shadow-gold: 0 4px 20px rgba(200, 153, 60, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(200, 153, 60, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hero has dark blue background */
#hero {
    background: linear-gradient(170deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
    color: #fff;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.14), transparent 34%),
        radial-gradient(circle at 84% 16%, rgba(219, 176, 90, 0.18), transparent 28%),
        radial-gradient(circle at 50% 62%, rgba(96, 165, 250, 0.12), transparent 40%);
    opacity: 0.95;
    pointer-events: none;
    z-index: 0;
}

#hero > * {
    position: relative;
    z-index: 1;
}

#hero .hero-sub, #hero .hero-desc { color: rgba(255,255,255,0.8); }
#hero .hero-desc strong { color: var(--gold-light); }
#hero .hero-badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.75); }
#hero .hero-info-item { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
#hero .hero-info-item i { color: var(--gold-light); }
#hero .countdown-box { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
#hero .countdown-box span { color: var(--gold-light); }
#hero .countdown-box small { color: rgba(255,255,255,0.5); }
#hero .countdown-label { color: rgba(255,255,255,0.45); }
#hero .hero-spots { background: rgba(255,100,100,0.12); border-color: rgba(255,100,100,0.3); color: #fca5a5; }
#hero .scroll-indicator { color: rgba(255,255,255,0.35); }
#hero .btn-outline { border-color: rgba(255,255,255,0.25); color: #fff; }
#hero .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-light); color: var(--gold-light); }

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#loading-screen { background: var(--blue-dark); }
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader { text-align: center; }

.loader-coin {
    font-size: 3rem;
    color: var(--gold);
    animation: coinSpin 1.2s ease-in-out infinite;
}

.loader p {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes coinSpin {
    0%, 100% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.1); }
}

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

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Navbar on hero (white text) */
#navbar:not(.scrolled) .nav-menu a { color: rgba(255,255,255,0.75); }
#navbar:not(.scrolled) .nav-menu a:hover { color: #fff; background: rgba(255,255,255,0.1); }
#navbar:not(.scrolled) .nav-toggle span { background: #fff; }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold) !important;
}

.nav-logo i { font-size: 1.6rem; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover { color: var(--blue); background: var(--bg-glass); }

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    color: var(--bg-primary) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== SECTIONS ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-dark {
    background:
        linear-gradient(180deg, rgba(15, 42, 92, 0.03) 0%, rgba(200, 153, 60, 0.06) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212, 168, 83, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text);
}

.text-gold { color: var(--gold); }

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-note {
    display: block;
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* ===== HERO ===== */
#hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
}

.hero-content {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding-inline: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-family: var(--font-heading);
    margin-bottom: 24px;
}

.hero-sub {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 8px;
    opacity: 0.85;
}

.hero-main {
    display: block;
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -2px;
    filter: drop-shadow(0 4px 12px var(--gold-glow));
}

.hero-desc {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.hero-desc strong { color: var(--gold); }

.hero-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.hero-info-item i { color: var(--gold); font-size: 0.95rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-urgency {
    width: min(720px, 100%);
    margin: 0 auto 30px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(4, 12, 32, 0.2);
}

.hero-urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--white);
}

.hero-urgency-badge i {
    color: var(--gold-light);
    animation: urgencyFlash 1.8s ease-in-out infinite;
}

.hero-urgency-note {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.6;
}

.hero-registration-note {
    margin-top: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    line-height: 1.5;
}

.hero-urgency.is-warning {
    border-color: rgba(245, 158, 11, 0.34);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(255, 255, 255, 0.06));
}

.hero-urgency.is-critical {
    border-color: rgba(248, 113, 113, 0.42);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(255, 255, 255, 0.05));
    box-shadow: 0 20px 52px rgba(127, 29, 29, 0.28);
}

.hero-urgency.is-soldout {
    border-color: rgba(248, 113, 113, 0.46);
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.45), rgba(255, 255, 255, 0.04));
}

/* Countdown */
.countdown { margin-top: 12px; }

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-boxes {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    min-width: 68px;
}

.countdown-box span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.countdown-box small {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Spots */
.hero-spots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 12px 24px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 50px;
    color: #fca5a5;
    font-size: 0.9rem;
    box-shadow: 0 14px 34px rgba(127, 29, 29, 0.16);
    animation: pulse 2s ease-in-out infinite;
}

.hero-spots i { color: var(--danger); }

.hero-spots.is-warning {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.34);
    color: #fde68a;
}

.hero-spots.is-critical {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(248, 113, 113, 0.45);
    color: #fecaca;
    box-shadow: 0 16px 36px rgba(127, 29, 29, 0.28);
    animation-duration: 1.35s;
}

.hero-spots.is-soldout {
    background: rgba(127, 29, 29, 0.45);
    border-color: rgba(252, 165, 165, 0.4);
    color: #fee2e2;
    box-shadow: 0 18px 42px rgba(69, 10, 10, 0.36);
}

@keyframes urgencyFlash {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.14); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-spots,
    .hero-urgency-badge i,
    .scroll-indicator,
    .loader-coin {
        animation: none;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s ease-in-out infinite;
    color: var(--text-muted);
    font-size: 1.2rem;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-body);
    text-align: center;
    justify-content: center;
    line-height: 1.4;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--bg-primary);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    color: var(--blue);
    box-shadow: var(--shadow);
}

.btn-outline:hover {
    background: var(--bg-soft);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #16a34a);
    color: #fff;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff !important;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.about-text strong { color: var(--gold); }

blockquote {
    position: relative;
    padding: 24px 24px 24px 28px;
    background: rgba(212, 168, 83, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 24px;
}

blockquote i {
    position: absolute;
    top: 16px; left: 10px;
    color: var(--gold);
    opacity: 0.4;
    font-size: 0.75rem;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* 3D Cards */
.card-3d { perspective: 800px; }

.card-3d-inner {
    padding: 28px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    box-shadow: var(--shadow);
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(-5deg) rotateX(5deg) translateZ(10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--border-gold);
}

.card-3d-icon {
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
    font-size: 1.2rem;
}

.card-3d-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text);
}

.card-3d-inner p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ===== STATISTICS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-color: var(--border-gold);
}

.stat-card:hover::before { opacity: 1; }

.stat-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 14px; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.alert-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--radius);
}

.alert-card > i { font-size: 1.6rem; color: var(--warning); flex-shrink: 0; margin-top: 2px; }
.alert-card h4 { color: var(--warning); margin-bottom: 6px; font-size: 1.05rem; }
.alert-card p { color: var(--text-secondary); font-size: 0.92rem; }

/* ===== LEARN GRID ===== */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.learn-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.learn-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.learn-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-color: var(--border-gold);
}

.learn-card:hover::after { transform: scaleX(1); }

.learn-card-icon {
    width: 54px; height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.learn-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text);
}

.learn-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== TIMELINE ===== */
.timeline {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark), transparent);
}

.timeline-item {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
    position: relative;
}

.timeline-icon {
    width: 80px; height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.4rem;
    z-index: 1;
    box-shadow: 0 0 16px var(--gold-glow);
}

.timeline-content {
    flex: 1;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.timeline-content:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 6px;
}

.timeline-content p { font-size: 0.88rem; color: var(--text-secondary); }

.course-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.detail-item i { font-size: 1.2rem; color: var(--gold); width: 32px; text-align: center; }
.detail-item strong { display: block; font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.detail-item span { font-size: 0.88rem; color: var(--text-secondary); }

/* ===== TEACHERS ===== */
.teachers-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.teachers-photo-wrapper { display: flex; justify-content: center; }

.teachers-photo-frame {
    width: 100%; max-width: 400px;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 0 24px var(--gold-glow);
}

.teachers-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.photo-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    color: var(--gold);
}

.photo-placeholder i { font-size: 3.5rem; margin-bottom: 10px; }
.photo-placeholder p { font-family: var(--font-heading); font-size: 1.1rem; }

.teachers-info h3 { font-family: var(--font-heading); font-size: 1.7rem; margin-bottom: 8px; color: var(--text); }
.teachers-role { color: var(--gold); font-weight: 500; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.teachers-info p { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.7; font-size: 0.95rem; }

.teachers-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(212, 168, 83, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--gold);
}

/* =========================================================
   FORM SECTION - Professional Overhaul
========================================================= */

.spots-bar {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.spots-bar-inner {
    width: 100%; height: 6px;
    background: rgba(15, 42, 92, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.spots-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--success));
    border-radius: 10px;
    transition: width 0.6s ease;
    width: 0%;
}

.spots-info { font-size: 0.82rem; color: var(--text-muted); }

.spots-meta {
    display: inline-block;
    margin-left: 8px;
    color: var(--warning);
    font-weight: 600;
}

.spots-warning {
    margin-top: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--warning);
}

.form-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

/* Form Steps */
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 36px;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 20px; left: 50px; right: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 42, 92, 0.08), rgba(200, 153, 60, 0.18), rgba(15, 42, 92, 0.08));
}

.form-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(15, 42, 92, 0.12);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(10, 30, 70, 0.05);
}

.form-step.active .step-circle,
.form-step.completed .step-circle {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: var(--gold);
    color: var(--bg-primary);
}

.form-step span { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; transition: var(--transition); }
.form-step.active span, .form-step.completed span { color: var(--gold); }

/* Form Panels */
.form-panel { display: none; animation: fadeInUp 0.4s ease; }
.form-panel.active { display: block; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.form-panel h3 i { color: var(--gold); }

.form-subtitle { color: var(--text-secondary); margin-bottom: 28px; font-size: 0.88rem; }

/* Form Inputs */
.form-group { margin-bottom: 20px; }

.form-group > label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 7px;
}

.required { color: var(--danger); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-secondary);
    border: 1px solid rgba(15, 42, 92, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.92rem;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
    background: var(--bg-card);
}

.form-group input.error,
.form-group select.error { border-color: var(--danger); }

.form-group input::placeholder { color: var(--text-muted); }

.form-group select option { background: var(--bg-card); color: var(--text); }

.error-msg { display: block; font-size: 0.78rem; color: var(--danger); margin-top: 4px; min-height: 0; }

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

/* ===== RADIO CARDS (Individual / Casal) ===== */
.radio-group { display: flex; gap: 16px; }

.radio-card { flex: 1; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }

.radio-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px;
    background: var(--bg-secondary);
    border: 2px solid rgba(15, 42, 92, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
}

.radio-card input:checked + .radio-card-inner {
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.08);
    box-shadow: 0 0 16px var(--gold-glow);
}

.radio-card-inner i { font-size: 1.8rem; color: var(--text-muted); transition: var(--transition); }
.radio-card input:checked + .radio-card-inner i { color: var(--gold); }
.radio-card-inner span { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.radio-card-inner small { font-size: 0.76rem; color: var(--text-secondary); line-height: 1.45; }

/* ===== RADIO INLINE (Sim/Não rateio) ===== */
.radio-group-inline { display: flex; flex-direction: column; gap: 10px; }

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition);
}

.radio-label:hover { background: var(--bg-soft); }

.radio-label input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.radio-custom {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(15, 42, 92, 0.2);
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.radio-label input:checked ~ .radio-custom { border-color: var(--gold); }

.radio-label input:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gold);
}

/* ===== CHECKBOXES - Universal Fix ===== */
/* Hide ALL native checkboxes inside our custom labels */
.checkbox-label input[type="checkbox"],
.rule-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Custom checkmark box */
.checkmark {
    width: 22px; height: 22px;
    min-width: 22px; min-height: 22px;
    border-radius: 5px;
    border: 2px solid rgba(15, 42, 92, 0.2);
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
}

/* Checked state - works for both .checkbox-label and .rule-item */
.checkbox-label input:checked + .checkmark,
.rule-item input:checked + .checkmark {
    background: var(--gold);
    border-color: var(--gold);
}

.checkbox-label input:checked + .checkmark::after,
.rule-item input:checked + .checkmark::after {
    content: '';
    width: 6px; height: 11px;
    border: solid var(--bg-primary);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Checkbox label layout */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Highlight checkbox (Líder em Treinamento) */
.highlight-checkbox {
    padding: 16px;
    background: rgba(212, 168, 83, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.highlight-checkbox:hover { background: rgba(212, 168, 83, 0.08); }

.highlight-checkbox div strong {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.highlight-checkbox div small { color: var(--text-muted); font-size: 0.78rem; }

/* ===== RULES LIST ===== */
.rules-list { display: flex; flex-direction: column; gap: 8px; }

.rule-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid rgba(15, 42, 92, 0.08);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.rule-item:hover {
    border-color: var(--border-gold);
    background: rgba(212, 168, 83, 0.04);
}

.rule-item input:checked ~ div { color: var(--text); }

.rule-item div {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
    flex: 1;
}

.rule-item div > i {
    color: var(--gold);
    flex-shrink: 0;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

/* Alert */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 0.86rem;
    line-height: 1.5;
}

.alert-info {
    background: rgba(96, 165, 250, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.15);
}

.alert-info > i { color: var(--info); flex-shrink: 0; margin-top: 2px; }
.alert-info p { color: var(--text-secondary); }

/* Form Navigation */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 42, 92, 0.08);
}

/* Summary Card */
.summary-card {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid rgba(15, 42, 92, 0.08);
    border-radius: var(--radius-sm);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(15, 42, 92, 0.08);
    font-size: 0.88rem;
}

.summary-item:last-child { border-bottom: none; }
.summary-item .label { color: var(--text-muted); font-weight: 500; }
.summary-item .value { color: var(--text); font-weight: 600; text-align: right; }

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed; inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    animation: scaleIn 0.3s ease;
    box-shadow: var(--shadow-soft);
}

@keyframes scaleIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icon {
    width: 76px; height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2.2rem;
}

.modal-icon.success { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.modal-icon.waitlist { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.modal-icon.payment { background: rgba(212, 168, 83, 0.12); color: var(--gold); }

.modal-content h2 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 14px; color: var(--text); }
.modal-content p { color: var(--text-secondary); margin-bottom: 22px; line-height: 1.6; font-size: 0.92rem; }
.modal-content .btn { margin: 6px; }

.payment-modal {
    max-width: 620px;
    text-align: left;
}

.payment-modal h2,
.payment-modal .payment-intro {
    text-align: center;
}

.payment-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.payment-meta-item {
    padding: 14px;
    border: 1px solid rgba(15, 42, 92, 0.08);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
}

.payment-meta-item span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.payment-meta-item strong {
    color: var(--text);
    font-size: 0.95rem;
}

.payment-qr-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(15, 42, 92, 0.08);
}

.payment-qr-box img {
    width: min(100%, 280px);
    aspect-ratio: 1;
    object-fit: contain;
}

.payment-copy-area label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 600;
}

.payment-copy-area textarea {
    width: 100%;
    min-height: 110px;
    resize: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 42, 92, 0.12);
    background: var(--bg-secondary);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
    margin-bottom: 12px;
}

.payment-status-message {
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--text-secondary);
}

.payment-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    margin-bottom: 10px;
    border: 1px solid rgba(15, 42, 92, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.faq-item.open { border-color: var(--border-gold); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover { background: rgba(212, 168, 83, 0.04); }

.faq-question i { color: var(--gold); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }
.faq-answer p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }

/* ===== FOOTER ===== */
#footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
    border-top: 1px solid var(--border);
    padding: 52px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-brand p { color: var(--text-secondary); font-size: 0.85rem; }

.footer-contact h4, .footer-links h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 14px;
}

.footer-contact a, .footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-contact a:hover, .footer-links a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(15, 42, 92, 0.08);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-verse { margin-top: 6px; font-style: italic; color: var(--gold-dark) !important; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 999;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--whatsapp);
    border-radius: 50%;
    color: #fff !important;
    font-size: 1.7rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }

/* ===== ADMIN ===== */
.admin-overlay {
    position: fixed; inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 40px 24px;
}

.admin-content {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

.admin-content h2 {
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
#admin-table-wrapper { overflow-x: auto; margin-bottom: 20px; }
#admin-table-wrapper table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
#admin-table-wrapper th { background: rgba(212, 168, 83, 0.08); color: var(--gold); padding: 10px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--border-gold); white-space: nowrap; }
#admin-table-wrapper td { padding: 9px 10px; border-bottom: 1px solid rgba(15, 42, 92, 0.08); color: var(--text-secondary); }
#admin-table-wrapper tr:hover td { background: rgba(15, 42, 92, 0.03); }
.admin-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .learn-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 80px 24px 24px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        box-shadow: -18px 0 40px rgba(10, 30, 70, 0.12);
        gap: 0;
    }
    .nav-menu.open { right: 0; }
    .nav-menu a { display: block; padding: 14px 16px; font-size: 1rem; }
    #navbar:not(.scrolled) .nav-menu a { color: var(--text); }
    #navbar:not(.scrolled) .nav-menu a:hover { color: var(--blue); background: var(--bg-soft); }
    .nav-toggle { display: flex; }

    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-cards { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .learn-grid { grid-template-columns: 1fr; }

    .timeline::before { left: 20px; }
    .timeline-icon { width: 40px; height: 40px; font-size: 0.85rem; }
    .course-details { grid-template-columns: 1fr; }

    .teachers-card { grid-template-columns: 1fr; padding: 24px; text-align: center; }
    .teachers-role { justify-content: center; }
    .teachers-badges { justify-content: center; }

    .form-wrapper { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .form-steps span { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-main { letter-spacing: -1px; }
    .hero-urgency { padding: 16px 18px; margin-bottom: 24px; }
    .hero-urgency-badge { font-size: 0.92rem; }
    .hero-urgency-note { font-size: 0.85rem; }
    .countdown-boxes { gap: 8px; }
    .countdown-box { padding: 8px 12px; min-width: 54px; }
    .countdown-box span { font-size: 1.3rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .modal-content { padding: 28px 20px; }
    .payment-modal { padding: 28px 20px; }
    .payment-meta { grid-template-columns: 1fr; }
    .payment-actions .btn { width: 100%; }
    #admin-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .about-cards { grid-template-columns: 1fr; }
    .radio-group { flex-direction: column; }
    .hero-info { flex-direction: column; align-items: center; }
}
