/* -------------------------------------------------------------------------
   NORMALISATION (RESET SCROLLBAR NATIVE)
------------------------------------------------------------------------- */
html { 
    scrollbar-width: none !important; 
    -ms-overflow-style: none !important; 
}

::-webkit-scrollbar { 
    display: none !important; 
    width: 0 !important; 
}

/* -------------------------------------------------------------------------
   BARRE DE DÉFILEMENT PERSONNALISÉE (LIQUIDE)
------------------------------------------------------------------------- */
.scroll-zone {
    position: fixed;
    right: 0;
    top: 80px;
    bottom: 30px;
    width: 40px;
    z-index: 500;
    display: flex;
    justify-content: center;
    opacity: 0;   
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.scroll-zone.active, 
.scroll-zone:hover { 
    opacity: 1; 
}

.scroll-track {
    width: 2px;
    height: 100%;
    background: rgba(128, 128, 128, 0.15);
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.scroll-bubble {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 40px;
    background: #ffffff;
    border-radius: 40px;
    will-change: top, height;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: height 0.4s cubic-bezier(0.19, 1, 0.22, 1), 
                width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

html[data-theme="light"] .scroll-bubble { 
    background: #000000; 
}

.is-scrolling { 
    user-select: none !important; 
    cursor: grabbing !important; 
}

/* -------------------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------------------- */
@media (max-width: 800px) {
    .scroll-zone { 
        display: none !important; 
    }
}