
/* CDB — Pied de page officiel — 2026-10-27 */

.site-footer.cdb-footer {
    padding: 64px 0 26px;
    background: #0b2119;
    color: #ffffff;
}

.cdb-footer .cdb-footer-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.65fr) repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 48px);
    align-items: start;
}

.cdb-footer .cdb-footer-intro {
    min-width: 0;
}

.cdb-footer .cdb-footer-identity {
    display: inline-block;
    text-decoration: none;
}

.cdb-footer .footer-brand .cdb-footer-logo {
    display: block;
    width: 118px;
    height: auto;
    max-width: 100%;
    padding: 10px;
    margin: 0 0 20px;
    background: #ffffff;
    border-radius: 12px;
}

.cdb-footer .cdb-footer-intro p {
    max-width: 330px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    line-height: 1.8;
}

.cdb-footer .cdb-footer-nav {
    min-width: 0;
}

.cdb-footer .cdb-footer-nav h2 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cdb-footer .cdb-footer-nav a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 13px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.cdb-footer .cdb-footer-nav a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cdb-footer .cdb-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 17px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 9px;
    background: #ffffff;
    color: #123628;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.cdb-footer .cdb-footer-cta:hover {
    background: #e5f1e9;
    color: #123628;
}

.cdb-footer a:focus-visible {
    outline: 3px solid #d9f4e4;
    outline-offset: 4px;
}

.cdb-footer .cdb-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.7);
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 1050px) {
    .cdb-footer .cdb-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .site-footer.cdb-footer {
        padding: 44px 0 24px;
    }

    .cdb-footer .cdb-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .cdb-footer .footer-brand .cdb-footer-logo {
        width: 112px;
    }

    .cdb-footer .cdb-footer-nav h2 {
        margin-bottom: 13px;
    }

    .cdb-footer .cdb-footer-nav a {
        margin-bottom: 10px;
    }

    .cdb-footer .cdb-footer-bottom {
        margin-top: 32px;
        flex-direction: column;
        align-items: flex-start;
    }
}

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