/* Desktop : hauteur fixe pour cohérence avec les autres pages */
.video-container {
    width: 100%;
    height: 70vh;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}
.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
    /* background: rgba(0,0,0,0.4); */
    /* box-shadow: 0 2px 16px rgba(0,0,0,0.2); */
}

/* Mobile : hauteur adaptée */
@media (max-width: 767.98px) {
    .video-container {
        width: 100%;
        height: 60vh;
        max-width: 100vw;
        position: relative;
        overflow: hidden;
        margin-bottom: 0;
        padding-bottom: 0;
        background: #000;
    }
    .video-container video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        object-fit: cover;
        object-position: center;
        background: #000;
    }
    .video-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.05rem;
        max-width: 90vw;
        width: auto;
        min-width: 60vw;
        padding: 14px 10px;
        /* background: rgba(0,0,0,0.45); */
        border-radius: 16px;
        /* box-shadow: 0 2px 16px rgba(0,0,0,0.18); */
        color: #fff;
        text-align: center;
        line-height: 1.4;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .video-container {
        height: 50vh;
    }
    
    .video-container video {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@media (max-width: 360px) {
    .video-container {
        height: 45vh;
    }
    
    .video-container video {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.bleu_inimex {
    color: #30619a
}