/* ==========================================================================
   Media Pharma — Composants
   Chargée uniquement sur les pages qui utilisent un shortcode [mp_…].
   ========================================================================== */

:root {
	--mp-ink: #0D002A;          /* Encre / fond sombre */
	--mp-blue: #2E51FF;         /* Bleu primaire */
	--mp-blue-deep: #1B2FC4;    /* Bleu profond (survol) */
	--mp-cyan: #00F5F0;
	--mp-violet: #7B2FF7;       /* Violet des dégradés */         /* Cyan */
	--mp-signal: #C8F25A;       /* Signal : accent rare, sur fond sombre uniquement */
	--mp-mist: #EEF2FF;         /* Brume : fond clair */
	--mp-text: #000000;
	--mp-text-2: #4A4560;       /* Texte secondaire */
	--mp-white: #FFFFFF;
	--mp-border: rgba(46, 81, 255, .14);
	--mp-radius: 20px;
	--mp-font-title: "Quicksand", "Open Sans", system-ui, sans-serif;
	--mp-font-body: "Open Sans", system-ui, sans-serif;
	--mp-sticky-top: 120px;     /* Décalage sous l'en-tête collant (nav de la frise) */
}

/* Masquage accessible commun */
.mp-fx__sr,
.mp-map .screen-reader-text,
.mp-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ==========================================================================
   Couche de fond (hero) : .mp-has-bg-layer > .mp-bg-layer
   ========================================================================== */
