/* ================================================================
   BENI CLEAN SERVICES — bouton WhatsApp flottant
   Reproduction du traitement d'afriqueartup.com :
   pastille verte 58 px, anneau qui pulse, halo vert, soulèvement
   au survol et étiquette « Écrivez-nous » qui apparaît à côté.
   Fichier partagé par les 8 pages.

   Les sélecteurs ciblent le lien wa.me : sur l'accueil la pastille
   n'a pas de classe, seulement un style en ligne.
   ================================================================ */

/* la pulsation d'origine (ombre noire/verte sur le conteneur) est
   remplacée par l'anneau vert, sinon les deux se superposent */
.flottant{animation:none !important}

.flottant a[href*="wa.me"]{
  position:relative;
  background:#25D366;
  color:#fff;
  box-shadow:0 10px 30px rgba(37,211,102,.45);
  transition:transform .35s cubic-bezier(.22,1,.36,1),
             box-shadow .35s cubic-bezier(.22,1,.36,1);
}
.flottant a[href*="wa.me"] svg{width:34px;height:34px}

.flottant a[href*="wa.me"]:hover{
  transform:translateY(-4px) scale(1.06);
  box-shadow:0 16px 40px rgba(37,211,102,.6);
}

/* anneau qui pulse autour de la pastille */
.flottant a[href*="wa.me"]::before{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:50%;
  border:2px solid rgba(37,211,102,.5);
  animation:waPulse 2.2s infinite;
  pointer-events:none;
}
@keyframes waPulse{
  0%{transform:scale(.9);opacity:1}
  70%{transform:scale(1.35);opacity:0}
  100%{transform:scale(1.35);opacity:0}
}

/* étiquette au survol */
.wa-tip{
  position:absolute;
  right:calc(100% + 14px);
  top:50%;
  transform:translateY(-50%);
  background:#0A2F33;
  border:1px solid rgba(212,175,55,.35);
  color:#fff;
  font-family:inherit;
  font-size:.78rem;
  font-weight:500;
  letter-spacing:.04em;
  line-height:1.2;
  white-space:nowrap;
  padding:.5rem 1rem;
  border-radius:4px;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
  opacity:0;
  pointer-events:none;
  transition:opacity .35s cubic-bezier(.22,1,.36,1),
             transform .35s cubic-bezier(.22,1,.36,1);
}
.flottant a[href*="wa.me"]:hover .wa-tip,
.flottant a[href*="wa.me"]:focus-visible .wa-tip{
  opacity:1;
  transform:translateY(-50%) translateX(-4px);
}

@media (max-width:480px){
  .flottant a[href*="wa.me"]{width:52px;height:52px}
  .flottant a[href*="wa.me"] svg{width:30px;height:30px}
  .wa-tip{display:none}
}

@media (prefers-reduced-motion:reduce){
  .flottant a[href*="wa.me"]::before{animation:none}
  .flottant a[href*="wa.me"],
  .wa-tip{transition:none}
}
