/**
 * ============================================================================
 * COURSMARKETING.FR — FOOTER GLOBAL
 * ============================================================================
 *
 * Styles de base.
 * Le responsive est centralisé dans responsive.css.
 * ============================================================================
 */

.cm-site-footer {
    overflow: hidden;

    background: #031b3d;
    color: #ffffff;
}

.cm-footer-main {
    display: grid;
    grid-template-columns:
        minmax(240px, 1.55fr)
        repeat(4, minmax(120px, 1fr));

    align-items: start;

    gap: clamp(28px, 3.5vw, 54px);

    padding-top: 42px;
    padding-bottom: 36px;
}

.cm-footer-brand {
    min-width: 0;
}

.cm-footer-name {
    display: block;

    margin-bottom: 11px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;
}

.cm-footer-brand p {
    max-width: 290px;

    margin: 0;

    color: rgba(255, 255, 255, 0.63);

    font-size: 10px;
    line-height: 1.58;
}

.cm-footer-column {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 7px;
}

.cm-footer-column h2 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.cm-footer-column a {
    width: fit-content;

    color: rgba(255, 255, 255, 0.66);

    font-size: 9px;
    line-height: 1.4;

    text-decoration: none;
}

.cm-footer-column a:hover,
.cm-footer-column a:focus-visible {
    color: #ffffff;
}

.cm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cm-footer-bottom p {
    margin: 0;
    padding: 15px 0;

    color: rgba(255, 255, 255, 0.50);

    font-size: 8px;

    text-align: center;
}


/* ==========================================================================
   FOOTER — LISIBILITÉ DESKTOP / LAPTOP
   ==========================================================================

   Agrandissement typographique réservé aux écrans à partir de 1025 px.

   Les dimensions tablette et mobile restent gérées par les styles de base
   et par responsive.css.
   ========================================================================== */

@media (min-width: 1025px) {

    .cm-footer-main {
        gap: clamp(36px, 4vw, 60px);

        padding-top: 52px;
        padding-bottom: 44px;
    }

    .cm-footer-name {
        margin-bottom: 14px;

        font-size: 18px;
        line-height: 1.25;
    }

    .cm-footer-brand p {
        max-width: 340px;

        font-size: 14px;
        line-height: 1.6;
    }

    .cm-footer-column {
        gap: 9px;
    }

    .cm-footer-column h2 {
        margin-bottom: 7px;

        font-size: 14px;
        line-height: 1.25;
    }

    .cm-footer-column a {
        font-size: 13px;
        line-height: 1.45;
    }

    .cm-footer-bottom p {
        padding: 18px 0;

        font-size: 11px;
        line-height: 1.4;
    }
}
