/* MM Accueil 3a — inner page v2 + new footer (design handoff "page dentier", README tokens).
   Additive: every selector is .mmi-* (inner page) or .mmf-* (footer). Loaded after accueil.css, only on pages
   switched on in includes/inner-page.php. Font: inherits Manrope from .mm-page (already loaded by the plugin). */
:root {
  --mmi-navy: #03528a;
  --mmi-accent: #087ac9;
  --mmi-accent-dk: #066aaf;
  --mmi-teal: #17607f;
  --mmi-ink: #16232b;
  --mmi-body: #3f5260;
  --mmi-body2: #4a5c67;
  --mmi-muted: #5c7280;
  --mmi-line: #e3e9ed;
  --mmi-line2: #d3dde3;
  --mmi-surface: #f3f6f8;
  --mmi-tint: #e7f2fa;
  --mmi-on-navy: #d3e6f3;
  --mmi-on-navy2: #a8d4f2;
}

.mmi { color: var(--mmi-ink); }
.mmi :where(h1, h2, h3, p, ul, ol, li) { margin: 0; padding: 0; }
.mmi :where(ul, ol) { list-style: none; }
.mmi-wrap { max-width: 1440px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.mmi-sec { padding-top: 96px; }
.mmi-sec--cta { padding-bottom: 72px; }
.mmi-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.mmi-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mmi-accent); margin-bottom: 14px; line-height: 1.3; }
.mmi-eyebrow--light { color: var(--mmi-on-navy2); }
.mmi-h2 { font-size: 40px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--mmi-navy); margin-bottom: 18px; }
.mmi-body { font-size: 18px; line-height: 1.65; color: var(--mmi-body2); }

