
.floating-whatsapp {
  position: fixed;
  bottom: 50%;
  right: 20px;
  transform: translateY(50%);
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: translateY(50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.whatsapp-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
 
}


.floating-whatsapp::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 80px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-whatsapp:hover::after {
  opacity: 1;
  right: 70px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


@media (max-width: 768px) {
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    right: 15px;
  }
  
  .whatsapp-image {
    width: 50px;
    height: 50px;
  }
  
  .floating-whatsapp::after {
    font-size: 12px;
    padding: 6px 12px;
  }
}


@media (prefers-reduced-motion: no-preference) {
  .floating-whatsapp {
    scroll-behavior: smooth;
  }
}