/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-wrapper {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-tooltip {
  position: relative;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  border: 1px solid #e5e5e5;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right: none;
  border-left-color: #e5e5e5;
}

.wa-tooltip::before {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: #fff;
  z-index: 1;
}

.wa-btn {
  position: relative;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: scale(0) translateX(80px);
}

.wa-btn.visible {
  opacity: 1;
  transform: scale(1) translateX(0);
}

.wa-btn:hover {
  transform: scale(1.12) translateX(0) !important;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.wa-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: waPulse 2.5s ease-out infinite;
  z-index: -1;
}

.wa-btn::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  animation: waPulse 2.5s ease-out 0.5s infinite;
  z-index: -1;
}

@keyframes waPulse {
  0%   { transform: scale(0.95); opacity: 0.8; }
  70%  { transform: scale(1.3);  opacity: 0; }
  100% { transform: scale(1.3);  opacity: 0; }
}

.wa-btn svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.wa-btn:hover svg {
  transform: rotate(-8deg) scale(1.1);
}

.wa-wrapper:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@media (max-width: 600px) {
  .wa-wrapper {
    right: 16px;
    top: auto;
    bottom: 24px;
    transform: none;
    flex-direction: row-reverse;
    align-items: center;
  }
  .wa-tooltip::after,
  .wa-tooltip::before { display: none; }
}