/* Buttons */
.mm-page a.mmi-btn, .mmi-btn {
  display: inline-block; font-family: inherit; font-weight: 700; font-size: 18px; line-height: 1.2; text-align: center;
  padding: 18px 32px; border-radius: 8px; border: 1px solid transparent; min-height: 52px; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.mm-page a.mmi-btn--primary { background: var(--mmi-accent); color: #fff; }
.mm-page a.mmi-btn--primary:hover { background: var(--mmi-accent-dk); color: #fff; }
.mm-page a.mmi-btn--ghost { background: #fff; color: var(--mmi-navy); border-color: var(--mmi-line2); padding-left: 30px; padding-right: 30px; }
.mm-page a.mmi-btn--ghost:hover { background: var(--mmi-surface); color: var(--mmi-navy); }
.mm-page a.mmi-btn--white { background: #fff; color: var(--mmi-navy); font-size: 17px; font-weight: 800; }
.mm-page a.mmi-btn--white:hover { background: var(--mmi-tint); color: var(--mmi-navy); }
.mm-page a.mmi-btn--sm { font-size: 17px; padding: 14px 26px; min-height: 52px; }
.mm-page a.mmi-btn:focus-visible, .mmi-acc-btn:focus-visible, .mm-page a.mmi-rel-more:focus-visible, .mmf a:focus-visible { outline: 3px solid var(--mmi-accent); outline-offset: 3px; }

/* 2. Hero */
.mmi-hero-wrap { background: var(--mmi-surface); }
.mmi-crumb, .mmi-hero { max-width: 1440px; margin-left: auto; margin-right: auto; }
.mmi-crumb { padding: 22px 40px 0; font-size: 16px; font-weight: 600; color: var(--mmi-muted); line-height: 1.4; }
.mm-page .mmi-crumb a { color: var(--mmi-muted); }
.mm-page .mmi-crumb a:hover { color: var(--mmi-navy); text-decoration: underline; }
.mmi-crumb span { color: #b6c1c8; margin: 0 6px; }
.mmi-crumb strong { color: var(--mmi-navy); font-weight: 600; }
.mmi-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding: 40px 40px 64px; }
.mmi-h1 { font-size: 64px; font-weight: 800; line-height: 1.04; letter-spacing: -.025em; color: var(--mmi-navy); margin-bottom: 22px; }
.mmi-lede { font-size: 21px; line-height: 1.6; color: var(--mmi-body); max-width: 50ch; margin-bottom: 32px; }
.mmi-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.mmi-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16px; font-weight: 600; color: var(--mmi-body); }
.mmi-trust li { display: flex; align-items: center; gap: 8px; }
.mmi-trust li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mmi-accent); }
.mmi-hero-media { position: relative; }
.mmi .mmi-hero-img { display: block; width: 100%; height: 500px; object-fit: cover; object-position: 30% center; border-radius: 16px; } /* source 2048x855, only ever scaled down; 30% keeps the three faces (x 18-62% of the photo) in the crop */
.mmi-know {
  position: absolute; left: -32px; bottom: 36px; display: flex; align-items: center; gap: 18px;
  background: #fff; border-radius: 12px; padding: 22px 26px; box-shadow: 0 14px 34px rgba(3,82,138,.18);
}
.mmi-know img { flex: none; width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.mmi-know-h { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mmi-accent); margin-bottom: 4px; }
.mmi-know-p { font-size: 16px; line-height: 1.45; color: var(--mmi-ink); max-width: 26ch; }

/* 3. Qualifier */
.mmi-qualify { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; padding-top: 88px; }
.mmi-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mmi-card { display: flex; align-items: flex-start; gap: 18px; border: 1px solid var(--mmi-line); border-radius: 12px; padding: 28px; }
.mmi-badge { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mmi-tint); color: var(--mmi-accent); font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mmi-card-t { font-size: 19px; font-weight: 800; line-height: 1.4; color: var(--mmi-navy); margin-bottom: 4px; }
.mmi-card-p { font-size: 16px; line-height: 1.55; color: var(--mmi-body2); }

/* 4. Timeline */
.mmi-tl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.mmi-tl-head .mmi-h2 { margin-bottom: 0; line-height: 1.37; } /* prototype h2 here has no line-height (normal) */
.mmi-tl-note { font-size: 17px; line-height: 1.55; color: var(--mmi-body2); max-width: 36ch; text-align: right; }
.mmi-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.mmi-steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: #d6e6f1; }
.mmi-step { position: relative; }
.mmi-step-n {
  position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 22px;
  border-radius: 50%; border: 2px solid var(--mmi-accent); background: #fff; color: var(--mmi-accent); font-size: 20px; font-weight: 800;
}
.mmi-step.is-first .mmi-step-n { background: var(--mmi-accent); color: #fff; }
.mmi-step-t { font-size: 21px; font-weight: 800; line-height: 1.33; color: var(--mmi-navy); margin-bottom: 6px; }
.mmi-pill { display: inline-block; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--mmi-teal); background: var(--mmi-tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.mmi-step-p { font-size: 16px; line-height: 1.6; color: var(--mmi-body2); }
/* 1.1.44: 3- and 4-step timelines (the 5-step layout above is untouched), and "cards" variant (relining) */
.mmi-steps--3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mmi-steps--4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
/* 1.1.44: a single cross-sell card, or two related cards (implants card removed), fill the row */
.mmi-cross--1 { grid-template-columns: 1fr; }
.mmi-rel-grid--2 { grid-template-columns: repeat(2, 1fr); }
/* 1.1.44: odd number of qualifier cards (3): the last one takes the full row */
.mmi-cards--odd .mmi-card:last-child { grid-column: 1 / -1; }

/* 5. Lab band */
.mmi-lab { display: grid; grid-template-columns: 1fr 1fr; background: var(--mmi-navy); color: #fff; border-radius: 16px; overflow: hidden; }
.mmi .mmi-lab-img { display: block; width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: 30% center; }
.mmi-lab-body { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.mmi-lab-h { font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.mmi-lab-list { display: grid; gap: 24px; margin-top: 28px; }
.mmi-lab-list li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
.mmi-lab-n { font-size: 16px; font-weight: 800; color: var(--mmi-on-navy2); padding-top: 3px; }
.mmi-lab-list h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; color: #fff; }
.mmi-lab-list p { font-size: 16px; line-height: 1.6; color: var(--mmi-on-navy); }

/* 6. FAQ accordion */
.mmi-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.mmi-faq-note { margin-bottom: 24px; }
.mmi-acc { border-top: 1px solid var(--mmi-line); }
.mmi-acc-item { border-bottom: 1px solid var(--mmi-line); }
.mmi-acc-h { font-size: inherit; font-weight: inherit; margin: 0; }
.mmi-acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 48px; padding: 26px 0;
  background: none; border: 0; border-radius: 0; font-family: inherit; text-align: left; cursor: pointer; color: var(--mmi-navy);
}
.mmi-acc-q { font-size: 20px; font-weight: 700; line-height: 1.35; }
.mmi-acc-ico { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mmi-tint); color: var(--mmi-accent); }
.mmi-acc-ico::before, .mmi-acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 1px; }
.mmi-acc-ico::after { transform: rotate(90deg); transition: transform .2s ease, opacity .2s ease; }
.is-open > .mmi-acc-h .mmi-acc-ico::after { transform: rotate(90deg) scaleX(0); opacity: 0; }
.mmi-acc-panel { display: grid; grid-template-rows: 1fr; }
.mmi-acc-inner { min-height: 0; overflow: hidden; }
.mmi-acc-inner p { font-size: 17px; line-height: 1.7; color: var(--mmi-body2); padding: 0 64px 28px 0; }
/* collapsed state only once JS has flagged the list (no JS: every answer stays readable) */
.mmi-acc.mmi-js .mmi-acc-panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .2s ease, visibility 0s linear .2s; }
.mmi-acc.mmi-js .is-open > .mmi-acc-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .2s ease, visibility 0s; }

/* 7. Cross-sell */
.mmi-cross { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mmi-cross-card { background: var(--mmi-surface); border-radius: 14px; padding: 40px; }
.mmi-cross-t { font-size: 24px; font-weight: 800; line-height: 1.25; color: var(--mmi-navy); margin-bottom: 10px; }
.mmi-cross-card p { font-size: 17px; line-height: 1.6; color: var(--mmi-body2); margin-bottom: 22px; }

/* 8. Related */
.mmi-rel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.mmi-rel-h { font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--mmi-navy); }
.mm-page a.mmi-rel-all { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 700; color: var(--mmi-teal); }
.mm-page a.mmi-rel-all:hover, .mm-page a.mmi-rel-more:hover { color: var(--mmi-teal); text-decoration: underline; }
.mmi-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mmi-rel-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; border: 1px solid var(--mmi-line); border-radius: 12px; overflow: hidden; }
/* README: 140px thumb column. Sources are 250x175: a fixed 140x140 box (object-fit: cover) is only ever scaled DOWN (0.8x), never stretched or upscaled.
   The photos sit on white, so the box blends with the card when the text column is taller than 140px. */
.mm-page .mmi-rel-card img { display: block; width: 140px; min-width: 140px; max-width: 140px; height: 140px; min-height: 140px; max-height: 140px; object-fit: cover; object-position: center; }
.mmi-rel-b { padding: 22px 24px; }
.mmi-rel-b h3 { font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--mmi-navy); margin-bottom: 6px; }
.mmi-rel-b p { font-size: 16px; line-height: 1.55; color: var(--mmi-body2); margin-bottom: 6px; }
.mm-page a.mmi-rel-more { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 700; color: var(--mmi-teal); }

