/* ==========================================================================
   Mouvement
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Entrée du bandeau d'accueil, une ligne après l'autre. */
.band-content > * {
  animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.band-content > :nth-child(1) {
  animation-delay: 60ms;
}

.band-content > :nth-child(2) {
  animation-delay: 180ms;
}

.band-content > :nth-child(3) {
  animation-delay: 300ms;
}

.band-content > :nth-child(4) {
  animation-delay: 420ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .band-content > * {
    animation: none;
  }
}
