/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #0a0a0a; /* Fundo preto como o site principal */
    min-height: 100vh;
    color: white;
}

/* ===== BARRA HORIZONTAL NO TOPO ===== */
.barra-topo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

.logo-barra {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    order: 2;
}


.menu-btn {
    order: 1; 
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}


.menu-btn:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.menu-btn img {
    width: 24px;
    height: 24px;
    display: block;
}

/* ===== MENU LATERAL ===== */
.menu-lateral {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 20px 30px;
    transition: left 0.4s ease;
    z-index: 1001;
    box-shadow: 5px 0 30px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.menu-lateral.aberto {
    left: 0;
}

.menu-lateral ul {
    list-style: none;
}

.menu-lateral li {
    margin-bottom: 5px;
}

.menu-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: left;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.btn-expandir {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.seta {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-expandir.expandido .seta {
    transform: rotate(180deg);
}

.submenu-cursos {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-left: 15px;
}

.submenu-cursos.aberto {
    max-height: 500px;
    padding-top: 5px;
    padding-bottom: 10px;
}

.btn-curso {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 12px 18px;
    margin-bottom: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: left;
}

.btn-curso:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    padding-left: 25px;
}

.fechar-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fechar-menu:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: rotate(90deg);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.overlay.ativo {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO COM IMAGEM E GRADIENTE ===== */
.hero-curso {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-imagem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradiente da imagem para preto */
.hero-gradiente {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,      /* Topo: levemente escuro */
        rgba(0, 0, 0, 0.1) 30%,     /* Meio: quase transparente */
        rgba(0, 0, 0, 0.6) 60%,     /* Começa a escurecer */
        #0a0a0a 100%                 /* Fundo preto do site */
    );
}

.hero-conteudo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 30px 60px;
    text-align: center;
    z-index: 2;
}

.hero-titulo {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-subtitulo {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ===== CONTEÚDO DO CURSO ===== */
.conteudo-curso {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.lista-curso {
    list-style: none;
}

.lista-curso li {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.lista-curso li:last-child {
    border-bottom: none;
}

/* Grid de informações */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.info-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.info-valor {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Botão de matrícula */
.btn-matricula {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
    padding: 20px 40px;
    background: linear-gradient(135deg, #c9a227 0%, #e8d179 100%);
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-matricula:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .hero-curso {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-titulo {
        font-size: 2rem;
    }
    
    .hero-subtitulo {
        font-size: 1rem;
    }
    
    .hero-conteudo {
        padding: 0 20px 40px;
    }
    
    .conteudo-curso {
        padding: 40px 20px;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-lateral {
        width: 280px;
        left: -300px;
    }
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 998;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    /* ... (mantenha o que já tem) ... */
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float img {
        width: 24px;
        height: 24px;
    }
}