/* ============================================================
   AIDES & TARIFS PAGE — Mon Monte-Escalier
   Based on Figma design
   ============================================================ */

:root {
    --me-blue: #01158e;
    --me-blue-light: #0024ff;
    --me-orange: #ff6a00;
    --me-dark: #3c3c3d;
    --me-card-bg: #eeeff8;
    --me-light: #e9e9e9;
    --me-white: #ffffff;
}

.me-aides-tarifs { overflow-x: hidden; }

/* ---------- HERO ---------- */
.me-at-hero {
    position: relative; height: 700px; display: flex; align-items: center;
    overflow: hidden; margin-bottom: -150px; z-index: 1;
}
.me-at-hero-bg { position: absolute; inset: 0; z-index: 0; }
.me-at-hero-bg img {
    width: 100%; height: 115.71%; object-fit: cover;
    position: absolute; top: 0.01%; left: 0;
}
.me-at-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(94.04deg, rgba(0,0,0,0.4) 35.48%, rgba(102,102,102,0) 52.65%);
}
.me-at-hero-content {
    position: relative; z-index: 1; max-width: 1440px; width: 100%;
    margin: 0 auto; padding: 0 70px 0 87px;
}
.me-at-hero .me-section-title { text-shadow: 0 4px 29px rgba(255,255,255,0.25); }
.me-at-hero-desc {
    font-size: 18px; font-weight: 400; color: #fff;
    line-height: 1.555; max-width: 474px; letter-spacing: 0.72px;
}

/* ---------- CONTENT WRAPPER ---------- */
.me-at-content-wrapper {
    background: #fff; border-radius: 150px 150px 0 0;
    position: relative; z-index: 2; padding: 100px 70px 0;
    max-width: 100%; margin: 0 auto; display: flex; justify-content: center;
}
.me-at-sections { display: flex; flex-direction: column; gap: 200px; width: 1340px; }

