/* ==========================================================================
   MONTE-ESCALIER — Custom CSS for the new home design
   ========================================================================== */

:root {
    --me-blue: #01158e;
    --me-blue-dark: #001143;
    --me-orange: #ff6a13;
    --me-orange-light: #ff8a3d;
    --me-bg: #eef0fb;
    --me-text: #333;
}

.header-logo { object-fit: contain; }

.icon { color: #FF6A00; background-color: #FFF; }

.nav-btn-A { background-color: #FF6A00; color: #FFF; }
.nav-btn-A .plus-pixel::before { background-color: #FFF; }

/* ---------- MEGA MENU ---------- */
.has-megamenu { position: relative; }
.has-megamenu > a { display: flex; align-items: center; gap: 4px; }
.megamenu-arrow { font-size: 10px; color: var(--me-orange); display: flex; align-items: center; justify-content: center; }
.megamenu-dropdown { display: none; position: absolute; top: 100%; left: -10px; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(12,12,13,0.05); padding: 10px 10px 0; z-index: 1000; min-width: 160px; }
.megamenu-dropdown a { display: block; font-size: 16px; color: var(--me-blue); padding: 10px 0; white-space: nowrap; text-decoration: none; font-family: 'Nunito', sans-serif; font-weight: 400; }
.megamenu-dropdown a:first-child { border-bottom: 1px solid var(--me-orange); }
.has-megamenu:hover .megamenu-dropdown { display: block; }
.mobile-submenu { margin-top: 8px; }
.header-links.mobile-header-links li { width: 100%; }
.mobile-submenu a { font-size: 15px; color: rgba(255,255,255,0.9); text-decoration: none; padding: 8px 0; display: block; }
.mobile-submenu a:first-child { border-bottom: 1px solid var(--me-orange); }
.mobile-submenu.is-visible { display: block !important; }
.mobile-submenu.is-visible a { color: #fff; }

.fixed-widget a.btn-appelez i { color: #FF6A00; background-color: #FFF; }

.fixed-widget a.btn-rappeler {
    background-color: #FF6A00;
    color: #FFF;
}

.fixed-widget a.btn-rappeler i { background-color: #FFF; color: #FF6A00; }

.cta_popup a { background-color: #fe6a00; color: #FFF !important; text-align:center; }

.montescalier-home {
    background: #fff;
    color: var(--me-text);
    overflow-x: hidden;
}

.montescalier-home .container { max-width: 1240px; margin: 0 auto; padding: 0px 20px 0px; }

/* common */
.me-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 19px;
    color: #0024ff;
    font-weight: 600;
    letter-spacing: 4px;
    font-size: 20px;
    line-height: 1;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.me-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--me-orange);
}
.me-eyebrow-light { color: #fff; }
.me-eyebrow-light::before { background: #fff; }

.me-section-title {
    color: var(--me-blue);
    font-weight: 800;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 30px;
    text-align: center;
}
.me-section-title-left { text-align: left; }

.me-section-head { text-align: center; margin-bottom: 50px; }
.me-section-head .me-eyebrow { justify-content: center; }
.montescalier-home .me-section-head .me-section-header { align-items: center; padding:29px 0 0 0; }
.montescalier-home .me-section-head .me-section-header .me-section-eyebrow { align-self: center; }
.montescalier-home .me-section-head .me-section-header .me-section-title { margin: 0 0 30px; text-align: center; }
.montescalier-home .me-section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    margin: 0 0 14px;
}
.montescalier-home .me-eyebrow-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.montescalier-home .me-eyebrow-text {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    line-height: 1;
    text-transform: uppercase;
}
.me-why-text .me-eyebrow,
.me-cta-light .me-eyebrow,
.me-cta-dark .me-eyebrow { justify-content: flex-start; }

.montescalier-home .zones .common-title-text p.uppercase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    color: #0024ff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 4px;
}
.montescalier-home .zones .common-title-text p.uppercase::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--me-orange);
}

.me-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 20px 5px 5px;
    font-size: 22px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    border: none;
    cursor: pointer;
}
.me-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); text-decoration: none; }
.me-btn-orange { background: var(--me-orange); color: #fff !important; }
.me-btn-blue { background: var(--me-blue); color: #e27d35 !important; padding: 16px 40px; border-radius: 60px; font-size: 16px; }
.me-btn-blue-solid { background: var(--me-blue); color: #fff !important; padding: 14px 36px; border-radius: 8px; font-size: 16px; }
.me-btn-arrow {
    background: #fff;
    color: var(--me-orange);
    width: 45px; height: 45px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
}

/* HERO */
.me-hero { position: relative; height: 850px; overflow: hidden; }
.me-hero-img { position: absolute; inset: 0; }
.me-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.me-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}
.me-hero-title {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 40px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* SERVICES */
.me-services { padding: 0px 0px 80px; background: #fff; position: relative; }
.me-services::before {
    content: "";
    position: absolute;
    top: -60px; left: 0; right: 0;
    height: 80px;
    background: #fff;
    border-radius: 60px 60px 0 0;
}
.me-services-list { list-style: none; padding: 0; margin: 0; max-width: 980px; margin: 0 auto; }
.me-services-list li {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}
.me-service-icon {
    background: var(--me-orange);
    width: 80px; height: 80px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.me-service-icon img { width: 50px; height: 50px; object-fit: contain; filter: brightness(0) invert(1); }
.me-service-text {
    background: var(--me-bg);
    padding: 24px 28px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    color: var(--me-blue);
}
.me-service-arrow {
    background: var(--me-blue);
    color: #fff !important;
    width: 80px; height: 80px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    transition: background .2s;
}
.me-service-arrow:hover { background: var(--me-orange); }

/* POURQUOI CHOISIR */
.me-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.me-why-intro { font-size: 16px; line-height: 1.6; color: #555; margin-bottom: 30px; }
.me-why-list { list-style: none; padding: 0; margin: 0; }
.me-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--me-text);
}
.me-check {
    flex: 0 0 30px;
    width: 30px; height: 30px;
    background: var(--me-orange);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.me-why-img img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
}
.me-why-img .twentytwenty-container {
    border-radius: 30px;
    overflow: hidden;
    width: 100%;
}
.me-why-img .twentytwenty-container img {
    border-radius: 0;
    display: block;
}

/* ELIGIBILITE FORM */
.me-eligibilite { padding: 60px 0px 0px; }
.me-eligibilite-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
    border-bottom: 6px solid #021aac;
}
.me-eligibilite-banner {
    display: flex;
    align-items: flex-start;
    background-color: #01158e;
}
.me-eligibilite-banner img {
    width: 100%;
    object-fit: contain;
    display: block;
}

.me-eligibilite-form {
    background: var(--me-bg);
    padding: 45px 55px;
}
.me-eligibilite-form .h3 {
    background: var(--me-orange);
    color: #fff;
    padding: 12px 10px 10px;
    border-radius: 50px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid #031aac;
    line-height: normal;
}
.me-eligibilite-form .form-border {
    border: 1px solid #001790;
    padding: 15px;
    border-radius: 10px;
    background-color: #fff;
}
.me-eligibilite-form .form-group { margin-bottom: 16px; }
.me-eligibilite-form .form-group label {
    color: var(--me-blue);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}
.me-eligibilite-form input[type="text"],
.me-eligibilite-form input[type="email"],
.me-eligibilite-form input[type="tel"] {
    width: 100%;
    border: 1px solid #001790;
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--me-blue);
    font-size: 14px;
    height: 52px !important;
    margin-bottom: 0px;
}
.me-eligibilite-form input::placeholder { color: var(--me-blue); opacity: .6; }
.me-eligibilite-form .px-option ul { display: flex; gap: 16px; padding: 0; list-style: none; flex-wrap: wrap; }
.me-eligibilite-form .px-option li label { font-weight: 500; color: var(--me-blue); cursor: pointer; }
.me-eligibilite-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.me-eligibilite-form button[type="submit"],
.me-eligibilite-form input[type="submit"],
.me-eligibilite-form .submit-btn {
    width: 100%;
    background: var(--me-blue);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
}

/* AIDES */
.me-aides .container {
    padding-top: 0px;
}

.me-aides-card {
    background: #f7f9ff;
    border-radius: 0px 0px 20px 20px;
    padding: 60px;
}
.me-aides-intro { text-align: center; max-width: 900px; margin: 0 auto 30px; line-height: 1.6; color: #555; }
.me-aides-list { list-style: none; padding: 0; margin: 0 auto 30px; max-width: 1000px; }
.me-aides-list li {
    background: var(--me-orange);
    color: #fff;
    padding: 16px 28px;
    border-radius: 50px;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.me-aides-list li i { background: rgba(255,255,255,.25); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.me-aides-note {
    background: var(--me-blue);
    color: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.me-aides-note h3 { color: #fff; font-size: 18px; margin-bottom: 12px; font-weight: 600; }
.me-aides-note p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; opacity: .92; color: #FFF; }
.me-aides-cta { text-align: center; margin-top: 30px; }

/* TEAM */
.me-team { padding: 80px 0; }
.me-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.me-team-img { position: relative; }
.me-team-img img {
    width: 100%;
    aspect-ratio: 1;
}
.me-team-img::before {
    content: "";
    position: absolute;
    bottom: -20px; left: -20px;
    width: 120px; height: 120px;
    background: var(--me-orange);
    border-radius: 8px;
    z-index: -1;
}
.me-team-steps { list-style: none; padding: 0; margin: 0; }
.me-team-steps li {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    font-size: 22px;
    color: var(--me-blue);
    font-weight: 500;
}
.me-team-num {
    flex: 0 0 60px;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}
.me-num-blue { background: var(--me-blue); }
.me-num-orange { background: var(--me-orange); }

/* CTA CARDS */
.me-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: auto;
}
.me-cta-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    background: #ddd;
}
.me-cta-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.me-cta-main-text {
    position: absolute;
    bottom: 30px; left: 30px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    z-index: 1;
}
.me-cta-main-text h3 { font-size: 26px; margin: 0 0 6px; font-weight: 700; }
.me-cta-main-text p { margin: 0; font-size: 14px; }
.me-cta-arrow {
    position: absolute;
    bottom: 30px; right: 30px;
    background: var(--me-orange);
    color: #fff !important;
    width: 50px; height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1;
}
.me-cta-side { display: flex; flex-direction: column; gap: 24px; }
.me-cta-light, .me-cta-dark {
    border-radius: 20px;
    padding: 30px;
    flex: 1;
}
.me-cta-light { background: var(--me-bg); color: var(--me-blue); display: flex; flex-direction: column; }
.me-cta-dark { background: var(--me-blue); color: #fff; display: flex; flex-direction: column; }
.me-cta-light h3, .me-cta-dark h3 { font-size: 22px; margin: 8px 0 20px; font-weight: 700; margin-top: 0; }
.me-cta-light h3 { color: var(--me-blue); }
.me-cta-dark h3 { color: #fff; }

.me-cta-cards .me-btn {
    font-size: 14px;
    margin-top: auto;
}

.me-cta-cards .me-btn-arrow {
    width: 35px;
    height: 35px;
}

/* ZONES */
.me-zones { padding: 80px 0px 0px; }
.me-zones-map {
    background: var(--me-bg);
    border-radius: 30px;
    text-align: center;
}
.me-zones-map img { max-width: 100%; width: 100%; height: auto; mix-blend-mode: multiply; }

/* PROCESS */
.me-process { padding: 60px 0 15px; }
.me-process-head { max-width: 480px; margin-bottom: 30px; }
.me-process-head p { line-height: 1.6; color: #555; }
.me-process-img { text-align: center; }
.me-process-img img { max-width: 900px; width: 100%; height: auto; }

/* BLOG */
.me-blog { padding: 80px 0 100px; background: #fafbff; }
.me-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.me-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.me-blog-img-wrap { position: relative; display: block; }
.me-blog-img-wrap img { width: 100%; height: 240px; object-fit: cover; display: block; }
.me-blog-date {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--me-orange);
    color: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    text-align: center;
    line-height: 1;
}
.me-blog-day { display: block; font-size: 18px; font-weight: 700; }
.me-blog-month { display: block; font-size: 11px; font-weight: 600; margin-top: 4px; }
.me-blog-content { padding: 24px; }
.me-blog-content h3 { font-size: 19px; line-height: 1.3; margin: 0 0 16px; }
.me-blog-content h3 a { color: var(--me-blue); text-decoration: none; }
.me-blog-content p { color: #666; font-size: 14px; line-height: 1.6; margin: 0; }
.me-blog-cta { text-align: center; }

.md-contnet-inner .h3 { color: #fe6a00; }

.slider-text .h2 span { color: #fe6a12; }

/* ALERT / ERROR FORMULAIRE */
.error_bloc {
    background: #fff1ec;
    border: 1px solid #ffb38a;
    border-left: 4px solid #fe6a00;
    color: #8a3a00;
    padding: 14px 16px 14px 44px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 18px;
    position: relative;
    box-shadow: 0 2px 6px rgba(254, 106, 0, .08);
}
.error_bloc::before {
    content: "\f071";
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: #fe6a00;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}
.error_bloc.success {
    background: #e7f8ee;
    border-color: #9bd9b3;
    border-left-color: #02b03b;
    color: #0a5c25;
    box-shadow: 0 2px 6px rgba(2, 176, 59, .08);
}
.error_bloc.success::before {
    content: "\f00c";
    color: #02b03b;
}

/* PAGES LEGALES (mentions / politique de confidentialité) */
.me-legal-page { background: #fafbff; }

.me-legal-hero {
    background: linear-gradient(135deg, #01158e 0%, #0224d4 100%);
    color: #fff;
    padding: 200px 20px 40px;
    position: relative;
    overflow: hidden;
}
.me-legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 106, 0, .25), transparent 60%);
    pointer-events: none;
}
.me-legal-hero .container { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }
.me-legal-hero h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}
.me-legal-breadcrumb {
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.me-legal-breadcrumb a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    transition: color .2s;
}
.me-legal-breadcrumb a:hover { color: var(--me-orange); }
.me-legal-breadcrumb .sep { opacity: .6; }

.me-legal-content { padding: 60px 20px 80px; }
.me-legal-content .container { max-width: 980px; margin: 0 auto; }

.me-legal-card {
    background: #fff;
    border-radius: 18px;
    padding: 50px 55px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
    color: #333;
    font-size: 15px;
    line-height: 1.75;
}
.me-legal-card h2,
.me-legal-card h3 {
    color: var(--me-blue);
    font-weight: 700;
    line-height: 1.3;
    margin: 36px 0 14px;
}
.me-legal-card h2 { font-size: 24px; padding-bottom: 12px; border-bottom: 2px solid #eef0fb; }
.me-legal-card h3 { font-size: 18px; }
.me-legal-card h2:first-child,
.me-legal-card h3:first-child { margin-top: 0; }
.me-legal-card p { margin: 0 0 16px; }
.me-legal-card a {
    color: var(--me-orange);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed transparent;
    transition: border-color .2s;
}
.me-legal-card a:hover { border-bottom-color: var(--me-orange); }
.me-legal-card ul,
.me-legal-card ol { margin: 0 0 18px; padding-left: 22px; }
.me-legal-card li { margin-bottom: 8px; }
.me-legal-card strong { color: var(--me-blue); font-weight: 700; }

.me-legal-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(1, 21, 142, .06);
}
.me-legal-card table th,
.me-legal-card table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eef0fb;
}
.me-legal-card table th {
    background: var(--me-bg);
    color: var(--me-blue);
    font-weight: 700;
    font-size: 14px;
    width: 40%;
}
.me-legal-card table td { background: #fff; }
.me-legal-card table tr:last-child th,
.me-legal-card table tr:last-child td { border-bottom: 0; }
.me-legal-card table p { margin: 0; }

@media (max-width: 991px) {
    .me-legal-hero { padding: 140px 18px 50px; }
    .me-legal-hero h1 { font-size: 30px; }
    .me-legal-card { padding: 36px 32px; }
}
@media (max-width: 767px) {
    .me-legal-hero { padding: 110px 16px 40px; }
    .me-legal-hero h1 { font-size: 24px; }
    .me-legal-content { padding: 40px 16px 60px; }
    .me-legal-card { padding: 28px 22px; font-size: 14.5px; line-height: 1.7; }
    .me-legal-card h2 { font-size: 20px; }
    .me-legal-card h3 { font-size: 16.5px; }
    .me-legal-card table { display: block; overflow-x: auto; }
    .me-legal-card table th { width: auto; }
}

/* MERCI */
.me-merci {
    padding: 250px 20px 100px;
    background: #fafbff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 991px) {
    .me-merci { padding: 180px 20px 80px; }
}
@media (max-width: 767px) {
    .me-merci { padding: 140px 16px 60px; min-height: auto; }
}
@media (max-width: 480px) {
    .me-merci { padding: 110px 14px 50px; }
}

.lois {
    margin-top: 18px;
}

.lois p {
    font-size: 11px;
    line-height: 20px;
    margin-bottom: 0;
}

.lois a {
    color: #3c3c3d;
    text-decoration: underline;
}

.twentytwenty-handle span {
    border: 0;
    top: 12px;
}

.twentytwenty-left-arrow {
    margin-left: -20px;
}

.twentytwenty-right-arrow {
    margin-right: -9px;
}

.article .me-blog {
    padding: 80px 0px 0px;
    background: unset;
}

.contact-form .field {
    flex-direction: column;
    margin-bottom: 16px;
}

@media (max-width: 1024px) {

    .header-bottom {
        width: 100%;
        padding: 0 20px;
    }

    .menu-icon {
        display: flex;
        align-items: center;
    }

    .me-eligibilite-form {
        padding: 45px 20px;
    }

    .menu-icon {
        border-radius: 11px;
    }

}

/* RESPONSIVE */
@media (max-width: 992px) {
    .me-hero-title { font-size: 38px; }
    .me-section-title { font-size: 28px; }
    .me-why-grid, .me-eligibilite-grid, .me-team-grid, .me-cta-grid { grid-template-columns: 1fr; }
    .me-services-list li { grid-template-columns: 60px 1fr 60px; }
    .me-service-icon, .me-service-arrow { width: 60px; height: 60px; }
    .me-blog-grid { grid-template-columns: 1fr; }
    .me-aides-card { padding: 30px 20px; }
    .me-team-num { flex: 0 0 48px; width: 48px; height: 48px; font-size: 18px; }
    .me-team-steps li { font-size: 18px; }
}

@media (max-width: 767px) {

    .header-top .nav-btn {
        margin-bottom: 0 !important;
    }

    .header .header-top.mobile {
        margin-bottom: 15px;
    }

    .me-btn {
        font-size: 16px;
    }

    .me-btn-arrow {
        width: 35px;
        height: 35px;
    }

    .me-hero {
        height: 750px;
    }

    .header-logo {
        height: 50px;
    }

    .header-bottom {
        align-items: center;
    }

    button.nav-btn-A.mobile {
        margin-right: 10px;
    }

    .me-aides-list li {
        padding: 10px;
    }

    .me-aides-list li i {
        min-width: 22px;
    }

    .me-aides-note {
        padding: 28px 10px;
    }

    .footer-top .h1 {
        width: 100%;
    }

    .footer-logo {
        margin: auto;
        align-items: center;
    }

    .me-legal-hero {
        padding: 160px 0 40px;
    }

    .me-legal-content {
        padding: 40px 0px 60px;
    }



}

/* ---------- SIDEBAR WIDGET (global) ---------- */
.me-sidebar-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.me-sidebar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 11px 6px;
    width: 125px;
    border-radius: 8px 0 0 8px;
    text-decoration: none;
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    transition: opacity 0.2s;
}
.me-sidebar-btn:hover { opacity: 0.9; text-decoration: none; }
.me-sidebar-btn--orange {
    background: var(--me-orange, #ff6a00);
    margin-bottom: 15px;
    border: 1px solid transparent;
}
.me-sidebar-btn--blue {
    background: var(--me-blue, #01158e);
    border: 1px solid transparent;
}
.me-sidebar-icon {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6a00;
    font-size: 14px;
}
.me-sidebar-icon svg,
.me-sidebar-icon i {
    width: 16px;
    height: 16px;
    display: block;
}
.me-sidebar-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    letter-spacing: 0.28px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .me-sidebar-widget { display: none; }
}

/* ---------- COOKIE CONSENT ---------- */
.banner_bottom_cookie {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 9998;
    color: #fff;
}

.banner_bottom_cookie .container {
    max-width: 1180px;
    background: #01158e;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 0 18px 55px rgba(1, 21, 142, 0.28);
    padding: 16px 18px;
}

.banner_bottom_cookie p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.banner_bottom_cookie a,
.banner_bottom_cookie a:hover {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.banner_bottom_cookie .cookie_tous_accepter,
.banner_bottom_cookie .cookie_tous_refuser,
.banner_bottom_cookie .cookie_personnaliser {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.2;
}

.banner_bottom_cookie .cookie_tous_accepter {
    background: #ff6a00;
}

.banner_bottom_cookie .cookie_tous_refuser,
.banner_bottom_cookie .cookie_personnaliser {
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.banner_bottom_cookie .link {
    margin-left: auto;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookies-popup-holder.cookie-popup-visible {
    display: block !important;
}

.cookies-popup-holder .over-lay-first,
.cookies-popup-holder .over-lay-first-second {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(1, 8, 40, 0.62);
}

.cookies-popup-holder .over-lay-first-second {
    background: rgba(1, 8, 40, 0.72);
}

.cookies-popup-holder .block-one-cockies,
.cookies-popup-holder .block-two-cockies {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    width: calc(100% - 32px);
    max-width: 680px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    transform: translate(-50%, -50%);
    background: #fff;
    border-top: 6px solid #ff6a00;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    color: #10142a;
}

.cookies-popup-holder .block-one-cockies {
    padding: 28px;
}

.cookies-popup-holder .block-two-cockies {
    max-width: 860px;
}

.cookies-popup-holder.cookie-popup-visible .over-lay-first,
.cookies-popup-holder.cookie-popup-visible .block-one-cockies {
    display: block !important;
}

.block-one-cockies p,
.tab-detail p,
.tab-detail li {
    color: #26304d;
    font-size: 15px;
    line-height: 1.65;
}

.btns-cookies-holder,
.second-btns-cookies-holder {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btns-cookies-holder button,
.second-btns-cookies-holder button,
.propos-cokies-buttons button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tout-accepter-a,
.tout-accepter,
.tout-regester,
.accept-btn.checked-btn {
    background: #ff6a00;
    color: #fff;
}

.personnaliser-choix,
.Interdire-choix,
.interd-btn,
.accept-btn,
.interd-btn.checked-btn {
    background: #fff;
    color: #01158e;
    border: 1px solid rgba(1, 21, 142, 0.22) !important;
}

.interd-btn.checked-btn {
    background: #01158e;
    color: #fff;
}

.info-two-holder {
    padding: 0;
}

.top-title-coockie {
    padding: 22px 26px;
    background: #01158e;
}

.title-popup-cookies {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.accept-multichoix-holder-cookies .columns {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 330px;
}

.accept-multichoix-holder-cookies .tabs {
    display: flex;
    flex-direction: column;
    background: #f4f6ff;
    border-right: 1px solid #e1e5f3;
}

.accept-multichoix-holder-cookies .tab-item {
    padding: 17px 20px;
    color: #01158e;
    border-bottom: 1px solid #e1e5f3;
    font-weight: 700;
    cursor: pointer;
}

.accept-multichoix-holder-cookies .tab-item.active,
.accept-multichoix-holder-cookies .tab-item:hover {
    background: #fff;
    color: #ff6a00;
}

.accept-multichoix-holder-cookies .tab-detail {
    display: none;
    padding: 24px 26px;
}

.accept-multichoix-holder-cookies .tab-detail.show {
    display: block;
}

.tab-title {
    margin-bottom: 12px;
    color: #01158e;
    font-size: 18px;
    font-weight: 800;
}

.info-bloc-cookies-holdera {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.propos-cokies-buttons {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgba(1, 21, 142, 0.22);
    border-radius: 8px;
}

.propos-cokies-buttons button {
    border: 0 !important;
    border-radius: 0;
}

.second-btns-cookies-holder {
    padding: 18px 26px 24px;
    border-top: 1px solid #e1e5f3;
}

@media (max-width: 767px) {
    .banner_bottom_cookie {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .banner_bottom_cookie p {
        display: block;
    }

    .banner_bottom_cookie a {
        margin-top: 8px;
    }

    .banner_bottom_cookie .link {
        display: inline-block;
        margin-left: 0;
    }

    .cookies-popup-holder .block-one-cockies {
        padding: 22px 18px;
    }

    .accept-multichoix-holder-cookies .columns {
        grid-template-columns: 1fr;
    }

    .accept-multichoix-holder-cookies .tabs {
        border-right: 0;
        border-bottom: 1px solid #e1e5f3;
    }

    .btns-cookies-holder,
    .second-btns-cookies-holder {
        justify-content: stretch;
    }

    .btns-cookies-holder button,
    .second-btns-cookies-holder button {
        width: 100%;
    }
}

