/* CLINIC_M/1/static/css/footer.css */

/* --- FOOTER --- */
.footer-clean { 
    background: #1a252f; 
    color: #bdc3c7; 
    padding: 80px 0 0; 
    margin-top: 50px; 
    position: relative;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
    padding-bottom: 60px; 
}

.footer-col h4 { 
    color: var(--white); 
    margin-bottom: 25px; 
    font-size: 1.2rem; 
}

.footer-col ul { 
    list-style: none; 
    padding: 0;
    margin: 0;
}

.footer-col ul li { 
    margin-bottom: 12px; 
}

.footer-col ul a { 
    color: #bdc3c7; 
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s; 
}

.footer-col ul a:hover { 
    color: var(--accent-blue); 
    padding-left: 5px; 
}

.emergency-highlight { 
    color: var(--accent-blue); 
    font-weight: 700; 
    margin-top: 20px; 
}

.footer-bottom { 
    background: #151e26; 
    padding: 25px 0; 
    text-align: center; 
    font-size: 0.9rem; 
    border-top: 1px solid #2c3e50; 
    color: #7f8c8d;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.3);
    /* Z-index très élevé pour forcer l'affichage au-dessus du footer */
    z-index: 9999 !important; 
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background-color: #128c7e;
    color: white;
}

.whatsapp-float img {
    width: 30px; /* Taille idéale - C'EST CETTE LIGNE QUI RÉPARE LE GROS LOGO */
    height: 30px;
    object-fit: contain;
}

/* Masquer le texte sur mobile */
@media (max-width: 768px) {
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float {
        padding: 15px;
        border-radius: 50%;
    }
}