/* ==========================================================================
   CameraPet — animations.css
   Animações suaves, rápidas e discretas — conforme o manual de marca
   ========================================================================== */

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

.icone-coracao i { animation: bater 1.8s ease-in-out infinite; display: inline-block; }
@keyframes bater {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
}

.numero.contado { animation: destacar 0.5s ease; }
@keyframes destacar {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

img[loading="lazy"] {
  background: linear-gradient(100deg, #eef1f3 30%, #f7f9fa 50%, #eef1f3 70%);
  background-size: 200% 100%;
  animation: brilho 1.4s linear infinite;
}
img[loading="lazy"].carregada { animation: none; background: none; }
@keyframes brilho {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-pet.saindo { animation: sumir 0.25s ease forwards; }
.card-pet.entrando { animation: aparecer 0.35s ease forwards; }
@keyframes sumir { to { opacity: 0; transform: scale(0.94); } }
@keyframes aparecer { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
