.footer {
    background: #eef0e8;   /* gris clair lumineux, très légèrement vert (avant : #e3e8e5) */
    border-top: 8px solid #efe4e4;
    padding: 60px 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.4px;
    margin-top: 0px;
}

/* ====== DESKTOP ====== */
.footer-container {
    max-width: 1450px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
}

/* COLONNES GÉNÉRALES */
.footer-col a {
    position: relative;
    color: #4a3f3f;
    font-size: 0.95rem;
    line-height: 1.7;
    text-decoration: none;
    transition: color 0.25s ease;
}

/* Soulignement animé pour les liens texte */
.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* distance sous le texte */
    width: 0%;
    height: 3px; /* épaisseur visible et élégante */
    background-color: #337147;
    transition: width 0.35s ease;
    border-radius: 2px; /* arrondi subtil */
}

.footer-col a:hover {
    color: #337147;
}

.footer-col a:hover::after {
    width: 100%;
}

/* ====== ICÔNES SOCIALES ====== */

/* Conteneur des icônes (colonne gauche) */
.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;              /* ✔ espace entre les icônes */
}

/* Chaque icône est un lien, mais on ne lui met pas de margin */
.footer-social .social-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    padding: 4px;
    border-radius: 6px;
    background: transparent;
    border: none;
}

/* On neutralise le soulignement animé pour les icônes,
   pour éviter qu'il s'étende sur l'espace de gap */
.footer-social .social-icon::after {
    content: none;
}

/* SVG des icônes */
.footer-social svg {
    width: 100%;
    height: 100%;
    fill: #4a3f3f;
    transition: fill 0.3s ease, transform 0.3s ease;
}

/* Hover sur les icônes : couleur + léger lift */
.footer-social .social-icon:hover svg {
    fill: #337147;
    transform: translateY(-1px);
}

/* COPYRIGHT */
.footer-copy {
    margin-top: 50px;
    text-align: center;
    font-size: 0.85rem;
    color: #6a5f5f;
    opacity: 0.85;
}

/* ====== TABLETTE (≤ 1000px) ====== */
@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-links {
        text-align: left;
    }
}

/* ====== MOBILE (≤ 600px) ====== */
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;   /* ✅ 1 colonne sur mobile */
        gap: 30px;
    }

    .footer-col {
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
        gap: 18px;margin-left:20px;
    }
}
