/* ============================================================
   BLOC TEXTE + VIDÉO
   ============================================================ */

.bloc-texte-video-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bloc-texte-video-visual {
    overflow: hidden;
}

/* Vidéo responsive 16:9 pour les iframes (YouTube, Vimeo) */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-facade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none !important;
    cursor: pointer;
    background: none !important;
}

.video-facade-poster {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 52px;
    border-radius: 12px;
    background: #f10207;
    color: var(--color-white);
    transition: transform 0.2s ease;
}

.video-facade:hover .video-facade-play,
.video-facade:focus-visible .video-facade-play {
    transform: translate(-50%, -50%) scale(1.08);
}

/* Vidéo auto-hébergée */
.video-hebergee {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .bloc-texte-video .bloc-texte-video-content,
    .bloc-texte-video .bloc-texte-video-visual {
        order: unset !important;
    }
}