/* ==========================================================================
   OURO NÁUTICA - ANIMAÇÕES E EFEITOS DINÂMICOS
   ========================================================================== */

/* Suave ondulação do oceano / lago */
@keyframes waveAnimation {
  0% {
    transform: translateX(0) translateZ(0) scaleY(1);
  }
  50% {
    transform: translateX(-25%) translateZ(0) scaleY(0.85);
  }
  100% {
    transform: translateX(-50%) translateZ(0) scaleY(1);
  }
}

@keyframes waveAnimationReverse {
  0% {
    transform: translateX(-50%) translateZ(0) scaleY(0.85);
  }
  50% {
    transform: translateX(-25%) translateZ(0) scaleY(1.1);
  }
  100% {
    transform: translateX(0) translateZ(0) scaleY(0.85);
  }
}

/* Flutuação suave para badges náuticos */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

@keyframes floatGentleReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-0.5deg);
  }
}

/* Brilho dourado pulsante */
@keyframes goldPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.3), 0 0 30px rgba(245, 166, 35, 0.1);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 166, 35, 0.6), 0 0 45px rgba(245, 166, 35, 0.25);
  }
}

/* Pulsação de chamada de emergência */
@keyframes emergencyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(239, 68, 68, 0);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    transform: scale(1);
  }
}

/* Pulsação do WhatsApp */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Shimmer dourado metálico */
@keyframes metallicShine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Revelação suave de elementos na rolagem */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Rotação lenta de bússola decorativa */
@keyframes compassSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-float {
  animation: floatGentle 4s ease-in-out infinite;
}

.animate-pulse-gold {
  animation: goldPulse 3s ease-in-out infinite;
}

.animate-pulse-emergency {
  animation: emergencyPulse 2s infinite;
}

.animate-pulse-whatsapp {
  animation: whatsappPulse 2.2s infinite;
}

/* Redução de movimento para acessibilidade */
@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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
