/* ==========================================================
   NISAN CORPORATION SARL
   FOOTER PROFESSIONNEL — BLEU MARINE, ROUGE ET BLANC
   Fichier : public/css/footer.css
   ========================================================== */

.site-footer {
    --footer-navy: #081a30;
    --footer-blue: #102b4e;
    --footer-red: #d62832;
    --footer-white: #ffffff;
    --footer-muted: #c1ccda;

    position: relative;
    margin-top: 0 !important;
    background: var(--footer-navy);
    color: var(--footer-white);
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    overflow: hidden;
}

/* Barre supérieure */
.site-footer .footer-top-line {
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--footer-red) 0%,
        var(--footer-red) 30%,
        var(--footer-blue) 30%,
        #244b76 100%
    );
}

/* Zone principale */
.site-footer .footer-main {
    padding-top: 65px;
    padding-bottom: 52px;
}

.site-footer .footer-column {
    min-width: 0;
}

/* Logo */
.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
    text-decoration: none;
}

.site-footer .footer-logo {
    display: block;
    width: auto;
    max-width: 210px;
    max-height: 90px;
    object-fit: contain;
    object-position: left center;
}

/* Présentation de l'entreprise */
.site-footer .footer-description {
    margin: 17px 0 24px;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* Titres */
.site-footer .footer-heading {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 13px;
    color: var(--footer-white);
    font-family: "Saira", "Inter", Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.site-footer .footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 43px;
    height: 3px;
    border-radius: 2px;
    background: var(--footer-red);
}

/* Liens de navigation */
.site-footer .footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-links li {
    margin: 0 0 14px;
    padding: 0;
}

.site-footer .footer-links a {
    display: inline-block;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-links a::before {
    content: "›";
    display: inline-block;
    margin-right: 9px;
    color: var(--footer-red);
    font-size: 19px;
    font-weight: 700;
    line-height: 0;
    vertical-align: -1px;
}

.site-footer .footer-links a:hover {
    color: var(--footer-white);
    transform: translateX(3px);
}

/* Bouton de devis */
.site-footer .footer-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    max-width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border: 1px solid var(--footer-red);
    border-radius: 5px;
    background: var(--footer-red);
    color: var(--footer-white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.site-footer .footer-quote-btn:hover {
    border-color: #ffffff;
    background: transparent;
    color: #ffffff;
}

/* Liste des coordonnées */
.site-footer .footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    margin: 0;
}

.site-footer .footer-contact-icon {
    display: inline-flex;
    flex: 0 0 37px;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border: 1px solid rgba(214, 40, 50, 0.45);
    border-radius: 7px;
    background: rgba(214, 40, 50, 0.12);
    color: #ff626b;
}

.site-footer .footer-contact-list li > div {
    min-width: 0;
    flex: 1;
}

.site-footer .footer-contact-list strong {
    display: block;
    margin-bottom: 5px;
    color: var(--footer-white);
    font-size: 13px;
    font-weight: 700;
}

.site-footer .footer-contact-list p {
    margin: 0;
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.site-footer .footer-contact-list a {
    display: inline-block;
    max-width: 100%;
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.8;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.site-footer .footer-contact-list a:hover {
    color: #ff626b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Réseaux sociaux */
.site-footer .footer-social-heading {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.site-footer .footer-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.site-footer .footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.site-footer .footer-social:hover {
    transform: translateY(-3px);
    border-color: var(--footer-red);
    background: var(--footer-red);
    color: #ffffff;
}

/* Bande inférieure */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.15);
}

.site-footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 21px;
    padding-bottom: 21px;
}

.site-footer .footer-copyright,
.site-footer .footer-credit {
    margin: 0;
    color: #aebaca;
    font-size: 12px;
    line-height: 1.8;
}

.site-footer .footer-copyright strong {
    color: #ffffff;
}

.site-footer .footer-credit a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.site-footer .footer-credit a:hover {
    color: #ff626b;
}

/* Focus clavier */
.site-footer a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

/* Tablettes */
@media (max-width: 991.98px) {
    .site-footer .footer-main {
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .site-footer .footer-heading {
        margin-bottom: 22px;
    }
}

/* Téléphones */
@media (max-width: 575.98px) {
    .site-footer .footer-main {
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .site-footer .footer-logo {
        max-width: 185px;
        max-height: 75px;
    }

    .site-footer .footer-description {
        margin-top: 14px;
        font-size: 13px;
    }

    .site-footer .footer-heading {
        margin-bottom: 19px;
        font-size: 18px;
    }

    .site-footer .footer-links li {
        margin-bottom: 12px;
    }

    .site-footer .footer-contact-list {
        gap: 18px;
    }

    .site-footer .footer-social {
        width: 40px;
        height: 40px;
    }

    .site-footer .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-top: 17px;
        padding-bottom: 17px;
    }
}

/* Réduction des animations */
@media (prefers-reduced-motion: reduce) {
    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
