﻿#promo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 9999;
    cursor: pointer;
}

    /* état visible */
    #promo-overlay.show {
        opacity: 1;
        visibility: visible;
    }

#promo-content {
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

#promo-overlay.show #promo-content {
    transform: scale(1);
}

#promo-content img,
#promo-content video,
#promo-content iframe {
    max-width: 90vw;
    max-height: 90vh;
}
