.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.whatsapp-float__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #25D366; /* verde WhatsApp */
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.15), 0 6px 10px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* remove cor azul padrão do link */
.whatsapp-float__btn:hover,
.whatsapp-float__btn:focus,
.whatsapp-float__btn:active {
  background: #25D366;
  color: #fff;
  text-decoration: none;
}

.whatsapp-float__btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0,0,0,.18), 0 8px 14px rgba(0,0,0,.10);
  filter: brightness(1.05);
}

.whatsapp-float__btn:active {
  transform: translateY(0) scale(.98);
}

/* Pulsar sutil (respeita redução de movimento) */
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-float__btn {
    animation: pulse 2.2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 10px 25px rgba(0,0,0,.15), 0 0 0 0 rgba(37,211,102,.0); }
    50%      { box-shadow: 0 10px 25px rgba(0,0,0,.15), 0 0 0 12px rgba(37,211,102,.18); }
  }
}

/* Tooltip opcional */
.whatsapp-float__hint {
  position: absolute;
  right: 74px;
  bottom: 12px;
  background: #111827;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.whatsapp-float:hover .whatsapp-float__hint,
.whatsapp-float:focus-within .whatsapp-float__hint {
  opacity: 1;
  transform: translateX(0);
}

/* Modo escuro */
@media (prefers-color-scheme: dark) {
  .whatsapp-float__hint { background: #0b0f14; }
}

/* Ajustes mobile */
@media (max-width: 480px) {
  .whatsapp-float__btn { width: 56px; height: 56px; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .whatsapp-float__hint { display: none; }
}

/* Acessibilidade */
.whatsapp-float__btn:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 3px;
}

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
