/* ═══════════════════════════════════════════
   BOTÃO FLUTUANTE WHATSAPP
   Fixo no canto inferior direito, em todas as páginas.
═══════════════════════════════════════════ */
.whatsapp-float-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.55;
  z-index: -1;
  animation: whatsapp-pulse 2.2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.whatsapp-float-fallback {
  display: none;
  width: 30px;
  height: 30px;
  color: #fff;
}
.whatsapp-float-fallback svg { width: 100%; height: 100%; }

.whatsapp-float-btn.sem-imagem img { display: none; }
.whatsapp-float-btn.sem-imagem .whatsapp-float-fallback { display: flex; }

.whatsapp-float-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #1f1f1f;
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1f1f1f;
}
.whatsapp-float-btn:hover .whatsapp-float-tooltip { opacity: 1; }

@media (hover: none) {
  .whatsapp-float-tooltip { display: none; }
}

@media (max-width: 480px) {
  .whatsapp-float-btn { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .whatsapp-float-btn img,
  .whatsapp-float-fallback { width: 26px; height: 26px; }
}