/* ─────────────────────────────────────────────────────────────────────────
   MCC 2026 — fiche D.U., variante « explorateur de modules »
   En-tête clair (.m-dhl) et explorateur des modules (.m-dex).
   Chargée par les vues mcc_du_hero_light et mcc_du_explorer.
   ───────────────────────────────────────────────────────────────────────── */

.mcc2026 .m-dhl,
.mcc2026 .m-dex {
    --dx-bg: var(--site-canvas, #f5f6f8);
    --dx-line: var(--site-border, #e6e9ef);
    --dx-soft: #fdeceb;
    --dx-muted: var(--site-muted, #6b7280);
    --dx-navy: var(--m-navy, #00071d);
    --dx-red: var(--m-red, #cc0000);
}

/* ── En-tête clair ────────────────────────────────────────────────────── */
.mcc2026 .m-dhl {
    position: relative;
    overflow: hidden;
    background: var(--dx-bg);
    color: var(--dx-navy);
    padding: calc(var(--m-hd-h, 72px) + 1.4rem) 0 3.5rem;
}
/* Explorateur juste sous l'en-tête : il remonte sur le bas de l'en-tête. */
.mcc2026 .m-dhl:has(+ .m-dex),
.mcc2026 .m-dhl:has(+ link + .m-dex) { padding-bottom: 6.5rem; }
/* Bande sombre derrière la barre de navigation (menu blanc lisible). */
.mcc2026 .m-dhl::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: var(--m-hd-h, 72px);
    background: var(--dx-navy);
    z-index: 2;
}
.mcc2026 .m-dhl__photo {
    position: absolute;
    inset: var(--m-hd-h, 72px) 0 0 auto;
    width: 60%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%);
    mask-image: linear-gradient(to right, transparent 0%, #000 42%);
}
.mcc2026 .m-dhl__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcc2026 .m-dhl__photo::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(to top, var(--dx-bg), transparent);
}
.mcc2026 .m-dhl__inner { position: relative; z-index: 1; }
/* Vidéo d'en-tête de la formation liée, posée sur la photo, sous le fondu. */
.mcc2026 .m-dhl__photo.has-video { z-index: 0; overflow: hidden; container-type: size; }
.mcc2026 .m-dhl__photo.has-video::after { z-index: 1; }
.mcc2026 .m-dhl__bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.mcc2026 .m-dhl__bgvideo--embed { inset: auto; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mcc2026 .m-dhl__bgvideo { display: none; } }
.mcc2026 .m-dhl__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--dx-muted); }
.mcc2026 .m-dhl__crumbs a { color: inherit; text-decoration: none; }
.mcc2026 .m-dhl__crumbs a:hover { color: var(--dx-red); }
.mcc2026 .m-dhl__crumbs [aria-current] { color: var(--dx-navy); }
.mcc2026 .m-dhl__copy { max-width: 40rem; margin-top: clamp(2.2rem, 5vw, 4rem); }
.mcc2026 .m-dhl__eyebrow {
    display: flex; align-items: center; gap: 0.9rem; margin: 0;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dx-navy);
}
.mcc2026 .m-dhl__eyebrow::before { content: ''; width: 2.2rem; height: 2px; background: var(--dx-red); }
.mcc2026 .m-dhl__title {
    margin: 1.1rem 0 0;
    font-family: var(--m-font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--dx-navy);
}
.mcc2026 .m-dhl__title span { display: block; }
.mcc2026 .m-dhl__uni { display: flex; align-items: center; gap: 0.7rem; margin: 1.5rem 0 0; font-size: 1.02rem; font-weight: 500; color: #1f2937; }
.mcc2026 .m-dhl__uni svg { width: 1.35rem; height: 1.35rem; color: var(--dx-navy); stroke-width: 1.5; flex: none; }
.mcc2026 .m-dhl__facts {
    display: flex; flex-wrap: wrap; gap: 1rem 2.4rem;
    margin: 1.6rem 0 0; padding: 1.5rem 0 0; list-style: none;
    border-top: 1px solid color-mix(in srgb, var(--site-navy, #00071d) 14%, transparent);
}
.mcc2026 .m-dhl__facts li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 500; color: #1f2937; }
.mcc2026 .m-dhl__facts svg { width: 1.4rem; height: 1.4rem; color: var(--dx-navy); stroke-width: 1.4; flex: none; }
.mcc2026 .m-dhl__share { margin-top: 1.6rem; color: var(--dx-navy); }

/* Thème bleu nuit : la photo se fond dans le bleu nuit, textes en blanc. */
.mcc2026 .m-dhl--navy { background: var(--dx-navy); color: #fff; }
.mcc2026 .m-dhl--navy .m-dhl__photo { width: 64%; -webkit-mask-image: none; mask-image: none; }
.mcc2026 .m-dhl--navy .m-dhl__photo::after {
    inset: 0; height: auto;
    background:
        linear-gradient(to right, var(--dx-navy) 0%, color-mix(in srgb, var(--site-navy, #00071d) 82%, transparent) 22%, color-mix(in srgb, var(--site-navy, #00071d) 35%, transparent) 55%, color-mix(in srgb, var(--site-navy, #00071d) 15%, transparent) 100%),
        linear-gradient(to top, var(--dx-navy) 0%, color-mix(in srgb, var(--site-navy, #00071d) 0%, transparent) 40%);
}
.mcc2026 .m-dhl--navy .m-dhl__crumbs { color: rgba(255, 255, 255, 0.65); }
.mcc2026 .m-dhl--navy .m-dhl__crumbs [aria-current],
.mcc2026 .m-dhl--navy .m-dhl__eyebrow,
.mcc2026 .m-dhl--navy .m-dhl__title { color: #fff; }
.mcc2026 .m-dhl--navy .m-dhl__uni,
.mcc2026 .m-dhl--navy .m-dhl__facts li { color: rgba(255, 255, 255, 0.88); }
.mcc2026 .m-dhl--navy .m-dhl__uni svg,
.mcc2026 .m-dhl--navy .m-dhl__facts svg { color: #fff; }
.mcc2026 .m-dhl--navy .m-dhl__facts { border-top-color: rgba(255, 255, 255, 0.2); }
.mcc2026 .m-dhl--navy .m-dhl__share { color: #fff; }

/* ── Explorateur ──────────────────────────────────────────────────────── */
.mcc2026 .m-dex { position: relative; z-index: 3; background: var(--dx-bg); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.mcc2026 .m-dhl + .m-dex,
.mcc2026 .m-dhl + link + .m-dex { padding-top: 0; }
.mcc2026 .m-dex__grid {
    display: grid;
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}
.mcc2026 .m-dhl + .m-dex .m-dex__grid,
.mcc2026 .m-dhl + link + .m-dex .m-dex__grid { margin-top: -3.5rem; }
.mcc2026 .m-dex__list { grid-column: 1; grid-row: 1; }
.mcc2026 .m-dex__main { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.mcc2026 .m-dex__note { grid-column: 1; grid-row: 2; }
.mcc2026 .m-dex__list { display: flex; flex-direction: column; gap: 0.7rem; }
.mcc2026 .m-dex__item {
    position: relative;
    display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: center; gap: 0.85rem;
    width: 100%; padding: 0.95rem 1rem 0.95rem 1.1rem;
    border: 1px solid var(--dx-line); border-radius: 12px; background: var(--site-surface, #fff);
    box-shadow: 0 4px 14px rgba(0, 7, 29, 0.04);
    text-align: start; font: inherit; color: var(--dx-navy); cursor: pointer; overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.mcc2026 .m-dex__item:hover { border-color: var(--site-border, #d5dae3); box-shadow: 0 8px 22px rgba(0, 7, 29, 0.08); }
.mcc2026 .m-dex__item:focus-visible { outline: 2px solid var(--dx-red); outline-offset: 2px; }
.mcc2026 .m-dex__item.is-active { border-color: transparent; box-shadow: 0 10px 28px rgba(0, 7, 29, 0.1); }
.mcc2026 .m-dex__item.is-active::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--dx-red); }
.mcc2026 .m-dex__num {
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--site-canvas, #f1f3f6); font-size: 0.85rem; font-weight: 700; color: var(--dx-navy);
}
.mcc2026 .m-dex__num svg { width: 1.1rem; height: 1.1rem; }
.mcc2026 .m-dex__item.is-active .m-dex__num { background: var(--dx-soft); color: var(--dx-red); }
.mcc2026 .m-dex__label { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.mcc2026 .m-dex__label strong {
    font-size: 0.92rem; font-weight: 600; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mcc2026 .m-dex__label small { font-size: 0.78rem; color: var(--dx-muted); }
.mcc2026 .m-dex__chev { width: 1.05rem; height: 1.05rem; color: #9aa3b2; }
.mcc2026 .m-dex__item.is-active .m-dex__chev { color: var(--dx-red); }

/* Carte du module */
.mcc2026 .m-dex__card,
.mcc2026 .m-dex__program {
    background: var(--site-surface, #fff); border-radius: 16px; border: 1px solid var(--dx-line);
    box-shadow: 0 14px 40px rgba(0, 7, 29, 0.07);
}
.mcc2026 .m-dex__card { padding: 2rem 2.2rem 0; overflow: hidden; }
.mcc2026 .m-dex__card[hidden], .mcc2026 .m-dex__program[hidden], .mcc2026 .m-dex [hidden] { display: none; }
.mcc2026 .m-dex__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.mcc2026 .m-dex__eyebrow { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dx-red); }
.mcc2026 .m-dex__title { margin: 0.5rem 0 0; font-family: var(--m-font-display); font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); line-height: 1.15; color: var(--dx-navy); }
.mcc2026 .m-dex__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; margin: 0.8rem 0 0; font-size: 0.88rem; color: var(--site-ink, #374151); }
.mcc2026 .m-dex__meta > span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; }
.mcc2026 .m-dex__meta svg { width: 1.05rem; height: 1.05rem; color: var(--dx-navy); stroke-width: 1.5; }
.mcc2026 .m-dex__pill { padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.mcc2026 .m-dex__pill.is-red { background: var(--dx-soft); color: var(--dx-red); }
.mcc2026 .m-dex__pill.is-blue { background: #e7efff; color: #1d4ed8; }
.mcc2026 .m-dex__pill.is-gray { background: var(--site-canvas, #eef0f3); color: var(--site-muted, #4b5563); }
.mcc2026 .m-dex__collapse {
    display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    border: 1px solid var(--dx-line); background: var(--site-surface, #fff); color: var(--dx-navy); cursor: pointer; transition: transform 0.2s;
}
.mcc2026 .m-dex__collapse svg { width: 1.1rem; height: 1.1rem; }
.mcc2026 .m-dex__collapse[aria-expanded='false'] { transform: rotate(180deg); }
.mcc2026 .m-dex__collapse[aria-expanded='false'] + * { display: none; }
.mcc2026 .m-dex__card:has([data-dex-collapse][aria-expanded='false']) { padding-bottom: 2rem; }

/* Onglets */
.mcc2026 .m-dex__tabs {
    display: flex; gap: 2rem; margin-top: 1.6rem; border-bottom: 1px solid var(--dx-line);
    overflow-x: auto; scrollbar-width: none;
}
.mcc2026 .m-dex__tabs::-webkit-scrollbar { display: none; }
.mcc2026 .m-dex__tabs button {
    position: relative; flex: none; padding: 0.85rem 0; border: 0; background: none;
    font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--dx-muted); cursor: pointer; white-space: nowrap;
}
.mcc2026 .m-dex__tabs button:hover { color: var(--dx-navy); }
.mcc2026 .m-dex__tabs button[aria-selected='true'] { color: var(--dx-red); }
.mcc2026 .m-dex__tabs button[aria-selected='true']::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--dx-red); }
.mcc2026 .m-dex__tabs button:focus-visible { outline: 2px solid var(--dx-red); outline-offset: 2px; }
.mcc2026 .m-dex__panel { padding: 1.7rem 0 0.4rem; }

/* Aperçu en colonnes séparées par des filets */
.mcc2026 .m-dex__cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.mcc2026 .m-dex__col { padding: 0 1.6rem; }
.mcc2026 .m-dex__col:first-child { padding-inline-start: 0; }
.mcc2026 .m-dex__col:last-child { padding-inline-end: 0; }
.mcc2026 .m-dex__col + .m-dex__col { border-inline-start: 1px solid var(--dx-line); }
.mcc2026 .m-dex__col h3 { margin: 0 0 1rem; font-size: 0.98rem; font-weight: 700; color: var(--dx-navy); }
.mcc2026 .m-dex__checks, .mcc2026 .m-dex__steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.mcc2026 .m-dex__checks li { display: flex; gap: 0.6rem; font-size: 0.88rem; line-height: 1.45; color: var(--site-ink, #374151); }
.mcc2026 .m-dex__checks svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.05rem; color: var(--dx-red); stroke-width: 1.8; }
.mcc2026 .m-dex__steps li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; line-height: 1.35; color: var(--site-ink, #374151); }
.mcc2026 .m-dex__steps span {
    display: grid; place-items: center; flex: none; width: 1.85rem; height: 1.85rem; border-radius: 50%;
    background: var(--dx-soft); color: var(--dx-red); font-size: 0.72rem; font-weight: 700;
}
.mcc2026 .m-dex__steps--full { max-width: 40rem; }
.mcc2026 .m-dex__who { display: flex; flex-direction: column; align-items: flex-start; }
.mcc2026 .m-dex__who strong { margin-top: 0.8rem; font-size: 0.95rem; color: var(--dx-navy); }
.mcc2026 .m-dex__who small { margin-top: 0.2rem; font-size: 0.82rem; line-height: 1.4; color: var(--dx-muted); }
.mcc2026 .m-dex__avatar {
    display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 50%; overflow: hidden;
    background: var(--site-canvas, #eef0f3); color: var(--dx-navy); font-weight: 700;
}
.mcc2026 .m-dex__avatar.is-lg { width: 6.5rem; height: 6.5rem; font-size: 1.4rem; flex: none; }
.mcc2026 .m-dex__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mcc2026 .m-dex__link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.8rem; font-size: 0.86rem; font-weight: 600; color: var(--dx-red); text-decoration: none; }
.mcc2026 .m-dex__link:hover { text-decoration: underline; }
.mcc2026 .m-dex__link svg { width: 1rem; height: 1rem; }
.mcc2026 .m-dex__text { margin: 0; max-width: 46rem; font-size: 0.95rem; line-height: 1.6; color: var(--site-ink, #374151); }
.mcc2026 .m-dex__person { display: flex; align-items: center; gap: 1.4rem; }
.mcc2026 .m-dex__person strong { font-size: 1.1rem; color: var(--dx-navy); }
.mcc2026 .m-dex__person p { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--dx-muted); }
.mcc2026 .m-dex__country { display: flex; align-items: center; gap: 0.4rem; }
.mcc2026 .m-dex__terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2rem; margin: 0; }
.mcc2026 .m-dex__terms dt { display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dx-muted); }
.mcc2026 .m-dex__terms dt svg { width: 1rem; height: 1rem; color: var(--dx-red); }
.mcc2026 .m-dex__terms dd { margin: 0.3rem 0 0; font-size: 0.93rem; color: var(--dx-navy); }

/* Bandeau rose d'inscription */
.mcc2026 .m-dex__band {
    display: flex; align-items: center; gap: 1.1rem;
    margin: 1.6rem -2.2rem 0; padding: 1.2rem 2.2rem; background: #fdf3f2;
}
.mcc2026 .m-dex__tooth { flex: none; width: 2.3rem; height: 2.3rem; color: var(--dx-red); }
.mcc2026 .m-dex__band p { flex: 1; margin: 0; font-size: 0.92rem; line-height: 1.5; color: #1f2937; }
.mcc2026 .m-dex__cta {
    display: inline-flex; align-items: center; gap: 0.5rem; flex: none; margin-inline-start: auto;
    min-height: 46px; padding: 0 1.4rem; border-radius: var(--site-radius-btn, 10px); background: var(--dx-red); color: #fff;
    font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: background 0.2s;
}
.mcc2026 .m-dex__cta:hover { background: var(--m-red-dark, #a30000); color: #fff; }
.mcc2026 .m-dex__cta svg { width: 1.05rem; height: 1.05rem; }

/* Programme par journée */
.mcc2026 .m-dex__program { margin-top: 1.5rem; padding: 2rem 2.2rem; scroll-margin-top: calc(var(--m-hd-h, 72px) + 1rem); }
.mcc2026 .m-dex__phead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.mcc2026 .m-dex__h2 { position: relative; margin: 0; padding-bottom: 0.75rem; font-family: var(--m-font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; color: var(--dx-navy); }
/* Filet rouge sous le titre, comme .m-dud__h2. */
.mcc2026 .m-dex__h2::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 2.5rem; height: 3px; border-radius: 2px; background: var(--dx-red); }
.mcc2026 .m-dex__phead p { margin: 0.7rem 0 0; font-size: 0.9rem; color: var(--dx-muted); }
.mcc2026 .m-dex__pdf { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 600; color: var(--dx-red); text-decoration: none; }
.mcc2026 .m-dex__pdf:hover { text-decoration: underline; }
.mcc2026 .m-dex__pdf svg { width: 1.1rem; height: 1.1rem; }
.mcc2026 .m-dex__tabs--views { margin-bottom: 1.2rem; }
.mcc2026 .m-dex__day { border: 1px solid var(--dx-line); border-radius: 12px; margin-top: 0.75rem; overflow: hidden; }
.mcc2026 .m-dex__day h3 { margin: 0; }
.mcc2026 .m-dex__day button {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%;
    padding: 1rem 1.25rem; border: 0; background: var(--site-surface, #fff); font: inherit; font-size: 0.95rem; font-weight: 700; color: var(--dx-navy); cursor: pointer; text-align: start;
}
.mcc2026 .m-dex__day button em { font-style: normal; color: var(--dx-red); }
.mcc2026 .m-dex__day button svg { width: 1.1rem; height: 1.1rem; flex: none; transition: transform 0.2s; }
.mcc2026 .m-dex__day.is-open button svg { transform: rotate(180deg); }
.mcc2026 .m-dex__day button:focus-visible { outline: 2px solid var(--dx-red); outline-offset: -2px; }
.mcc2026 .m-dex__daybody { padding: 0 1.25rem 0.4rem; }
.mcc2026 .m-dex__slot { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.2rem; padding: 1rem 0; border-top: 1px solid var(--dx-line); }
.mcc2026 .m-dex__when { display: flex; gap: 0.6rem; margin: 0; }
.mcc2026 .m-dex__when svg { flex: none; width: 1.2rem; height: 1.2rem; color: var(--dx-red); }
.mcc2026 .m-dex__when span { display: flex; flex-direction: column; }
.mcc2026 .m-dex__when strong { font-size: 0.9rem; color: var(--dx-navy); }
.mcc2026 .m-dex__when small { font-size: 0.8rem; color: var(--dx-muted); }
.mcc2026 .m-dex__slot ul { margin: 0; padding-inline-start: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; line-height: 1.45; color: var(--site-ink, #374151); }
.mcc2026 .m-dex__slot li::marker { color: var(--dx-red); }

/* ── Tablette / téléphone ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .mcc2026 .m-dex__grid { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
    .mcc2026 .m-dex__cols { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 0; }
    .mcc2026 .m-dex__col:nth-child(3) { grid-column: 1 / -1; border-inline-start: 0; padding: 1.4rem 0 0; border-top: 1px solid var(--dx-line); }
}
@media (max-width: 900px) {
    .mcc2026 .m-dhl:has(+ .m-dex), .mcc2026 .m-dhl:has(+ link + .m-dex) { padding-bottom: 5rem; }
    .mcc2026 .m-dhl__photo { width: 100%; opacity: 0.22; -webkit-mask-image: none; mask-image: none; }
    .mcc2026 .m-dhl--navy .m-dhl__photo { width: 100%; opacity: 0.45; }
    .mcc2026 .m-dex__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
    .mcc2026 .m-dhl + .m-dex .m-dex__grid, .mcc2026 .m-dhl + link + .m-dex .m-dex__grid { margin-top: -2.5rem; }
    .mcc2026 .m-dex__list, .mcc2026 .m-dex__main, .mcc2026 .m-dex__note { grid-column: 1; grid-row: auto; }
    .mcc2026 .m-dex__note { margin-top: 0; }
    .mcc2026 .m-dex__card { scroll-margin-top: calc(var(--m-hd-h, 72px) + 0.8rem); padding: 1.5rem 1.25rem 0; }
    .mcc2026 .m-dex__band { margin-inline: -1.25rem; padding: 1.1rem 1.25rem; flex-wrap: wrap; }
    .mcc2026 .m-dex__cta { width: 100%; justify-content: center; }
    .mcc2026 .m-dex__cols { grid-template-columns: minmax(0, 1fr); }
    .mcc2026 .m-dex__col, .mcc2026 .m-dex__col:first-child, .mcc2026 .m-dex__col:last-child { padding: 0; }
    .mcc2026 .m-dex__col + .m-dex__col, .mcc2026 .m-dex__col:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--dx-line); padding-top: 1.4rem; }
    .mcc2026 .m-dex__tabs { gap: 1.4rem; }
    .mcc2026 .m-dex__terms { grid-template-columns: minmax(0, 1fr); }
    .mcc2026 .m-dex__program { padding: 1.5rem 1.25rem; }
    .mcc2026 .m-dex__slot { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
}
@media (max-width: 480px) {
    .mcc2026 .m-dhl__facts { gap: 0.9rem 1.4rem; }
    .mcc2026 .m-dhl__facts li { flex: 1 1 40%; }
    .mcc2026 .m-dex__person { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .mcc2026 .m-dex__item, .mcc2026 .m-dex__collapse, .mcc2026 .m-dex__day button svg, .mcc2026 .m-dex__cta { transition: none; }
}

/* Informations importantes (sous la liste des modules) */
.mcc2026 .m-dex__note { margin-top: -0.8rem; padding: 1.1rem 1.2rem; border-radius: 12px; background: var(--site-surface, #fff); border: 1px dashed var(--site-border, #d9dee7); }
.mcc2026 .m-dex__note p { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.6rem; font-size: 0.88rem; font-weight: 700; color: var(--dx-navy); }
.mcc2026 .m-dex__note p svg { width: 1.05rem; height: 1.05rem; color: var(--dx-red); }
.mcc2026 .m-dex__note ul { margin: 0; padding-inline-start: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; line-height: 1.45; color: var(--site-muted, #4b5563); }

/* ── Présentation « cartes » (layout = cards) : style du catalogue des D.U. ── */
.mcc2026 .m-dux { padding-top: clamp(2.5rem, 5vw, 4rem); }
.mcc2026 .m-dux__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.mcc2026 .m-dux__item { scroll-margin-top: calc(var(--m-hd-h, 72px) + 1rem); }
.mcc2026 .m-dux__card { cursor: pointer; min-height: 14.5rem; transition: border-radius 0.2s; }
.mcc2026 .m-dux__item.is-open .m-dux__card { border-end-start-radius: 0; border-end-end-radius: 0; }
.mcc2026 .m-dux__eyebrow {
    display: flex; align-items: center; gap: 0.45rem; margin: 0;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--site-red-bright, #ff6b6b);
}
.mcc2026 .m-dux__eyebrow svg { width: 1rem; height: 1rem; }
.mcc2026 .m-dux__card .m-du__title { margin-top: 0.45rem; }
.mcc2026 .m-dux__summary { max-width: 34rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcc2026 .m-du__state.is-blue { color: #1d4ed8; }
.mcc2026 .m-du__state.is-blue span { background: #3b82f6; }
.mcc2026 .m-dux__toggle { cursor: pointer; font: inherit; font-size: 0.88rem; }
.mcc2026 .m-dux__toggle span { display: inline-flex; align-items: center; gap: 0.45rem; }
.mcc2026 .m-dux__toggle span[hidden] { display: none; }
.mcc2026 .m-dux__toggle svg { width: 1rem; height: 1rem; }
.mcc2026 .m-dux__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Détail qui se déplie sous la carte (hauteur animée). */
.mcc2026 .m-dux__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.mcc2026 .m-dux__panel.is-open { grid-template-rows: 1fr; }
.mcc2026 .m-dux__inner { min-height: 0; overflow: hidden; }
.mcc2026 .m-dex__card.is-compact { padding-top: 0.4rem; border-top: 0; border-radius: 0 0 16px 16px; }
.mcc2026 .m-dex__card.is-compact .m-dex__tabs { margin-top: 0.6rem; }
.mcc2026 .m-dux__inner .m-dex__program { margin-top: 1rem; }
.mcc2026 .m-dux__note { margin-top: 1.5rem; }

@media (max-width: 860px) {
    .mcc2026 .m-dux__card { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
    .mcc2026 .m-dux__card .m-du__media { position: relative; inset: auto; height: 11rem; flex: none; }
    .mcc2026 .m-dux__card .m-du__media::after { background: linear-gradient(to top, var(--m-navy, #00071d) 0%, color-mix(in srgb, var(--site-navy, #00071d) 20%, transparent) 60%, color-mix(in srgb, var(--site-navy, #00071d) 0%, transparent) 100%); }
    .mcc2026 .m-dux__card .m-du__body { padding: 0.4rem 1.25rem 1.4rem; max-width: none; }
    .mcc2026 .m-dux__card .m-du__actions { margin-top: 1.1rem; }
    .mcc2026 .m-dux__toggle { min-height: 46px; }
    .mcc2026 .m-dux__card .m-du__status { margin: 1.1rem 1.25rem 1.25rem; align-self: stretch; }
    .mcc2026 .m-dux__toggle { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .mcc2026 .m-dux__panel, .mcc2026 .m-dux__card { transition: none; }
}
.mcc2026 .m-dux__headset svg { width: 1.05rem; height: 1.05rem; }
/* « Avec traduction » toujours visible, en pastille comme « Atelier pratique ». */
.mcc2026 .m-dux__headset { padding: 0.15rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.mcc2026 .m-dux__headset-txt { display: inline; }

/* Panneau sans onglets : intervenant à gauche, aperçu à droite. */
.mcc2026 .m-dux__cols { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 0 2rem; padding: 1.4rem 0 0.4rem; }
.mcc2026 .m-dux__cols.is-single { grid-template-columns: minmax(0, 1fr); }
.mcc2026 .m-dux__cols > * + * { padding-inline-start: 2rem; border-inline-start: 1px solid var(--dx-line); }
.mcc2026 .m-dux__cols h3 { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 1rem; font-size: 0.98rem; font-weight: 700; color: var(--dx-navy); }
.mcc2026 .m-dux__right h3:not(:first-child) { margin-top: 1.5rem; }
.mcc2026 .m-dux__atelier { margin-top: 1.5rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--site-canvas, #f5f6f8); }
.mcc2026 .m-dux__right .m-dux__atelier h3 { margin: 0; }
.mcc2026 .m-dux__atelier h3 svg { width: 1.1rem; height: 1.1rem; color: var(--dx-red); }
.mcc2026 .m-dux__atelier p { margin: 0.5rem 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--site-ink, #374151); }
.mcc2026 .m-dux__workshop { padding: 0.15rem 0.55rem; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
@media (max-width: 860px) {
    .mcc2026 .m-dux__cols { grid-template-columns: minmax(0, 1fr); }
    .mcc2026 .m-dux__cols > * + * { padding: 1.4rem 0 0; margin-top: 1.4rem; border-inline-start: 0; border-top: 1px solid var(--dx-line); }
}

/* Logo de l'université + pastille pays (comme les cartes du catalogue). */
.mcc2026 .m-dhl__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 1.5rem; }
.mcc2026 .m-dhl__logo { display: block; height: 2.8rem; width: auto; max-width: 14rem; object-fit: contain; }
.mcc2026 .m-dhl__logo.is-invert { filter: brightness(0) invert(1); }
.mcc2026 .m-dhl__country {
    display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--site-navy, #00071d) 25%, transparent); border-radius: 0.35rem; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
}
.mcc2026 .m-dhl--navy .m-dhl__country { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.mcc2026 .m-dhl__country img { border-radius: 2px; }
.mcc2026 .m-dhl__period { display: inline-flex; align-items: center; gap: 0.6rem; margin: 1.2rem 0 0; padding: 0.45rem 0.9rem; border-radius: 999px; background: color-mix(in srgb, var(--site-navy, #00071d) 6%, transparent); font-size: 1rem; font-weight: 600; }
.mcc2026 .m-dhl__period svg { width: 1.2rem; height: 1.2rem; color: var(--dx-red); }
.mcc2026 .m-dhl--navy .m-dhl__period { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Volet des intervenants : un clic sur le fond le ferme. */
.isb.open .isb-overlay { pointer-events: auto; }
.mcc2026 .m-dhl__duration { padding-inline-start: 0.7rem; border-inline-start: 1px solid currentColor; font-weight: 500; opacity: 0.85; }

/* Intervenants cliquables (volet de profil) : toute la carte ouvre le volet. */
.mcc2026 .m-spk__card:has(.m-spk__open) { position: relative; cursor: pointer; transition: transform 0.2s; }
.mcc2026 .m-spk__card:has(.m-spk__open):hover { transform: translateY(-3px); }
.mcc2026 .m-spk__card:has(.m-spk__open):hover .m-spk__open { color: var(--m-red, #cc0000); }
.mcc2026 .m-spk__open { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.mcc2026 .m-spk__open::after { content: ''; position: absolute; inset: 0; }
.mcc2026 .m-spk__open:focus-visible { outline: none; }
.mcc2026 .m-spk__card:has(.m-spk__open:focus-visible) { outline: 2px solid var(--m-red, #cc0000); outline-offset: 3px; border-radius: 0.9rem; }
@media (prefers-reduced-motion: reduce) { .mcc2026 .m-spk__card:has(.m-spk__open) { transition: none; } }
.mcc2026 .m-dhl__period { flex-wrap: wrap; row-gap: 0.25rem; border-radius: 14px; }
.mcc2026 .m-dhl__period span { white-space: nowrap; }

/* Étapes (clinique, examen, rattrapage) : 3 cartes côte à côte, photo en
   arrière-plan sous un voile de la couleur de l'étape, sans détail. */
.mcc2026 .m-dux__steps-title { margin: 2.2rem 0 1rem; font-family: var(--m-font-display); font-size: 1.2rem; font-weight: 700; color: var(--dx-navy); }
.mcc2026 .m-dux__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mcc2026 .m-dux__step {
    --st: 15, 118, 110;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; gap: 0.9rem; min-height: 18rem; padding: 1.3rem 1.3rem 1.2rem;
    border-radius: 16px; background: rgb(var(--st)); color: #fff;
    scroll-margin-top: calc(var(--m-hd-h, 72px) + 1rem);
}
.mcc2026 .m-dux__step.is-exam { --st: 190, 18, 60; }
.mcc2026 .m-dux__step.is-resit { --st: 194, 65, 12; }
.mcc2026 .m-dux__step-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mcc2026 .m-dux__step::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, rgba(var(--st), 0.96) 0%, rgba(var(--st), 0.82) 45%, rgba(var(--st), 0.45) 100%);
}
.mcc2026 .m-dux__step-kind { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.mcc2026 .m-dux__step-icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--site-surface, #fff); color: rgb(var(--st)); }
.mcc2026 .m-dux__step-icon svg { width: 1.25rem; height: 1.25rem; }
.mcc2026 .m-dux__step-body { margin-top: auto; }
.mcc2026 .m-dux__step h4 { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: #fff; }
.mcc2026 .m-dux__step-text { margin: 0.35rem 0 0; font-size: 0.85rem; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
.mcc2026 .m-dux__step-meta { list-style: none; margin: 0; padding: 0.8rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.8rem; font-weight: 600; }
.mcc2026 .m-dux__step-meta li { display: inline-flex; align-items: center; gap: 0.35rem; }
.mcc2026 .m-dux__step-meta svg { width: 0.95rem; height: 0.95rem; }
.mcc2026 .m-dux__step-meta .is-required { padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--site-surface, #fff); color: rgb(var(--st)); font-size: 0.72rem; }
@media (max-width: 1000px) and (min-width: 701px) {
    .mcc2026 .m-dux__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mcc2026 .m-dux__step:last-child { grid-column: 1 / -1; min-height: 14rem; }
}
@media (max-width: 700px) {
    .mcc2026 .m-dux__steps { grid-template-columns: minmax(0, 1fr); }
    .mcc2026 .m-dux__step { min-height: 15rem; }
}

/* Blocs de la formation (objectifs, public, évaluation, organisation). */
.mcc2026 .m-fb { padding-top: 0; }
.mcc2026 .m-dux .m-fb__grid, .mcc2026 .m-dex .m-fb__grid { margin-top: 1.8rem; }
.mcc2026 .m-fb__card .m-prog__checks { margin-top: 0.9rem; }
/* « Module 01 — » dans le titre, légèrement atténué. */
.mcc2026 .m-dux__num { color: var(--site-red-bright, #ff6b6b); font-weight: 600; }
.mcc2026 .m-dex__num-inline { color: var(--dx-red); font-weight: 600; }

/* En-tête : « S'inscrire » (contour rouge) à gauche de « Partager ». */
.mcc2026 .m-dhl__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.6rem; }
.mcc2026 .m-dhl__actions .m-dhl__share { margin-top: 0; }
.mcc2026 .m-dhl__register, .mcc2026 .m-dhl__program { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.mcc2026 .m-dhl__register svg, .mcc2026 .m-dhl__program svg { width: 1.05rem; height: 1.05rem; }
.mcc2026 .m-dhl--navy .m-dhl__register, .mcc2026 .m-dhl--navy .m-dhl__program { color: #fff; }
@media (max-width: 480px) { .mcc2026 .m-dhl__register, .mcc2026 .m-dhl__program { width: 100%; justify-content: center; } }

/* Module terminé : « Retour en images » (vidéo + galerie). */
.mcc2026 .m-dux__card.is-static { cursor: default; }
.mcc2026 .m-dux__retro { padding: 1.6rem 2.2rem 2rem; border: 1px solid var(--dx-line); border-top: 0; border-radius: 0 0 16px 16px; background: var(--site-surface, #fff); }
.mcc2026 .m-dux__retro h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem; font-size: 1.05rem; font-weight: 700; color: var(--dx-navy); }
.mcc2026 .m-dux__retro h3 svg { width: 1.15rem; height: 1.15rem; color: var(--dx-red); }
.mcc2026 .m-dux__video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 30rem; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--dx-navy); cursor: pointer; }
.mcc2026 .m-dux__video img, .mcc2026 .m-dux__video iframe, .mcc2026 .m-dux__video video { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.mcc2026 .m-dux__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--dx-red); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.mcc2026 .m-dux__play svg { width: 1.6rem; height: 1.6rem; margin-inline-start: 0.2rem; }
.mcc2026 .m-dux__photos { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0.6rem; }
.mcc2026 .m-dux__photos button { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--site-canvas, #eef0f3); }
.mcc2026 .m-dux__photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.25s; }
.mcc2026 .m-dux__photos button:hover img { transform: scale(1.04); }
.mcc2026 .m-dux__photos button:focus-visible, .mcc2026 .m-dux__video:focus-visible { outline: 2px solid var(--dx-red); outline-offset: 2px; }
@media (max-width: 860px) { .mcc2026 .m-dux__retro { padding: 1.2rem 1.25rem 1.4rem; } }
@media (prefers-reduced-motion: reduce) { .mcc2026 .m-dux__photos img { transition: none; } }

/* Tag de statut (En cours / À venir / Passé) au-dessus du titre. */
.mcc2026 .m-dux__tag { display: inline-block; margin: 0 0 0.55rem; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: rgba(255, 255, 255, 0.18); }
.mcc2026 .m-dux__tag.is-current { background: #2563eb; }
.mcc2026 .m-dux__tag.is-upcoming { background: #16a34a; }
.mcc2026 .m-dux__tag.is-done { background: rgba(148, 163, 184, 0.35); }
.mcc2026 .m-dux__step .m-dux__tag { background: rgba(255, 255, 255, 0.22); }
.mcc2026 .m-dux__right > .m-dux__atelier:first-child { margin-top: 0; }

/* Pages D.U. : forme de bouton de la page contact (rectangle aux coins
   légèrement arrondis) au lieu de la pilule — couleurs inchangées. */
.mcc2026 .m-btn, .mcc2026 .m-share__btn, .mcc2026 .m-help__btn { border-radius: var(--site-radius-btn, 6px); padding: 0.7rem 1.5rem; font-size: 0.92rem; font-weight: 600; min-height: 0; }
.mcc2026 .m-share .m-share__btn { min-height: 0; padding: 0.7rem 1.5rem; border-width: 1px; }
.mcc2026 .m-dhl .m-btn { border-width: 2px; }
/* Même hauteur pour tous les boutons des pages D.U. */
.mcc2026 .m-btn.m-btn, .mcc2026 .m-share .m-share__btn, .mcc2026 .m-help .m-help__btn, .mcc2026 .m-dux__toggle.m-dux__toggle { height: 44px; min-height: 0; padding-block: 0; box-sizing: border-box; }

/* Date du module plus lisible dans les cartes. */
.mcc2026 .m-dux__date { font-size: 1.05rem; font-weight: 700; }
.mcc2026 .m-dux__date svg { width: 1.2rem; height: 1.2rem; }

/* Photos de présentation du module (affichage seul, sans agrandissement). */
.mcc2026 .m-dux__promo { padding: 0.5rem 2.2rem 1.8rem; background: var(--site-surface, #fff); }
.mcc2026 .m-dux__promo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; }
.mcc2026 .m-dux__promo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
@media (max-width: 640px) { .mcc2026 .m-dux__promo { padding-inline: 1rem; } }

/* Photo de l’intervenant plus grande dans le détail d’un module (présentation cartes). */
.mcc2026 .m-dux__cols .m-dex__who .m-dex__avatar { width: 7.5rem; height: 7.5rem; font-size: 1.6rem; }

/* Couleur des cartes de modules choisie dans l'admin (Formation › Modules ›
   « Couleur du dégradé ») : --card-c posé sur .m-dux__list.has-card-color. */
.mcc2026 .m-dux__list.has-card-color .m-du__card { background: var(--card-c); }
.mcc2026 .m-dux__list.has-card-color .m-du__media::after {
    background: linear-gradient(to right, var(--card-c) 0%, color-mix(in srgb, var(--card-c) 75%, transparent) 22%, color-mix(in srgb, var(--card-c) 15%, transparent) 55%, transparent 100%);
}
@media (max-width: 860px) {
    .mcc2026 .m-dux__list.has-card-color .m-dux__card .m-du__media::after {
        background: linear-gradient(to top, var(--card-c) 0%, color-mix(in srgb, var(--card-c) 20%, transparent) 60%, transparent 100%);
    }
}
