/**
 * Animations & Micro-Interactions - ConstruaHub
 */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25), inset 0 0 10px rgba(0, 229, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.25);
  }
}

@keyframes orangePulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.35);
  }
  50% {
    box-shadow: 0 6px 30px rgba(255, 107, 0, 0.6);
  }
}

@keyframes floatElement {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(1000%);
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes toastSlideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

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

.animate-pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

.animate-orange-pulse {
  animation: orangePulse 3s infinite ease-in-out;
}

.animate-float {
  animation: floatElement 5s infinite ease-in-out;
}

/* Transições suaves globais */
.tech-transition {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
