/* Estilos para os pop-ups de formação */
.curso-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.curso-popup-content {
    background-color: var(--primary-color);
    margin: 10% auto;
    padding: 30px;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
    animation: popup-appear 0.3s ease;
}

@keyframes popup-appear {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.curso-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
}

.curso-popup-header h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.close-popup {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-popup:hover {
    color: var(--secondary-color);
}

.curso-popup-body {
    margin-bottom: 30px;
}

.curso-popup-section {
    margin-bottom: 25px;
}

.curso-popup-section h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.curso-popup-section ul {
    list-style-type: none;
    padding-left: 0;
}

.curso-popup-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.curso-popup-section ul li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.curso-popup-footer {
    text-align: center;
    margin-top: 30px;
}

.nivel-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 10px;
}

.nivel-badge.imersao {
    background-color: #FFD700;
    color: #000;
}

.nivel-badge.exploracao {
    background-color: #9370DB;
    color: #fff;
}

.nivel-badge.especializacao {
    background-color: #9932CC;
    color: #fff;
}

.saber-mais-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.saber-mais-btn:hover {
    background-color: #0099cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.2);
}

/* Responsividade para os pop-ups */
@media (max-width: 768px) {
    .curso-popup-content {
        width: 90%;
        margin: 20% auto;
        padding: 20px;
    }
    
    .curso-popup-header h3 {
        font-size: 1.5rem;
    }
}
