/* ===== Pied de page commun à tout le site — chargé après Bootstrap et les style.css de chaque page ===== */

footer.site-footer {
    display: block;
    place-items: normal; /* les style.css centrent avec place-items, ce qui rétrécit les blocs */
    width: 100%;
    max-width: none;
    justify-self: stretch;
    box-sizing: border-box;
    margin: 80px 0 0;
    padding: 0;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    color: #C4C4C4;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.6) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-top: 1px solid rgba(196, 98, 0, 0.35);
}

footer.site-footer a:link,
footer.site-footer a:visited {
    color: #C4C4C4 !important;
    transition: color 0.2s ease;
}

footer.site-footer a:hover {
    color: #ffb266 !important;
}

/* ----- Bandeau d'appel à l'action ----- */
.sf-cta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sf-cta-texte strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.sf-cta-texte span {
    font-size: 15px;
}

footer.site-footer a.sf-cta-btn:link,
footer.site-footer a.sf-cta-btn:visited {
    flex-shrink: 0;
    padding: 14px 28px;
    border-radius: 999px;
    background: #C46200;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(196, 98, 0, 0.3);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

footer.site-footer a.sf-cta-btn:hover {
    background: #ffb266;
    color: #1b1b1b !important;
    transform: translateY(-2px);
}

/* ----- Colonnes ----- */
.sf-grille {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* style.css impose nav { width: 100vw } : on l'annule dans le pied de page */
footer.site-footer nav {
    width: auto;
    min-width: 0;
}

.sf-logo {
    width: 150px;
    max-width: 100%;
    margin-bottom: 18px;
}

.sf-pitch {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 300px;
}

.sf-reseaux {
    display: flex;
    gap: 10px;
}

footer.site-footer .sf-reseaux a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(196, 98, 0, 0.4);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

footer.site-footer .sf-reseaux a:hover {
    background: rgba(196, 98, 0, 0.18);
    border-color: #C46200;
    transform: translateY(-2px);
}

.sf-reseaux svg {
    width: 18px;
    height: 18px;
}

.sf-titre {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C46200;
    margin: 0 0 18px;
}

.sf-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-liste li {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
}

.sf-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sf-contact svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: #C46200;
}

.sf-note {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
}

.sf-note b {
    color: #f5b301;
    letter-spacing: 1px;
}

/* ----- Bas de page ----- */
.sf-bas {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 28px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

footer.site-footer .sf-bas a:link,
footer.site-footer .sf-bas a:visited {
    color: #888 !important;
}

footer.site-footer .sf-bas a:hover {
    color: #ffb266 !important;
}

.sf-bas p {
    margin: 0;
}

/* ----- Tablette ----- */
@media (max-width: 1024px) {
    .sf-grille {
        grid-template-columns: 1fr 1fr;
    }
}

/* ----- Mobile ----- */
@media (max-width: 767px) {
    footer.site-footer {
        margin-top: 60px;
    }

    .sf-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 20px;
    }

    .sf-cta-texte strong {
        font-size: 22px;
    }

    .sf-grille {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
        padding: 40px 20px 28px;
    }

    .sf-marque,
    .sf-col-contact {
        grid-column: 1 / -1;
    }

    .sf-bas {
        flex-direction: column;
        padding: 18px 20px 24px;
    }

    /* Laisse la place au bouton "Devis gratuit" collant des pages v2 */
    body.v2 footer.site-footer .sf-bas {
        padding-bottom: 96px;
    }
}
