/* =================================
   Back to Top Button
   ================================= */

#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none; /* Hidden by default */
    width: 50px;
    height: 50px;
    background: var(--gradient-primary, linear-gradient(90deg, #ff8a00, #e52e71));
    color: #fff;
    display: none; /* Reste caché par défaut */
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

#back-to-top.show {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
