.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease var(--delay, 0s),
    transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1) var(--delay, 0s);
}

.reveal.from-left {
  transform: translateX(-34px);
}

.reveal.from-right {
  transform: translateX(34px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(25px);
  animation: heroEnter 0.8s ease forwards;
}

.hero-content > :nth-child(1) {
  animation-delay: 0.2s;
}

.hero-content > :nth-child(2) {
  animation-delay: 0.35s;
}

.hero-content > :nth-child(3) {
  animation-delay: 0.5s;
}

.hero-content > :nth-child(4) {
  animation-delay: 0.65s;
}

.whatsapp-float::before {
  position: absolute;
  z-index: -1;
  inset: -6px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: inherit;
  content: "";
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1.09);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.65);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes waPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.95);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