.mp-has-bg-layer {
	position: relative !important;
	overflow: hidden !important;
}
.mp-has-bg-layer > .e-con-inner {
	position: static !important;
}
.mp-has-bg-layer > .mp-bg-layer,
.mp-has-bg-layer > .e-con-inner > .mp-bg-layer {
	position: absolute !important;
	inset: 0 !important;
	z-index: 0 !important;
	pointer-events: none !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
.mp-has-bg-layer > :not(.mp-bg-layer):not(.e-con-inner),
.mp-has-bg-layer > .e-con-inner > :not(.mp-bg-layer) {
	position: relative;
	z-index: 1;
}
.mp-bg-layer .elementor-widget-container,
.mp-bg-layer .elementor-shortcode {
	height: 100%;
}
.mp-hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.mp-hero-bg__canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   Carte du réseau [mp_network_map]
   ========================================================================== */
.mp-map {
	margin: 0;
	font-family: var(--mp-font-body);
	color: var(--mp-text);
}
.mp-map__caption {
	font-style: normal;
	font-family: var(--mp-font-title);
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.35;
	color: var(--mp-ink);
	margin: 0 0 12px;
}
.mp-map__toggle {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	margin: 0 0 16px;
	background: var(--mp-mist);
	border: 1px solid var(--mp-border);
	border-radius: 999px;
}
.mp-map__toggle[hidden] { display: none; }
.mp-map .mp-map__btn {
	appearance: none;
	border: 0;
	margin: 0;
	padding: 8px 18px;
	border-radius: 999px;
	background: transparent;
	color: var(--mp-blue-deep);
	font: 600 .9375rem/1.2 var(--mp-font-body);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.mp-map .mp-map__btn:hover,
.mp-map .mp-map__btn:focus { background: var(--mp-white); color: var(--mp-blue-deep); }
.mp-map .mp-map__btn[aria-pressed="true"] { background: var(--mp-blue); color: var(--mp-white); }
.mp-map .mp-map__btn[aria-pressed="true"]:hover,
.mp-map .mp-map__btn[aria-pressed="true"]:focus { background: var(--mp-blue-deep); color: var(--mp-white); }

.mp-map__stage { position: relative; max-width: 860px; }
.mp-map__svg { display: block; width: 100% !important; max-width: 100%; height: auto !important; overflow: visible; }
.mp-map__region {
	stroke: var(--mp-white);
	stroke-width: 1.5;
	stroke-linejoin: round;
	cursor: pointer;
	outline: none;
	transition: fill .45s ease;
}
.mp-map__region.is-off { fill: #D9D7E1; cursor: default; }
.mp-map .mp-map__region:focus,
.mp-map .mp-map__region:focus-visible { outline: none !important; box-shadow: none !important; }
.mp-map__hl {
	fill: none;
	stroke: var(--mp-ink);
	stroke-width: 3;
	stroke-linejoin: round;
	pointer-events: none;
}
.mp-map__hl.is-focus { stroke-width: 5; }
.mp-map__inset-frame { fill: var(--mp-white); stroke: rgba(46, 81, 255, .22); stroke-width: 1; }
.mp-map__inset-label { font: 600 19px var(--mp-font-body); fill: var(--mp-text-2); }

.mp-map__tip {
	position: absolute;
	z-index: 5;
	left: 0;
	top: 0;
	min-width: 190px;
	max-width: 260px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--mp-blue-deep);
	color: var(--mp-white);
	font: 400 .875rem/1.45 var(--mp-font-body);
	box-shadow: 0 12px 30px rgba(13, 0, 42, .28);
	transform: translate(-50%, calc(-100% - 14px));
	pointer-events: none;
}
.mp-map__tip[hidden] { display: none; }
.mp-map__tip strong {
	display: block;
	margin-bottom: 4px;
	font: 700 1rem/1.3 var(--mp-font-title);
	color: var(--mp-white);
}
.mp-map__tip span { display: block; color: rgba(255, 255, 255, .85); }
.mp-map__tip span.is-current { color: var(--mp-cyan); font-weight: 600; }

.mp-map__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
	margin-top: 12px;
	font: 400 .875rem/1.4 var(--mp-font-body);
	color: var(--mp-text-2);
}
.mp-map__legend-title { font-weight: 600; color: var(--mp-ink); }
.mp-map__legend-scale { display: inline-flex; align-items: center; gap: 8px; }
.mp-map__legend-bar {
	display: inline-block;
	width: 140px;
	height: 10px;
	border-radius: 6px;
	background: linear-gradient(90deg, #DCE3FF, #1B2FC4);
}
.mp-map__legend-off { display: inline-flex; align-items: center; gap: 6px; }
.mp-map__swatch { width: 14px; height: 14px; border-radius: 4px; background: #D9D7E1; }
.mp-map__source { margin: 8px 0 0; font-size: .8125rem; color: var(--mp-text-2); }

/* Tableau : visible sans JS, masqué visuellement une fois la carte interactive. */
.mp-map__table {
	width: 100%;
	margin: 20px 0 0;
	border-collapse: collapse;
	font-size: .9375rem;
}
.mp-map__table caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.mp-map__table th,
.mp-map__table td { padding: 6px 10px; border-bottom: 1px solid var(--mp-border); text-align: left; }
.mp-map__table td { text-align: right; font-variant-numeric: tabular-nums; }
.mp-map__table thead th:not(:first-child) { text-align: right; }

.mp-map--compact { max-width: 560px; }
.mp-map--compact .mp-map__caption { font-size: 1rem; }
.mp-map--compact .mp-map__source { display: none; }

/* ==========================================================================
   Schéma de flux [mp_flow_diagram]
   ========================================================================== */
.mp-flow { width: 100%; flex-shrink: 0; background: transparent; }
.mp-flow__svg { display: block; width: 100% !important; max-width: 100%; height: auto !important; overflow: visible; }
.mp-flow__svg--v { display: none; max-width: 480px; margin: 0 auto; }
@media (max-width: 767px) {
	.mp-flow__svg--h { display: none; }
	.mp-flow__svg--v { display: block; }
}
.mp-flow__node rect { fill: var(--mp-white); stroke: rgba(46, 81, 255, .35); stroke-width: 1.5; }
.mp-flow__node text { font: 600 18px var(--mp-font-title); fill: var(--mp-ink); }
.mp-flow__svg--v .mp-flow__node text { font-size: 16px; }
.mp-flow__node--lab rect { stroke: var(--mp-blue); stroke-width: 2; }
.mp-flow__node--mp rect { fill: var(--mp-blue); stroke: var(--mp-blue); }
.mp-flow__node--mp text { fill: var(--mp-white); font-weight: 700; letter-spacing: .06em; }
.mp-flow__node--channel rect { fill: var(--mp-mist); }
.mp-flow__path { fill: none; stroke: var(--mp-blue); stroke-width: 2.5; stroke-linecap: round; }
.mp-flow__head { fill: var(--mp-blue); }
.mp-flow__head--return { fill: var(--mp-text-2); }
.mp-flow__return path { fill: none; stroke: var(--mp-text-2); stroke-width: 1.8; stroke-dasharray: 7 6; stroke-linejoin: round; }
.mp-flow__return text { font: italic 600 15px var(--mp-font-body); fill: var(--mp-text-2); paint-order: stroke; stroke: var(--mp-white); stroke-width: 6px; stroke-linejoin: round; }
.mp-flow__svg--v .mp-flow__return text { font-size: 14px; }

/* Animation (activée par JS uniquement si le mouvement est autorisé) */
.mp-flow.is-anim .mp-flow__path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mp-flow.is-anim .mp-flow__node { opacity: 0; transform: translateY(10px); transform-box: fill-box; }
.mp-flow.is-anim .mp-flow__return { opacity: 0; }
.mp-flow.is-anim .mp-flow__head { opacity: 0; }
.mp-flow.is-anim.is-visible .mp-flow__path {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset .8s ease calc(var(--mp-step) * .45s - .2s);
}
.mp-flow.is-anim.is-visible .mp-flow__node {
	opacity: 1;
	transform: none;
	transition: opacity .5s ease calc(var(--mp-step) * .45s), transform .5s ease calc(var(--mp-step) * .45s);
}
.mp-flow.is-anim.is-visible .mp-flow__head { opacity: 1; transition: opacity .3s ease 1.4s; }
.mp-flow.is-anim.is-visible .mp-flow__return { opacity: 1; transition: opacity .7s ease calc(var(--mp-step) * .45s); }

/* ==========================================================================
   Frise de campagne [mp_campaign_timeline] (amélioration de .mp-timeline)
   ========================================================================== */
.mp-timeline-anchor { display: block; height: 0; margin: 0; }

.mp-timeline.is-enhanced .mp-step {
	position: relative;
	scroll-margin-top: var(--mp-sticky-top);
	padding-left: 68px !important;
}
.mp-step__badge {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--mp-mist);
	border: 2px solid var(--mp-blue);
	color: var(--mp-blue-deep);
	font: 700 1rem/1 var(--mp-font-title);
	transition: background-color .3s, color .3s, border-color .3s;
}
.mp-step.is-current .mp-step__badge { background: linear-gradient(135deg, var(--mp-blue), var(--mp-violet)); border-color: var(--mp-blue); color: var(--mp-white); }
.mp-step__rail {
	position: absolute;
	left: 22px;
	top: 46px;
	bottom: calc(-1 * var(--mp-rail-gap, 40px));
	width: 2px;
	background: rgba(46, 81, 255, .25);
}
.mp-step:last-of-type .mp-step__rail,
.mp-step.is-last .mp-step__rail { display: none; }

.mp-tl-nav { display: none; }

@media (min-width: 1025px) {
	.mp-timeline.is-enhanced.mp-tl-grid,
	.mp-timeline.is-enhanced .mp-tl-grid {
		display: grid !important;
		grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
		column-gap: clamp(32px, 5vw, 80px);
		align-items: start;
	}
	.mp-timeline.is-enhanced.mp-tl-grid > .mp-step,
	.mp-timeline.is-enhanced .mp-tl-grid > .mp-step { grid-column: 2; }
	.mp-tl-nav {
		display: block;
		grid-column: 1;
		position: sticky;
		top: var(--mp-sticky-top);
		align-self: start;
		padding: 20px;
		background: var(--mp-white);
		border: 1px solid var(--mp-border);
		border-radius: var(--mp-radius);
		font-family: var(--mp-font-body);
	}
}
.mp-tl-nav__group {
	margin: 14px 0 6px;
	font: 700 .75rem/1.2 var(--mp-font-body);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mp-text-2);
}
.mp-tl-nav__group:first-child { margin-top: 0; }
.mp-tl-nav ol { list-style: none; margin: 0; padding: 0; }
.mp-tl-nav li { margin: 2px 0; }
.mp-tl-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 7px 10px;
	border-radius: 12px;
	color: var(--mp-ink);
	text-decoration: none !important;
	font: 600 .9375rem/1.3 var(--mp-font-body);
	transition: background-color .2s;
}
.mp-tl-nav a:hover { background: var(--mp-mist); color: var(--mp-blue-deep); }
.mp-tl-nav__num {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1.5px solid rgba(46, 81, 255, .4);
	color: var(--mp-blue-deep);
	font: 700 .8125rem/1 var(--mp-font-title);
	transition: background-color .25s, color .25s, border-color .25s;
}
.mp-tl-nav a[aria-current="step"] { background: var(--mp-mist); }
.mp-tl-nav a[aria-current="step"] .mp-tl-nav__num { background: var(--mp-blue); border-color: var(--mp-blue); color: var(--mp-white); }

