/* ==========================================================
   animations.css — keyframes & reveal
   ========================================================== */

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pixelBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* Revelação ao scroll (usa IntersectionObserver em animations.js) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay em sequência para grids */
.services-grid .reveal:nth-child(1) { transition-delay: .05s; }
.services-grid .reveal:nth-child(2) { transition-delay: .15s; }
.services-grid .reveal:nth-child(3) { transition-delay: .25s; }
.services-grid .reveal:nth-child(4) { transition-delay: .35s; }

.pixel-dot { animation: pixelBlink 2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

