/* Sound Bars */
.sound-bar {
  /* Animação do equalizador de áudio premium com tom âmbar */
  animation: pulse-bar 1.42s var(--easing-premium) infinite;
  transform-origin: bottom;
  background-color: var(--gold-primary); 
}

.sound-bar:nth-child(2) {
  animation-delay: 0.12s;
}

.sound-bar:nth-child(3) {
  animation-delay: 0.24s;
}

.sound-bar:nth-child(4) {
  animation-delay: 0.36s;
}

/* Modal Entry Animation */
#contact-modal.is-open .modal-panel {
  animation: modal-in 260ms var(--easing-premium) both;
}

/* Micro Interactions Performance */
.link-card,
.service-card,
.whatsapp-button,
a[href*="open.spotify.com"],
#copy-link,
header button[data-open-contact] {
  will-change: transform;
}

/* Keyframes */
@keyframes pulse-bar {
  0%,
  100% {
    transform: scaleY(0.38) translateY(1px);
    opacity: 0.48;
  }

  34% {
    transform: scaleY(0.78) translateY(-1px);
    opacity: 0.78;
  }

  58% {
    transform: scaleY(1.05) translateY(0);
    opacity: 1;
  }

  78% {
    transform: scaleY(0.72) translateY(1px);
    opacity: 0.72;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
