/* footer.css — pied de page du design nv2 (components/layout/footer.php) :
   fond marine, bouton « Revenir en haut » en trapèze, logo blanc,
   colonnes Nos solutions / Suivez-nous / Nous contacter ; ligne basse
   noire (©, crédit, liens légaux). Mobile d'abord. */

.site-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.footer-main {
    padding-bottom: 48px;
}

.footer-top {
    display: flex;
    justify-content: center;
}

.footer-back-to-top {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 12px 26px;
    background-color: var(--color-blue);
    color: var(--color-on-blue);
    font-family: var(--font-condensed);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 14px 100%);
    transition: box-shadow 0.2s ease;
}

.footer-back-to-top:hover {
    color: var(--color-on-blue);
    box-shadow: inset 0 0 0 999px var(--btn-hover-shade);
}

.footer-back-to-top:focus-visible {
    outline-color: var(--color-on-blue);
    outline-offset: -4px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 36px;
    margin-top: 44px;
}

.footer-brand img {
    width: 150px;
    height: auto;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
}

.footer-title {
    margin: 0;
    color: var(--color-on-dark-title);
    font-family: var(--font-condensed);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    color: var(--color-on-dark);
}

.footer-col a:hover {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-email {
    overflow-wrap: anywhere;
}

.footer-bottom {
    background-color: var(--color-black);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 14px;
    color: var(--color-on-dark-muted);
}

.footer-bottom-inner p {
    margin: 0;
    color: inherit;
}

.footer-bottom a {
    color: var(--color-white);
}

/* Lien du crédit, dans une phrase : souligné en permanence, jamais distingué
   par la couleur seule (WCAG 1.4.1, A-23). */
.footer-bottom p a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-bottom a:hover {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
}

.footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}
