/* whatsapp-buttons.css */

/* 1. Inline WhatsApp Button (header, hero, etc.) */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  background: #075E54;
  color: #fff !important;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(7, 94, 84, 0.18);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  padding: 0.75rem 2rem;
  text-decoration: none;
  font-size: 1.1rem;
}
.wa-btn:hover,
.wa-btn:focus {
  transform: scale(1.05);
  background: #064C43;
  box-shadow: 0 8px 32px rgba(7, 94, 84, 0.24);
}
.wa-btn .chaty-svg {
  margin-right: 0.5rem;
  display: inline-block;
  vertical-align: middle;
}

/* 2. Floating WhatsApp Button (bottom right) */
.floating-btn {
  position: fixed;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-btn.floating-wa {
  right: 24px;
  bottom: 90px; /* WhatsApp button sits above scroll-to-top */
  z-index: 10000;
}
.floating-wa .chaty-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(7, 94, 84, 0.16);
  animation: wa-pulse 1.6s infinite, wa-bounce 1.2s infinite alternate;
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s;
}
.floating-wa .chaty-svg svg {
  width: 39px !important;
  height: 39px !important;
  display: block;
  margin: auto;
}
.floating-wa:hover .chaty-icon,
.floating-wa:focus .chaty-icon {
  transform: scale(1.12) translateY(-6px);
  box-shadow: 0 12px 36px rgba(7, 94, 84, 0.22);
}
@keyframes wa-bounce {
  0% { transform: translateY(0);}
  50% { transform: translateY(-10px);}
  100% { transform: translateY(0);}
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(7,94,84, 0.7);}
  70% { box-shadow: 0 0 0 12px rgba(7,94,84, 0);}
  100% { box-shadow: 0 0 0 0 rgba(7,94,84, 0);}
}

/* WhatsApp tooltip */
.wa-tooltip {
  position: absolute;
  right: 0;
  top: -2.5rem;
  background: #222;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  z-index: 100;
}
.floating-wa.group:hover .wa-tooltip,
.floating-wa.group:focus .wa-tooltip {
  opacity: 1;
}

/* 3. Floating Appel Urgent Button (round, no animation) */
.floating-btn.floating-appel {
  position: fixed;
  right: 24px;
  bottom: 170px; /* Adjust as needed to sit above WhatsApp and scroll-to-top */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-btn.floating-appel .chaty-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  background: #ef4444; /* red */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-btn.floating-appel .chaty-svg svg {
  width: 39px !important;
  height: 39px !important;
  display: block;
  margin: auto;
  stroke: #fff; /* white phone icon */
}
.floating-btn.floating-appel:hover .chaty-icon,
.floating-btn.floating-appel:focus .chaty-icon {
  transform: scale(1.12);
  box-shadow: 0 12px 36px rgba(239, 68, 68, 0.22);
}

/* Appel Urgent button text/icon styling */
.floating-btn-appel:hover,
.floating-btn-appel:focus {
  background: #1742a5;
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(37,99,235,0.35);
  color: #fff;
  text-decoration: none;
}
.floating-btn-appel .btn-inner {
  display: flex;
  align-items: center;
}
.floating-btn-appel .icon-phone {
  width: 28px;
  height: 28px;
  margin-right: 0.7em;
  stroke: #fff;
}
.floating-btn-appel .btn-text {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* 4. Scroll-to-top button */
.scroll-to-top {
  right: 24px;
  bottom: 24px;
  position: fixed;
  z-index: 9999;
}

/* Fade-in animation (generic) */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: none;}
}

/* Mobile-only utility */
.mobile-only {
  display: block;
}
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

.owl-dots {
  display: none !important;
}

img {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
