
#wall-projects .container > .after {
    content: '';
    position: absolute;
    background-color: #fff1;
    /* opacity: .3; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#wall-projects .container .after .hand-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
}

#wall-projects .container .after .hand-icon span::before {
    position: absolute;
    animation: move-animation infinite 3s ease-in-out;
    content: 'grab';
    font-size: var(--fs-24);
}

#wall-projects .container.mouse-enter .after {
    visibility: hidden;
}

@keyframes move-animation {
    from {
        transform: translate(0);
        content: '\270B';
    }
    20% {
        transform: translate(0);
        content: '\270A';
    }
    45% {
        transform: translate(-50px, -30px);
        content: '\270A';
    }
    55% {
        transform: translate(-50px, -30px);
        content: '\270B';
    }
    80% {
        transform: translate(0);
    }
    to {
        transform: translate(0);
        content: '\270B';
    }
}

#wall-projects .container {
    --img-w: clamp(150px, calc(15vw + 15vh), 300px);          /* largeur des images */
    --gap: clamp(15px, 2vw, 30px);             /* espace entre les images */
    margin-inline: auto;
    margin-block: clamp(10px, 1.5vw, 30px);
    width: clamp(300px, 100%, 900px);
    height: clamp(200px, 40vh, 400px);
    position:relative;
    overflow:hidden;
    border: var(--border-global);
    border-radius: 6px;
    cursor: grab;
}

#wall-projects .container * {
    user-select: none;
    -webkit-user-drag: none;
}

/* le mur - on bloque le comportement tactile par défaut */
#wall-projects .wall {
    display:flex;
    align-items:center;
    width: max-content;
    height: max-content;
    min-height: max-content;
    transition: transform 200ms ease;
    /* touch-action: pan-y;          //IMPORTANT pour pointer events */
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    gap: var(--gap);
}

#wall-projects .wall.dragging {
    cursor: grabbing;
}

#wall-projects .wall .column {
    display:flex;
    flex-direction:column;
    gap: var(--gap);
}

#wall-projects .wall .image-box {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

#wall-projects .wall .image-box img {
    flex:0 0 auto;
    width: var(--img-w);
    height: var(--img-h);
    object-fit:cover;
    -webkit-user-drag: none;
    pointer-events: none;
    display:block;
}

#wall-projects .wall .image-box .more-info a {
    -webkit-user-drag: none;
    user-select: none;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(3px);
    opacity: 0;
    padding: 8px 16px;
    background-color: #eee5;
    color: var(--black);
    box-shadow: 0 0 8px var(--black);
    border-radius: 4px;
    white-space: nowrap;
}

#wall-projects .wall .image-box:hover .more-info a {
    opacity: 1;
}
#wall-projects .wall .image-box .more-info a:hover {
    background-color: #eee8;
    backdrop-filter: blur(6px);
}

#wall-projects .container::before,
#wall-projects .container::after{
    content: '';
    position: absolute;
    top: 0;
    width: clamp(30px, 10%, 150px);
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
#wall-projects .container::before{ left:0; background: linear-gradient(to right, var(--black-dark) 0%, #2220 100%); }
#wall-projects .container::after{ right:0; background: linear-gradient(to left, var(--black-dark) 0%, #2220 100%); }