/* ==========================================================================
   Prestation maintenance, pleine page à la charte (templates/prestations/…).
   Deux couleurs de « voix » : le dashboard en noir, VizProof en vert.
   1. Hero : le bilan du matin.
   2. La chaîne : deux couloirs, six étapes ; un trait rouge descend au défilement.
   3. Les failles (fond noir) : la fiche d'une faille, la règle des versions.
   4. La veille horaire. 5. Les cas graves (dernière section, fond du bandeau).
   Sans JS, mobile ou mouvement réduit : tout est affiché, rien ne bouge.
   ========================================================================== */

.sumo-pr--maintenance-serveur-applicative {
	--mt-dash: #111;
	--mt-viz: #163f35;
	--mt-viz-pale: #e9f2ec;
	--mt-rouge: var(--sumo-red, #ed1c24);
	--mt-rouge-texte: #d9171f;
	--mt-gris: #555;
	--mt-ligne: #e3e3e3;
}
.pr .sumo-kicker { margin-bottom: 14px; }
.pp-contenu .pr .pp-titre,
.pr.pp .pp-contenu .pp-titre { color: var(--sumo-ink, #111); }
/* juste la place du sumo qui sort du bandeau, sur le fond de la dernière section (pas de bande blanche) */
.pr-avant-bandeau { height: 150px; background: #f6f5f3; }

/* --- 1. Hero ------------------------------------------------------------- */
.mt-hero { padding-top: clamp(40px, 5vw, 80px); }
.mt-hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.mt-hero .pp-titre { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.mt-accroche { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--mt-gris); margin: 0 0 22px; max-width: 34em; }


/* --- 2. La chaîne : la nuit, racontée au défilement ----------------------
   Sans JS / mobile / mouvement réduit : frise verticale, une carte par étape.
   Ordinateur avec JS (.is-recit) : section collante, étape et scène qui
   changent avec le défilement, ligne horaire et ciel de la nuit à l'aube. */
.mt-chaine { background: #f6f5f3; padding-bottom: clamp(48px, 6vw, 96px); }
.mt-chaine .pp-texte { color: var(--mt-gris); }
.mt-scene { display: none; }

/* frise verticale (repli) */
.mt-etapes { list-style: none; margin: 40px 0 0; padding: 0 0 0 34px; position: relative; display: grid; gap: 18px; }
.mt-etapes::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 4px; background: var(--mt-rouge); }
.mt-etape { position: relative; background: #fff; padding: 20px 24px 22px; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .35); }
.mt-etape::before { content: ""; position: absolute; left: -31px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--mt-dash); }
.mt-etape--viz::before { border-color: var(--mt-viz); }
.mt-etape__qui { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.mt-etape__qui span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; background: var(--mt-dash); color: #fff; }
.mt-etape--viz .mt-etape__qui span { background: var(--mt-viz); }
.mt-etape__qui time { font: 600 .8125rem/1 ui-monospace, Menlo, monospace; color: var(--mt-gris); }
.sumo-refonte .pp-contenu .mt-etape h3 { font-family: var(--font-title); font-size: 1.375rem; line-height: 1.2; margin: 0 0 10px; color: var(--sumo-ink, #111); }
.mt-etape p:not(.mt-etape__qui) { margin: 0; color: #3d3d3d; line-height: 1.6; }
.mt-renvoi { margin: 32px auto 0; }

/* --- le récit (ordinateur, mouvement autorisé, JS) --- */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
	.mt-chaine.is-recit { padding-bottom: 0; background: #0d0e12; color: #eee; }
	.mt-chaine.is-recit .mt-chaine__intro { padding-bottom: 40px; }
	.mt-chaine.is-recit .sumo-kicker { color: #fff; }
	.sumo-refonte .pp-contenu .mt-chaine.is-recit .pp-titre { color: #fff; }
	.mt-chaine.is-recit .pp-texte { color: #c9c9c9; }
	.mt-chaine.is-recit .mt-recit { --recit-h: 700vh;   /* une hauteur d'écran par étape */ height: var(--recit-h); position: relative; }
	/* le ciel : nuit profonde, puis l'aube rouge au bilan de 8 h */
	.mt-chaine.is-recit .mt-recit::before {
		content: ""; position: absolute; inset: 0;
		background: linear-gradient(180deg, #0d0e12 0%, #11131a 55%, #1d1416 82%, #3a1517 100%);
	}
	.mt-chaine.is-recit .mt-recit__in { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
	.mt-chaine.is-recit .mt-etapes { margin: 0; padding: 0; display: grid; }
	.mt-chaine.is-recit .mt-etapes::before { display: none; }
	.mt-chaine.is-recit .mt-etape { grid-area: 1 / 1; background: none; box-shadow: none; padding: 0; opacity: 0; translate: 0 24px; transition: opacity .45s ease, translate .55s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
	.mt-chaine.is-recit .mt-etape::before { display: none; }
	.mt-chaine.is-recit .mt-etape.is-active { opacity: 1; translate: 0 0; pointer-events: auto; }
	.sumo-refonte .pp-contenu .mt-chaine.is-recit .mt-etape h3 { color: #fff; font-size: clamp(1.75rem, 2.6vw, 2.4rem); margin-bottom: 16px; }
	.mt-chaine.is-recit .mt-etape p:not(.mt-etape__qui) { color: #cfcfcf; font-size: 1.0625rem; line-height: 1.65; }
	.mt-chaine.is-recit .mt-etape__qui span { font-size: .8125rem; }
	.mt-chaine.is-recit .mt-etape--dash .mt-etape__qui span { background: #fff; color: #111; }
	.mt-chaine.is-recit .mt-etape--viz .mt-etape__qui span { background: #2f7d58; }
	.mt-chaine.is-recit .mt-etape__qui time { color: #9a9a9a; }
	.mt-chaine.is-recit .mt-scene { display: block; }
	.mt-chaine.is-recit .mt-recit__in { grid-template-rows: auto auto; align-content: center; row-gap: 28px; }
	.mt-chaine.is-recit .mt-etapes { grid-column: 1; grid-row: 1; }
	.mt-chaine.is-recit .mt-renvoi { grid-column: 1; grid-row: 2; margin: 0; }
	.mt-chaine.is-recit .mt-renvoi a { color: #fff; }
	.mt-chaine.is-recit .mt-scene { grid-column: 2; grid-row: 1 / span 2; }
	/* la section suivante (même fond sombre) n'a pas besoin de sa marge du haut entière */
	.mt-chaine.is-recit + .mt-failles { padding-top: clamp(24px, 3vw, 48px); }
}

/* --- le récit sur mobile : l'étape en haut, la scène dessous, fixées à l'écran --- */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
	.mt-chaine.is-recit { padding-bottom: 0; background: #0d0e12; color: #eee; }
	.mt-chaine.is-recit .sumo-kicker { color: #fff; }
	.sumo-refonte .pp-contenu .mt-chaine.is-recit .pp-titre { color: #fff; }
	.mt-chaine.is-recit .pp-texte { color: #c9c9c9; }
	.mt-chaine.is-recit .mt-recit { height: 700svh; position: relative; }
	.mt-chaine.is-recit .mt-recit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0d0e12 0%, #11131a 55%, #1d1416 82%, #3a1517 100%); }
	.mt-chaine.is-recit .mt-recit__in { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto auto auto; align-content: center; gap: 18px; }
	.mt-chaine.is-recit .mt-etapes { margin: 0; padding: 0; display: grid; }
	.mt-chaine.is-recit .mt-etapes::before { display: none; }
	.mt-chaine.is-recit .mt-etape { grid-area: 1 / 1; background: none; box-shadow: none; padding: 0; opacity: 0; translate: 0 16px; transition: opacity .4s ease, translate .5s cubic-bezier(.2, .8, .2, 1); }
	.mt-chaine.is-recit .mt-etape::before { display: none; }
	.mt-chaine.is-recit .mt-etape.is-active { opacity: 1; translate: 0 0; }
	.sumo-refonte .pp-contenu .mt-chaine.is-recit .mt-etape h3 { color: #fff; font-size: 1.375rem; margin-bottom: 8px; }
	.mt-chaine.is-recit .mt-etape p:not(.mt-etape__qui) { color: #cfcfcf; font-size: .9375rem; line-height: 1.5; }
	.mt-chaine.is-recit .mt-etape--dash .mt-etape__qui span { background: #fff; color: #111; }
	.mt-chaine.is-recit .mt-etape--viz .mt-etape__qui span { background: #2f7d58; }
	.mt-chaine.is-recit .mt-etape__qui { margin-bottom: 8px; }
	.mt-chaine.is-recit .mt-scene { display: block; }
	.mt-chaine.is-recit .mt-ecran { aspect-ratio: 1 / 1; }   /* les listes tiennent en entier */
	.mt-chaine.is-recit .mt-renvoi { order: 3; margin: 0; }
	.mt-chaine.is-recit .mt-renvoi a { color: #fff; }
	.mt-chaine.is-recit .mt-horaire { margin-bottom: 12px; font-size: .625rem; }
	.mt-chaine.is-recit .mt-horaire__soleil { display: none; }
	.mt-chaine.is-recit + .mt-failles { padding-top: 24px; }
}

/* la ligne horaire */
.mt-horaire { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 600 .75rem/1 ui-monospace, Menlo, monospace; color: #8d8d8d; }
.mt-horaire ol { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; border-top: 2px solid #34353b; padding-top: 10px; }
.mt-horaire li { transition: color .3s ease; }
.mt-horaire__lune { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset -5px -2px 0 0 #e9e3c9; flex: none; }
.mt-horaire__soleil { color: #ff8a80; }
.mt-horaire__repere { position: absolute; top: -6px; left: calc(26px + (100% - 26px - 58px) * var(--hp, 0)); width: 14px; height: 14px; border-radius: 50%; background: var(--mt-rouge); box-shadow: 0 0 0 5px rgba(237, 28, 36, .25); transition: left .5s cubic-bezier(.65, 0, .35, 1); }
.mt-scene[data-e="1"] .mt-horaire li:nth-child(1), .mt-scene[data-e="2"] .mt-horaire li:nth-child(2),
.mt-scene[data-e="3"] .mt-horaire li:nth-child(3), .mt-scene[data-e="4"] .mt-horaire li:nth-child(4),
.mt-scene[data-e="5"] .mt-horaire li:nth-child(5), .mt-scene[data-e="6"] .mt-horaire li:nth-child(6) { color: #fff; }

/* l'écran : une carte claire où se succèdent les calques */
.mt-ecran { position: relative; aspect-ratio: 4 / 3; background: #fafaf8; border-radius: 16px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; color: #1d1d1b; container-type: inline-size; }
.mt-calque { position: absolute; inset: 0; padding: 6cqw; opacity: 0; transition: opacity .45s ease; display: flex; flex-direction: column; justify-content: center; gap: 3cqw; }
.mt-scene[data-e="1"] .mt-calque--1, .mt-scene[data-e="2"] .mt-calque--2, .mt-scene[data-e="3"] .mt-calque--3,
.mt-scene[data-e="4"] .mt-calque--4, .mt-scene[data-e="5"] .mt-calque--5, .mt-scene[data-e="6"] .mt-calque--6 { opacity: 1; }
.mt-ecran__titre { margin: 0; font: 700 2.2cqw/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #6b6b6b; }
.mt-ecran i.ok, .mt-ecran i.att, .mt-ecran i.non, .mt-ecran i.info { flex: none; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; display: inline-grid; place-items: center; font: 700 2cqw/1 Lato, sans-serif; font-style: normal; color: #fff; }
.mt-ecran i.ok { background: #1f9d55; } .mt-ecran i.ok::after { content: "✓"; }
.mt-ecran i.att { background: #e0a100; } .mt-ecran i.att::after { content: "2"; }
.mt-ecran i.non { background: var(--mt-rouge-texte); } .mt-ecran i.non::after { content: "×"; }
.mt-ecran i.info { background: #111; } .mt-ecran i.info::after { content: "8"; }

/* 1. inventaire */
.mt-inventaire, .mt-file, .mt-progres, .mt-verdict { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.8cqw; }
.mt-inventaire li { display: grid; grid-template-columns: 1fr auto auto; gap: 2cqw; align-items: center; background: #fff; border: 1px solid #e6e6e2; border-radius: 1.4cqw; padding: 2cqw 2.6cqw; font-size: 2.5cqw; }
.mt-inventaire span { color: #555; } .mt-inventaire b { font-family: ui-monospace, Menlo, monospace; font-size: 2.3cqw; }
/* 2. file */
.mt-file li { display: grid; grid-template-columns: 1fr auto auto; gap: 2.4cqw; align-items: center; background: #fff; border: 1px solid #e6e6e2; border-left: 1cqw solid #1f9d55; border-radius: 1.4cqw; padding: 2.4cqw 2.8cqw; font-size: 2.7cqw; }
.mt-file b { font: 600 2.4cqw/1 ui-monospace, Menlo, monospace; }
.mt-file em { font-style: normal; font-size: 2.1cqw; font-weight: 700; color: #1f7a45; }
.mt-file li.is-non { border-left-color: var(--mt-rouge-texte); color: #8a8a8a; }
.mt-file li.is-non span, .mt-file li.is-non b { text-decoration: line-through; }
.mt-file li.is-non em { color: var(--mt-rouge-texte); }
.mt-garde { margin: 1cqw 0 0; display: flex; align-items: center; gap: 2cqw; font-size: 2.5cqw; font-weight: 700; color: var(--mt-viz); }
/* le site dessiné (3, 5, 6) */
.mt-site { position: relative; background: #fff; border-radius: 1.6cqw; box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, .25), 0 0 0 1px #e6e6e2; padding: 0 0 4cqw; display: grid; gap: 2cqw; overflow: hidden; }
.mt-site__barre { height: 6cqw; background: #f1f1ee; border-bottom: 1px solid #e6e6e2; }
.mt-site__img { height: 18cqw; margin: 0 4cqw; border-radius: 1.2cqw; background: linear-gradient(135deg, #d5e7db, #8fb9a2); }
.mt-site__l { height: 2.2cqw; width: 70%; margin: 0 4cqw; border-radius: 2cqw; background: #dcdcd7; }
.mt-site__l--c { width: 46%; }
.mt-site__btn { height: 6cqw; width: 34%; margin: 1cqw 4cqw 0; border-radius: 1.2cqw; background: var(--mt-viz); }
.mt-site small { position: absolute; top: 1.6cqw; right: 2.4cqw; font: 700 1.9cqw/1 ui-monospace, Menlo, monospace; text-transform: uppercase; color: #8a8a8a; }
/* 3. référence */
.mt-calque--3 .mt-site { width: 74%; align-self: center; }
.mt-viseur { position: absolute; left: 11%; right: 11%; top: 9%; bottom: 23%; pointer-events: none; }
.mt-viseur i { position: absolute; width: 6cqw; height: 6cqw; border: .8cqw solid var(--mt-viz); }
.mt-viseur i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; } .mt-viseur i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.mt-viseur i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; } .mt-viseur i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.mt-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.mt-etiquette { margin: 0; align-self: center; font: 700 2.3cqw/1.3 ui-monospace, Menlo, monospace; background: #111; color: #fff; padding: 1.6cqw 2.6cqw; border-radius: 99px; }
.mt-etiquette--ko { background: var(--mt-rouge-texte); }
/* 4. sauvegarde + mise à jour : trois lignes, une barre chacune, la coche au bout */
.mt-progres li { display: grid; grid-template-columns: 7cqw minmax(0, 1fr) 26cqw 3.4cqw; gap: 2.4cqw; align-items: center; background: #fff; border: 1px solid #e6e6e2; border-radius: 1.4cqw; padding: 2.4cqw 2.6cqw; }
.mt-progres__txt b { display: block; font-size: 2.7cqw; }
.mt-progres__txt small { display: block; font-size: 2.1cqw; color: #6b6b6b; margin-top: .6cqw; }
.mt-version { font-family: ui-monospace, Menlo, monospace; color: #111 !important; font-weight: 700; }
.mt-version s { color: #9a9a9a; }
.mt-barre { display: block; height: 1.8cqw; border-radius: 2cqw; background: #ececE8; overflow: hidden; }
.mt-barre b { display: block; height: 100%; width: 100%; background: #1f9d55; transform-origin: 0 50%; }
.mt-progres li:last-child .mt-barre b { background: #111; }
.mt-ico { width: 7cqw; height: 7cqw; border-radius: 1.4cqw; background: #f1f1ee; position: relative; }
.mt-ico::before, .mt-ico::after { content: ""; position: absolute; }
.mt-ico--base::before { left: 1.9cqw; right: 1.9cqw; top: 1.6cqw; bottom: 1.6cqw; border: .5cqw solid #3d3d3d; border-radius: 50% / 22%; }
.mt-ico--base::after { left: 1.9cqw; right: 1.9cqw; top: 3.2cqw; height: .5cqw; background: #3d3d3d; }
.mt-ico--archive::before { left: 1.4cqw; right: 1.4cqw; top: 1.6cqw; height: 1.2cqw; background: #3d3d3d; border-radius: .4cqw; }
.mt-ico--archive::after { left: 1.9cqw; right: 1.9cqw; top: 2.9cqw; bottom: 1.5cqw; background: #6b6b6b; border-radius: 0 0 .5cqw .5cqw; }
.mt-ico--maj::before { inset: 1.6cqw; border: .6cqw solid #111; border-radius: 50%; border-right-color: transparent; }
.mt-ico--maj::after { right: 1.2cqw; top: 1.4cqw; border: 1cqw solid transparent; border-bottom-color: #111; rotate: 40deg; }
/* 5. comparaison */
.mt-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; }
.mt-site.is-apres .mt-site__btn { opacity: 0; }
.mt-ecart { position: absolute; left: 3cqw; bottom: 2.6cqw; width: 40%; height: 8cqw; border: .6cqw dashed var(--mt-rouge-texte); border-radius: 1.2cqw; font: 700 1.8cqw/1 Lato, sans-serif; color: var(--mt-rouge-texte); display: flex; align-items: flex-start; justify-content: flex-end; padding: .6cqw 1cqw; }
/* 6. verdict */
.mt-calque--6 { flex-direction: row; align-items: center; gap: 5cqw; }
.mt-calque--6 .mt-site { flex: 0 0 46%; }
.mt-rembobine { position: absolute; right: 2.4cqw; top: 8cqw; width: 9cqw; height: 9cqw; border-radius: 50%; background: #1f9d55; }
.mt-rembobine::after { content: "↺"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 6cqw/1 Lato, sans-serif; }
.mt-verdict li { display: flex; align-items: center; gap: 2cqw; font-size: 2.7cqw; font-weight: 700; }

/* animations des calques, jouées quand le calque devient visible */
@media (prefers-reduced-motion: no-preference) {
	.mt-scene[data-e="1"] .mt-inventaire li { animation: mt-ligne .45s cubic-bezier(.2, .8, .2, 1) both; }
	.mt-scene[data-e="1"] .mt-inventaire li:nth-child(2) { animation-delay: .12s; } .mt-scene[data-e="1"] .mt-inventaire li:nth-child(3) { animation-delay: .24s; }
	.mt-scene[data-e="1"] .mt-inventaire li:nth-child(4) { animation-delay: .36s; } .mt-scene[data-e="1"] .mt-inventaire li:nth-child(5) { animation-delay: .48s; }
	.mt-scene[data-e="1"] .mt-inventaire li:nth-child(6) { animation-delay: .6s; }
	.mt-scene[data-e="2"] .mt-file li { animation: mt-ligne .45s cubic-bezier(.2, .8, .2, 1) both; }
	.mt-scene[data-e="2"] .mt-file li:nth-child(2) { animation-delay: .15s; } .mt-scene[data-e="2"] .mt-file li:nth-child(3) { animation-delay: .3s; }
	.mt-scene[data-e="2"] .mt-garde { animation: mt-ligne .45s ease .6s both; }
	@keyframes mt-ligne { from { opacity: 0; translate: 0 2cqw; } }
	.mt-scene[data-e="3"] .mt-viseur i { animation: mt-vise .6s cubic-bezier(.2, .8, .2, 1) .15s both; }
	@keyframes mt-vise { from { opacity: 0; scale: 1.8; } }
	.mt-scene[data-e="3"] .mt-flash { animation: mt-flash .5s ease-out .85s both; }
	@keyframes mt-flash { 0% { opacity: .95; } 100% { opacity: 0; } }
	.mt-scene[data-e="3"] .mt-etiquette { animation: mt-ligne .45s ease 1.1s both; }
	.mt-scene[data-e="4"] .mt-progres li { animation: mt-ligne .4s cubic-bezier(.2, .8, .2, 1) both; }
	.mt-scene[data-e="4"] .mt-progres li:nth-child(2) { animation-delay: .1s; } .mt-scene[data-e="4"] .mt-progres li:nth-child(3) { animation-delay: .2s; }
	.mt-scene[data-e="4"] .mt-barre b { animation: mt-remplit .8s cubic-bezier(.45, 0, .2, 1) both; animation-delay: .3s; }
	.mt-scene[data-e="4"] .mt-progres li:nth-child(2) .mt-barre b { animation-delay: 1s; }
	.mt-scene[data-e="4"] .mt-progres li:nth-child(3) .mt-barre b { animation-delay: 1.7s; }
	@keyframes mt-remplit { from { scale: 0 1; } }
	.mt-scene[data-e="4"] .mt-progres i.ok { animation: mt-vise .35s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: 1.1s; }
	.mt-scene[data-e="4"] .mt-progres li:nth-child(2) i.ok { animation-delay: 1.8s; }
	.mt-scene[data-e="4"] .mt-progres li:nth-child(3) i.ok { animation-delay: 2.5s; }
	.mt-scene[data-e="4"] .mt-version s { animation: mt-barre-v .3s ease 2.5s both; }
	@keyframes mt-barre-v { from { text-decoration-color: transparent; } }
	.mt-scene[data-e="5"] .mt-site.is-apres .mt-site__btn { animation: mt-disparait .5s ease .4s both; }
	@keyframes mt-disparait { from { opacity: 1; } to { opacity: 0; } }
	.mt-scene[data-e="5"] .mt-ecart { animation: mt-vise .5s cubic-bezier(.2, .8, .2, 1) .9s both; }
	.mt-scene[data-e="5"] .mt-etiquette { animation: mt-ligne .45s ease 1.2s both; }
	.mt-scene[data-e="6"] .mt-rembobine { animation: mt-tourne .9s cubic-bezier(.65, 0, .35, 1) both; }
	@keyframes mt-tourne { from { rotate: 360deg; scale: .4; opacity: 0; } }
	.mt-scene[data-e="6"] .mt-verdict li { animation: mt-ligne .45s cubic-bezier(.2, .8, .2, 1) both; }
	.mt-scene[data-e="6"] .mt-verdict li:nth-child(1) { animation-delay: .5s; } .mt-scene[data-e="6"] .mt-verdict li:nth-child(2) { animation-delay: .75s; }
	.mt-scene[data-e="6"] .mt-verdict li:nth-child(3) { animation-delay: 1s; } .mt-scene[data-e="6"] .mt-verdict li:nth-child(4) { animation-delay: 1.25s; }
}

/* --- 3. Les failles ------------------------------------------------------- */
.mt-failles { background: #0e0f11; color: #e8e8e8; }
.mt-failles .sumo-kicker { color: #fff; }
.sumo-refonte .pp-contenu .mt-failles .pp-titre,
.sumo-refonte .pp-contenu .mt-failles h3 { color: #fff; }
.mt-failles .pp-texte { color: #cfcfcf; }
.mt-failles__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mt-faille { background: #1a1b1e; border: 1px solid #2c2d31; border-radius: 14px; padding: 24px; }
.mt-faille__tete { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 600 .875rem/1 ui-monospace, Menlo, monospace; color: #bdbdbd; }
.mt-gravite { background: var(--mt-rouge-texte); color: #fff; font: 700 .75rem/1 Lato, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; }
.mt-faille__titre { font-family: var(--font-title); font-size: 1.375rem; color: #fff; margin: 0 0 22px; }
.mt-regle { position: relative; height: 66px; display: grid; grid-template-columns: 62% 38%; margin-bottom: 18px; }
.mt-regle__zone, .mt-regle__corrige { position: relative; border-top: 8px solid; padding-top: 10px; font-size: .75rem; color: #bdbdbd; }
.mt-regle__zone { border-color: var(--mt-rouge); }
.mt-regle__corrige { border-color: #2f7d58; text-align: right; }
.mt-regle em { font-style: normal; }
.mt-regle__site { position: absolute; left: 44%; top: -30px; translate: -50% 0; white-space: nowrap; font-size: .75rem; color: #fff; }
.mt-regle__site::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 22px; margin-left: -1px; background: #fff; }
.mt-faille__verdict { display: inline-block; margin: 0; border: 2px solid #ff8a80; color: #ff8a80; font-weight: 700; padding: 6px 12px; border-radius: 6px; }

.mt-cas { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.mt-cas li { position: relative; padding-top: 22px; border-top: 1px solid #2c2d31; }
.mt-cas li::before { content: ""; position: absolute; left: 0; top: -2px; width: 32px; height: 4px; background: var(--mt-rouge); }
.mt-cas__quand { margin: 0 0 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8a80; }
.mt-cas h3 { font-family: var(--font-title); font-size: 1.375rem; margin: 0 0 10px; }
.mt-cas p:not(.mt-cas__quand) { margin: 0; color: #cfcfcf; line-height: 1.6; }

/* --- 4. La veille --------------------------------------------------------- */
/* Titre, texte et « En coulisses » alignés d'une carte à l'autre (subgrid) ; un seul repère rouge, pas de filet */
.mt-grille { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px clamp(24px, 3vw, 48px); }
.mt-grille li { position: relative; padding-top: 22px; display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 10px; align-content: start; }
.mt-grille li::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 4px; background: var(--mt-rouge); }
.sumo-refonte .pp-contenu .mt-grille h3 { font-family: var(--font-title); font-size: 1.25rem; margin: 0; color: var(--sumo-ink, #111); }
.mt-grille p { margin: 0; color: #3d3d3d; line-height: 1.6; text-wrap: pretty; }

/* --- Bilan du matin (hero) -------------------------------------------------- */
.mt-message { background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .35); max-width: 440px; justify-self: center; width: 100%; }
.mt-message__tete { margin: 0 0 14px; font-size: .8125rem; font-weight: 700; color: var(--mt-gris); text-align: center; }
.mt-bulle { margin: 0 0 10px; background: #eef1f5; border-radius: 14px 14px 14px 4px; padding: 12px 14px; line-height: 1.45; font-size: .9375rem; border-left: 4px solid #c7ced8; }
.mt-bulle b { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.mt-bulle span { color: #3d3d3d; }
.mt-bulle--ko { border-left-color: var(--mt-rouge); }
.mt-bulle--warn { border-left-color: #e0a100; }

/* --- Mouvement (sans réduction des animations) ----------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.pp-js .mt-faille .mt-regle__site { transition: left 1.2s cubic-bezier(.65, 0, .35, 1) .4s; }
	.pp-js .mt-faille:not(.is-vu) .mt-regle__site { left: 96%; }
	.pp-js .mt-faille .mt-faille__verdict { transition: opacity .4s ease 1.6s, scale .4s cubic-bezier(.2, 1.4, .4, 1) 1.6s; }
	.pp-js .mt-faille:not(.is-vu) .mt-faille__verdict { opacity: 0; scale: .8; }
	.pp-js .mt-message .mt-bulle { transition: opacity .4s ease, translate .45s ease; }
	.pp-js .mt-message:not(.is-vu) .mt-bulle { opacity: 0; translate: 0 10px; }
	.pp-js .mt-message.is-vu .mt-bulle:nth-child(3) { transition-delay: .35s; }
	.pp-js .mt-message.is-vu .mt-bulle:nth-child(4) { transition-delay: .7s; }
	.pp-js .mt-message.is-vu .mt-bulle:nth-child(5) { transition-delay: 1.05s; }
}

/* --- Mobile --------------------------------------------------------------- */
@media (max-width: 900px) {
	.mt-hero__in, .mt-failles__in { grid-template-columns: minmax(0, 1fr); }
	.mt-cas, .mt-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) and (max-width: 1100px) {
	.mt-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* --- 5. Les cas graves : deux scénarios ----------------------------------- */
.mt-continuite { background: #f6f5f3; }
.mt-continuite .pp-texte { color: var(--mt-gris); }
.mt-scenarios { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: sc; max-width: 960px; }
.mt-scenarios li { position: relative; background: #fff; padding: 26px 24px 28px; border-top: 4px solid var(--mt-dash); counter-increment: sc; }
.sumo-refonte .pp-contenu .mt-scenarios h3 { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin: 0 0 10px; color: var(--sumo-ink, #111); }
.mt-scenarios p { margin: 0; color: #3d3d3d; line-height: 1.6; }
@media (max-width: 600px) { .mt-scenarios { grid-template-columns: minmax(0, 1fr); } }
