:root {
    --blue: #1b2a57;
    --orange: #e86a2a;
    --white: #ffffff;
    --dark: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.header {
    background: var(--blue);
    padding: 16px 0;
	position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}


.nav a {
    color: var(--white);
    margin-left: 20px;
    text-decoration: none;
	font-size: 18px;
    padding: 8px 0;
}

.nav a.active {
    color: var(--orange);
    font-weight: 600;
}

.nav a.active::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--orange);
    margin: 6px auto 0;
    border-radius: 2px;
}

.nav a[href="#home"].active {
    color: var(--white);
    font-weight: 500;
}

.nav a[href="#home"].active::after {
    display: none;
}


.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--blue);
    padding: 24px;
    z-index: 999;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}

.hero {
    background: linear-gradient(
        180deg,
        #1b2a57 0%,
        #22346e 100%
    );
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff; /* FORÇA CONTRASTE */
}

.hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    flex-direction: column;   /* 🔥 evita QUALQUER sobreposição */
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.btn {
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--orange);
    color: #ffffff;
    border: none;
}

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-primary:hover {
    background: #cf5c22;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.benefits {
    background: #f4f7fb; /* mais contraste que branco */
    padding: 80px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.benefits-grid {
	margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.benefit-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--blue);
}

.benefit-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
}


.courses {
    padding: 60px 0;
}

.courses h2 {
    text-align: center;
    margin-bottom: 40px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.course-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    gap: 12px;
}

.course-card p {
    margin-bottom: 16px;
    line-height: 1.5;
}

.course-card .btn {
    margin-top: 16px; /* 🔥 empurra o botão para baixo */
}


.steps {
    background: #f4f7fb; /* mais contraste que branco */
    padding: 80px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.steps-grid {
	margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

.section-title {
	margin-bottom: 56px;
	margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--orange);
    margin: 12px auto 0;
    border-radius: 3px;
}


.about {
    padding: 60px 0;
    text-align: center;
}

.cta-final {
    background: var(--orange);
    color: var(--white);
    padding: 64px 20px;
    text-align: center;
}

.cta-final h2 {
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-final .btn {
    margin-top: 24px;
}


.footer {
    background: var(--dark);
    color: var(--white);
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark);
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 20px;
}

p {
    font-size: 16px;
}

.nav a {
    font-weight: 500;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
	
	.menu-toggle {
        display: block;
    }
}

/* MOBILE MENU BASE */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: linear-gradient(
        180deg,
        #0f1f45 0%,
        #1b2a57 100%);
		backdrop-filter: blur(6px);
		

        display: flex;              /* 🔥 FALTAVA ISSO */
        flex-direction: column;
        align-items: center;
        gap: 24px;

        padding: 32px 0;

        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 1000;
		
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 900;
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .course-card {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .cta-final {
        padding: 48px 16px;
    }

    .cta-final h2 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    animation: whatsapp-pulse 2.2s infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

/* ===== MICRO ANIMAÇÕES DE ENTRADA ===== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* variação mais suave (opcional) */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }


.whatsapp-proof {
    padding: 60px 0;
    background: #ffffff;
}

.whatsapp-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.whatsapp-scroll img {
    height: 420px;
    border-radius: 12px;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* esconder scrollbar (mais clean) */
.whatsapp-scroll::-webkit-scrollbar {
    display: none;
}
.whatsapp-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.time-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 10px;
    min-width: 80px;
    text-align: center;
}

.time-box span {
    font-size: 28px;
    font-weight: bold;
    color: var(--blue);
}

.time-box small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}

/* ===== AJUSTE MOBILE CONTADOR ENCCEJA ===== */
@media (max-width: 768px) {

    .countdown {
        flex-wrap: wrap;              /* 🔥 permite quebrar linha */
        gap: 12px;
        justify-content: center;
    }

    .time-box {
        min-width: 70px;
        padding: 14px;
    }

    .time-box span {
        font-size: 22px;
    }

    .hero h1 {
        font-size: 28px;              /* 🔥 reduz título */
    }

    .hero p {
        font-size: 15px;
        padding: 0 10px;
    }

    .section-title {
        font-size: 22px;
    }
}

.no-line::after {
    display: none;
}

.countdown {
    margin-bottom: 20px;
}

#status-sub {
    margin-top: 30px;
}

.course-card {
    justify-content: flex-start;
}