/* ==========================================================================
   Footer Styles (Figma)
   ========================================================================== */

.site-footer {
    background-color: var(--color-dark, #1c1c1c);
    color: var(--color-white, #ffffff);
    width: 100%;
    margin-top: auto;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--color-primary, #ef651a);
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Top Footer --- */
.site-footer .footer-top {
    max-width: 1420px;
    margin: 0 auto;
    padding: 80px 24px 64px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Colonne 1 : Logo */
.site-footer .footer-col-logo .footer-logo-link {
    display: inline-block;
    max-width: 360px;
}

.site-footer .footer-col-logo img {
    max-width: 100%;
    max-height: 112px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.site-footer .footer-col-logo .site-title {
    font-family: var(--font-heading, 'Funnel Display', sans-serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-white, #ffffff);
}

/* Colonnes 2 & 3 : Contenu & Titres */
.site-footer .footer-title {
    font-family: var(--font-heading, 'Funnel Display', sans-serif);
    font-weight: 500;
    font-size: 22px;
    line-height: 24px;
    color: #fafaf8;
    margin: 0 0 24px 0;
}

/* Coordonnées */
.site-footer .footer-address {
    font-family: var(--font-heading, 'Funnel Display', sans-serif);
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
    color: #ffffff;
    font-style: normal;
}

.site-footer .footer-address p {
    font-family: var(--font-heading, 'Funnel Display', sans-serif) !important;
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.site-footer .footer-address p:last-child {
    margin-bottom: 0;
}

.site-footer .footer-coords-extra {
    margin-top: 12px;
}

.site-footer .footer-coords-extra a {
    display: inline-block;
    color: #ffffff;
}

/* Menu légal / liens colonne 3 */
.site-footer .footer-col-nav ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer .footer-col-nav li,
.site-footer .footer-col-nav a {
    font-family: var(--font-heading, 'Funnel Display', sans-serif);
    font-weight: 300;
    font-size: 20px;
    line-height: 20px;
    color: #ffffff;
}

/* --- Bottom Footer --- */
.site-footer .footer-bottom {
    border-top: 1px solid var(--color-primary, #ef651a);
    padding: 24px 24px 32px;
}

.site-footer .footer-bottom-inner {
    max-width: 1420px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer .footer-copyright,
.site-footer .footer-tagline {
    font-family: var(--font-body, 'Outfit', sans-serif) !important;
    font-weight: 300;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
}

.site-footer .footer-tagline sup {
    font-size: 11px;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    top: -0.4em;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .site-footer .footer-top {
        padding: 60px 24px 48px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .site-footer .footer-col-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-top {
        padding: 40px 20px 30px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Logo harmonisé avec le header */
    .site-footer .footer-col-logo .footer-logo-link {
        max-width: 180px;
    }

    .site-footer .footer-col-logo img {
        max-height: 52px;
    }

    /* Titres de colonnes */
    .site-footer .footer-title {
        font-size: 18px;
        line-height: 22px;
        margin: 0 0 12px 0;
    }

    /* Corps de texte harmonisé avec les paragraphes du site */
    .site-footer .footer-address {
        font-family: var(--font-body, 'Outfit', sans-serif) !important;
        font-size: 16px;
        line-height: 24px;
    }

    .site-footer .footer-address p {
        font-family: var(--font-body, 'Outfit', sans-serif) !important;
        font-size: 16px !important;
        line-height: 24px !important;
        margin: 0 0 4px 0;
    }

    .site-footer .footer-coords-extra {
        margin-top: 8px;
    }

    /* Menu informations / liens */
    .site-footer .footer-col-nav ul {
        gap: 10px;
    }

    .site-footer .footer-col-nav li,
    .site-footer .footer-col-nav a {
        font-family: var(--font-body, 'Outfit', sans-serif) !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }

    /* Barre inférieure */
    .site-footer .footer-bottom {
        padding: 16px 20px 24px;
    }

    .site-footer .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .site-footer .footer-copyright,
    .site-footer .footer-tagline {
        font-size: 14px !important;
        line-height: 18px !important;
    }
}

