/*
 * MPMP — P0 page /expertises/video-surete/
 * Styles scoped to #mpmp-p0 so they never touch the rest of the Divi site.
 * Tokens follow the refonte maquette (mpmp-maquette.html); the accent is the
 * purple of the "Vidéo & Sûreté" identity. Reusable as-is in the future theme.
 */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/manrope.woff2") format("woff2-variations"), url("../fonts/manrope.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Nunito Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("../fonts/nunito-sans.woff2") format("woff2-variations"), url("../fonts/nunito-sans.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

#mpmp-p0 {
	--navy: #0d2a4c;
	--ink: #1a2b3c;
	--muted: #5b6b7a;
	--line: #dde6ec;
	--mist: #f3f8fa;
	--green: #8eba59;
	--green-700: #4f6e2d;
	--accent: #66308a;
	--accent-strong: #522470;
	--accent-soft: #f4eef8;
	--gold: #d6a443;
	--gold-soft: #fbf4e4;
	--font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 1.25rem;

	background: #fff;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 400; /* Divi met 500 sur body */
	line-height: 1.6;
	letter-spacing: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* ---- Reset of Divi defaults inside the scope ---- */
#mpmp-p0 *,
#mpmp-p0 *::before,
#mpmp-p0 *::after { box-sizing: border-box; }
#mpmp-p0 h1, #mpmp-p0 h2, #mpmp-p0 h3, #mpmp-p0 h4, #mpmp-p0 p,
#mpmp-p0 ul, #mpmp-p0 ol, #mpmp-p0 li, #mpmp-p0 figure, #mpmp-p0 dl, #mpmp-p0 dd {
	margin: 0;
	padding: 0;
}
#mpmp-p0 ul, #mpmp-p0 ol { list-style: none; }
#mpmp-p0 img { display: block; max-width: 100%; height: auto; border: 0; }
#mpmp-p0 a { color: inherit; text-decoration: none; }
#mpmp-p0 a:focus-visible,
#mpmp-p0 summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
#mpmp-p0 [id] { scroll-margin-top: 150px; }
#mpmp-p0 h1, #mpmp-p0 h2, #mpmp-p0 h3, #mpmp-p0 h4 {
	font-family: var(--font-display);
	color: var(--navy);
	letter-spacing: -0.015em;
	line-height: 1.15;
	font-weight: 800;
	text-wrap: balance;
}
#mpmp-p0 strong, #mpmp-p0 b { font-weight: 700; color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
	#mpmp-p0 *, #mpmp-p0 *::before, #mpmp-p0 *::after { transition: none !important; animation: none !important; }
}

/* ---- Layout ---- */
#mpmp-p0 .wrap {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 40px);
}
#mpmp-p0 .section { padding-block: clamp(56px, 7vw, 96px); }
#mpmp-p0 .band-mist { background: var(--mist); border-block: 1px solid var(--line); }
#mpmp-p0 .band-navy { background: var(--navy); color: #fff; }
#mpmp-p0 .band-soft { background: var(--accent-soft); }
#mpmp-p0 .grid { display: grid; gap: 24px; }
#mpmp-p0 .split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
#mpmp-p0 .head { max-width: 760px; }
#mpmp-p0 .head-row { display: grid; gap: 16px 40px; align-items: end; }

@media (min-width: 720px) {
	#mpmp-p0 .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
	#mpmp-p0 .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	#mpmp-p0 .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	#mpmp-p0 .split { grid-template-columns: 5fr 7fr; }
	#mpmp-p0 .split.reverse { grid-template-columns: 7fr 5fr; }
	#mpmp-p0 .split.even { grid-template-columns: 1fr 1fr; }
	#mpmp-p0 .head-row { grid-template-columns: 7fr 5fr; }
}
@media (min-width: 720px) and (max-width: 979px) {
	#mpmp-p0 .cols-4, #mpmp-p0 .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Type ---- */
#mpmp-p0 .eyebrow {
	font-family: var(--font-display);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
}
#mpmp-p0 .band-navy .eyebrow { color: var(--gold); }
#mpmp-p0 .h1 { font-size: clamp(2rem, 1.1rem + 2.9vw, 3.1rem); line-height: 1.08; letter-spacing: -0.02em; }
#mpmp-p0 .h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); }
#mpmp-p0 .h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
#mpmp-p0 .band-navy .h2, #mpmp-p0 .band-navy .h3 { color: #fff; }
#mpmp-p0 .lead { font-size: 1.15rem; color: var(--muted); line-height: 1.65; max-width: 62ch; }
#mpmp-p0 .muted { color: var(--muted); }
#mpmp-p0 .small { font-size: .95rem; }
#mpmp-p0 .mt-1 { margin-top: 8px; }
#mpmp-p0 .mt-2 { margin-top: 16px; }
#mpmp-p0 .mt-3 { margin-top: 24px; }
#mpmp-p0 .mt-4 { margin-top: 32px; }
#mpmp-p0 .mt-5 { margin-top: 48px; }
#mpmp-p0 .prose p + p { margin-top: 14px; }
#mpmp-p0 .prose p { max-width: 68ch; }
#mpmp-p0 .statement {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--navy);
	font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
	line-height: 1.4;
}