/* ---------- ROW ---------- */
.me-at-row { display: flex; }
.me-at-row--text-left { flex-direction: row; align-items: center; justify-content: space-between; }
.me-at-row--centered { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.me-at-col--text { flex: 0 0 auto; max-width: 648px; min-width: 0; }
.me-at-col--image { flex: 0 0 auto; }
.me-at-centered-desc {
    color: var(--me-dark); text-align: center; font-size: 18px;
    font-weight: 400; line-height: 28px; letter-spacing: 0.72px;
    max-width: 967px; margin: 0;
}

/* ---------- IMAGE FRAME ---------- */
.me-at-image-frame {
    width: 607px; height: 736px; border-radius: 59px;
    overflow: hidden; position: relative; flex-shrink: 0;
}
.me-at-image-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SECTION HEADER ---------- */
.me-section-header { display: flex; flex-direction: column; gap: 14.25px; }
.me-section-header--centered { align-items: center; }
.me-section-eyebrow {
    display: inline-flex; align-items: center; padding-left: 29px;
    position: relative; padding-bottom: 2px; align-self: flex-start;
}
.me-section-header--centered .me-section-eyebrow { align-self: center; }
.me-eyebrow-dot {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 10px; height: 10px; border-radius: 5px; background: var(--me-orange);
}
.me-eyebrow-text {
    font-size: 20px; font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; line-height: 1; color: var(--me-blue-light);
}
.me-section-title {
    font-weight: 700; line-height: 1.3; margin: 0;
    padding-bottom: 0.75px; text-align: left;
}
.me-section-header--centered .me-section-title {
    text-align: center; max-width: 968px; white-space: pre-wrap;
}

/* ---------- TEXT / CHECK LIST ---------- */
.me-at-content-gap { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.me-at-text-block { display: flex; flex-direction: column; gap: 20px; }
.me-at-text-block p { margin: 0; }
.me-at-text-block p, .me-at-text {
    font-size: 18px; font-weight: 400; color: var(--me-dark);
    line-height: 1.555; letter-spacing: 0.72px; margin: 0;
}
.me-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.me-check-list li { display: flex; align-items: center; gap: 8px; min-height: 42px; }
.me-check-icon { width: 42px; height: 42px; flex-shrink: 0; }
.me-check-text { font-size: 21px; font-weight: 500; color: #001070; line-height: 1.5; letter-spacing: 0.28px; }

/* ---------- CTA BUTTON ---------- */
.me-cta-btn {
    display: inline-flex; align-items: center; gap: 8px; background: var(--me-blue);
    border-radius: 25px; padding: 5px 25px 5px 5px; text-decoration: none;
    transition: opacity 0.2s; flex-shrink: 0; width: fit-content;
    margin-top: 24px;
}
.me-cta-btn:hover { opacity: 0.9; text-decoration: none; }
.me-cta-btn--outline { background: transparent; border: 1px solid #fff; }
.me-cta-btn--white { background: #fff; }
.me-cta-icon {
    width: 45px; height: 45px; background: #fff; border-radius: 22.5px;
    display: flex; align-items: center; justify-content: center; color: var(--me-blue); flex-shrink: 0;
}
.me-cta-icon--outline { background: #fff; color: var(--me-blue); }
.me-cta-icon--orange-bg { background: var(--me-orange); color: #fff; }
.me-cta-text {
    font-size: 18px; font-weight: 500; text-transform: uppercase; color: #fff;
    letter-spacing: 0.28px; white-space: nowrap; line-height: 1.833;
}
.me-cta-text--outline { color: #fff; }
.me-cta-text--dark { color: var(--me-orange); }

/* ---------- PRICING CARDS ---------- */
.me-at-pricing-grid { display: flex; gap: 20px; width: 100%; margin-top: 50px; }
.me-at-pricing-card {
    flex: 1; min-width: 0; background: #fff; border: 1px solid #f0f0f0;
    border-radius: 25px; box-shadow: 0 1px 2px rgba(12,12,13,0.05);
    display: flex; flex-direction: column;
}
.me-at-pricing-header {
    background: var(--me-orange); border-radius: 25px 25px 0 0;
    padding: 30px 30px 20px; display: flex; flex-direction: column;
    align-items: center; gap: 0px;
}
.me-at-pricing-badge {
    background: #fff; color: var(--me-orange); font-size: 20px; font-weight: 600;
    padding: 5px 15px; border-radius: 44px; white-space: nowrap;
}
.me-at-pricing-amount { display: flex; align-items: baseline; gap: 4px; color: #fff; }
.me-at-pricing-label { font-size: 18px; }
.me-at-pricing-value { font-size: 24px; font-weight: 600; margin-top: 16px; }
.me-at-pricing-sub { font-size: 14px; color: #fff; margin: 0; }
.me-at-pricing-body { padding: 20px 30px 30px; display: flex; flex-direction: column; gap: 12px; }
.me-at-pricing-desc { text-align:left; font-size: 18px; color: var(--me-dark); line-height: 28px; letter-spacing: 0.72px; margin: 0; }
.me-at-pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.me-at-pricing-features li { display: flex; align-items: center; gap: 8px; }
.me-at-pricing-features li span { font-size: 18px; color: var(--me-dark); letter-spacing: 0.28px; }

/* ---------- SERVICE CARDS GRID ---------- */
.me-at-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; margin-top: 50px; }
.me-at-service-card {
    background: #fff; border: 1px solid #f0f0f0; border-radius: 25px;
    padding: 30px 20px; display: flex; flex-direction: column; align-items: center;
    gap: 12px; box-shadow: 0 1px 2px rgba(12,12,13,0.05);
}
.me-at-service-icon { width: 57px; height: 57px; display: flex; align-items: center; justify-content: center; background: #FF6A00; border-radius: 500px;}
.me-at-service-title { font-size: 24px; font-weight: 600; color: var(--me-blue); margin: 0; text-align: center; }

/* ---------- MAPRIM SECTION ---------- */
.me-at-maprim-box {
    background: var(--me-card-bg); border-radius: 40px; padding: 50px;
    width: 100%; display: flex; flex-direction: column; align-items: flex-start;
}
.me-at-maprim-intro { font-size: 18px; color: var(--me-dark); line-height: 28px; letter-spacing: 0.72px; text-align: left; max-width: 900px; width: 100%; margin: 0 0 20px; }
.me-at-maprim-subtitle { font-size: 32px; font-weight: 700; color: var(--me-blue); text-align: left; margin: 0 0 16px; }
.me-at-maprim-stats { display: flex; gap: 20px; width: 100%; margin: 30px 0; }
.me-at-stat-card {
    flex: 1; background: #fff; border-radius: 25px; padding: 30px;
    text-align: center; display: flex; flex-direction: column; gap: 8px;
}
.me-at-stat-num { font-size: 32px; font-weight: 700; color: var(--me-orange); }
.me-at-stat-card p { font-size: 18px; color: var(--me-dark); margin: 0; }
.me-at-maprim-cols { display: flex; gap: 60px; width: 100%; margin-top: 30px; }
.me-at-maprim-col { flex: 1; }
.me-at-maprim-col h4 { font-size: 24px; font-weight: 600; color: var(--me-blue); margin: 0 0 12px; text-align: left;}
.me-at-maprim-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.me-at-maprim-col ul li {
    font-size: 18px; color: var(--me-dark); position: relative;
    text-align: left;
    display: flex; align-items: center; gap: 8px;
}

.me-at-maprim-col:last-child ul li::before {
    background: none;
    border: 2px solid #22c55e; width: 16px; height: 16px; left: 2px;
}


/* ---------- AID CARDS ---------- */
.me-at-aid-grid { display: flex; gap: 20px; width: 100%; margin-top: 50px; }
.me-at-aid-card {
    flex: 1; min-width: 0; background: var(--me-card-bg); border-radius: 25px;
    padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 318px;
}
.me-at-aid-card svg { flex-shrink: 0; }
.me-at-aid-card h4 { font-size: 24px; font-weight: 600; color: var(--me-blue); margin: 0; text-align:left; }
.me-at-aid-card p { font-size: 18px; color: var(--me-dark); line-height: 28px; letter-spacing: 0.72px; margin: 0; text-align: left;}

/* ---------- PROCESS SECTION ---------- */
.me-at-process-content {
    display: flex; align-items: center; justify-content: space-between; gap: 60px;
    width: 100%; margin-top: 50px;
}
.me-at-process-left { flex-shrink: 0; }
.me-at-process-image {
    width: 540px; height: 510px; overflow: hidden; position: relative;
}
.me-at-process-image img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 500px;
}
.me-at-process-image::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 152px; height: 152px; background: var(--me-orange); border-radius: 0 0 0 69px;
}
.me-at-process-right { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.me-at-process-steps { display: flex; flex-direction: column; gap: 24px; text-align: left; }
.me-at-step { display: flex; align-items: flex-start; gap: 16px; }
.me-at-step-num {
    width: 85px; height: 84px; border-radius: 42px;
    display: flex; align-items: center; justify-content: center;
    font-size: 27px; font-weight: 500; color: #fff; flex-shrink: 0;
}
.me-at-step-content h4 { font-size: 24px; font-weight: 500; color: var(--me-blue); margin: 0 0 4px; }
.me-at-step-content p { font-size: 18px; color: var(--me-dark); margin: 0; line-height: 28px; }

/* ---------- FAQ ---------- */
.me-at-faq { width: 100%; max-width: 1300px; margin-top: 50px; display: flex; flex-direction: column; gap: 24px; }
.me-at-faq-item { border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; }
.me-at-faq-item:last-child { border-bottom: none; }
.me-at-faq-question {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    background: none; border: none; cursor: pointer; padding: 0; text-align: left;
    font-size: 20px; font-weight: 500; color: #000; line-height: 31.5px;
}
.me-at-faq-question span { flex: 1; }
.me-at-faq-icon, .me-at-faq-question svg { flex-shrink: 0; }
.me-at-faq-item--open .me-at-faq-vert { display: none; }
.me-at-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.me-at-faq-item--open .me-at-faq-answer { max-height: 300px; margin-top: 16px; }
.me-at-faq-answer p { font-size: 18px; color: var(--me-dark); line-height: 28px; margin: 0; text-align: left; }

/* ---------- CTA BANNER ---------- */
.me-at-cta-banner {
    background: var(--me-orange); border-radius: 40px; padding: 40px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 24px; text-align: center;
}
.me-at-cta-banner .me-section-title { width: 100% !important; max-width: 100% !important; }
.me-at-cta-banner-desc {
    font-size: 18px; color: var(--me-light); line-height: 1.555;
    letter-spacing: 0.72px; max-width: 930px; margin: 0;
}
.me-at-cta-banner-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1440px) {
    .me-at-hero-content { max-width: 100%; padding-left: 40px; padding-right: 40px; }
    .me-at-sections { width: 100%; }
    .me-at-image-frame { max-width: 500px; height: 500px; }
    .me-at-process-image { width: 400px; height: 400px; }
    .me-at-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
    .me-at-content-wrapper { border-radius: 80px 80px 0 0; padding: 60px 30px 0; }
    .me-at-sections { gap: 100px; width: 100%; }
    .me-at-row--text-left { flex-direction: column !important; gap: 40px; }
    .me-at-process-content { flex-direction: column !important; gap: 40px; }
    .me-at-col--text { max-width: 100%; }
    .me-at-image-frame { width: 100%; max-width: 100%; height: 400px; border-radius: 40px; }
    .me-at-pricing-grid { flex-direction: column; }
    .me-at-aid-grid { flex-direction: column; }
    .me-at-maprim-cols { flex-direction: column; gap: 30px; }
    .me-at-maprim-stats { flex-direction: column; }
    .me-section-title { font-size: 38px !important; }
    .me-at-hero .me-section-title { font-size: 42px !important; }
    .me-at-hero { height: 600px; margin-bottom: -100px; }
    .me-at-hero-content { padding: 0 30px 0 30px; }
    .me-at-hero-desc { max-width: 100%; }
    .me-at-cta-banner { border-radius: 35px; }
    .me-at-cta-banner-btns { flex-direction: column; align-items: center; width: 100%; }
    .me-at-cta-banner-btns .me-cta-btn { width: 100%; max-width: 400px; justify-content: start; }
}
@media (max-width: 768px) {
    .me-at-hero { height: 450px; margin-bottom: -60px; }
    .me-at-hero-content { padding: 0 20px 0 20px; margin-top: 50px; }
    .me-at-hero .me-section-header { gap: 8px; }
    .me-section-title { font-size: 28px !important; }
    .me-at-hero .me-section-title { font-size: 32px !important; }
    .me-at-hero-desc { font-size: 16px; }
    .me-section-header--centered .me-section-title { white-space: normal; }
    .me-at-content-wrapper { border-radius: 50px 50px 0 0; padding: 40px 20px 0; }
    .me-at-sections { gap: 60px; width: 100%; }
    .me-at-image-frame { height: 280px; border-radius: 30px; }
    .me-at-service-grid { grid-template-columns: 1fr; }
    .me-at-service-card { padding: 20px; }
    .me-at-service-title { font-size: 20px; }
    .me-at-maprim-box { padding: 30px 20px; border-radius: 30px; }
    .me-at-maprim-subtitle { font-size: 24px; }
    .me-at-pricing-card { padding: 0; }
    .me-at-maprim-intro { max-width: 100% !important; width: 100% !important; }
    .me-at-process-image { width: 100%; max-width: 300px; height: 300px; }
    .me-at-process-image img { border-radius: 200px; }
    .me-at-step-num { width: 60px; height: 60px; font-size: 22px; }
    .me-at-step-content h4 { font-size: 20px; }
    .me-at-step-content p { font-size: 16px; }
    .me-at-faq-question { font-size: 18px; }
    .me-at-faq-answer p { font-size: 16px; }
    .me-at-cta-banner { border-radius: 30px; padding: 30px 20px; }
    .me-at-cta-banner-btns { flex-direction: column; width: 100%; align-items: center; }
    .me-at-cta-banner-btns .me-cta-btn { width: 100%; max-width: 100%; justify-content: start; }
    .me-at-cta-banner .me-section-title { font-size: 28px !important; }
    .me-eyebrow-text { font-size: 16px; letter-spacing: 3px; }
    .me-cta-text { white-space: normal; font-size: 16px; }
    .me-at-text-block p, .me-at-text { font-size: 16px; }
    .me-check-text { font-size: 18px; }
    .me-at-centered-desc { font-size: 16px; }
    .me-at-stat-num { font-size: 28px; }
    .me-at-stat-card p { font-size: 16px; }
}
