/* =============================================
   SCROLL ARROW COMPONENT - CORRIGÉ
   ============================================= */

.smart-scroll-arrow {
    position: fixed;
    bottom: 40px;
    right: 40px;
    /* À droite, pas à gauche */
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px var(--primary);
    animation: arrowBounce 2s infinite;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    opacity: 1;
    /* Toujours visible */
    transform: none;
    /* Pas de transformation */
    pointer-events: auto;
}

/* Supprimez les classes .visible et .at-bottom si elles existent */

.smart-scroll-arrow svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-foreground);
    stroke-width: 3;
    fill: none;
}

.smart-scroll-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 40px var(--primary);
}

.smart-scroll-arrow[title]:hover::after {
    content: attr(title);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card);
    color: var(--foreground);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

@keyframes arrowBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .smart-scroll-arrow {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .smart-scroll-arrow svg {
        width: 24px;
        height: 24px;
    }

    .smart-scroll-arrow[title]:hover::after {
        display: none;
        /* Masquer l'infobulle sur mobile */
    }
}