/**
 * Styles d'animation et de personnalisation pour l'Assistant Virtuel IA (Lali)
 */
@keyframes lali-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes lali-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1.0);
    }
}

.lali-trigger-pulse {
    animation: lali-pulse 2.8s infinite;
}

.lali-dot-1 {
    animation: lali-bounce 1.4s infinite ease-in-out both;
}

.lali-dot-2 {
    animation: lali-bounce 1.4s infinite ease-in-out both 0.2s;
}

.lali-dot-3 {
    animation: lali-bounce 1.4s infinite ease-in-out both 0.4s;
}

/* Scrollbar élégante pour la boîte de dialogue */
#lali-chat-messages::-webkit-scrollbar {
    width: 6px;
}

#lali-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

#lali-chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(148, 163, 184, 0.4);
    border-radius: 9999px;
}

/* ============================================================== */
/* ANIMATIONS ICONE ASSISTANT IA LALEKOU (LALI BOT)               */
/* ============================================================== */

/* 1. Mouvement doux de flottement et respiration de l'Assistant */
@keyframes lali-bot-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.lali-bot-hover {
    transform-origin: center center;
    animation: lali-bot-float 3.5s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.lali-ai-orb:hover .lali-bot-hover {
    transform: translateY(-3px) scale(1.08);
}

/* 2. Halo d'énergie lumineux discret en arrière-plan */
@keyframes lali-aura-soft {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.75;
        transform: scale(1.06);
    }
}

.lali-aura-soft,
.lali-pulse-aura {
    transform-origin: center center;
    animation: lali-aura-soft 3.2s ease-in-out infinite;
}

.lali-ai-orb:hover .lali-aura-soft {
    opacity: 0.9;
    transform: scale(1.1);
}