/* Jalons compacts (fond Encre) */
.mp-milestones {
	--mp-gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--mp-count, 6), minmax(0, 1fr));
	gap: var(--mp-gap);
	color: var(--mp-white);
	font-family: var(--mp-font-body);
}
.mp-milestones__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	margin: 0;
}
.mp-milestones__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 22px;
	left: calc(50% + 30px);
	width: calc(100% + var(--mp-gap) - 60px);
	height: 2px;
	background: rgba(200, 242, 90, .45);
}
.mp-milestones__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--mp-signal);
	color: var(--mp-ink);
	font: 700 1rem/1 var(--mp-font-title);
}
.mp-milestones__label { font: 600 1rem/1.35 var(--mp-font-title); color: var(--mp-white); }
.mp-milestones.is-anim .mp-milestones__item { opacity: 0; transform: translateY(14px); }
.mp-milestones.is-anim.is-visible .mp-milestones__item {
	opacity: 1;
	transform: none;
	transition: opacity .5s ease calc(var(--mp-i) * .2s), transform .5s ease calc(var(--mp-i) * .2s);
}
@media (max-width: 767px) {
	.mp-milestones { grid-template-columns: 1fr; --mp-gap: 22px; }
	.mp-milestones__item { flex-direction: row; text-align: left; gap: 16px; }
	.mp-milestones__item:not(:last-child)::after {
		top: 46px;
		left: 22px;
		width: 2px;
		height: calc(100% + var(--mp-gap) - 46px);
	}
}

