/* =========================================
   2. LANDING PAGE STYLES (DETALHADO)
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.9);
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    color: #64748b;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
    position: relative;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary);
}

.lp-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

/* --- HERO (Topo) --- */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(0, 94, 184, 0.8) 100%), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0 140px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.alert-badge {
    background-color: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

/* --- CERTIFICAÇÃO (INBODY) --- */
.cert-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cert-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 20px;
}

.cert-content p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 30px;
}

.cert-card-display {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cert-card-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
}

.benefit-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- BLOCOS INFORMATIVOS (Ergonomia e Fisioterapia) --- */
.info-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 0;
}

.info-block.reverse {
    flex-direction: row-reverse;
}

.info-text {
    flex: 1;
}

.info-media {
    flex: 1;
    height: 480px;
    background: var(--bg-body);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.info-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

.info-block:hover .info-media img {
    transform: scale(1.05);
}

.info-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.info-desc {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 32px;
}

.bg-dark-section {
    background: var(--sidebar-bg);
    color: white;
}

.bg-dark-section .info-title {
    color: white;
}

.bg-dark-section .info-desc {
    color: #94a3b8;
}

/* --- ALERTA NR-01 (Impacto) --- */
.impact-section {
    background: #fff1f2;
    border-bottom: 1px solid #fda4af;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.impact-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border-left: 6px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.impact-card h3 {
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

/* --- CATÁLOGO DE CURSOS (Grid Netflix) --- */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.course-card-lg {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.course-card-lg:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-image-lg {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.course-content-lg {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.course-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.course-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.tag-obrigatorio { background: #ffebee; color: var(--accent); }
.tag-gestao { background: #e0f2fe; color: var(--primary); }
.tag-saude { background: #dcfce7; color: var(--success); }
.tag-tecnico { background: #f3e8ff; color: var(--purple); }
.tag-social { background: #fff7ed; color: var(--warning); }

/* --- RODAPÉ --- */
footer {
    background: var(--sidebar-bg);
    color: #94a3b8;
    padding: 80px 0 40px;
    border-top: 4px solid var(--primary);
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* --- MOBILE MENU & TOGGLE --- */
.lp-mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--brand-dark);
    cursor: pointer;
    z-index: 1002;
}

.lp-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.lp-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.lp-mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
}

/* --- RESPONSIVIDADE (Telas Menores) --- */
@media (max-width: 992px) {
    .nav-links,
    .header-action {
        display: none !important;
    }

    .lp-mobile-toggle {
        display: block !important;
        font-size: 1.8rem;
    }

    .info-block,
    .info-block.reverse,
    .cert-grid {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .info-media {
        width: 100%;
        height: 320px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px !important;
    }

    .footer-col img {
        margin: 0 auto 25px auto !important;
    }

    .footer-col h4 {
        border-left: none !important;
        border-bottom: 2px solid var(--primary);
        display: inline-block;
        padding-left: 0 !important;
        padding-bottom: 10px;
        margin-bottom: 25px !important;
    }

    .footer-col div[style*="display: flex"],
    .footer-col ul li[style*="display: flex"] {
        justify-content: center !important;
    }

    footer div[style*="border-top"] {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}