    /* --- Galerie --- */
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }

    .gallery img {
        width: 100%;
        border-radius: 12px;
        cursor: pointer;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .gallery img:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* --- Lightbox --- */
    .lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1000;
    }

    .lightbox.active {
        visibility: visible;
        opacity: 1;
    }

    .lightbox img {
        max-width: 80%;
        max-height: 80%;
        border-radius: 15px;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    }

    /* Bouton close */
    .close {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 40px;
        color: white;
        cursor: pointer;
    }

    /* Flèches navigation */
    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 50px;
        color: white;
        cursor: pointer;
        padding: 10px;
        user-select: none;
    }

    .arrow.left {
        left: 20px;
    }

    .arrow.right {
        right: 20px;
    }