.zoneTextePhotosTest {
    width: 100%;
    max-width: 1450px;
    margin: 40px auto 70px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    box-sizing: border-box;
    padding: 0 20px;
}

/* =========================================================
   COLONNE GAUCHE : TEXTE
   ========================================================= */

.zoneTextePhotosTest .colonneTexteTest {
    flex: 0 0 48%;
    min-width: 0;
}

.zoneTextePhotosTest .textePoetique {
    width: 100%;
    box-sizing: border-box;
}

/* Signature : petit logo + cœur sur la même ligne */
.zoneTextePhotosTest .signaturePoetique {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0 0;
}

.zoneTextePhotosTest .signaturePoetique img[src*="LogoNB3.png"] {
    width: 85px !important;
    height: auto !important;
    max-width: 85px !important;
}

.zoneTextePhotosTest .signaturePoetique img[src*="Coeur.png"] {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
}

/* Sécurité si un LogoNB3 reste ailleurs dans le texte */
.zoneTextePhotosTest .colonneTexteTest .textePoetique img[src*="LogoNB3.png"] {
    width: 85px !important;
    height: auto !important;
    max-width: 85px !important;
}


/* =========================================================
   COLONNE DROITE : GALERIES
   ========================================================= */

.zoneTextePhotosTest .colonnePhotosTest {
    flex: 0 0 48%;
    min-width: 0;
}

.zoneTextePhotosTest .groupePhotosTest {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    margin: 0 auto 35px;
}

/* Cartes */
.zoneTextePhotosTest .groupePhotosTest .photo-video {
    width: 160px !important;
    max-width: 160px !important;
    margin: 0 !important;
    vertical-align: top;
}

/* Photo principale uniquement */
.zoneTextePhotosTest .groupePhotosTest .photo-video > a > img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Légendes */
.zoneTextePhotosTest .groupePhotosTest .photo-video .legende {
    box-sizing: border-box;
    max-width: calc(100% - 8px);
    margin: 7px auto 9px;
    padding: 6px 8px;
    gap: 4px;
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
}

/* Drapeaux et petits cœurs dans les légendes */
.zoneTextePhotosTest .groupePhotosTest .photo-video .legende img {
    width: auto !important;
    height: 15px !important;
    max-width: none !important;
}


/* =========================================================
   HOMMAGE BJÖRN / TADZIO
   ========================================================= */

.zoneTextePhotosTest .hommageBjornTest {
    width: 100%;
    margin: 12px auto 24px;
    text-align: center;
    color: #f0d8ff;
    font-family: 'Dancing Script', cursive;
    font-size: 22px;
    line-height: 1.4;
    text-shadow:
        0 0 3px #000,
        0 0 6px #000,
        0 0 10px #000;
}

.zoneTextePhotosTest .hommageBjornTest p {
    margin: 5px 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .zoneTextePhotosTest {
        gap: 24px;
    }

    .zoneTextePhotosTest .colonneTexteTest,
    .zoneTextePhotosTest .colonnePhotosTest {
        flex-basis: 48%;
    }

    .zoneTextePhotosTest .groupePhotosTest .photo-video {
        width: 150px !important;
        max-width: 150px !important;
    }
}

@media (max-width: 950px) {
    .zoneTextePhotosTest {
        flex-direction: column;
        justify-content: center;
    }

    .zoneTextePhotosTest .colonneTexteTest,
    .zoneTextePhotosTest .colonnePhotosTest {
        flex: 0 0 100%;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .zoneTextePhotosTest {
        padding: 0 10px;
    }

    .zoneTextePhotosTest .groupePhotosTest {
        gap: 12px;
    }

    .zoneTextePhotosTest .groupePhotosTest .photo-video {
        width: 145px !important;
        max-width: 145px !important;
    }
}


/* Fenêtre vidéo de la galerie : pas de navigation vers le fichier MP4. */
.galerie-lightbox-ouverte { overflow: hidden !important; }
.galerie-lightbox-video[hidden] { display: none !important; }
.galerie-lightbox-video {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 24px;
    box-sizing: border-box;
    background: rgba(0,0,0,.88);
}
.galerie-lightbox-cadre {
    position: relative;
    width: min(480px, 82vw);
    max-height: 65vh;
}
.galerie-lightbox-cadre video {
    display: block;
    width: 100%;
    max-height: 65vh;
    object-fit: contain;
    background: #000;
}
.galerie-lightbox-fermer {
    position: absolute;
    right: -18px;
    top: -24px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font: 30px/38px Arial, sans-serif;
    cursor: pointer;
    text-align: center;
}
@media (max-width: 700px) {
    .galerie-lightbox-cadre { width: min(460px, 90vw); }
    .galerie-lightbox-video { padding: 22px 10px; }
    .galerie-lightbox-fermer { right: 0; top: -38px; }
}
