/* ==========================================================================
   SENrevision — animations.css
   Animations légères et sobres : apparition, transitions, feedback.
   ========================================================================== */

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

.anim-apparition {
  animation: apparitionDouce 0.45s ease both;
}

.grille-stats .carte,
.grille-series .carte-serie,
.liste-chapitres .carte-chapitre {
  animation: apparitionDouce 0.4s ease both;
}
.grille-stats .carte:nth-child(2) { animation-delay: 0.05s; }
.grille-stats .carte:nth-child(3) { animation-delay: 0.1s; }
.liste-chapitres .carte-chapitre:nth-child(2) { animation-delay: 0.05s; }
.liste-chapitres .carte-chapitre:nth-child(3) { animation-delay: 0.1s; }
.liste-chapitres .carte-chapitre:nth-child(4) { animation-delay: 0.15s; }
.liste-chapitres .carte-chapitre:nth-child(5) { animation-delay: 0.2s; }

@keyframes remplissageBarre {
  from { width: 0%; }
}

.barre-progression-remplie,
.barre-mini-remplie {
  animation: remplissageBarre 1s ease both;
}

.bulle-message {
  animation: apparitionDouce 0.25s ease both;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
