/*
 Theme Name: Hello Elementor Child - Master Finance
 Theme URI: https://master-finance.eu
 Description: Thème enfant — Espace Partenaire. Aucune modification visuelle du site.
 Author: Rick — Master Finance
 Template: hello-elementor
 Version: 4.3.0
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Empêcher le scroll horizontal */
body.role-partenaire,
.mf-form-container,
.mf-dossiers-container,
.mf-login-container {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --mf-primary: #06585F;
    --mf-primary-light: #0A7A83;
    --mf-accent: #A2CACD;
    --mf-accent-bg: #F0F7F8;
    --mf-white: #FFFFFF;
    --mf-text: #1A2B2D;
    --mf-text-light: #5A6F72;
    --mf-border: #E2E8EC;
    --mf-success: #2D8B4E;
    --mf-font: 'Plus Jakarta Sans', sans-serif;
}


/* ============================================================
   BIENVENUE
   ============================================================ */
.mf-bienvenue { margin: 20px 0; }
.mf-bienvenue-titre { font-family: var(--mf-font); font-weight: 800; color: var(--mf-text); font-size: 28px; margin: 0; }
.mf-bienvenue-texte { font-family: var(--mf-font); font-size: 15px; color: var(--mf-text-light); margin: 4px 0 0; }


/* ============================================================
   STATS
   ============================================================ */
.mf-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 24px 0; }
.mf-stat-card { background: var(--mf-white); border: 1px solid var(--mf-border); border-radius: 16px; padding: 28px 20px; text-align: center; transition: all 0.25s; }
.mf-stat-card:hover { border-color: var(--mf-accent); box-shadow: 0 8px 32px rgba(6,88,95,0.08); transform: translateY(-2px); }
.mf-stat-value { font-family: var(--mf-font); font-size: 36px; font-weight: 800; color: var(--mf-primary); line-height: 1; margin-bottom: 4px; }
.mf-stat-label { font-family: var(--mf-font); font-size: 13px; font-weight: 500; color: var(--mf-text-light); text-transform: uppercase; letter-spacing: 0.5px; }


/* ============================================================
   FORMULAIRE
   ============================================================ */
.mf-form-container { background: var(--mf-white); border: 1px solid var(--mf-border); border-radius: 16px; padding: 48px 44px; max-width: 780px; margin: 24px auto; box-sizing: border-box; overflow: hidden; }
.mf-form-header { text-align: center; margin-bottom: 28px; }
.mf-form-title { font-family: var(--mf-font); font-size: 32px; font-weight: 800; color: var(--mf-text); margin: 0 0 8px; }
.mf-form-subtitle { font-family: var(--mf-font); font-size: 16px; color: var(--mf-text-light); margin: 0; }

.mf-form-row { display: flex; gap: 20px; margin-bottom: 22px; }
.mf-form-row-2 > .mf-form-field { flex: 1; min-width: 0; }
.mf-form-field { display: flex; flex-direction: column; }

.mf-label { font-family: var(--mf-font); font-size: 15px; font-weight: 600; color: var(--mf-text); margin-bottom: 8px; }
.mf-required { color: #C0392B; }

.mf-input {
    font-family: var(--mf-font); font-size: 16px; color: var(--mf-text);
    padding: 14px 16px;
    border: 1.5px solid var(--mf-border); border-radius: 10px;
    background: var(--mf-white);
    outline: none; transition: all 0.25s;
    width: 100%; box-sizing: border-box;
    height: 50px;
    line-height: 1.4;
}

.mf-input:focus { border-color: var(--mf-accent); box-shadow: 0 0 0 3px rgba(162,202,205,0.25); }
.mf-input::placeholder { color: #A0B0B3; font-weight: 400; }
.mf-input[readonly] { background: #F5F6F8; color: var(--mf-text-light); cursor: default; }

.mf-select { appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235A6F72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; height: 50px; }
.mf-textarea { min-height: 130px; height: auto; resize: vertical; }

.mf-form-rgpd { margin: 20px 0 24px; }
.mf-form-rgpd label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.mf-form-rgpd input[type="checkbox"] { margin-top: 3px; accent-color: var(--mf-primary); width: 16px; height: 16px; flex-shrink: 0; }
.mf-form-rgpd span { font-family: var(--mf-font); font-size: 12px; color: var(--mf-text-light); line-height: 1.5; }
.mf-form-rgpd a { color: var(--mf-primary); text-decoration: underline; }

.mf-form-submit {
    width: 100%; font-family: var(--mf-font); font-size: 16px; font-weight: 700;
    padding: 18px 48px; background: var(--mf-primary); color: var(--mf-white);
    border: none; border-radius: 12px; cursor: pointer; transition: all 0.25s;
    height: 56px;
}
.mf-form-submit:hover { background: var(--mf-primary-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,88,95,0.15); }

/* Messages */
.mf-form-message { font-family: var(--mf-font); font-size: 14px; font-weight: 600; padding: 16px 20px; border-radius: 10px; margin-bottom: 20px; text-align: center; }
.mf-form-message-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #B8DECA; }
.mf-form-message-error { background: #FFF0F0; color: #C0392B; border: 1px solid #F5C6C6; }


/* ============================================================
   DOSSIERS
   ============================================================ */
.mf-dossiers-container { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; }

.mf-dossiers-empty { text-align: center; padding: 60px 20px; background: var(--mf-accent-bg); border-radius: 16px; border: 1px dashed var(--mf-accent); }
.mf-empty-title { font-family: var(--mf-font); font-size: 18px; font-weight: 700; color: var(--mf-text); margin: 0 0 8px; }
.mf-empty-text { font-family: var(--mf-font); font-size: 14px; color: var(--mf-text-light); margin: 0; }

.mf-dossier-card { background: var(--mf-white); border: 1px solid var(--mf-border); border-radius: 16px; overflow: hidden; transition: all 0.25s; }
.mf-dossier-card:hover { border-color: var(--mf-accent); box-shadow: 0 8px 32px rgba(6,88,95,0.08); }

.mf-dossier-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 16px; border-bottom: 1px solid var(--mf-border); }
.mf-dossier-ref { font-family: var(--mf-font); font-size: 12px; font-weight: 600; color: var(--mf-primary); background: var(--mf-accent-bg); display: inline-block; padding: 3px 10px; border-radius: 6px; margin-bottom: 6px; letter-spacing: 0.5px; }
.mf-dossier-client { font-family: var(--mf-font); font-size: 17px; font-weight: 700; color: var(--mf-text); }
.mf-dossier-montant { font-family: var(--mf-font); font-size: 20px; font-weight: 800; color: var(--mf-primary); text-align: right; }
.mf-dossier-motif { font-family: var(--mf-font); font-size: 13px; color: var(--mf-text-light); text-align: right; }


/* ============================================================
   TIMELINE
   ============================================================ */
.mf-timeline { display: flex; justify-content: space-between; padding: 24px; position: relative; }
.mf-timeline::before { content: ''; position: absolute; top: 50%; left: 48px; right: 48px; height: 2px; background: var(--mf-border); transform: translateY(-8px); z-index: 0; }

.mf-timeline-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; flex: 1; }

.mf-timeline-dot {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mf-font); font-size: 13px; font-weight: 700;
    transition: all 0.3s;
}

.mf-timeline-step.pending .mf-timeline-dot { background: var(--mf-white); border: 2px solid var(--mf-border); color: var(--mf-text-light); }
.mf-timeline-step.done .mf-timeline-dot { background: var(--mf-success); border: 2px solid var(--mf-success); color: var(--mf-white); }
.mf-timeline-step.active .mf-timeline-dot { background: var(--mf-primary); border: 2px solid var(--mf-primary); color: var(--mf-white); box-shadow: 0 0 0 4px rgba(6,88,95,0.15); animation: mf-pulse 2s infinite; }

@keyframes mf-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(6,88,95,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(6,88,95,0.05); }
}

