/* ============================================================
   ARTISANSCI — MENU FLOTTANT (chat + WhatsApp + bas du site)
   Fixe en bas à droite, reste en place au scroll,
   harmonisé avec la charte ORANGE (#F59E0B) / VERT (#10B981)
   ============================================================ */

.float-menu {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* ----- Boutons ronds ----- */
.float-btn {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 22px;
    text-decoration: none;
    border: 2px solid #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

/* Chat = ORANGE (charte) */
.float-chat { background: #F59E0B; }
.float-chat:hover { background: #D97706; }

/* WhatsApp = VERT choisi (charte) */
.float-whatsapp { background: #10B981; }
.float-whatsapp:hover { background: #059669; }

/* Bas du site = ARDOISE, survol ORANGE (harmonisé) */
.float-bottom { background: #1F2937; }
.float-bottom:hover { background: #F59E0B; }

/* Effet au survol : légère élévation */
.float-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* ----- Pulsation douce autour de WhatsApp ----- */
.float-whatsapp::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.6);
    animation: floatPulse 2s infinite;
    pointer-events: none;
}
@keyframes floatPulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ----- Tooltip (étiquette) au survol, à gauche du bouton ----- */
.float-tip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #1F2937;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
}
.float-tip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #1F2937;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.float-btn:hover .float-tip {
    opacity: 1;
    visibility: visible;
    right: calc(100% + 14px);
}

/* ----- Mobile : légèrement plus compact ----- */
@media (max-width: 768px) {
    .float-menu { right: 14px; bottom: 14px; gap: 10px; }
    .float-btn { width: 48px; height: 48px; font-size: 20px; }
}