/* Styles pour le popup vidéo personnalisé */
.video-popup-custom {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s ease;
}

.popup-content-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 960px;
    background-color: #000;
}

.popup-content-custom .video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
}

.popup-content-custom iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.close-btn-custom {
    position: absolute;
    top: -35px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: transparent;
    border: none;
}

.close-btn-custom:hover {
    color: #ccc;
}