.mf-timeline-label { font-family: var(--mf-font); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.mf-timeline-step.pending .mf-timeline-label { color: var(--mf-text-light); }
.mf-timeline-step.done .mf-timeline-label { color: var(--mf-success); }
.mf-timeline-step.active .mf-timeline-label { color: var(--mf-primary); }


/* ============================================================
   FOOTER DOSSIER
   ============================================================ */
.mf-dossier-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: #FAFBFC; border-top: 1px solid var(--mf-border); }

.mf-badge { font-family: var(--mf-font); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.3px; }
.mf-badge-reception { background: #E3F2FD; color: #1565C0; }
.mf-badge-etude { background: #FFF3E0; color: #E65100; }
.mf-badge-expertise { background: #F3E5F5; color: #7B1FA2; }
.mf-badge-offre { background: #FFF8E1; color: #F57F17; }
.mf-badge-deblocage { background: #E8F5E9; color: #2E7D32; }

.mf-dossier-date { font-family: var(--mf-font); font-size: 12px; color: var(--mf-text-light); }


/* ============================================================
   FORMULAIRE DE CONNEXION
   ============================================================ */
.mf-login-container {
    background: var(--mf-white); border: 1px solid var(--mf-border); border-radius: 16px;
    padding: 48px 40px; max-width: 460px; margin: 32px auto; text-align: center;
}
.mf-login-icon { margin-bottom: 16px; }
.mf-login-title { font-family: var(--mf-font); font-size: 22px; font-weight: 800; color: var(--mf-text); margin: 0 0 6px; }
.mf-login-subtitle { font-family: var(--mf-font); font-size: 14px; color: var(--mf-text-light); margin: 0 0 28px; }
.mf-login-container .mf-form { text-align: left; }
.mf-login-container .mf-form-submit { margin-top: 8px; }
.mf-login-help { font-family: var(--mf-font); font-size: 12px; color: var(--mf-text-light); margin-top: 24px; }
.mf-login-help a { color: var(--mf-primary); text-decoration: underline; }


/* ============================================================
   RESSOURCES TÉLÉCHARGEABLES
   ============================================================ */
.mf-ressources { margin: 40px 0; }
.mf-ressources-titre { font-family: var(--mf-font); font-size: 26px; font-weight: 800; color: var(--mf-text); text-align: center; margin: 0 0 6px; }
.mf-ressources-subtitle { font-family: var(--mf-font); font-size: 15px; color: var(--mf-text-light); text-align: center; margin: 0 0 28px; }

.mf-ressources-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.mf-ressource-card {
    display: flex; align-items: center; gap: 16px;
    background: var(--mf-white); border: 1px solid var(--mf-border); border-radius: 12px;
    padding: 20px 24px; text-decoration: none !important; transition: all 0.25s; cursor: pointer;
}
.mf-ressource-card:hover { border-color: var(--mf-accent); box-shadow: 0 4px 16px rgba(6,88,95,0.06); transform: translateY(-2px); }

.mf-ressource-icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--mf-accent-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; }

.mf-ressource-info { flex: 1; min-width: 0; }
.mf-ressource-titre { font-family: var(--mf-font); font-size: 15px; font-weight: 700; color: var(--mf-text); margin-bottom: 2px; }
.mf-ressource-desc { font-family: var(--mf-font); font-size: 13px; color: var(--mf-text-light); }

.mf-ressource-dl { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--mf-accent-bg); display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.mf-ressource-card:hover .mf-ressource-dl { background: var(--mf-primary); }
.mf-ressource-card:hover .mf-ressource-dl svg { stroke: var(--mf-white); }

.mf-ressources-kit { text-align: center; }
.mf-kit-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mf-font); font-size: 15px; font-weight: 700;
    padding: 14px 32px; background: var(--mf-primary); color: var(--mf-white) !important;
    border-radius: 12px; text-decoration: none !important; transition: all 0.25s;
}
.mf-kit-btn:hover { background: var(--mf-primary-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,88,95,0.15); }


/* ============================================================
   CONNEXION PARTENAIRE
   ============================================================ */
.mf-login-container { background: var(--mf-white); border: 1px solid var(--mf-border); border-radius: 16px; padding: 48px 44px; max-width: 520px; margin: 32px auto; }
.mf-login-header { text-align: center; margin-bottom: 32px; }
.mf-login-icon { margin-bottom: 20px; }
.mf-login-title { font-family: var(--mf-font); font-size: 26px; font-weight: 800; color: var(--mf-text); margin: 0 0 8px; }
.mf-login-subtitle { font-family: var(--mf-font); font-size: 15px; color: var(--mf-text-light); margin: 0; }
.mf-login-help { font-family: var(--mf-font); font-size: 13px; color: var(--mf-text-light); text-align: center; margin-top: 24px; }
.mf-login-help a { color: var(--mf-primary); text-decoration: underline; }

/* État connecté */
.mf-login-connected { text-align: center; padding: 32px; background: var(--mf-accent-bg); border-radius: 12px; margin: 20px auto; }
.mf-login-connected-text { font-family: var(--mf-font); font-size: 16px; color: var(--mf-text); margin: 0 0 16px; }
.mf-login-connected-text strong { color: var(--mf-primary); }

.mf-login-btn-suivi {
    display: inline-block; font-family: var(--mf-font); font-size: 14px; font-weight: 700;
    padding: 12px 32px; background: var(--mf-primary); color: var(--mf-white) !important;
    border-radius: 10px; text-decoration: none !important; transition: all 0.25s; margin-bottom: 12px;
}
.mf-login-btn-suivi:hover { background: var(--mf-primary-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,88,95,0.15); }

.mf-login-logout { display: block; font-family: var(--mf-font); font-size: 13px; color: var(--mf-text-light) !important; text-decoration: underline !important; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .mf-stats-grid { grid-template-columns: 1fr; gap: 12px; }
    .mf-form-container { padding: 24px 20px; }
    .mf-form-row { flex-direction: column; gap: 14px; }
    .mf-dossier-header { flex-direction: column; gap: 12px; }
    .mf-dossier-montant, .mf-dossier-motif { text-align: left; }

    .mf-timeline { flex-direction: column; gap: 16px; padding: 20px; }
    .mf-timeline::before { top: 0; bottom: 0; left: 42px; right: auto; width: 2px; height: auto; transform: none; }
    .mf-timeline-step { flex-direction: row; gap: 12px; }

    .mf-dossier-footer { flex-direction: column; gap: 8px; align-items: flex-start; }

    .mf-login-container { padding: 32px 24px; margin: 20px auto; }

    .mf-input { font-size: 16px; }

    .mf-ressource-card { padding: 16px; gap: 12px; }
    .mf-ressource-icon { width: 40px; height: 40px; }
    .mf-ressource-dl { width: 36px; height: 36px; }
}


/* ============================================================
   HEADER — Master Finance
   ============================================================ */

.mfh {
    position: sticky; top: 0; z-index: 9990;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.mfh--scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: #E2E8EC;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.mfh-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    height: 160px; display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.mfh-logo { display: flex !important; align-items: center !important; text-decoration: none !important; }
.mfh-logo img {
    height: 150px !important; width: auto !important; max-width: none !important;
    transition: transform 0.3s ease !important;
}
.mfh-logo:hover img { transform: scale(1.08) !important; }
.mfh-logo-text { display: none !important; }

/* Nav */
.mfh-nav { display: flex; align-items: center; gap: 4px; }
.mfh-nav-link {
    display: flex; align-items: center; gap: 4px;
    font-size: 16px !important; font-weight: 500 !important; color: #1A2B2D !important;
    text-decoration: none !important; padding: 8px 14px; border-radius: 8px;
    transition: all 0.2s; cursor: pointer !important;
    user-select: none; background: none !important; border: none !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.mfh-nav-link:hover { background: #F0F7F8; }
.mfh-chev { transition: transform 0.25s; }
.mfh-dropdown.mfh-dropdown--open .mfh-chev { transform: rotate(180deg); }

/* Dropdown level 1 */
.mfh-dropdown { position: relative; }
.mfh-dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border-radius: 12px; border: 1px solid #E2E8EC;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08); padding: 8px 0;
    opacity: 0; transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}
.mfh-dropdown.mfh-dropdown--open .mfh-dropdown-menu {
    opacity: 1; transform: translateY(4px); pointer-events: auto;
}
.mfh-dropdown-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 20px; font-size: 16px !important; color: #1A2B2D !important;
    text-decoration: none !important; transition: all 0.15s;
}
span.mfh-dropdown-link {
    cursor: default;
}
.mfh-dropdown-link:hover {
    background: #F0F7F8; color: #06585F; padding-left: 24px;
}
.mfh-has-sub:hover { padding-left: 20px; }

/* Dropdown level 2 (sub) */
.mfh-dropdown-sub { position: relative; }
.mfh-submenu {
    position: absolute; top: 0; left: 100%; min-width: 220px;
    background: #fff; border-radius: 12px; border: 1px solid #E2E8EC;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08); padding: 8px 0;
    opacity: 0; transform: translateX(-8px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}
.mfh-dropdown-sub:hover .mfh-submenu {
    opacity: 1; transform: translateX(4px); pointer-events: auto;
}
.mfh-dropdown-sub:hover > .mfh-has-sub {
    background: #F0F7F8;
}

/* Buttons */
.mfh-buttons { display: flex; align-items: center; gap: 10px; }
.mfh-btn {
    padding: 12px 28px !important; border-radius: 50px !important;
    font-size: 16px !important; font-weight: 600 !important; text-decoration: none !important;
    transition: all 0.25s !important; font-family: 'Plus Jakarta Sans', sans-serif !important;
    display: inline-block !important; text-align: center !important;
    line-height: 1.4 !important;
}
.mfh-btn-outline {
    border: 1.5px solid #06585F; color: #06585F; background: transparent;
}
.mfh-btn-outline:hover {
    background: #0A7A84; border-color: #0A7A84; color: #fff;
}
.mfh-btn-primary {
    border: 1.5px solid #06585F; background: #06585F; color: #fff;
}
.mfh-btn-primary:hover {
    background: #0A7A84; border-color: #0A7A84;
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(6,88,95,0.2);
}

/* Burger */
.mfh-burger {
    display: none; background: none; border: 1.5px solid #06585F;
    border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.mfh-burger span {
    display: block; width: 20px; height: 2px; background: #06585F; border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Mobile Menu ===== */
.mfh-mobile {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #fff; z-index: 99999; overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.mfh-mobile--open { transform: translateX(0); }
.mfh-mobile-top {
    display: flex; justify-content: space-between; align-items: center; padding: 16px 20px;
}
.mfh-mobile-close {
    background: none; border: none; font-size: 28px; cursor: pointer;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    color: #1A2B2D;
}
.mfh-mobile-body { padding: 8px 20px 32px; }

/* Mobile accordion L1 */
.mfh-mob-section { border-bottom: 1px solid #E2E8EC; }
.mfh-mob-toggle {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; background: none; border: none;
    font-size: 16px; font-weight: 600; color: #1A2B2D;
    cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.2s;
}
.mfh-mob-toggle--open { color: #06585F; }
.mfh-mob-toggle--open .mfh-chev { transform: rotate(180deg); }
.mfh-mob-toggle .mfh-chev { transition: transform 0.25s; color: #5A6F72; }
.mfh-mob-toggle--open .mfh-chev { color: #06585F; }

.mfh-mob-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mfh-mob-link {
    display: block; padding: 12px 0 12px 16px; font-size: 14.5px;
    color: #5A6F72; text-decoration: none;
    border-left: 2px solid #E2E8EC; margin-left: 4px;
}

/* Mobile accordion L2 */
.mfh-mob-sub-toggle {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0 12px 16px; background: none; border: none;
    border-left: 2px solid #E2E8EC; margin-left: 4px;
    font-size: 14.5px; font-weight: 600; color: #5A6F72;
    cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.2s;
}
.mfh-mob-sub-toggle--open { color: #06585F; }
.mfh-mob-sub-toggle--open .mfh-chev { transform: rotate(180deg); color: #06585F; }
.mfh-mob-sub-toggle .mfh-chev { transition: transform 0.25s; }

.mfh-mob-subpanel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mfh-mob-sublink {
    display: block; padding: 10px 0 10px 36px; font-size: 14px;
    color: #5A6F72; text-decoration: none;
    border-left: 2px solid #F0F7F8; margin-left: 4px;
}

/* Mobile buttons */
.mfh-mob-buttons {
    margin-top: 28px; display: flex; flex-direction: column; gap: 12px;
}
.mfh-mob-buttons .mfh-btn { width: 100%; padding: 14px 0; }

/* Desktop/Mobile visibility */
@media (max-width: 960px) {
    .mfh-nav, .mfh-buttons { display: none !important; }
    .mfh-burger { display: flex !important; }
}


/* ============================================================
   HERO — Master Finance (Split Dashboard)
   ============================================================ */

@keyframes mfhFadeUp { from { opacity:0; transform:translateY(25px); } to { opacity:1; transform:translateY(0); } }
@keyframes mfhSlideIn { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
@keyframes mfhFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-6px); } }

.mfhero-fade1 { animation: mfhFadeUp 0.7s ease 0.1s forwards; opacity:0; }
.mfhero-fade2 { animation: mfhFadeUp 0.7s ease 0.25s forwards; opacity:0; }
.mfhero-fade3 { animation: mfhFadeUp 0.7s ease 0.4s forwards; opacity:0; }
.mfhero-fade4 { animation: mfhFadeUp 0.7s ease 0.55s forwards; opacity:0; }
.mfhero-slidein { animation: mfhSlideIn 0.8s ease 0.3s forwards; opacity:0; }

.mfhero-wrap {
    max-width: 1400px !important; margin: 0 auto !important;
    padding: 70px 48px 80px !important;
    display: flex !important; align-items: center !important; gap: 80px !important;
    min-height: 85vh !important; font-family: 'Plus Jakarta Sans', sans-serif;
}
.mfhero-left { flex: 1 1 48%; }
.mfhero-right { flex: 1 1 52%; position: relative; min-height: 460px; }

/* Badge */
.mfhero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #EDF7F8; border-radius: 50px;
    padding: 7px 18px 7px 12px; margin-bottom: 32px;
}
.mfhero-badge span { font-size: 13.5px; font-weight: 600; color: #06585F; }

/* Title */
.mfhero-left h1 {
    font-size: 56px !important; font-weight: 800 !important; color: #111827 !important;
    line-height: 1.06 !important; margin: 0 0 24px !important; letter-spacing: -2px;
}
.mfhero-accent { color: #06585F !important; }
.mfhero-desc {
    font-size: 17px !important; color: #6B7280 !important; line-height: 1.75 !important;
    margin: 0 0 40px !important; max-width: 460px;
}

/* CTAs */
.mfhero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.mfhero-cta1 {
    display: inline-flex !important; align-items: center; gap: 8px;
    padding: 13px 30px !important; background: #06585F !important; border-radius: 50px !important;
    color: #fff !important; font-size: 15px !important; font-weight: 600 !important;
    text-decoration: none !important; transition: all 0.25s !important;
    border: 1.5px solid #06585F !important;
}
.mfhero-cta1:hover { background: #0A7A84 !important; border-color: #0A7A84 !important; }
.mfhero-cta2 {
    padding: 13px 30px !important; border-radius: 50px !important;
    color: #374151 !important; font-size: 15px !important; font-weight: 600 !important;
    text-decoration: none !important; transition: all 0.2s !important;
    border: 1.5px solid #E5E7EB !important;
}
.mfhero-cta2:hover { background: rgba(6,88,95,0.04) !important; }

/* Dashboard Card */
.mfhero-card {
    background: #fff; border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #F3F4F6; padding: 32px; position: relative; z-index: 1;
}
.mfhero-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mfhero-card-label { font-size: 13px; color: #9CA3AF; font-weight: 500; margin-bottom: 4px; }
.mfhero-card-amount { font-size: 28px; font-weight: 800; color: #111827; letter-spacing: -0.5px; }
.mfhero-card-status {
    padding: 6px 14px; background: rgba(6,88,95,0.06); border-radius: 50px;
    font-size: 12.5px; font-weight: 600; color: #06585F;
    display: flex; align-items: center; gap: 4px;
}

/* Stats */
.mfhero-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.mfhero-stat { background: #FAFBFC; border-radius: 14px; padding: 16px 18px; border: 1px solid #F3F4F6; }
.mfhero-stat-label { font-size: 12px; color: #9CA3AF; font-weight: 500; margin-bottom: 6px; }
.mfhero-stat-value { font-size: 22px; font-weight: 700; color: #06585F; }

/* Progress */
.mfhero-progress { margin-bottom: 24px; }
.mfhero-progress-top { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: #6B7280; font-weight: 500; }
.mfhero-progress-pct { color: #06585F !important; font-weight: 700 !important; }
.mfhero-progress-bar { height: 6px; background: #F3F4F6; border-radius: 50px; overflow: hidden; }
.mfhero-progress-fill { height: 100%; width: 85%; border-radius: 50px; background: linear-gradient(90deg, #06585F, #0A7A84); }

/* Timeline */
.mfhero-timeline { display: flex; }
.mfhero-step { flex: 1; text-align: center; position: relative; }
.mfhero-step-dot {
    width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 6px;
    background: #fff; border: 2px solid #D1D5DB;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
}
.mfhero-step-done .mfhero-step-dot { background: #06585F; border: none; }
.mfhero-step span { font-size: 11.5px; color: #9CA3AF; font-weight: 500; }
.mfhero-step-done span { color: #06585F; font-weight: 600; }
.mfhero-step:not(:first-child)::before {
    content: ''; position: absolute; top: 11px; left: 0; right: 50%; height: 2px;
    background: #E5E7EB;
}
.mfhero-step-done:not(:first-child)::before { background: #06585F; }
.mfhero-step:not(:last-child)::after {
    content: ''; position: absolute; top: 11px; left: 50%; right: 0; height: 2px;
    background: #E5E7EB;
}
.mfhero-step-done:not(:last-child)::after { background: #06585F; }
.mfhero-step-done + .mfhero-step::before { background: #06585F; }

/* Floating badges */
.mfhero-float-badge {
    position: absolute; background: #fff; border-radius: 16px; padding: 10px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07); border: 1px solid #F3F4F6;
    display: flex; align-items: center; gap: 10px; z-index: 3;
}
.mfhero-float1 { top: -16px; right: -12px; animation: mfhSlideIn 0.6s ease 0.7s forwards, mfhFloat 4s ease-in-out 1.3s infinite; opacity: 0; }
.mfhero-float2 { bottom: -12px; left: -16px; animation: mfhSlideIn 0.6s ease 0.9s forwards, mfhFloat 4s ease-in-out 1.5s infinite; opacity: 0; }
.mfhero-float-icon {
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, #06585F, #0A7A84);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(6,88,95,0.25);
}
.mfhero-float-title { font-size: 14px; font-weight: 700; color: #111827; }
.mfhero-float-sub { font-size: 11px; color: #9CA3AF; }

/* Hero responsive */
@media (max-width: 960px) {
    .mfhero-wrap {
        flex-direction: column !important; gap: 40px !important;
        padding: 40px 20px 50px !important; min-height: auto !important;
    }
    .mfhero-left h1 { font-size: 34px !important; letter-spacing: -1px !important; }
    .mfhero-desc { font-size: 15px !important; }
    .mfhero-right { min-height: auto !important; width: 100% !important; }
    .mfhero-card { padding: 24px !important; }
    .mfhero-stats { grid-template-columns: 1fr !important; }
    .mfhero-float1 { position: relative !important; top: auto !important; right: auto !important; margin-top: 12px; }
    .mfhero-float2 { position: relative !important; bottom: auto !important; left: auto !important; margin-top: 12px; }
}


/* ============================================================
   SERVICE HERO — [mf_service_hero]
   ============================================================ */

.mfsh {
    width: 100vw !important; margin-left: calc(-50vw + 50%) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.mfsh-inner {
    background: linear-gradient(135deg, #043A3F 0%, #06585F 50%, #0A7A84 100%) !important;
    border-radius: 0 0 32px 32px !important;
    position: relative; overflow: hidden;
    max-width: 100%; margin: 0 auto;
    padding: 80px 48px 70px !important;
    display: flex !important; align-items: center !important;
    justify-content: center !important; gap: 60px !important;
}
.mfsh-inner::before {
    content: ''; position: absolute; top: -20%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.mfsh-inner::after {
    content: ''; position: absolute; bottom: -30%; left: 10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(162,202,205,0.06) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}

.mfsh-left { max-width: 580px; flex: 1 1 50%; position: relative; z-index: 1; }

/* Breadcrumb */
.mfsh-breadcrumb {
    display: flex; align-items: center; gap: 8px; margin-bottom: 24px;
    font-size: 13px; color: rgba(255,255,255,0.5);
}
.mfsh-breadcrumb a { color: rgba(255,255,255,0.5) !important; text-decoration: none !important; }
.mfsh-breadcrumb a:hover { color: rgba(255,255,255,0.8) !important; }
.mfsh-breadcrumb span { color: rgba(255,255,255,0.85) !important; }

/* Title & desc */
.mfsh-title {
    font-size: 46px !important; font-weight: 800 !important; color: #fff !important;
    line-height: 1.1 !important; margin: 0 0 20px !important; letter-spacing: -1px;
}
.mfsh-desc {
    font-size: 17px !important; color: rgba(255,255,255,0.75) !important;
    line-height: 1.75 !important; margin: 0 0 32px !important;
}

/* CTAs */
.mfsh-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.mfsh-cta1 {
    display: inline-flex !important; align-items: center; gap: 8px;
    padding: 13px 30px !important;
    background: rgba(255,255,255,0.12) !important; border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50px !important; color: #fff !important;
    font-size: 15px !important; font-weight: 600 !important;
    text-decoration: none !important; transition: all 0.25s !important;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mfsh-cta1:hover { background: rgba(255,255,255,0.22) !important; }
.mfsh-cta2 {
    padding: 13px 30px !important; border-radius: 50px !important;
    color: rgba(255,255,255,0.8) !important; font-size: 15px !important; font-weight: 500 !important;
    text-decoration: none !important; transition: all 0.2s !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}
.mfsh-cta2:hover { border-color: rgba(255,255,255,0.35) !important; color: #fff !important; }

/* Image */
.mfsh-right { flex: 1 1 45%; position: relative; z-index: 1; }
.mfsh-img-wrap {
    width: 100%; height: 340px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2); position: relative;
}
.mfsh-img-wrap img {
    width: 100% !important; height: 100% !important; object-fit: cover !important; display: block;
}
.mfsh-img-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4,58,63,0.3) 100%);
    pointer-events: none;
}

/* Floating badge */
.mfsh-badge {
    position: absolute; bottom: -16px; left: -16px;
    background: rgba(255,255,255,0.95); border-radius: 16px; padding: 12px 20px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.1);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; align-items: center; gap: 10px;
    border: 1px solid rgba(255,255,255,0.8); z-index: 2;
}
.mfsh-badge-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, #06585F, #0A7A84);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(6,88,95,0.25);
}
.mfsh-badge-title { font-size: 14px !important; font-weight: 700 !important; color: #111827 !important; }
.mfsh-badge-sub { font-size: 11.5px !important; color: #6B7280 !important; }

/* Responsive */
@media (max-width: 960px) {
    .mfsh-inner {
        flex-direction: column !important; padding: 50px 20px 60px !important;
        gap: 32px !important;
    }
    .mfsh-title { font-size: 32px !important; letter-spacing: -0.5px !important; }
    .mfsh-desc { font-size: 15px !important; }
    .mfsh-right { width: 100% !important; }
    .mfsh-img-wrap { height: 240px !important; }
    .mfsh-badge { position: relative !important; bottom: auto !important; left: auto !important; margin-top: 12px; }
}


/* ============================================================
   FOOTER — Master Finance
   ============================================================ */

.mff {
    background: #06585F !important; color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    width: 100vw !important; max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    box-sizing: border-box !important;
}
.mff-inner {
    max-width: 1400px; margin: 0 auto; padding: 64px 40px 0;
}
.mff-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Brand */
.mff-brand-top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.mff-logo-wrap {
    background: rgba(255,255,255,0.1); border-radius: 16px;
    padding: 12px; display: inline-flex; flex-shrink: 0;
}
.mff-logo-wrap img { filter: brightness(0) invert(1); height: 70px !important; width: auto !important; }
.mff-brand-name { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.mff-brand-desc {
    font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.7) !important;
    max-width: 320px; margin: 0 0 20px;
}
.mff-contact { display: flex; flex-direction: column; gap: 10px; }
.mff-contact a, .mff-contact span {
    color: rgba(255,255,255,0.8) !important; text-decoration: none !important; font-size: 14px !important;
}
.mff-contact a:hover { color: #fff !important; }

/* Columns */
.mff-col-title {
    font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase;
    letter-spacing: 1.5px; color: rgba(255,255,255,0.5) !important;
    margin: 0 0 16px;
}
.mff-col-links { display: flex; flex-direction: column; gap: 8px; }
.mff-col-links a {
    color: rgba(255,255,255,0.75) !important; text-decoration: none !important;
    font-size: 15px !important; transition: all 0.2s;
}
.mff-col-links a:hover { color: #fff !important; padding-left: 6px; }

/* Bottom */
.mff-bottom {
    margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 16px;
}
.mff-copy { font-size: 13px; color: rgba(255,255,255,0.5) !important; }
.mff-social { display: flex; gap: 12px; }
.mff-social a {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.08); display: flex;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); text-decoration: none !important;
    transition: all 0.2s;
}
.mff-social a svg { fill: rgba(255,255,255,0.6); transition: fill 0.2s; width: 28px !important; height: 28px !important; }
.mff-social a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.mff-social a:hover svg { fill: #fff; }

/* Footer responsive */
@media (max-width: 960px) {
    .mff-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .mff-grid { grid-template-columns: 1fr; }
    .mff-inner { padding: 40px 20px 0; }
    .mff-bottom { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   SECTIONS SERVICES — Shared
   ============================================================ */
.mfs-projets, .mfs-cards, .mfs-etapes, .mfs-split, .mfs-chiffres, .mfs-cta, .mfs-faq {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans', sans-serif;
    max-width: 1200px; margin: 0 auto; padding: 60px 24px;
}

/* --- SECTION 1 : Projets priorité --- */
.mfs-projets-title {
    text-align: center; font-size: 42px; font-weight: 800; color: #06585F;
    margin: 0 0 48px; letter-spacing: -1px;
}
.mfs-projets-grid { display: flex; flex-direction: column; gap: 40px; }
.mfs-projets-card {
    display: flex; align-items: center; gap: 40px;
    background: #fff; border-radius: 20px; overflow: hidden;
}
.mfs-projets-card--reverse { flex-direction: row-reverse; }
.mfs-projets-img { flex: 0 0 45%; max-width: 45%; }
.mfs-projets-img img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; display: block; }
.mfs-projets-info { flex: 1; padding: 20px 0; }
.mfs-projets-icon {
    width: 40px; height: 40px; border-radius: 10px; background: #F0F7F8;
    display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.mfs-projets-info h3 { font-size: 22px; font-weight: 800; color: #1A2B2D; margin: 0 0 16px; }
.mfs-projets-info ul { list-style: none; padding: 0; margin: 0; }
.mfs-projets-info li {
    position: relative; padding-left: 28px; font-size: 16px; color: #5A6F72;
    line-height: 1.7; margin-bottom: 6px;
}
.mfs-projets-info li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 18px; height: 18px; border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%2306585F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 768px) {
    .mfs-projets-card, .mfs-projets-card--reverse { flex-direction: column; }
    .mfs-projets-img { flex: none; max-width: 100%; }
    .mfs-projets-img img { height: 220px; }
    .mfs-projets-title { font-size: 30px; }
}


/* --- SECTION 2 : Grille de cartes --- */
.mfs-cards { padding-top: 40px; padding-bottom: 40px; }
.mfs-cards-intro {
    background: #F0F7F8; border-left: 4px solid #06585F; border-radius: 12px;
    padding: 20px 28px; margin-bottom: 32px;
}
.mfs-cards-intro p { font-size: 16px; color: #1A2B2D; line-height: 1.7; margin: 0; }
.mfs-cards-intro strong { font-weight: 800; }
.mfs-cards-title { font-size: 32px; font-weight: 800; color: #06585F; margin: 0 0 32px; text-align: center; }
.mfs-cards-grid { display: grid; gap: 20px; }
.mfs-cards-col-2 { grid-template-columns: repeat(2, 1fr); }
.mfs-cards-col-3 { grid-template-columns: repeat(3, 1fr); }
.mfs-cards-col-4 { grid-template-columns: repeat(4, 1fr); }

.mfs-card {
    background: #fff; border: 1.5px solid #E2E8EC; border-radius: 16px;
    padding: 28px 24px; transition: all 0.3s; position: relative;
    border-left: 4px solid transparent;
}
.mfs-card:hover {
    border-color: #A2CACD; border-left-color: #06585F;
    box-shadow: 0 8px 32px rgba(6,88,95,0.08); transform: translateY(-3px);
}
.mfs-card-a { text-decoration: none !important; color: inherit !important; display: block; }
.mfs-card-check { margin-bottom: 12px; color: #06585F; }
.mfs-card-title { font-size: 18px; font-weight: 800; color: #06585F; margin: 0 0 10px; }
.mfs-card-desc { font-size: 14px; color: #5A6F72; line-height: 1.7; margin: 0; }

@media (max-width: 768px) {
    .mfs-cards-col-3, .mfs-cards-col-4 { grid-template-columns: 1fr; }
    .mfs-cards-col-2 { grid-template-columns: 1fr; }
}


/* --- SECTION 3 : Étapes numérotées --- */
.mfs-etapes-header { text-align: center; margin-bottom: 40px; }
.mfs-etapes-title { font-size: 36px; font-weight: 800; color: #06585F; margin: 0 0 12px; }
.mfs-etapes-sub { font-size: 17px; color: #5A6F72; margin: 0; }
.mfs-etapes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.mfs-etape {
    background: #fff; border: 1.5px solid #E2E8EC; border-radius: 16px;
    padding: 32px 24px; text-align: center; transition: all 0.3s;
}
.mfs-etape:hover { border-color: #06585F; box-shadow: 0 8px 32px rgba(6,88,95,0.08); transform: translateY(-3px); }
.mfs-etape-num {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, #06585F, #0A7A84);
    color: #fff; font-size: 20px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.mfs-etape-title { font-size: 17px; font-weight: 700; color: #1A2B2D; margin: 0 0 8px; }
.mfs-etape-desc { font-size: 14px; color: #5A6F72; line-height: 1.6; margin: 0; }


/* --- SECTION 4 : Split texte + image --- */
.mfs-split { display: flex; align-items: center; gap: 60px; }
.mfs-split--reverse { flex-direction: row-reverse; }
.mfs-split-text { flex: 1; }
.mfs-split-title { font-size: 36px; font-weight: 800; color: #06585F; margin: 0 0 20px; letter-spacing: -0.5px; }
.mfs-split-desc { font-size: 17px; color: #5A6F72; line-height: 1.75; margin: 0 0 28px; }
.mfs-split-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #06585F; color: #fff !important; font-size: 15px; font-weight: 700;
    padding: 14px 32px; border-radius: 50px; text-decoration: none !important;
    transition: all 0.25s;
}
.mfs-split-btn:hover { background: #0A7A84; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,88,95,0.15); }
.mfs-split-img { flex: 0 0 45%; max-width: 45%; }
.mfs-split-img img { width: 100%; border-radius: 20px; display: block; object-fit: cover; }

@media (max-width: 768px) {
    .mfs-split, .mfs-split--reverse { flex-direction: column; gap: 32px; }
    .mfs-split-img { flex: none; max-width: 100%; }
    .mfs-split-title { font-size: 28px; }
}


/* --- SECTION 5 : Chiffres clés --- */
.mfs-chiffres {
    text-align: center; border-radius: 24px; padding: 60px 40px;
    background: #F0F7F8;
}
.mfs-chiffres--teal {
    background: linear-gradient(135deg, #043A3F 0%, #06585F 50%, #0A7A84 100%);
}
.mfs-chiffres-title { font-size: 32px; font-weight: 800; margin: 0 0 40px; }
.mfs-chiffres--teal .mfs-chiffres-title { color: #fff; }
.mfs-chiffres-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.mfs-chiffre { min-width: 160px; }
.mfs-chiffre-val { font-size: 48px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.mfs-chiffres--teal .mfs-chiffre-val { color: #fff; }
.mfs-chiffre-val { color: #06585F; }
.mfs-chiffre-label { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.mfs-chiffres--teal .mfs-chiffre-label { color: rgba(255,255,255,0.6); }
.mfs-chiffre-label { color: #5A6F72; }


/* --- SECTION 6 : CTA bannière --- */
.mfs-cta { padding: 0 24px; }
.mfs-cta-inner {
    background: linear-gradient(135deg, #043A3F 0%, #06585F 50%, #0A7A84 100%);
    border-radius: 24px; padding: 60px 48px; text-align: center;
    position: relative; overflow: hidden;
}
.mfs-cta-inner::before {
    content: ''; position: absolute; top: -30%; right: -10%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.mfs-cta-title { font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 16px; letter-spacing: -0.5px; }
.mfs-cta-desc { font-size: 17px; color: rgba(255,255,255,0.7); margin: 0 0 32px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.mfs-cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.mfs-cta-btn1 {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; color: #06585F !important; font-size: 15px; font-weight: 700;
    padding: 15px 36px; border-radius: 50px; text-decoration: none !important;
    transition: all 0.25s;
}
.mfs-cta-btn1:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.mfs-cta-btn2 {
    padding: 15px 36px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8) !important;
    font-size: 15px; font-weight: 500; text-decoration: none !important; transition: all 0.2s;
}
.mfs-cta-btn2:hover { border-color: rgba(255,255,255,0.4); color: #fff !important; }

@media (max-width: 768px) {
    .mfs-cta-inner { padding: 40px 24px; }
    .mfs-cta-title { font-size: 26px; }
}


/* --- SECTION 7 : FAQ Accordéon --- */
.mfs-faq-title { font-size: 32px; font-weight: 800; color: #06585F; text-align: center; margin: 0 0 32px; }
.mfs-faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.mfs-faq-item { background: #fff; border: 1.5px solid #E2E8EC; border-radius: 14px; overflow: hidden; transition: border-color 0.3s; }
.mfs-faq-item:hover { border-color: #A2CACD; }
.mfs-faq-item.mfs-faq-open { border-color: #06585F; }
.mfs-faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; font-size: 16px; font-weight: 600; color: #1A2B2D;
    background: none; border: none; cursor: pointer; text-align: left;
    font-family: inherit; transition: color 0.2s;
}
.mfs-faq-q:hover { color: #06585F; }
.mfs-faq-chev { transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.mfs-faq-open .mfs-faq-chev { transform: rotate(180deg); }
.mfs-faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}
.mfs-faq-open .mfs-faq-a { max-height: 500px; padding: 0 24px 20px; }
.mfs-faq-a p { font-size: 15px; color: #5A6F72; line-height: 1.7; margin: 0; }


/* ============================================================
   SECTION CROSS-LINKING — mf_section_liens
   ============================================================ */
.mfs-liens { padding: 20px 0 40px; }
.mfs-liens-titre {
    font-size: 32px; font-weight: 800; color: #06585F;
    text-align: center; margin: 0 0 36px; letter-spacing: -0.5px;
}
.mfs-liens-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.mfs-lien-card {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1.5px solid #E2E8EC; border-radius: 16px;
    padding: 24px 22px; text-decoration: none !important;
    transition: all 0.25s; position: relative; overflow: hidden;
}
.mfs-lien-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: #E2E8EC; transition: background 0.25s;
}
.mfs-lien-card:hover { border-color: #A2CACD; box-shadow: 0 8px 32px rgba(6,88,95,0.08); transform: translateY(-3px); }
.mfs-lien-card:hover::before { background: #06585F; }
.mfs-lien-card:hover .mfs-lien-arrow svg { stroke: #06585F; transform: translateX(4px); }
.mfs-lien-icon {
    width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
    background: #F0F7F8; display: flex; align-items: center; justify-content: center;
    transition: background 0.25s;
}
.mfs-lien-card:hover .mfs-lien-icon { background: rgba(6,88,95,0.1); }
.mfs-lien-content { flex: 1; }
.mfs-lien-titre {
    font-size: 16px; font-weight: 700; color: #1A2B2D;
    margin: 0 0 5px; transition: color 0.25s;
}
.mfs-lien-card:hover .mfs-lien-titre { color: #06585F; }
.mfs-lien-desc { font-size: 13px; color: #5A6F72; line-height: 1.55; margin: 0; }
.mfs-lien-arrow svg { transition: transform 0.25s, stroke 0.25s; stroke: #A2CACD; }

@media (max-width: 900px) { .mfs-liens-grid { grid-template-columns: 1fr; } }


/* ============================================================
   SECTION PRÉSIDENT — mf_section_president
   ============================================================ */
.mfs-president {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 40px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.mfs-president-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}

/* TEXTE */
.mfs-president-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mfs-president-quote-mark {
    font-size: 6rem;
    font-weight: 800;
    color: #A2CACD;
    line-height: 0.7;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}
.mfs-president-blockquote {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1A2B2D;
    line-height: 1.5;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    font-style: normal;
}
.mfs-president-body {
    font-size: 1.05rem;
    color: #5A6F72;
    line-height: 1.8;
    margin-bottom: 40px;
}
.mfs-president-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid #E2E8EC;
}
.mfs-president-sig-name {
    font-size: 1rem;
    font-weight: 800;
    color: #1A2B2D;
    margin-bottom: 3px;
}
.mfs-president-sig-titre {
    font-size: 0.82rem;
    color: #06585F;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.mfs-president-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #06585F;
    color: #fff !important;
    font-size: 0.93rem;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.25s;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.mfs-president-btn:hover {
    background: #0A7A84;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6,88,95,0.2);
}
.mfs-president-btn svg { transition: transform 0.25s; }
.mfs-president-btn:hover svg { transform: translateX(3px); }

/* PHOTO */
.mfs-president-photo-wrap {
    position: relative;
}
.mfs-president-photo-bg {
    position: absolute;
    inset: 16px 0 0 16px;
    background: #06585F;
    border-radius: 24px;
    opacity: 0.08;
}
.mfs-president-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(6,88,95,0.12);
}
.mfs-president-photo-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: #fff;
    border: 1px solid #E2E8EC;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A2B2D;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .mfs-president-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mfs-president-photo { height: 340px; }
    .mfs-president-blockquote { font-size: 1.2rem; }
    .mfs-president-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .mfs-president { padding: 52px 18px; }
}
