.whatsapp-float {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 5px 18px #071d1050;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform .22s cubic-bezier(.2,.72,.2,1), box-shadow .22s ease;
}

.whatsapp-float::before {
  position: absolute;
  z-index: -1;
  inset: -1px;
  border: 1.5px solid #25d366;
  border-radius: inherit;
  content: "";
  animation: whatsapp-pulse 2.8s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float svg {
  display: block;
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.07);
  box-shadow: 0 8px 22px #071d1060;
}

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

@keyframes whatsapp-pulse {
  0% { opacity: .55; transform: scale(1); }
  78%, 100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 760px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .whatsapp-float svg { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float::before { animation: none; transition: none; }
  .whatsapp-float::before { opacity: 0; }
  .whatsapp-float:hover,
  .whatsapp-float:focus-visible { transform: none; }
}
