/* Footer refonte 2026, voir footer.php */

.lb-footer {
    background: #000;
    color: #fff;
    font-family: josefinsans-r, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    padding: 56px 24px 24px;
}

.lb-footer a {
    color: #fff;
    text-decoration: none;
}

.lb-footer a:hover,
.lb-footer a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lb-footer__grille {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.lb-footer__col p,
.lb-footer__col address {
    margin: 0 0 6px;
    font-style: normal;
    font-size: inherit;
}

/* Badge reCAPTCHA masqué : la mention exigée par Google est sous le formulaire (inc/formulaire.php) */
.grecaptcha-badge {
    visibility: hidden;
}

.lb-recaptcha-mention {
    font-size: 12px;
    color: #777;
    margin-top: 16px;
}

.lb-recaptcha-mention a {
    color: inherit;
    text-decoration: underline;
}

.lb-footer__titre {
    color: #fff!important;
    font-family: josefinsans-sb, sans-serif!important;
    font-size: 14px!important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 16px!important;
}

/* Logo + menu côte à côte, comme en 2017 */
.lb-footer__col--marque {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.lb-footer__logo img {
    display: block;
    margin-top: 2px;
}

.lb-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lb-footer__menu li {
    margin: 0 0 6px;
}

.lb-footer__menu a {
    padding: 0!important;
    border: 0!important;
    background: none!important;
}

.lb-footer__metro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 11px;
    margin-right: 6px;
    vertical-align: 1px;
}

.lb-footer__bas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
}

.lb-footer__bas p {
    margin: 0;
}

.lb-footer__bas span[aria-hidden] {
    margin: 0 8px;
}

.lb-footer__langues {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lb-footer__langues a[aria-current] {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media screen and (max-width: 900px) {
    .lb-footer__grille {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 600px) {
    .lb-footer {
        padding: 40px 20px 24px;
    }

    .lb-footer__grille {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lb-footer__bas {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 32px;
    }

    /* Liens plus faciles à toucher */
    .lb-footer__menu li,
    .lb-footer__col p {
        margin-bottom: 10px;
    }
}

/* ==========================================================================
   Refonte 2026 (suite) : intitulés en gris, soulignés animés,
   retour en haut de page.
   ========================================================================== */
/* Intitulés en gris : la hiérarchie se lit sans alourdir */
.lb-footer .lb-footer__titre {
    color: #8c8c8c!important;
    font-family: josefinsans-r, sans-serif!important;
    font-size: 12px!important;
    letter-spacing: .18em;
}

/* Liens : filet qui se dessine de gauche à droite au lieu du soulignement */
.lb-footer__grille a,
.lb-footer__bas a {
    background-image: linear-gradient(currentColor, currentColor)!important;
    background-size: 0 1px!important;
    background-position: 0 100%!important;
    background-repeat: no-repeat!important;
    transition: background-size .35s ease;
}

.lb-footer__grille a:hover,
.lb-footer__grille a:focus-visible,
.lb-footer__bas a:hover,
.lb-footer__bas a:focus-visible {
    text-decoration: none;
    background-size: 100% 1px!important;
}

.lb-footer__droite {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lb-footer a.lb-footer__haut span {
    display: inline-block;
    transition: transform .3s ease;
}

.lb-footer a.lb-footer__haut:hover span {
    transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
    .lb-footer__droite {
        flex-direction: column;
        gap: 16px;
    }
}

.lb-footer__bas .lb-footer__haut span[aria-hidden] {
    margin: 0 0 0 4px;
}

/* Sélection de texte inversée dans le footer : blanc sur noir → noir sur blanc */
.lb-footer ::selection {
    background: #fff;
    color: #000;
}

/* Téléphone : deux colonnes là où le contenu tient, pour raccourcir le pied de page
   (menu sur deux colonnes, contact et adresse côte à côte, langues et haut de page sur une ligne) */
@media screen and (max-width: 600px) {
    .lb-footer__grille {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px 20px;
    }

    .lb-footer__col--marque,
    .lb-footer__col:last-child {
        grid-column: 1 / -1;
    }

    .lb-footer__col--marque {
        flex-direction: column;
        gap: 20px;
    }

    .lb-footer__col--marque nav {
        width: 100%;
    }

    .lb-footer__menu {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 20px;
        font-size: 14px;
    }

    /* Liens plus faciles à toucher : 32 px de haut */
    .lb-footer__menu li {
        margin: 0;
    }

    .lb-footer__menu a {
        display: block;
        padding: 8px 0!important;
    }

    .lb-footer__droite {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}
