
/* ============================================================
   FOOTER TOUTPILOT — STYLE COMMUN ACCUEIL / BLOG
   ============================================================ */

:root {
    --l-bg: #f5f8fc;
    --l-bg-alt: #eaf0f8;
    --l-surface: #ffffff;
    --l-text: #0e1b2e;
    --l-muted: #53657d;
    --l-border: #d6e0ec;
    --l-accent: #2f6bff;
    --l-accent-text: #ffffff;
    --l-glow: rgba(47, 107, 255, .18);
}

:root[data-theme="dark"] {
    --l-bg: #050507;
    --l-bg-alt: #0b0d14;
    --l-surface: #11141d;
    --l-text: #f2f5fb;
    --l-muted: #9aa6ba;
    --l-border: #232837;
    --l-accent: #4a82ff;
    --l-accent-text: #ffffff;
    --l-glow: rgba(74, 130, 255, .22);
}

/* Pied de page */
.l-footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 35px;
    align-items: start;
    padding: 3rem clamp(1rem, 4vw, 3rem);
    border-top: 1px solid var(--l-border);
    background: var(--l-bg);
    color: var(--l-text);
    font: 17px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
}

.l-footer > div {
    min-width: 0;
}

/* Logo */
.l-footer .l-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.03em;
    text-decoration: none;
}

.l-footer .l-logo img {
    width: 70px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Titres */
.l-footer h3 {
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 15px;
    font-size: 1rem;
    font-weight: 700;
}

/* Texte de présentation */
.l-footer p {
    margin: .6rem 0 0;
    max-width: 24em;
    color: var(--l-muted);
    font-size: .95rem;
}

/* Liens */
.l-footer a:not(.l-logo) {
    display: block;
    padding: .15rem 0;
    color: var(--l-muted);
    text-decoration: none;
}

.l-footer > div > a:not(.l-logo) {
    margin-bottom: 10px;
}

.l-footer a:not(.l-logo):hover {
    color: var(--l-text);
}

/* Colonne juridique */
.footer-legal {
    display: flex;
    flex-direction: column;
}

.footer-legal-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal-links a {
    color: inherit;
    opacity: .75;
    text-decoration: none;
    font-size: 13px;
    transition: opacity .2s ease;
}

.footer-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Copyright */
.l-footer .l-copy {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 128, 128, .2);
    font-size: .85rem;
}
 
 
/* Responsive */
@media (max-width: 900px) {
    .l-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 520px) {
    .l-footer {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .l-footer .l-logo img {
        width: 60px;
    }
}
