/* ================================================================ */
/* BOUTON WHATSAPP FLOTTANT — GabJob */
/* ================================================================ */

.gj-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 0;
  background: #25d366;
  color: #fff;
  padding: 14px 18px 14px 14px;
  border-radius: 100px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  animation: gj-wa-pulse 2.4s ease-in-out infinite;
}

.gj-wa-float:hover {
  background: #1eb854;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55), 0 6px 16px rgba(0, 0, 0, 0.2);
  animation: none;
}

.gj-wa-float:active {
  transform: translateY(-1px) scale(0.98);
}

.gj-wa-icon {
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.gj-wa-icon svg {
  width: 18px;
  height: 18px;
  fill: #25d366;
}

.gj-wa-text {
  display: inline-block;
  white-space: nowrap;
}

@keyframes gj-wa-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* TOOLTIP au survol */
.gj-wa-tooltip {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 12px;
  background: #111827;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s;
}

.gj-wa-float:hover .gj-wa-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.gj-wa-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 28px;
  border: 6px solid transparent;
  border-top-color: #111827;
}

/* MOBILE */
@media (max-width: 640px) {
  .gj-wa-float {
    bottom: 18px;
    right: 18px;
    padding: 12px 16px 12px 12px;
    font-size: 0.85rem;
  }
  .gj-wa-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
  .gj-wa-icon svg {
    width: 16px;
    height: 16px;
  }
  .gj-wa-tooltip { display: none; }
}

/* SUR TRÈS PETITS ÉCRANS, MASQUER LE TEXTE (icône seulement) */
@media (max-width: 380px) {
  .gj-wa-float {
    padding: 14px;
    border-radius: 50%;
  }
  .gj-wa-icon {
    margin-right: 0;
  }
  .gj-wa-text { display: none; }
}
