.whatsapp-float {
  position: fixed;
  z-index: 130;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 9px 18px 9px 9px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  color: #fff;
  background: #128c4a;
  box-shadow: 0 14px 38px rgba(4, 52, 28, .3);
  font-size: .84rem;
  font-weight: 850;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

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

.whatsapp-float img {
  width: 38px;
  height: 38px;
}

.whatsapp-float:hover {
  color: #fff;
  background: #0f7b40;
  box-shadow: 0 18px 44px rgba(4, 52, 28, .4);
  transform: translateY(-3px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .42);
  outline-offset: 4px;
}

.contact-whatsapp {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #fff;
  font-weight: 800;
}

.contact-whatsapp img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.contact-whatsapp:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes whatsapp-pulse {
  0% { opacity: .8; transform: scale(.94); }
  75%, 100% { opacity: 0; transform: scale(1.15); }
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 8px;
    justify-content: center;
  }

  .whatsapp-float span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .whatsapp-float img {
    width: 40px;
    height: 40px;
  }
}

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