/* footer.css — pied de page : liens, réseaux, copyright. */

/* Footer : section « Ressources » centrée, puis le copyright. */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding: 32px 0;
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.footer-title {
    font-family: "greycliff-cf", sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin: 0 0 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    margin: 0;
    font-size: 15px;
    font-weight: 300;
}

/* Gris comme les liens de la navbar, plus foncé et souligné au survol. */
.footer-links a {
    color: var(--muted);
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color .15s ease;
}

.footer-links a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* Page courante. */
.footer-links a.active {
    color: var(--text);
    text-decoration: underline;
}

/* Deuxième titre du footer (réseaux), plus bas que les liens. */
.footer-links + .footer-title {
    margin-top: 40px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    /* Le padding du lien (4px) et la marge interne du dessin de l'icône la
       font paraître plus basse que les liens texte : remontée à l'œil. */
    margin: -4px 0 0;
}

.footer-social a {
    display: inline-flex;
    padding: 4px;
    color: var(--muted);
    transition: color .15s ease;
}

.footer-social a:hover {
    color: var(--text);
}

.footer-icon {
    display: block;
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-copy {
    margin: 20px 0 0;
    color: var(--muted);
}
