@charset "UTF-8";
/* =====================================================================
   Pied de page — gabarit 2026 (SeiWeb.Master et SitePortoFni.Master)
   Fond sombre uni (la photo nuisait au contraste), quatre colonnes
   alignées sur une grille, coordonnées complètes, liens légaux lisibles.
   ===================================================================== */
#footer.site-footer {
    --sf-bg: #0f1216;
    --sf-bg-2: #161a20;
    --sf-text: #c9ced6;
    --sf-muted: #8b93a0;
    --sf-heading: #ffffff;
    --sf-line: rgba(255,255,255,.08);
    --sf-accent: var(--primary, #0088cc);
    background: var(--sf-bg);
    color: var(--sf-text);
    font-size: .95rem;
    line-height: 1.6;
    border-top: 3px solid var(--sf-accent);
}

    #footer.site-footer a {
        color: var(--sf-text);
        text-decoration: none;
        transition: color .15s ease;
    }

        #footer.site-footer a:hover,
        #footer.site-footer a:focus-visible {
            color: #fff;
        }

        #footer.site-footer a:focus-visible {
            outline: 2px solid var(--sf-accent);
            outline-offset: 3px;
            border-radius: 2px;
        }

    /* Le thème impose « p { color: black !important } » (demo-transportation-logistic.css)
       et colore « #footer a:not(.btn):not(.no-footer-css) » : les liens du pied de page
       portent donc la classe no-footer-css, et les paragraphes reprennent leur couleur ici. */
    #footer.site-footer p,
    #footer.site-footer address {
        color: var(--sf-text) !important;
        font-size: inherit;
        line-height: inherit;
    }

    #footer.site-footer p.sf-cta-title {
        color: var(--sf-heading) !important;
        font-size: 1.3rem;
        line-height: 1.3;
    }

    #footer.site-footer p.sf-cta-text,
    #footer.site-footer .sf-contact-label {
        color: var(--sf-muted) !important;
    }

    #footer.site-footer .sf-btn-primary,
    #footer.site-footer .sf-btn-ghost {
        color: #fff;
    }

/* ----- Bandeau d'appel à l'action ----- */
#footer .sf-cta {
    background: var(--sf-bg-2);
    border-bottom: 1px solid var(--sf-line);
    padding: 1.75rem 0;
}

#footer .sf-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}

#footer .sf-cta-title {
    color: var(--sf-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

#footer .sf-cta-text {
    color: var(--sf-muted);
    margin: .2rem 0 0;
}

#footer .sf-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

#footer.site-footer .sf-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.2;
    border: 1px solid transparent;
}

#footer.site-footer .sf-btn-primary {
    background: var(--sf-accent);
    color: #fff;
}

    #footer.site-footer .sf-btn-primary:hover {
        filter: brightness(1.1);
        color: #fff;
    }

#footer.site-footer .sf-btn-ghost {
    border-color: rgba(255,255,255,.25);
    color: #fff;
}

    #footer.site-footer .sf-btn-ghost:hover {
        border-color: #fff;
    }

/* ----- Colonnes ----- */
#footer .sf-main {
    padding: 3rem 0 2rem;
}

#footer .sf-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.3fr .9fr 1.35fr;
    gap: 2.5rem;
}

#footer .sf-logo img {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

#footer .sf-about {
    margin: 0 0 1.25rem;
    max-width: 30rem;
}

#footer .sf-social {
    display: flex;
    gap: .5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

    #footer .sf-social a {
        display: inline-grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid var(--sf-line);
        background: rgba(255,255,255,.04);
    }

        #footer .sf-social a:hover {
            background: var(--sf-accent);
            border-color: var(--sf-accent);
        }

#footer .sf-heading {
    color: var(--sf-heading);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0 0 1rem;
    padding-bottom: .6rem;
    position: relative;
}

    #footer .sf-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 28px;
        height: 2px;
        background: var(--sf-accent);
    }

#footer .sf-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    #footer .sf-links li + li {
        margin-top: .35rem;
    }

#footer .sf-links-2col {
    columns: 2;
    column-gap: 1.5rem;
}

    #footer .sf-links-2col li {
        break-inside: avoid;
    }

#footer .sf-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    font-style: normal;
}

    #footer .sf-contact li {
        display: flex;
        gap: .75rem;
        align-items: flex-start;
    }

        #footer .sf-contact li + li {
            margin-top: .8rem;
        }

    #footer .sf-contact i {
        color: var(--sf-accent);
        width: 1rem;
        margin-top: .3rem;
        text-align: center;
    }

#footer .sf-contact-label {
    display: block;
    color: var(--sf-muted);
    font-size: .8rem;
}

/* ----- Bas de page ----- */
#footer .sf-bottom {
    border-top: 1px solid var(--sf-line);
    padding: 1.25rem 0;
    font-size: .85rem;
    color: var(--sf-muted);
}

#footer .sf-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}

#footer .sf-legal {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

    #footer.site-footer .sf-legal a,
    #footer.site-footer .sf-credit {
        color: var(--sf-muted);
    }

        #footer.site-footer .sf-legal a:hover,
        #footer.site-footer .sf-credit:hover {
            color: #fff;
        }

#footer .sf-credit {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

    #footer .sf-credit img {
        height: 22px;
        width: auto;
        opacity: .8;
    }

/* ----- Responsive ----- */
@media (max-width: 991.98px) {
    #footer .sf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

@media (max-width: 575.98px) {
    #footer .sf-grid {
        grid-template-columns: 1fr;
    }

    #footer .sf-cta-actions,
    #footer .sf-cta-actions .sf-btn {
        width: 100%;
        justify-content: center;
    }

    #footer .sf-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    #footer .sf-legal {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    #footer.site-footer a {
        transition: none;
    }
}