/* ==========================================================================
   Explorateur de formats [mp_format_explorer]
   ========================================================================== */
.mp-fx {
	--mp-fx-hl: var(--mp-blue);
	--mp-fx-fg: var(--mp-ink);
	--mp-fx-fg-2: var(--mp-text-2);
	font-family: var(--mp-font-body);
	color: var(--mp-fx-fg);
}
.mp-fx--dark { --mp-fx-hl: var(--mp-signal); --mp-fx-fg: var(--mp-white); --mp-fx-fg-2: rgba(255, 255, 255, .78); }
.mp-fx__mockups {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
@media (max-width: 860px) {
	.mp-fx__mockups { grid-template-columns: minmax(0, 1fr); }
}
.mp-fx__mock { position: relative; }
.mp-fx__mock--site { padding-bottom: 40px; }
.mp-fx__mock-title { margin: 0 0 10px; font: 700 1.0625rem/1.3 var(--mp-font-title); color: var(--mp-fx-fg); }
.mp-fx__browser {
	overflow: hidden;
	background: var(--mp-white);
	border: 1px solid var(--mp-border);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(13, 0, 42, .10);
}
.mp-fx__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--mp-mist); }
.mp-fx__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(46, 81, 255, .25); }
.mp-fx__url { flex: 1; height: 12px; margin-left: 10px; border-radius: 6px; background: var(--mp-white); }
.mp-fx__screen { padding: 14px; background: #F8F9FF; display: flex; flex-direction: column; gap: 12px; }
.mp-fx__screen--extranet { flex-direction: row; padding: 0; min-height: 280px; }
.mp-fx__side { flex: 0 0 26%; padding: 14px 12px; background: linear-gradient(180deg, var(--mp-blue), var(--mp-violet)); display: flex; flex-direction: column; gap: 10px; }
.mp-fx__logo { width: 60%; height: 14px; border-radius: 6px; background: var(--mp-cyan); margin-bottom: 8px; }
.mp-fx__main { flex: 1; min-width: 0; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mp-fx__head { display: flex; justify-content: space-between; align-items: center; }
.mp-fx__avatar { width: 22px; height: 22px; border-radius: 50%; background: rgba(46, 81, 255, .25); }
.mp-fx__line { display: block; height: 8px; border-radius: 4px; background: rgba(13, 0, 42, .10); }
.mp-fx__line + .mp-fx__line { margin-top: 6px; }
.mp-fx__line--side { background: rgba(255, 255, 255, .22); margin: 0 !important; }
.mp-fx__line--title { width: 40%; height: 12px; background: rgba(13, 0, 42, .18); }
.mp-fx__line--nav { width: 14%; margin: 0 !important; }
.mp-fx__nav { display: flex; align-items: center; gap: 10px; }
.mp-fx__cross {
	width: 18px; height: 18px; margin-right: auto; border-radius: 4px;
	background: linear-gradient(var(--mp-blue), var(--mp-blue)) center/6px 100% no-repeat, linear-gradient(var(--mp-blue), var(--mp-blue)) center/100% 6px no-repeat;
}
.mp-fx__cols { display: grid; grid-template-columns: minmax(0, 1fr) 32%; gap: 12px; }
.mp-fx__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mp-fx__cols--rev { grid-template-columns: 38% minmax(0, 1fr); }
.mp-fx__screen--site { padding-right: 22%; }
.mp-fx__screen--site .mp-fx__cards { grid-template-columns: 1fr; }
.mp-fx__card { display: block; min-height: 54px; border-radius: 10px; background: var(--mp-white); border: 1px solid var(--mp-border); }

/* Zones interactives */
.mp-fx .mp-fx__zone {
	appearance: none;
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	text-align: left;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	border: 2px dashed rgba(46, 81, 255, .5);
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(46, 81, 255, .10), rgba(0, 245, 240, .18));
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.mp-fx .mp-fx__zone--mirror { cursor: default; }
.mp-fx__zone--e1 { min-height: 92px; }
.mp-fx__zone--e2 { min-height: 118px; }
.mp-fx__zone--p1 { min-height: 112px; }
.mp-fx__zone--p2 { min-height: 64px; }
.mp-fx__code {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--mp-blue);
	color: var(--mp-white);
	font: 700 .75rem/1.2 var(--mp-font-title);
	letter-spacing: .04em;
}
.mp-fx__zone > .mp-fx__code { position: absolute; top: 8px; left: 8px; }
.mp-fx .mp-fx__zone:hover,
.mp-fx .mp-fx__zone:focus,
.mp-fx .mp-fx__zone.is-active {
	border: 2px solid var(--mp-fx-hl);
	box-shadow: 0 0 0 4px rgba(46, 81, 255, .18), 0 10px 26px rgba(46, 81, 255, .28);
	background: linear-gradient(135deg, rgba(46, 81, 255, .22), rgba(0, 245, 240, .32));
}
.mp-fx--dark .mp-fx__zone:hover,
.mp-fx--dark .mp-fx__zone.is-active { box-shadow: 0 0 0 4px rgba(200, 242, 90, .25); }
.mp-fx .mp-fx__zone:focus-visible { outline: 3px solid var(--mp-blue) !important; outline-offset: 3px !important; box-shadow: 0 0 0 3px #FFFFFF !important; }
.mp-fx--dark .mp-fx__zone:focus-visible { outline-color: var(--mp-signal) !important; box-shadow: none !important; }

.mp-fx__phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 31%;
	min-width: 112px;
	max-width: 170px;
	padding: 6px;
	border-radius: 24px;
	background: var(--mp-ink);
	box-shadow: 0 18px 40px rgba(13, 0, 42, .30);
}
.mp-fx__phone-screen { display: flex; flex-direction: column; gap: 8px; padding: 12px 8px; border-radius: 18px; background: #F8F9FF; min-height: 240px; }
.mp-fx__phone .mp-fx__line--nav { width: 30%; }
.mp-fx__phone .mp-fx__card { min-height: 38px; }
.mp-fx__zone--mirror { cursor: default; }
.mp-fx__zone--mirror.mp-fx__zone--p1 { min-height: 74px; }
.mp-fx__zone--mirror.mp-fx__zone--p2 { min-height: 40px; }
.mp-fx__zone--mirror > .mp-fx__code { top: 5px; left: 5px; font-size: .625rem; padding: 2px 6px; }

.mp-fx__panel {
	margin-top: 28px;
	padding: 20px 24px;
	min-height: 104px;
	border-radius: var(--mp-radius);
	background: var(--mp-mist);
	border: 1px solid var(--mp-border);
	color: var(--mp-ink);
}
.mp-fx--dark .mp-fx__panel { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--mp-white); }
.mp-fx__panel[hidden] { display: none; }
.mp-fx__panel-intro { margin: 0; color: var(--mp-text-2); }
.mp-fx--dark .mp-fx__panel-intro { color: rgba(255, 255, 255, .78); }
.mp-fx__panel-title { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 700 1.125rem/1.3 var(--mp-font-title); }
.mp-fx--dark .mp-fx__panel .mp-fx__code { background: var(--mp-signal); color: var(--mp-ink); }
.mp-fx__panel-text { margin: 0; }

.mp-fx__list { margin-top: 28px; }
.mp-fx.is-enhanced .mp-fx__list { display: none; }
.mp-fx__list-title { margin: 0 0 10px; font: 700 1.0625rem/1.3 var(--mp-font-title); }
.mp-fx__list dl { margin: 0; display: grid; gap: 12px; }
.mp-fx__item dt { font-weight: 700; display: flex; gap: 8px; align-items: center; }
.mp-fx__item dd { margin: 4px 0 0; color: var(--mp-fx-fg-2); }

/* ==========================================================================
   Preuve de diffusion [mp_proof_card]
   ========================================================================== */
.mp-proof {
	box-sizing: border-box;
	width: 100%;
	max-width: 400px;
	padding: 22px;
	border-radius: var(--mp-radius);
	font-family: var(--mp-font-body);
	font-size: .9375rem;
}
.mp-proof--dark { background: rgba(255, 255, 255, .10); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--mp-white); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 50px rgba(13, 0, 42, .35); }
.mp-proof--light { background: var(--mp-white); color: var(--mp-text); border: 1px solid var(--mp-border); box-shadow: 0 20px 44px rgba(13, 0, 42, .10); }
.mp-proof__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mp-proof__title { margin: 0; font: 700 1.125rem/1.3 var(--mp-font-title); }
.mp-proof__badge { margin: 0; padding: 4px 10px; border-radius: 999px; font: 700 .75rem/1.2 var(--mp-font-body); white-space: nowrap; }
.mp-proof--dark .mp-proof__badge { color: var(--mp-signal); border: 1px solid var(--mp-signal); }
.mp-proof--light .mp-proof__badge { color: var(--mp-blue-deep); background: var(--mp-mist); }
.mp-proof__thumb { position: relative; height: 130px; overflow: hidden; border-radius: 14px; background: #F3F5FF; }
.mp-proof__thumb-inner { position: absolute; inset: -8px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 18px 1fr 22px; gap: 8px; padding: 14px; filter: blur(5px); }
.mp-proof__thumb-inner i:nth-child(1) { grid-column: 1 / -1; background: rgba(13, 0, 42, .25); border-radius: 6px; }
.mp-proof__thumb-inner i:nth-child(2) { grid-column: 1 / -1; background: linear-gradient(120deg, var(--mp-blue), var(--mp-cyan)); border-radius: 10px; }
.mp-proof__thumb-inner i:nth-child(3) { background: rgba(46, 81, 255, .25); border-radius: 6px; }
.mp-proof__thumb-inner i:nth-child(4) { background: rgba(13, 0, 42, .18); border-radius: 6px; }
.mp-proof__rows { margin: 14px 0 0; }
.mp-proof__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(46, 81, 255, .14); }
.mp-proof--dark .mp-proof__row { border-top-color: rgba(255, 255, 255, .12); }
.mp-proof__row dt { margin: 0; color: var(--mp-text-2); }
.mp-proof--dark .mp-proof__row dt { color: rgba(255, 255, 255, .74); }
.mp-proof__row dd { margin: 0; font-weight: 600; text-align: right; display: flex; align-items: center; gap: 8px; }
.mp-proof__time { font-variant-numeric: tabular-nums; }
.mp-proof__clock { display: inline-block; }
.mp-proof__clock.is-tick { animation: mp-tick .35s ease; }
@keyframes mp-tick { from { transform: translateY(-40%); opacity: .2; } to { transform: none; opacity: 1; } }
.mp-proof__check { display: inline-flex; width: 22px; height: 22px; border-radius: 6px; border: 2px solid currentColor; box-sizing: border-box; }
.mp-proof__check svg { width: 100%; height: 100%; }
.mp-proof__check path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.mp-proof--dark .mp-proof__row--status dd { color: var(--mp-signal); }
.mp-proof--dark .mp-proof__check path { stroke: var(--mp-signal); }
.mp-proof--light .mp-proof__row--status dd { color: var(--mp-blue-deep); }
.mp-proof--light .mp-proof__check path { stroke: var(--mp-blue-deep); }
.mp-proof.is-anim { opacity: 0; transform: translateY(18px); }
.mp-proof.is-anim .mp-proof__check path { stroke-dashoffset: 1; }
.mp-proof.is-anim .mp-proof__status { opacity: 0; }
.mp-proof.is-anim.is-visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.mp-proof.is-anim.is-visible .mp-proof__check path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease 1s; }
.mp-proof.is-anim.is-visible .mp-proof__status { opacity: 1; transition: opacity .4s ease 1.4s; }

