
.hero-bg {
    /* Gradient utilisant la couleur Dark (#06234c) */
    background-image: linear-gradient(rgba(6, 35, 76, 0.9), rgba(6, 35, 76, 0.85)), url('../img/monte-charge-immeuble.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.page-section.active {
    display: block;
    opacity: 1;
}

.nav-link.active {
    color: #fea10f;
    position: relative;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fea10f;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #fea10f;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 60s linear infinite;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0); 
    display: flex;
    align-items: center;
}
@media (hover: hover) {
    .animate-scroll:hover {
        animation-play-state: paused;
    }
}

.animate-scroll img {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    will-change: transform;
}

#duree-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #374151; 
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    margin: 10px 0;
}

#duree-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: transparent;
    border-radius: 8px;
}

#duree-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #fea10f;
    cursor: pointer;
    margin-top: -9px; 
    box-shadow: 0 0 0 4px rgba(254, 161, 15, 0.3);
    border: 2px solid #ffffff;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

#duree-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: transparent;
    border-radius: 8px;
}

#duree-slider::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #fea10f;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(254, 161, 15, 0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

#duree-slider:active::-webkit-slider-thumb,
#duree-slider:focus::-webkit-slider-thumb {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(254, 161, 15, 0.5);
}

#duree-slider:active::-moz-range-thumb,
#duree-slider:focus::-moz-range-thumb {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(254, 161, 15, 0.5);
}