/* ===== Modal (ordre HTML: overlay > window > close / reduce + iframe) ===== */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
}

.popup-overlay.open {
    display: flex;
}

.popup-window {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.popup-close,
.popup-reduce {
    position: absolute;
    top: 14px;
    z-index: 20;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 8px;
    color: #0a0a0a;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.popup-close {
    right: 14px;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    background-color: rgba(242, 235, 225, 0.842);
}

.popup-reduce {
    right: 60px;
    font-size: 30px;
    line-height: 1;
    background-color: rgba(242, 235, 225, 0.842);
}

.popup-close:hover{
    background: rgba(219, 7, 7, 0.952);
    color: #fff;
}

.popup-reduce:hover {
    background: rgba(26, 26, 26, 0.482);
        color: #fff;


}



.popup-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
