/* Pied de page. */

.site-footer {
    background: var(--c-anthracite);
    color: var(--c-footer-text);
    padding-block: var(--sp-8) var(--sp-6);
}

.site-footer a {
    color: var(--c-footer-text);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-grid {
    margin-bottom: var(--sp-7);
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-brand img {
    height: 78px;
    /* `width: auto` est indispensable : sans lui, l'attribut `width` du HTML
       écrase le ratio et le logo est aplati. */
    width: auto;
    margin-bottom: var(--sp-4);
    /* Le logo passe en blanc plein sur l'anthracite du pied de page, quelles
       que soient ses couleurs d'origine. `brightness(0)` écrase tout en noir en
       préservant la transparence, `invert(1)` retourne ce noir en blanc — seul,
       `invert(1)` donnerait un négatif, pas du blanc. */
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--c-footer-soft);
    font-size: 0.9rem;
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: #fff;
}

.footer-social {
    list-style: none;
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-3);
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.footer-social__link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.footer-social__link svg {
    width: 20px;
    height: 20px;
}

.footer-col-title {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--sp-4);
    font-family: var(--font-sans);
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

/* Portée au pied de page seulement : la même règle appliquée globalement
   déteindrait sur les listes du contenu éditorial. */
.site-footer .footer-col li,
.site-footer .footer-col a {
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--c-footer-line);
    padding-top: var(--sp-5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--sp-3);
    font-size: 0.8rem;
    /* 4,88:1 sur l'anthracite du pied de page — au-dessus du seuil AA. */
    color: var(--c-footer-legal);
}

.footer-bottom ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
}