/* ---- Buttons ---- */
#mpmp-p0 .btns { display: flex; flex-wrap: wrap; gap: 12px; }
#mpmp-p0 .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .85rem 1.4rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .97rem;
	line-height: 1.1;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
#mpmp-p0 .btn svg { width: 1.05em; height: 1.05em; flex: none; }
#mpmp-p0 .btn-accent { background: var(--accent); color: #fff; }
#mpmp-p0 .btn-accent:hover { background: var(--accent-strong); color: #fff; }
#mpmp-p0 .btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
#mpmp-p0 .btn-outline:hover { background: var(--navy); color: #fff; }
#mpmp-p0 .btn-white { background: #fff; color: var(--navy); }
#mpmp-p0 .btn-white:hover { background: var(--gold-soft); }
#mpmp-p0 .text-link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--accent);
	border-bottom: 2px solid transparent;
}
#mpmp-p0 .text-link:hover { border-color: currentColor; }
#mpmp-p0 .text-link svg { width: 1em; height: 1em; flex: none; }
#mpmp-p0 svg { max-width: 100%; }

/* ---- Breadcrumb & in-page nav ---- */
#mpmp-p0 .crumbs { font-size: .9rem; color: var(--muted); }
#mpmp-p0 .crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
#mpmp-p0 .crumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa7b2; }
#mpmp-p0 .crumbs a:hover { color: var(--navy); text-decoration: underline; }
#mpmp-p0 .crumbs [aria-current] { color: var(--navy); }

#mpmp-p0 .pagenav {
	border-block: 1px solid var(--line);
	background: #fff;
}
#mpmp-p0 .pagenav ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 8px;
	padding-block: 12px;
}
@media (min-width: 720px) {
	#mpmp-p0 .pagenav ul { display: flex; flex-wrap: wrap; gap: 4px 6px; }
}
#mpmp-p0 .pagenav a {
	display: inline-block;
	white-space: nowrap;
	padding: .45rem .8rem;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .9rem;
	color: var(--navy);
}
#mpmp-p0 .pagenav a:hover { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 719px) { #mpmp-p0 .pagenav a { font-size: .86rem; padding: .32rem .6rem; } }

/* ---- Hero ---- */
#mpmp-p0 .hero {
	position: relative;
	background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 78%);
	padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px);
}
#mpmp-p0 .hero-grid { display: grid; gap: 40px; align-items: center; margin-top: 28px; }
@media (min-width: 980px) { #mpmp-p0 .hero-grid { grid-template-columns: 7fr 5fr; gap: 56px; } }
#mpmp-p0 .values {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 32px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #4a5b6c;
}
#mpmp-p0 .values li { display: flex; align-items: center; gap: 8px; }
#mpmp-p0 .dot { width: .55rem; height: .55rem; border-radius: 999px; background: var(--gold); display: inline-block; flex: none; }
#mpmp-p0 .values li:nth-child(odd) .dot { background: var(--accent); }

/* ---- Cards ---- */
#mpmp-p0 .card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(22px, 2.6vw, 32px);
}
#mpmp-p0 .card-top { border-top: 4px solid var(--accent); }
#mpmp-p0 .card-gold { border-top: 4px solid var(--gold); }
#mpmp-p0 .card-mist { background: var(--mist); }
#mpmp-p0 .hero-card .logo { width: min(300px, 100%); margin-inline: auto; }
#mpmp-p0 .hero-card .base {
	margin-top: 20px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--gold-soft);
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--navy);
	font-size: .95rem;
	text-align: center;
}

/* ---- Lists ---- */
#mpmp-p0 .checks { display: grid; gap: 12px; }
#mpmp-p0 .checks li { display: flex; gap: 12px; align-items: flex-start; }
#mpmp-p0 .check {
	display: inline-flex;
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: .1rem;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	background: var(--accent-soft);
	color: var(--accent);
}
#mpmp-p0 .check svg { width: .85rem; height: .85rem; }
#mpmp-p0 .band-navy .check { background: rgba(255, 255, 255, .1); color: var(--gold); }
#mpmp-p0 .band-navy .checks li { color: rgba(255, 255, 255, .92); }
@media (min-width: 720px) { #mpmp-p0 .checks.two { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

/* ---- Audience list ---- */
#mpmp-p0 .audiences { display: grid; gap: 14px; }
#mpmp-p0 .audiences li {
	padding: 14px 18px;
	border-left: 4px solid var(--accent);
	background: #fff;
	border-radius: 0 12px 12px 0;
}
#mpmp-p0 .figure { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
#mpmp-p0 .figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
#mpmp-p0 .caption { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ---- Project cards ---- */
#mpmp-p0 .num-badge {
	display: inline-flex;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
}