/* README says 1 column at <=1024px; between 1025 and 1200px three cards are only ~300-360px wide (thumb = 39-47% of the card), so the related grid stacks from 1200px down */
@media (max-width: 1200px) {
  .mmi-rel-grid { grid-template-columns: 1fr; }
}

/* 9. CTA band */
.mmi-cta { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; background: var(--mmi-navy); border-radius: 16px; padding: 56px; color: #fff; }
.mmi-cta-h { font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff; margin-bottom: 12px; }
.mmi-cta-p { font-size: 18px; line-height: 1.55; color: var(--mmi-on-navy); }
.mmi-cta-side { display: flex; align-items: center; gap: 28px; }
.mm-page a.mmi-cta-phone { display: inline-flex; align-items: center; min-height: 48px; font-size: 30px; font-weight: 800; color: #fff; white-space: nowrap; }
.mm-page a.mmi-cta-phone:hover { color: #fff; text-decoration: underline; }

/* 10. Footer (new) */
.mmf { background: var(--mmi-surface); padding: 56px 0 36px; color: var(--mmi-body); font-family: inherit; }
.mmf-wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.mmf-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; }
.mmf-logo { display: inline-flex; align-items: center; min-height: 48px; line-height: 0; margin-bottom: 6px; }
.mmf-tag, .mmf-hours { margin: 0; font-size: 16px; line-height: 1.55; color: var(--mmi-muted); max-width: 36ch; }
.mmf-tag { margin-bottom: 12px; }
.mmf-hours { margin-top: 2px; }
.mmf-logo img { display: block; height: 40px; width: auto; }
.mmf-addr { font-style: normal; font-size: 16px; line-height: 1.6; color: var(--mmi-body); margin-bottom: 8px; }
.mm-page a.mmf-phone { display: inline-flex; align-items: center; min-height: 48px; font-size: 18px; font-weight: 800; color: var(--mmi-navy); }
.mmf-h { font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mmi-accent); margin: 0 0 16px; line-height: 1.3; }
.mmf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mm-page .mmf-col a { font-size: 16px; font-weight: 600; line-height: 1.4; color: #314652; }
.mm-page .mmf-col a:hover, .mm-page .mmf-links a:hover, .mm-page a.mmf-phone:hover { color: var(--mmi-navy); text-decoration: underline; }
.mmf-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #dde5ea; font-size: 16px; color: var(--mmi-muted); }
.mmf-copy { margin: 0; }
.mmf-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.mm-page .mmf-links a { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 600; color: var(--mmi-muted); }

/* Responsive */
@media (max-width: 1024px) {
  .mmi-hero { grid-template-columns: 1fr; gap: 40px; }
  .mmi-hero-media { max-width: 720px; }
  .mmi-know { position: static; margin: 16px 0 0; box-shadow: 0 6px 20px rgba(3,82,138,.12); }
  .mmi-qualify, .mmi-faq { grid-template-columns: 1fr; gap: 36px; }
  .mmi-qualify { padding-top: 72px; }
  .mmi-sec { padding-top: 72px; }
  .mmi-tl-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mmi-tl-note { text-align: left; max-width: none; }
  .mmi-steps { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
  .mmi-steps::before { display: none; }
  .mmi-steps--4 { grid-template-columns: repeat(2, 1fr); }
  .mmi-lab { grid-template-columns: 1fr; }
  .mmi .mmi-lab-img { min-height: 0; height: 320px; }
  .mmi-lab-body { padding: 44px 40px; }
  .mmi-rel-grid { grid-template-columns: 1fr; }
  .mmi-cross { grid-template-columns: 1fr; }
  .mmi-cta { grid-template-columns: 1fr; gap: 28px; padding: 44px 40px; }
  .mmf-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px 32px; }
  .mmf-brand { grid-column: 1 / -1; }
  .mm-page .mmf-col a { display: inline-flex; align-items: center; min-height: 48px; }
  .mmf-col ul { gap: 0; }
  .mm-page .mmi-crumb a { display: inline-flex; align-items: center; min-height: 48px; }
  .mmi-crumb { padding-top: 10px; }
}
@media (max-width: 640px) {
  /* small labels go to 16px on phones (audience 55+; README minimum for body copy) */
  .mmi-eyebrow, .mmi-know-h, .mmi-pill, .mmf-h { font-size: 16px; }
  .mmi-eyebrow, .mmf-h { letter-spacing: .12em; }
  .mmi-know-h { letter-spacing: .1em; }
  .mmi-cta-side { align-items: stretch; }
  .mm-page a.mmi-cta-phone { justify-content: center; }
  .mmi-wrap, .mmi-crumb, .mmf-wrap { padding-left: 20px; padding-right: 20px; }
  .mmi-hero { padding: 24px 20px 48px; gap: 28px; }
  .mmi-h1 { font-size: 40px; }
  .mmi-h2 { font-size: 30px; }
  .mmi-lede { font-size: 18px; }
  .mmi .mmi-hero-img { height: 260px; }
  .mmi-btns { margin-bottom: 28px; }
  .mm-page a.mmi-btn { width: 100%; }
  .mm-page a.mmi-btn--sm { width: auto; }
  .mmi-trust { gap: 10px 20px; }
  .mmi-sec, .mmi-qualify { padding-top: 56px; }
  .mmi-cards { grid-template-columns: 1fr; }
  .mmi-card { padding: 22px; }
  .mmi-steps { grid-template-columns: 1fr; gap: 0; }
  .mmi-steps::before { display: none; }
  .mmi-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding-bottom: 32px; }
  .mmi-step:last-child { padding-bottom: 0; }
  .mmi-step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: #d6e6f1; }
  .mmi-step-n { margin-bottom: 0; }
  .mmi .mmi-lab-img { height: 220px; }
  .mmi-lab-body { padding: 32px 22px; }
  .mmi-lab-h { font-size: 28px; }
  .mmi-acc-q { font-size: 18px; }
  .mmi-acc-btn { padding: 20px 0; gap: 16px; }
  .mmi-acc-inner p { padding: 0 0 22px; }
  .mmi-cross-card { padding: 28px 22px; }
  .mmi-rel-h { font-size: 26px; }
  .mmi-rel-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mmi-rel-card { grid-template-columns: 112px minmax(0, 1fr); }
  .mm-page .mmi-rel-card img { width: 112px; min-width: 112px; max-width: 112px; height: 112px; min-height: 112px; max-height: 112px; }
  .mmi-rel-b { padding: 16px 18px; }
  .mmi-cta { padding: 32px 22px; }
  .mmi-cta-h { font-size: 28px; }
  .mmi-cta-side { flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
  .mm-page a.mmi-cta-phone { font-size: 28px; }
  .mmf { padding: 40px 0 24px; }
  .mmf-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .mmf-col:nth-of-type(1) { grid-column: 1 / -1; }
  .mmf-bar { flex-direction: column; align-items: flex-start; margin-top: 28px; }
  .mmf-links { gap: 0 24px; }
}
/* 1.1.44: "Les programmes" accordion (insurance page). Uses the FAQ accordion look; wider panel text. */
.mmi-prog-head { margin-bottom: 32px; }
.mmi-prog-head .mmi-h2 { margin-bottom: 0; }
.mmi-prog-acc .mmi-acc-q { font-size: 22px; }
.mmi-prog-sum { font-size: 17px; line-height: 1.7; color: var(--mmi-body2); padding: 0 0 12px; max-width: 80ch; }
.mmi-prog-list { list-style: none; margin: 0; padding: 0 0 28px; display: grid; gap: 10px; max-width: 80ch; }
.mmi-prog-list li { font-size: 17px; line-height: 1.65; color: var(--mmi-body2); padding-left: 20px; position: relative; overflow-wrap: anywhere; }
.mmi-prog-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--mmi-accent); }
.mmi-prog-list strong { color: var(--mmi-navy); font-weight: 800; }
.mmi-prog-list ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.mmi-prog-list ul li { padding-left: 0; }
.mmi-prog-list ul li::before { display: none; }
.mm-page .mmi-prog-list a { display: inline-block; padding: 8px 0; color: var(--mmi-teal); font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; word-break: break-word; }

