/* ============================================================
   ANIMATIONS & TRANSITIONS
   Toutes les animations reproduites depuis le site source.
   ============================================================ */

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Classes d'animation on-load ─────────────────────────── */
.anim-fade-in {
  animation: fadeIn 0.6s ease both;
}

.anim-fade-in-up {
  animation: fadeInUp 0.7s ease both;
}

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.35s; }
.anim-delay-4 { animation-delay: 0.5s; }
.anim-delay-5 { animation-delay: 0.65s; }

/* ── Transitions composants (définies sur les composants) ── */

/* Nav scroll : 0.35s dans components.css */
/* Card hover : 0.25s dans components.css */
/* Button hover : 0.2s dans utilities.css */
/* Image mosaic hover : 0.5s dans components.css */
/* Tab switch : instantané (class toggle) */

/* ── Focus ring animé ────────────────────────────────────── */
:focus-visible {
  animation: none;
}
