/* ===== ANIMAÇÕES BASE - FUNDAMENTAIS ===== */

/* Animação de entrada básica para elementos */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

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

/* ===== ANIMAÇÕES DE ENTRADA ===== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== ANIMAÇÕES DE HOVER ===== */

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes sparkle {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.2) rotate(180deg); 
    opacity: 0.8; 
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===== ANIMAÇÕES DE EFEITOS ===== */

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes starGlow {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.1); 
    opacity: 0.8; 
  }
}

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

/* ===== ANIMAÇÕES DE DECORAÇÃO ===== */

@keyframes fadeInQuote {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  to {
    opacity: 0.2;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes quoteGlow {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.1);
  }
}

/* ===== UTILITÁRIOS DE ANIMAÇÃO ===== */

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-up {
  animation: slideInUp 0.8s ease-out;
}

.animate-slide-down {
  animation: slideInDown 0.8s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-scale {
  animation: fadeInScale 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 0.6s ease-in-out;
}

.animate-bounce {
  animation: bounce 0.6s ease-in-out;
}

.animate-sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

.animate-rotate {
  animation: rotate 4s linear infinite;
}

.animate-shimmer {
  animation: shimmer 2s infinite;
}

.animate-star-glow {
  animation: starGlow 2s ease-in-out infinite;
}

.animate-count-up {
  animation: countUp 1s ease-out;
} 