/* Popup pour informer des photos */
.photos-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999 !important; /* Au-dessus de tout, y compris le compte à rebours */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.photos-popup.is-visible {
    opacity: 1;
    visibility: visible;
}

.photos-popup-content {
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5b7 100%);
    border-radius: 32px;
    padding: 60px 50px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 3px solid rgba(80, 58, 20, 0.4);
}

.photos-popup.is-visible .photos-popup-content {
    transform: scale(1);
}

.photos-popup-title {
    font-family: 'Caesar Dressing', cursive, system-ui;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #2b210f;
    margin: 0 0 24px 0;
    text-align: center;
}

.photos-popup-text {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #654416;
    line-height: 1.7;
    margin: 0 0 32px 0;
    text-align: center;
}

.photos-popup-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.photos-popup-btn {
    padding: 16px 32px;
    border-radius: 999px;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.photos-popup-btn-primary {
    background: linear-gradient(180deg, #f3e3ae, #e5c97f 60%, #d2b166);
    color: #2b210f;
    border: 1.5px solid rgba(80, 58, 20, 0.5);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22);
}

.photos-popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
}

.photos-popup-btn-primary:active {
    transform: translateY(0);
}

.photos-popup-btn-close {
    background: rgba(0, 0, 0, 0.1);
    color: #2b210f;
    border: 1.5px solid rgba(80, 58, 20, 0.3);
}

.photos-popup-btn-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.photos-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #2b210f;
    transition: background 0.2s ease, transform 0.2s ease;
    font-weight: bold;
}

.photos-popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.photos-popup-close:active {
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .photos-popup-content {
        padding: 40px 28px;
        max-width: 90%;
    }
    
    .photos-popup-title {
        font-size: 2rem;
    }
    
    .photos-popup-text {
        font-size: 1.1rem;
    }
    
    .photos-popup-actions {
        flex-direction: column;
    }
    
    .photos-popup-btn {
        width: 100%;
        min-width: auto;
    }
    
    .photos-popup-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

