/* =========================================================
   PORTAL ANTÔNIO APVS
   ANIMAÇÕES GLOBAIS
   ARQUIVO: animations.css
========================================================= */

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

.fade-in {
  animation: antonioFadeIn 0.45s ease both;
}

.slide-up {
  animation: antonioSlideUp 0.45s ease both;
}

@keyframes antonioFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes antonioSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