/* 1.1.44: timeline items shown as plain cards (relining page): no connecting line, no vertical rail on phones */
.mmi-steps.mmi-steps--cards::before { display: none; }
.mmi-steps.mmi-steps--cards .mmi-step { border: 1px solid var(--mmi-line); border-radius: 12px; padding: 28px; }
.mmi-steps.mmi-steps--cards .mmi-step::after { display: none; }
@media (max-width: 1024px) {
  .mmi-steps.mmi-steps--cards { gap: 18px; }
}
@media (max-width: 640px) {
  .mmi-steps.mmi-steps--cards { gap: 14px; }
  .mmi-steps.mmi-steps--cards .mmi-step { padding: 22px; }
  .mmi-steps.mmi-steps--cards .mmi-step:last-child { padding-bottom: 22px; }
  .mmi-prog-acc .mmi-acc-q { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .mmi-acc.mmi-js .mmi-acc-panel, .mmi-acc-ico::after, .mm-page a.mmi-btn { transition: none; }
}

/* Header overflow guard (pre-existing in accueil.css: the header row is ~47px too wide at 981-1100px and ~9px at 360px).
   Scoped to inner-v2 / new-footer pages only; does not change the header's look at other widths. */
@media (min-width: 981px) and (max-width: 1100px) {
  body.mm-inner-v2 .mm-header, body.mm-footer-v2 .mm-header { padding-left: 20px; padding-right: 20px; gap: 8px; }
  body.mm-inner-v2 .mm-nav, body.mm-footer-v2 .mm-nav { gap: 0; }
  body.mm-inner-v2 .mm-nav-link, body.mm-footer-v2 .mm-nav-link { padding-left: 10px; padding-right: 10px; }
  body.mm-inner-v2 .mm-header-right, body.mm-footer-v2 .mm-header-right { gap: 12px; }
}
@media (max-width: 980px) {
  /* header language switch: 16px text and a 48px tap area on the pages of this module (existing markup, scoped) */
  body.mm-inner-v2 .mm-lang, body.mm-footer-v2 .mm-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 48px; font-size: 16px; }
  body.mm-inner-v2 .mm-burger, body.mm-footer-v2 .mm-burger, body.mm-inner-v2 .mm-phone-icon, body.mm-footer-v2 .mm-phone-icon { width: 48px; height: 48px; }
  body.mm-inner-v2 .mm-logo, body.mm-footer-v2 .mm-logo { min-height: 48px; }
  body.mm-inner-v2 .mm-langs > span, body.mm-footer-v2 .mm-langs > span { font-size: 16px; }
  body.mm-inner-v2 .mm-langs, body.mm-footer-v2 .mm-langs { display: inline-flex; align-items: center; }
}
@media (max-width: 400px) {
  body.mm-inner-v2 .mm-header, body.mm-footer-v2 .mm-header { padding-left: 14px; padding-right: 14px; gap: 8px; }
  body.mm-inner-v2 .mm-logo img, body.mm-footer-v2 .mm-logo img { height: 32px; }
  body.mm-inner-v2 .mm-header-right, body.mm-footer-v2 .mm-header-right { gap: 4px; }
  body.mm-inner-v2 .mm-lang, body.mm-footer-v2 .mm-lang { min-width: 28px; }
  .mmi-h1--long { font-size: 32px; overflow-wrap: break-word; } /* 1.1.44: 15+ letter word in the H1 (insurance page) */
}

/* 1.1.44: four related cards ("Nos autres prothèses" = the other products + the mouthguard): 2 x 2 from 901px up (4 columns would
   leave the 140px thumb + text only ~230px per card), one column below. Three cards keep the 3-column / stacked behaviour above.
   Placed last so it wins over the earlier .mmi-rel-grid rules at the same specificity. */
.mmi-rel-grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .mmi-rel-grid--4 { grid-template-columns: 1fr; }
}

/* 1.1.45-stg3: insurance H1 with the programs spelled out (main line + smaller second line, both inside the one H1) */
.mmi-h1-sub { display: block; margin-top: 18px; font-size: 30px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
@media (max-width: 1024px) { .mmi-h1-sub { font-size: 26px; } }
@media (max-width: 640px) { .mmi-h1-sub { margin-top: 14px; font-size: 20px; line-height: 1.3; } }
