/* ==========================================================================
   FOOTER NATIF — Phase 1
   Reproduction du footer HFE/Elementor en PHP/CSS purs
   ========================================================================== */


/* --------------------------------------------------------------------------
   Container principal du footer
   -------------------------------------------------------------------------- */

.mcp-footer {
    background: #1c74f4;
    color: #ffffff;
    width: 100%;
    margin-top: 60px;
    font-family: "Open Sans", sans-serif;
    box-sizing: border-box;
}

.mcp-footer * {
    box-sizing: border-box;
}

.mcp-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.mcp-footer a:hover,
.mcp-footer a:focus {
    opacity: 0.8;
    text-decoration: underline;
}


/* --------------------------------------------------------------------------
   Zone principale du footer (logo + menu)
   -------------------------------------------------------------------------- */

.mcp-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 30px 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}


/* --------------------------------------------------------------------------
   Brand (logo + tagline)
   -------------------------------------------------------------------------- */

.mcp-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mcp-footer__logo {
    display: inline-block;
    line-height: 0;
    max-width: 220px;
}

.mcp-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 220px;
}

.mcp-footer__tagline {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Menu de liens
   -------------------------------------------------------------------------- */

.mcp-footer__menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mcp-footer__nav {
    width: 100%;
}

.mcp-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    justify-content: flex-end;
}

.mcp-footer__links li {
    margin: 0;
    padding: 0;
}

.mcp-footer__links a {
    font-size: 17px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Phrase d'hébergement
   -------------------------------------------------------------------------- */

.mcp-footer__hosting {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
    text-align: right !important;
}

.mcp-footer__hosting-emoji {
    margin-right: 4px;
    font-weight:600 !important;
}


/* --------------------------------------------------------------------------
   Bas du footer (copyright + disclaimer)
   -------------------------------------------------------------------------- */

.mcp-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 0;
}

.mcp-footer__bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

.mcp-footer__copyright {
    font-size: 13px;
    color: #ffffff;
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 1.5;
    opacity: 0.9;
}

.mcp-footer__copyright strong {
    font-weight: 700;
}

.mcp-footer__disclaimer {
    font-size: 12px;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    opacity: 0.75;
}


/* --------------------------------------------------------------------------
   Responsive : tablette/mobile (≤1024px)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {

    .mcp-footer {
        margin-top: 40px;
    }

    .mcp-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 24px 30px;
        text-align: center;
    }

    .mcp-footer__brand {
        align-items: center;
    }

    .mcp-footer__logo {
        max-width: 200px;
    }

    .mcp-footer__tagline {
        text-align: center;
    }

    .mcp-footer__menu {
        gap: 28px;
    }

    .mcp-footer__links {
        flex-direction: column;
        gap: 14px;
        justify-content: center;
        align-items: center;
    }

    .mcp-footer__links a {
        font-size: 15px;
    }

    .mcp-footer__hosting {
        text-align: center !important;
        font-weight: 600;
    }

    .mcp-footer__bottom-inner {
        padding: 0 24px;
        text-align: center;
    }

    .mcp-footer__copyright,
    .mcp-footer__disclaimer {
        text-align: center;
    }
}


@media (max-width: 600px) {

    .mcp-footer__inner {
        padding: 32px 20px 24px;
    }

    .mcp-footer__bottom-inner {
        padding: 0 20px;
    }

    .mcp-footer__disclaimer {
        font-size: 11px;
    }
}