/* ---- Expertise cards ---- */
#mpmp-p0 .xp { display: flex; flex-direction: column; gap: 14px; }
#mpmp-p0 .xp .picto { width: 72px; height: 72px; object-fit: contain; }
#mpmp-p0 .xp .goal {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--navy);
	font-size: .97rem;
}
#mpmp-p0 .infra { display: grid; gap: 24px; align-items: center; }
@media (min-width: 720px) { #mpmp-p0 .infra { grid-template-columns: auto 1fr; } }
#mpmp-p0 .infra .picto { width: 96px; height: auto; }

/* ---- Two views ---- */
#mpmp-p0 .duo { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { #mpmp-p0 .duo { grid-template-columns: 1fr auto 1fr; } }
#mpmp-p0 .plus {
	display: none;
	width: 3.2rem;
	height: 3.2rem;
	border-radius: 999px;
	align-self: center;
	background: var(--navy);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.6rem;
	align-items: center;
	justify-content: center;
}
@media (min-width: 900px) { #mpmp-p0 .plus { display: inline-flex; } }
#mpmp-p0 .h3-caps { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---- Steps ---- */
#mpmp-p0 .steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 1100px) { #mpmp-p0 .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 1099px) { #mpmp-p0 .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#mpmp-p0 .step {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 20px;
	border-radius: var(--radius);
	background: var(--accent-soft);
}
#mpmp-p0 .step-num {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2.1rem;
	line-height: 1;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}
#mpmp-p0 .step .sub { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: .95rem; }
#mpmp-p0 .step .deliv {
	margin-top: auto;
	padding-top: 12px;
	border-top: 2px solid var(--gold);
	font-size: .93rem;
}
#mpmp-p0 .step .deliv span {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 4px;
}

/* ---- Dark band tiles ---- */
#mpmp-p0 .tile-dark {
	border-radius: 16px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	padding: 18px 20px;
}
#mpmp-p0 .tile-dark p:first-child { font-family: var(--font-display); font-weight: 700; color: var(--gold); }
#mpmp-p0 .tile-dark p + p { margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: .97rem; }

/* ---- Team ---- */
/* Mobile : photo à gauche du nom, texte en dessous. Tablette et ordinateur : photo en tête de carte. */
#mpmp-p0 .person {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 14px 16px;
	align-items: center;
	padding: 18px;
}
#mpmp-p0 .person img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #eceff2; }
#mpmp-p0 .person .who { display: flex; flex-direction: column; gap: 4px; }
#mpmp-p0 .person .bio { grid-column: 1 / -1; }
@media (min-width: 720px) {
	#mpmp-p0 .person { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
	#mpmp-p0 .person img { width: 100%; border-radius: 0; }
	#mpmp-p0 .person .who { padding: 20px 22px 0; }
	#mpmp-p0 .person .bio { padding: 10px 22px 24px; }
}
#mpmp-p0 .role { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: .93rem; }
#mpmp-p0 .stats { display: grid; gap: 16px; }
@media (min-width: 720px) { #mpmp-p0 .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#mpmp-p0 .stat { padding: 20px 22px; border-radius: 16px; background: var(--gold-soft); }
#mpmp-p0 .stat strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }

/* ---- FAQ ---- */
#mpmp-p0 details.faq { border-bottom: 1px solid var(--line); }
#mpmp-p0 details.faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--navy);
	font-size: 1.05rem;
}
#mpmp-p0 details.faq summary::-webkit-details-marker { display: none; }
#mpmp-p0 details.faq .pm {
	flex: none;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s;
}
#mpmp-p0 details.faq .pm svg { width: .9rem; height: .9rem; }
#mpmp-p0 details.faq[open] .pm { transform: rotate(45deg); }
#mpmp-p0 details.faq .answer { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* ---- Questions grid ---- */
#mpmp-p0 .q { padding: 22px 22px 24px; }
#mpmp-p0 .q h3 { display: flex; gap: 10px; align-items: baseline; }
#mpmp-p0 .q h3::before { content: "?"; font-weight: 800; color: var(--gold); font-size: 1.3rem; }

/* ---- Contact ---- */
#mpmp-p0 .cta-box { border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); }
#mpmp-p0 .cta-box .mail { font-family: var(--font-display); font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
#mpmp-p0 .map img { width: 100%; border-radius: var(--radius); }
#mpmp-p0 .refs { font-size: .97rem; color: var(--muted); }

/* ---- Mention de marque (propre à cette page, avant le pied de page Divi) ---- */
#mpmp-p0 .legal-note { background: #fff; border-top: 1px solid var(--line); }
#mpmp-p0 .legal-note p {
	max-width: 900px;
	margin-inline: auto;
	padding-block: 18px 22px;
	font-size: .8rem;
	line-height: 1.55;
	color: var(--muted);
	text-align: center;
	text-wrap: balance;
}
