/* MCC 2026 — /seminaires/details : détail dépliable sous chaque carte.
   Même mise en page que le détail d'un module de D.U. (intervenant à
   gauche, aperçu + atelier à droite) mais sur fond clair, sans dégradé.
   Complète mcc-2026-seminaires(-list).css ; portée .mcc2026 .m-semd*. */

.mcc2026 .m-seml-card.has-details:hover { transform: none; }
.mcc2026 .m-seml-card.has-details.is-open { box-shadow: 0 14px 34px -18px rgba(0, 7, 29, 0.28); border-color: #e3c9cc; }
.mcc2026 .m-seml-card.has-details .m-seml-card__lbody,
.mcc2026 .m-seml-card.has-details .m-seml-card__media { cursor: pointer; }
.mcc2026 .m-semd__toggle { font: inherit; background: transparent; cursor: pointer; }
.mcc2026 .m-semd__toggle > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.mcc2026 .m-semd__toggle > span[hidden] { display: none; }
.mcc2026 .m-seml-card.is-open .m-semd__toggle { background: var(--m-red); color: #fff; }

/* Panneau : sous la photo et les détails, sur toute la largeur de la carte. */
.mcc2026 .m-semd__panel {
    flex: 1 1 100%;
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--m-ease, ease);
    border-top: 1px solid var(--site-border, #eef0f2);
    background: var(--site-canvas, #fafafa);
}
.mcc2026 .m-semd__panel.is-open { grid-template-rows: 1fr; }
.mcc2026 .m-semd__panel[hidden] { display: none; }
.mcc2026 .m-semd__inner { overflow: hidden; min-height: 0; }
.mcc2026 .m-semd__panel.is-open .m-semd__inner { padding: 28px 32px 30px; }
.mcc2026 .m-semd__inner { padding: 0 32px; transition: padding 0.4s var(--m-ease, ease); }

.mcc2026 .m-semd__h { margin: 0 0 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-red, #b91c1c); }
.mcc2026 .m-semd__h--prog { margin-top: 1.8rem; }

/* Présentation + objectifs */
.mcc2026 .m-semd__about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; }
.mcc2026 .m-semd__intro { margin: 0 0 0.7rem; font-size: 15px; line-height: 1.65; color: var(--site-ink, #374151); }
.mcc2026 .m-semd__audience { margin: 0; font-size: 14px; line-height: 1.55; color: var(--site-muted, #4b5563); }
.mcc2026 .m-semd__checks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.45rem; }
.mcc2026 .m-semd__checks li { display: flex; gap: 0.5rem; font-size: 14px; line-height: 1.45; color: #1f2937; }
.mcc2026.m-semlist .m-semd__checks svg.lucide { flex: none; width: 17px; height: 17px; margin-top: 1px; color: #15803d; }
.mcc2026.m-semlist .m-semd__checks.is-muted svg.lucide { color: var(--site-muted, #6b7280); }

/* Modules */
.mcc2026 .m-semd__mods { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 14px; }
.mcc2026 .m-semd__mod { background: var(--site-surface, #fff); border: 1px solid var(--site-border, #e8eaee); border-radius: 12px; padding: 20px 24px; }
.mcc2026 .m-semd__modhead { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; }
/* En-tête « Programme du cycle » + pastille du nombre de modules. */
.mcc2026 .m-semd__proghead { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 2rem 0 1rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--site-border, #eef0f2); }
.mcc2026 .m-semd__proghead h3 { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--site-ink, #0f172a); letter-spacing: -0.01em; }
.mcc2026 .m-semd__count {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.25rem 0.75rem; border-radius: 999px;
    background: #fdecee; color: var(--m-red, #b91c1c);
    font-size: 13.5px; font-weight: 700;
}
.mcc2026.m-semlist .m-semd__count svg.lucide { width: 15px; height: 15px; color: currentColor; }

/* Numéro du module : grand chiffre à gauche du titre. */
.mcc2026 .m-semd__modhead.has-num { flex-wrap: nowrap; align-items: flex-start; gap: 1.1rem; }
.mcc2026 .m-semd__modmain { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; }
.mcc2026 .m-semd__num {
    flex: none;
    display: grid; place-items: center; align-content: center;
    width: 4.25rem; height: 4.25rem;
    border-radius: 12px;
    background: var(--site-surface, #fff); border: 1.5px solid #f3c4c9;
    color: var(--m-red, #b91c1c); line-height: 1;
}
.mcc2026 .m-semd__num small { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9f1239; }
.mcc2026 .m-semd__num strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 0.15rem; }
.mcc2026 .m-semd__modtitle { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--site-ink, #0f172a); }
.mcc2026 .m-semd__facts { flex: 1 1 100%; list-style: none; margin: 0.3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 1.1rem; font-size: 14px; color: var(--site-muted, #4b5563); }
.mcc2026 .m-semd__facts li { display: inline-flex; align-items: center; gap: 0.35rem; }
.mcc2026.m-semlist .m-semd__facts svg.lucide { width: 16px; height: 16px; color: var(--site-muted, #6b7280); stroke-width: 1.6; }
.mcc2026 .m-semd__facts li.m-semd__date { font-size: 15.5px; font-weight: 700; color: var(--site-ink, #111827); }
.mcc2026.m-semlist .m-semd__facts li.m-semd__date svg.lucide { width: 18px; height: 18px; color: var(--m-red, #b91c1c); }
.mcc2026 .m-semd__chip { padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 13px; font-weight: 600; }
.mcc2026 .m-semd__chip.is-workshop { background: #ecfdf5; color: #047857; }
.mcc2026 .m-semd__chip.is-translation { background: #fef9c3; color: #854d0e; box-shadow: inset 0 0 0 1.5px #facc15; }
.mcc2026.m-semlist .m-semd__chip svg.lucide { color: currentColor; }

.mcc2026 .m-semd__cols { display: grid; grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr); gap: 1.5rem 2.25rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--site-border, #e5e7eb); }
.mcc2026 .m-semd__cols.is-single { grid-template-columns: minmax(0, 1fr); }
.mcc2026 .m-semd__mod h5 { margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--site-muted, #6b7280); }
.mcc2026 .m-semd__who ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.mcc2026 .m-semd__who li { display: flex; align-items: center; gap: 0.8rem; }
.mcc2026 .m-semd__avatar {
    position: relative; flex: none;
    width: 4.5rem; height: 4.5rem; border-radius: 50%;
    display: inline-grid; place-items: center;
    background: var(--site-canvas, #f1f2f4); color: var(--site-ink, #374151); font-weight: 700;
}
.mcc2026 .m-semd__avatar > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mcc2026 .m-semd__flag { position: absolute; right: -2px; bottom: 2px; width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 2px #fff; }
.mcc2026 .m-semd__whotxt { display: grid; gap: 0.1rem; min-width: 0; }
.mcc2026 .m-semd__whotxt strong { font-size: 15px; color: var(--site-ink, #111827); }
.mcc2026 .m-semd__whotxt small { font-size: 13px; color: var(--site-muted, #6b7280); }

.mcc2026 .m-semd__summary { margin: 0 0 1rem; font-size: 14.5px; line-height: 1.6; color: var(--site-ink, #374151); }
.mcc2026 .m-semd__steps { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; }
.mcc2026 .m-semd__steps li { display: flex; align-items: baseline; gap: 0.7rem; font-size: 14.5px; line-height: 1.45; color: #1f2937; }
.mcc2026 .m-semd__steps span { flex: none; font-weight: 800; font-size: 13px; color: var(--m-red, #b91c1c); }
.mcc2026 .m-semd__atelier { padding: 14px 16px; border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; }
.mcc2026 .m-semd__atelier h5 { display: flex; align-items: center; gap: 0.4rem; color: #047857; margin-bottom: 0.35rem; }
.mcc2026.m-semlist .m-semd__atelier svg.lucide { width: 16px; height: 16px; color: #047857; }
.mcc2026 .m-semd__atelier p { margin: 0; font-size: 14px; line-height: 1.55; color: #14532d; }

/* Pied : prix, places, actions */
.mcc2026 .m-semd__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.4rem; }
.mcc2026 .m-semd__footinfo { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.5rem; }
.mcc2026 .m-semd__price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.6rem; }
.mcc2026 .m-semd__price strong { font-size: 1.4rem; font-weight: 800; color: var(--site-ink, #111827); }
.mcc2026 .m-semd__price s { color: #9ca3af; font-size: 14px; }
.mcc2026 .m-semd__price small { color: #b91c1c; font-size: 13px; font-weight: 600; }
.mcc2026 .m-semd__seats { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 14px; color: var(--site-muted, #4b5563); }
.mcc2026.m-semlist .m-semd__seats svg.lucide { width: 16px; height: 16px; }
.mcc2026 .m-semd__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

@media (max-width: 800px) {
    .mcc2026 .m-semd__about,
    .mcc2026 .m-semd__cols { grid-template-columns: minmax(0, 1fr); }
    .mcc2026 .m-semd__panel.is-open .m-semd__inner { padding: 20px 16px 22px; }
    .mcc2026 .m-semd__inner { padding: 0 16px; }
    .mcc2026 .m-semd__mod { padding: 16px; }
    .mcc2026 .m-semd__actions, .mcc2026 .m-semd__actions .m-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .mcc2026 .m-semd__panel, .mcc2026 .m-semd__inner { transition: none; }
}
.mcc2026 .m-semd__price strong.is-request { font-size: 1.05rem; color: var(--site-muted, #4b5563); }

/* Photos de promotion du module : 3 carrés (format 1080×1080), affichage seul. */
.mcc2026 .m-semd__promo { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mcc2026 .m-semd__promo li { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--site-canvas, #f3f4f6); }
.mcc2026 .m-semd__promo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 520px) { .mcc2026 .m-semd__promo { gap: 8px; } }

/* Module clinique (formation « Avec besoin patient ») : teinte turquoise. */
.mcc2026 .m-semd__count.is-clinical { background: #e6f7f5; color: #0f766e; }
.mcc2026 .m-semd__mod.is-clinical { border-color: #b8e6e0; background: linear-gradient(0deg, var(--site-surface, #fff), var(--site-surface, #fff)), var(--site-surface, #fff); box-shadow: inset 4px 0 0 #14b8a6; }
.mcc2026 .m-semd__num.is-clinical { border-color: #99e0d6; color: #0f766e; }
.mcc2026.m-semlist .m-semd__num.is-clinical svg.lucide { width: 28px; height: 28px; color: #0f766e; stroke-width: 1.75; }
.mcc2026 .m-semd__chip.is-clinical { background: #e6f7f5; color: #0f766e; }
.mcc2026 .m-semd__clinical-text { margin: 0.9rem 0 0; padding-left: calc(4.25rem + 1.1rem); font-size: 14.5px; line-height: 1.6; color: var(--site-ink, #374151); }
@media (max-width: 800px) { .mcc2026 .m-semd__clinical-text { padding-left: 0; } }

/* Aperçu du programme : liste à puces (points rouges), pas de numéros. */
.mcc2026 .m-semd__steps li { position: relative; display: block; padding-left: 1.2rem; }
.mcc2026 .m-semd__steps li::before {
    content: ''; position: absolute; left: 0.2rem; top: 0.55em;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--m-red, #b91c1c);
}
.mcc2026 .m-semd__student { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: #eff6ff; color: #1e3a8a; font-size: 14px; }
.mcc2026 .m-semd__student small { color: var(--site-muted, #6b7280); font-size: 12.5px; }
.mcc2026.m-semlist .m-semd__student svg.lucide { width: 16px; height: 16px; color: #1e3a8a; }

/* ── Retour en images (formation passée / module terminé), comme les D.U. ── */
.mcc2026 .m-semd__retro .m-dux__retro { padding: 0; border: 0; background: transparent; }
.mcc2026 .m-semd__inner.m-semd__retro { padding-top: 1.4rem; padding-bottom: 1.6rem; }
.mcc2026 .m-semd__mod .m-semd__retro { margin-top: 1rem; }
.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(--m-navy, #00071d); }
.mcc2026 .m-dux__retro h3 svg { width: 1.15rem; height: 1.15rem; color: var(--m-red, #cc0000); }
.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(--m-navy, #00071d); 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(--m-red, #cc0000); 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); }