/* ==========================================================================
   Focus visible commun
   ========================================================================== */
.mp-map__btn:focus-visible,
.mp-tl-nav a:focus-visible,
.mp-timeline .mp-step:focus-visible {
	outline: 3px solid var(--mp-blue);
	outline-offset: 2px;
}
.mp-step:focus { outline: none; }

/* ==========================================================================
   Mouvement réduit : aucun effet, état final affiché directement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.mp-map *, .mp-flow *, .mp-fx *, .mp-proof, .mp-proof *, .mp-milestones *, .mp-tl-nav *, .mp-step__badge {
		transition: none !important;
		animation: none !important;
	}
	.mp-flow.is-anim .mp-flow__path { stroke-dashoffset: 0 !important; }
	.mp-flow.is-anim .mp-flow__node,
	.mp-flow.is-anim .mp-flow__return,
	.mp-flow.is-anim .mp-flow__head,
	.mp-milestones.is-anim .mp-milestones__item,
	.mp-proof.is-anim,
	.mp-proof.is-anim .mp-proof__status { opacity: 1 !important; transform: none !important; }
	.mp-proof.is-anim .mp-proof__check path { stroke-dashoffset: 0 !important; }
}

/* Impression : état final */
@media print {
	.mp-flow.is-anim .mp-flow__path { stroke-dashoffset: 0 !important; }
	.mp-flow.is-anim .mp-flow__node,
	.mp-flow.is-anim .mp-flow__return,
	.mp-flow.is-anim .mp-flow__head,
	.mp-milestones.is-anim .mp-milestones__item,
	.mp-proof.is-anim,
	.mp-proof.is-anim .mp-proof__status { opacity: 1 !important; transform: none !important; }
	.mp-hero-bg { display: none; }
}
