.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
  transition: background-color 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  background-color: #1ebe57;
  color: #fff;
}

.whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  }

  50% {
    transform: scale(1.07);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 1.75rem;
    right: 1.75rem;
    width: 3.75rem;
    height: 3.75rem;
  }
}
