.news-section {
    position: relative; /* Nécessaire pour positionner l'image en absolute */
    overflow: hidden; /* Cache l'image si elle dépasse */
}

.static-section-image {
    position: absolute;
    right: -50px;
    bottom: -220px;
    width: 900px;
    height: 900px;
    z-index: 10;
    pointer-events: none;
}

.static-section-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.2));
    transform: scale(1); /* Fixe la taille */
    transform-origin: bottom right; /* Point d'ancrage pour le zoom */
}

/* Version responsive */
@media (max-width: 992px) {
    .static-section-image {
        width: 400px;
        height: 400px;
        right: -45px;
    }
}

@media (max-width: 768px) {
    .static-section-image {
        width: 400px;
        height: 400px;
        right: -45px;
        bottom: 0px;
    }
    /* .static-section-image {
        display: none;
    } */
}

@media (max-width: 576px) {
    .static-section-image {
        width: 50px;
        height: 50px;
    }
    .static-section-image {
        display: none;
    } 
}
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    animation: slideInModal 0.5s ease-out;
    position: relative;
}

.modal-box img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    object-fit: cover;
}

.modal-box h2 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #4a90e2, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.modal-box p {
    color: #444;
    line-height: 1.7;
    font-size: 1.05rem;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ff6b35;
}

@keyframes slideInModal {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-box {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}
