/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #000000 0%, #1a1a1a 30%, #f5f5f5 70%, #ffffff 100%);
    min-height: 100vh;
    padding-bottom: 50px;
}

/* ===== MENU / NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 20px;
}

.menu-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: white;
    transform: scale(1.05);
}

.menu-btn img {
    width: 28px;
    height: 28px;
    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;
}

/* ===== CABEÇALHO ===== */
.cabecalho {
    padding-top: 80px;
    padding-bottom: 30px;
    text-align: center;
}

#titulo {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ===== CARROSSEL ===== */
.carrossel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.carrossel {
    position: relative;
    width: 100%;
    height: 500px;
}

/* ===== SLIDES ===== */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: pointer;
    pointer-events: none; /* Bloqueia cliques em slides inativos */
    z-index: 1;
}

.slide.ativo {
    opacity: 1;
    pointer-events: auto; /* Permite clique apenas no ativo */
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.slide:hover img {
    transform: scale(1.03);
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 60px 30px 50px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.3s;
    pointer-events: none;
}

.slide.ativo .slide-info {
    transform: translateY(0);
    opacity: 1;
}

.slide-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.slide:hover .slide-info h2 {
    color: #c9a227;
}

.slide-info p {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== BOTÕES DE NAVEGAÇÃO ===== */
.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.btn-nav:hover {
    background: rgba(255,255,255,0.4);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

.btn-anterior {
    left: 20px;
}

.btn-proximo {
    right: 20px;
}

/* ===== INDICADORES ===== */
.indicadores {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.ponto {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ponto:hover {
    background: rgba(255,255,255,0.7);
}

.ponto.ativo {
    background: white;
    transform: scale(1.3);
    border-color: rgba(0,0,0,0.3);
}

/* ===== 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) {
    .cabecalho {
        padding-top: 70px;
        padding-bottom: 20px;
    }
    
    #titulo {
        font-size: 1.6rem;
    }
    
    .carrossel {
        height: 350px;
    }
    
    .slide-info h2 {
        font-size: 1.3rem;
    }
    
    .slide-info p {
        font-size: 0.9rem;
    }
    
    .btn-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .menu-lateral {
        width: 260px;
        left: -280px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float img {
        width: 24px;
        height: 24px;
    }
}