@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.5); }
}

.fade-in-up {
    animation: fade-in-up var(--transition-normal) ease both;
}

/* Décalage en cascade pour une liste de cards qui apparaissent l'une après l'autre */
.fade-in-up-stagger > * {
    animation: fade-in-up var(--transition-normal) ease both;
}
.fade-in-up-stagger > *:nth-child(1) { animation-delay: 0ms; }
.fade-in-up-stagger > *:nth-child(2) { animation-delay: 60ms; }
.fade-in-up-stagger > *:nth-child(3) { animation-delay: 120ms; }
.fade-in-up-stagger > *:nth-child(4) { animation-delay: 180ms; }
.fade-in-up-stagger > *:nth-child(5) { animation-delay: 240ms; }
.fade-in-up-stagger > *:nth-child(6) { animation-delay: 300ms; }

.mascot-bounce {
    animation: gentle-bounce 2.4s ease-in-out infinite;
}

/* Respect de prefers-reduced-motion (§9 spec-technique.md) : on coupe tout ce qui n'est pas essentiel */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .btn:not(:disabled):hover,
    .card-hoverable:hover {
        transform: none;
    }
}
