/* ==========================================================================
   Exposome – pages autonomes FR (« La Partition ») et EN (« Aquarelle »)
   Design system fidèle à exposome-pack + polices auto-hébergées & font-size-adjust
   ========================================================================== */

html:has(.xpo) {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

body:has(.xpo) {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
}

.xpo {
	--ink: #1C2427;
	--text: #2E3A3E;
	--muted: #55625F;
	--teal: #35605A;
	--coral: #E7A383;
	--terra: #9A4426;
	--paper: #F7F4EE;
	--paper-2: #FAF8F4;
	--line: #E6E2DA;
	--line-2: #D9D4CA;
	--sage: #F4F7F6;
	--peach: #FBF3EC;
	--peach-line: #F0DCCD;
	--white: #FFFFFF;
	--ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Cormorant Garamond", Garamond, Georgia, serif;
	--body: "Source Serif 4", Georgia, serif;
	--cta: var(--ink);
	--cta-text: var(--white);
	--r: 8px;
	--r-btn: 6px;
	--wrap: 1200px;
	--pad: clamp(20px, 4vw, 40px);

	font-family: var(--body);
	font-size-adjust: from-font;
	color: var(--ink);
	background: var(--white);
	line-height: 1.5;
	min-block-size: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
}
.xpo > main { flex: 1; }

/* Remise à zéro locale */
.xpo *, .xpo *::before, .xpo *::after { box-sizing: border-box; }
.xpo :where(h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd, fieldset) { margin: 0; padding: 0; }
.xpo :where(ul, ol) { list-style: none; }
.xpo img { display: block; max-width: 100%; height: auto; }
.xpo picture { display: block; }
.xpo button { font: inherit; color: inherit; }
.xpo a { color: var(--teal); text-underline-offset: 3px; }
.xpo a:hover { color: var(--ink); }
.xpo :focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.xpo [hidden] { display: none !important; }
.xpo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Barre d'administration discrète (si connecté ROLE_EDITOR) ---------- */
.xpo-adminbar {
	background: #0A2540;
	color: #FFFFFF;
	font: 500 13px/1.4 Inter, system-ui, sans-serif;
	padding: 8px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.xpo-adminbar__inner {
	max-width: 1200px;
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 18px;
}
.xpo-adminbar a {
	color: #E2E8F0;
	text-decoration: none;
}
.xpo-adminbar a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}
.xpo-adminbar__pill {
	padding: 4px 10px;
	border-radius: 999px;
	background: #1091EF;
	color: #FFFFFF !important;
	font-weight: 600;
}

/* ---------- Structure ---------- */
.xpo-wrap { max-width: var(--wrap); width: 100%; margin-inline: auto; padding-inline: var(--pad); }
.xpo-wrap--narrow { max-width: 860px; }
.xpo-section { padding-block: clamp(56px, 8vw, 96px); }
.xpo-section--paper { background: var(--paper); }
.xpo-section--sage { background: var(--sage); }
.xpo-section--peach { background: var(--peach); }
.xpo-section--ink { background: var(--ink); color: var(--white); }
.xpo-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.xpo-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.xpo-split--top { align-items: flex-start; }
.xpo-split > * { flex: 1 1 440px; min-width: 0; }
.xpo-split__main { display: flex; flex-direction: column; gap: 22px; }
.xpo-wrap.xpo-section + .xpo-wrap.xpo-section { padding-top: 16px; }
.xpo-staff { height: 25px; margin-bottom: 48px; background: repeating-linear-gradient(to bottom, rgba(28, 36, 39, .22) 0 1px, transparent 1px 6px); }

/* ---------- Typographie ---------- */
.xpo-eyebrow { font: 600 12px/1.3 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.xpo-eyebrow--warm { color: var(--coral); }
.xpo-section--ink .xpo-eyebrow { color: var(--coral); }
.xpo-h1 { font: 600 clamp(40px, 5.2vw, 68px)/1.03 var(--display); font-size-adjust: from-font; letter-spacing: -.01em; }
.xpo-h1 em, .xpo-coda__line em { font-weight: 400; color: var(--teal); }
.xpo-h2 { font: 600 clamp(32px, 3.6vw, 48px)/1.08 var(--display); font-size-adjust: from-font; }
.xpo-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--text); max-width: 560px; }
.xpo-text { font-size: 18px; line-height: 1.65; color: var(--text); }
.xpo-text--sm { font-size: 15px; }
.xpo-section--ink .xpo-text { color: #C9D6D2; }
.xpo-small { font: 400 14px/1.6 var(--ui); color: var(--muted); }
.xpo-link { font: 500 15px/1 var(--ui); }
.xpo-pill { align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: rgba(53, 96, 90, .1); color: var(--teal); font: 600 13px/1 var(--ui); letter-spacing: .04em; }
.xpo-badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #F7E3D8; color: #7A3418; font: 600 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.xpo-stars { color: var(--coral); letter-spacing: 2px; }

/* ---------- Boutons ---------- */
.xpo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-btn); font: 600 16px/1.2 var(--ui); text-decoration: none; text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.xpo-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.xpo-btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.xpo .xpo-btn--primary { background: var(--cta); color: var(--cta-text); }
.xpo .xpo-btn--primary:hover { background: #000; color: var(--white); }
.xpo .xpo-btn--light { background: var(--white); color: var(--ink); }
.xpo .xpo-btn--light:hover { background: var(--paper); color: var(--ink); }
.xpo .xpo-btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.xpo .xpo-btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.xpo .xpo-btn--outline-light:hover { background: var(--white); color: var(--ink); }
.xpo .xpo-btn:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }

/* ---------- Barre de page ---------- */
.xpo-bar { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); }
.xpo-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 14px; }
.xpo .xpo-bar__brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.xpo-bar__title { font: 700 26px/1 var(--display); }
.xpo-bar__sub { font: italic 400 18px/1 var(--display); color: var(--muted); }
.xpo-bar__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font: 400 14px/1 var(--ui); }
.xpo .xpo-bar__nav > a:not(.xpo-btn) { color: var(--ink); text-decoration: none; }
.xpo-lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.xpo .xpo-lang a { padding: 8px 12px; color: var(--ink); text-decoration: none; }
.xpo .xpo-lang a[aria-current="page"] { background: var(--ink); color: var(--white); font-weight: 600; }
.xpo-langhint { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px 16px; background: var(--sage); font: 400 14px/1.4 var(--ui); }
.xpo-langhint__close { border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; min-width: 32px; min-height: 32px; }

/* ---------- Hero ---------- */
.xpo-hero { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px) clamp(48px, 6vw, 72px); }
.xpo-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.xpo-hero__media { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; position: relative; }
.xpo-hero__media--wash { padding: 48px 24px; border-radius: var(--r); overflow: hidden; background: #F3F1EC; }
.xpo-hero__wash { position: absolute; inset: 0; opacity: .6; }
.xpo-hero__wash img { width: 100%; height: 100%; object-fit: cover; }
.xpo-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.xpo-book { position: relative; width: min(100%, 360px); }
.xpo-book img { border-radius: 2px 4px 4px 2px; box-shadow: 0 34px 60px -22px rgba(28, 36, 39, .55), 0 2px 6px rgba(28, 36, 39, .18); }
.xpo-book::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(to right, rgba(28, 36, 39, .18), rgba(255, 255, 255, .25) 40%, rgba(28, 36, 39, 0)); border-radius: 2px 0 0 2px; pointer-events: none; }
.xpo-book--tilt { transform: rotate(-2deg); width: min(100%, 350px); }
.xpo-reassure { display: flex; flex-wrap: wrap; gap: 10px 24px; font: 400 13px/1.4 var(--ui); color: var(--muted); }
.xpo-reassure li { display: flex; align-items: center; gap: 8px; }
.xpo-trust { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .88); border: 1px solid #D5DDDA; font: 400 14px/1.4 var(--ui); }
.xpo-trust svg { width: 20px; height: 20px; color: var(--teal); }

.xpo-hero-art { position: relative; overflow: hidden; background: var(--sage); }
.xpo-hero-art__bg, .xpo-hero-art__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xpo-hero-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 46%, rgba(255, 255, 255, .25) 100%); }
.xpo-hero-art > .xpo-wrap { position: relative; z-index: 2; }
@media (max-width: 760px) { .xpo-hero-art::before { background: rgba(255, 255, 255, .9); } }

@media (max-width: 760px) {
	.xpo .xpo-bar__nav > a:not(.xpo-btn) { display: none; }
	.xpo-hero__media { order: -1; }
	.xpo-hero__media--wash { padding: 24px; }
	.xpo-book { width: 150px; }
	.xpo-book--tilt { width: 170px; }
	.xpo-quote { padding: 64px 0 0; }
	.xpo-quote::before { left: -4px; }
}

/* Choix d'édition (hero FR) */
.xpo-editions { border: 0; display: flex; flex-direction: column; gap: 10px; }
.xpo-editions legend { margin-bottom: 10px; font: 600 13px/1 var(--ui); }
.xpo-editions__row { display: flex; flex-wrap: wrap; gap: 12px; }
.xpo-ed { flex: 1 1 220px; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 16px; text-align: left; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; font-family: var(--ui); }
.xpo-ed:hover { border-color: var(--ink); }
.xpo-ed[aria-pressed="true"] { background: var(--white); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.xpo-ed__dot, .xpo-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); }
.xpo-ed[aria-pressed="true"] .xpo-ed__dot, .xpo-opt[aria-pressed="true"] .xpo-dot { background: var(--ink); box-shadow: inset 0 0 0 3px var(--white); }
.xpo-ed__txt { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.xpo-ed__txt small { font-size: 13px; color: var(--muted); }
.xpo-ed__price { font-weight: 600; font-size: 16px; }

/* ---------- Preuves ---------- */
.xpo-proof { background: var(--paper); border-block: 1px solid #ECE7DE; }
.xpo-proof--icons { background: var(--white); border-top: 0; border-bottom-color: #E3E8E6; }
.xpo-proof__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 28px; padding-block: 32px; }
.xpo-proof__item { display: flex; flex-direction: column; gap: 6px; }
.xpo-proof--icons .xpo-proof__item { flex-direction: row; align-items: center; gap: 14px; font: 400 15px/1.35 var(--ui); }
.xpo-proof--icons svg { width: 36px; height: 36px; color: var(--teal); stroke-width: 1.5; }
.xpo-proof__big { font: 600 30px/1.05 var(--display); }
.xpo-proof__label { font: 400 14px/1.45 var(--ui); color: var(--muted); }

/* ---------- Citation, cartes ---------- */
.xpo-quote { position: relative; align-self: center; padding: 76px 36px 36px; flex: 1 1 380px; }
.xpo-quote::before { content: "«"; position: absolute; top: -8px; left: 22px; font: 400 120px/1 var(--display); color: var(--coral); }
.xpo-quote blockquote { font: italic 500 clamp(24px, 2.4vw, 30px)/1.25 var(--display); }
.xpo-quote figcaption { margin-top: 18px; font: 400 13px/1.4 var(--ui); color: var(--muted); }
.xpo-cards { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.xpo-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 12px; }
.xpo-card h3 { font: 600 28px/1.15 var(--display); }
.xpo-card p { font-size: 16px; line-height: 1.6; color: var(--text); }
.xpo-pull { padding-left: 22px; border-left: 2px solid var(--coral); font: italic 400 26px/1.3 var(--display); }

/* ---------- Quiz ---------- */
.xpo-quiz__grid { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; }
.xpo-quiz__grid > :first-child { flex: 999 1 540px; min-width: 0; }
.xpo-quiz__groups { display: flex; flex-direction: column; gap: 24px; }
.xpo-quiz__gt { display: block; margin-bottom: 10px; font: 600 13px/1.3 var(--ui); color: var(--muted); }
.xpo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.xpo-chip { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font: italic 400 15px/1.35 var(--body); text-align: left; cursor: pointer; }
.xpo-chip:hover, .xpo-cat:hover, .xpo-door:hover { border-color: var(--ink); }
.xpo-chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.xpo-quiz__result { flex: 1 1 340px; min-width: 0; padding: 32px; border-radius: 10px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.xpo-quiz__result .xpo-eyebrow { color: var(--coral); }
.xpo-quiz__said { font: italic 400 17px/1.45 var(--body); color: #C9D6D2; }
.xpo-quiz__route { font: 600 30px/1.1 var(--display); }
.xpo-quiz__note { font-size: 16px; line-height: 1.6; color: var(--paper); }
.xpo-quiz__result small { font: 400 13px/1.5 var(--ui); color: #A9B6B3; }
.xpo-quiz__step { margin-bottom: 12px; font: 600 14px/1.3 var(--ui); color: var(--muted); }
.xpo-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 32px; }
.xpo-cat { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border: 1px solid #D5DDDA; border-radius: 14px; background: var(--white); font: 600 15px/1.3 var(--ui); text-align: left; cursor: pointer; }
.xpo-cat span { width: 22px; font: 400 22px/1 var(--display); color: var(--terra); }
.xpo-cat[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.xpo-cat[aria-pressed="true"] span { color: var(--coral); }
.xpo-doors { display: flex; flex-direction: column; gap: 12px; }
.xpo-door { width: 100%; min-height: 56px; padding: 16px 20px; border: 1px solid #D5DDDA; border-radius: 14px; background: var(--white); font: italic 400 19px/1.35 var(--display); text-align: left; cursor: pointer; }
.xpo-door[aria-pressed="true"] { border-color: var(--terra); background: var(--peach); box-shadow: inset 0 0 0 1px var(--terra); }

/* ---------- Extrait, actes, niveaux de preuve ---------- */
.xpo-figure { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 50px -30px rgba(28, 36, 39, .35); }
.xpo-figure figcaption { margin-top: 14px; font: 400 13px/1.4 var(--ui); color: var(--muted); }
.xpo-acts li { display: flex; gap: 18px; padding: 12px 0; border-top: 1px solid #E2DDD3; font-size: 16px; line-height: 1.45; }
.xpo-acts li:last-child { border-bottom: 1px solid #E2DDD3; }
.xpo-acts span { width: 44px; flex: none; font: 700 20px/1.2 var(--display); color: var(--teal); }
.xpo-acts strong { font-weight: 600; }
.xpo-evidence { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 12px; }
.xpo-evidence h3 { font: 600 24px/1.2 var(--display); }
.xpo-evidence dl { display: grid; grid-template-columns: 64px 1fr; gap: 8px 12px; font: 400 14px/1.45 var(--ui); color: var(--text); }
.xpo-evidence dt { color: var(--terra); letter-spacing: 2px; }
.xpo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.xpo-stats div { padding: 20px; border: 1px solid #E3E8E6; border-radius: 14px; }
.xpo-stats b { display: block; font: 400 40px/1 var(--display); color: var(--teal); }
.xpo-stats span { font: 400 14px/1.3 var(--ui); color: var(--muted); }
@media (max-width: 520px) { .xpo-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Habitudes (EN) ---------- */
.xpo-habits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.xpo-habit { padding: 26px; background: var(--white); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.xpo-habit svg { width: 30px; height: 30px; color: var(--terra); }
.xpo-habit h3 { font: 600 21px/1.2 var(--display); }
.xpo-habit p { font: 400 15px/1.55 var(--ui); color: var(--text); }

/* ---------- Auteur : galerie ---------- */
.xpo-gallery { display: grid; gap: 14px; }
.xpo-gallery figcaption { margin-top: 8px; font: 400 13px/1.4 var(--ui); color: var(--muted); }
.xpo-gallery img { width: 100%; object-fit: cover; border-radius: var(--r); }
.xpo-gallery--fr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xpo-gallery--fr .xpo-gallery__main { grid-column: 1 / -1; }
.xpo-gallery--fr .xpo-gallery__main img { aspect-ratio: 4 / 3; }
.xpo-gallery--fr figure:not(.xpo-gallery__main) img { aspect-ratio: 1 / 1; }
.xpo-gallery--en { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.xpo-gallery--en .xpo-gallery__main { grid-row: 1 / span 2; }
.xpo-gallery--en .xpo-gallery__main img { aspect-ratio: 1 / 1; border-radius: 18px; }
.xpo-gallery--en figure:not(.xpo-gallery__main) img { aspect-ratio: 3 / 4; border-radius: 14px; }
.xpo-gallery--en figure:not(.xpo-gallery__main) figcaption { font-size: 12px; }

/* ---------- Offres (FR, fond encre) ---------- */
.xpo-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.xpo-offer { padding: 32px; background: #263236; border: 1px solid #3A474B; border-radius: 10px; display: flex; flex-direction: column; gap: 16px; font-family: var(--ui); }
.xpo-offer ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: #E8EDEB; }
.xpo-offer .xpo-btn { margin-top: auto; }
.xpo-offer__kicker { font-size: 13px; font-weight: 600; color: #C9D6D2; }
.xpo-offer__title { font: 600 30px/1.1 var(--display); }
.xpo-offer__price { font-size: 34px; font-weight: 600; }
.xpo-offer__price small { font-size: 15px; font-weight: 500; }
.xpo-offer--featured { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.xpo-offer--featured ul { color: var(--text); }
.xpo-offer--featured .xpo-offer__price small { color: var(--muted); }

/* Grille des frais de port */
.xpo-shiptable { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; padding: 24px 28px; border: 1px solid #3A474B; border-radius: 10px; font: 400 14px/1.55 var(--ui); color: #C9D6D2; }
.xpo-shiptable > div { display: flex; flex-direction: column; gap: 4px; }
.xpo-shiptable strong { color: var(--white); font-weight: 600; }
.xpo-shiptable a { color: var(--coral); font-weight: 600; }
.xpo-shiptable--light { border: 0; border-radius: 18px; background: var(--sage); color: var(--text); }
.xpo-shiptable--light strong { color: var(--ink); }
.xpo-shiptable--light a { color: var(--terra); }

/* Bloc d'achat (EN) */
.xpo-buy { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.xpo-buy__main { flex: 2 1 520px; min-width: 0; padding: 36px; border-radius: 22px; background: var(--ink); color: var(--white); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.xpo-buy__main picture { width: 150px; flex: none; }
.xpo-buy__main img { border-radius: 2px 4px 4px 2px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); }
.xpo-buy__main > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.xpo-buy__main .xpo-small { color: #C9D6D2; }
.xpo-buy__main .xpo-eyebrow--warm { color: var(--coral); }
.xpo-buy__title { font: 500 32px/1.1 var(--display); }
.xpo-buy__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.xpo-buy__price { font: 400 40px/1 var(--display); }
.xpo-buy__price small { font: 400 14px/1 var(--ui); color: var(--muted); }
.xpo-buy__side { flex: 1 1 280px; min-width: 0; padding: 32px; border-radius: 22px; border: 1px solid var(--peach-line); background: var(--peach); display: flex; flex-direction: column; gap: 12px; }
.xpo-buy__side h3 { font: 500 26px/1.15 var(--display); }
.xpo-buy__side p { font: 400 15px/1.5 var(--ui); color: var(--muted); }
.xpo-buy__side .xpo-buy__price { font-size: 34px; }
.xpo-buy__side .xpo-btn { margin-top: auto; }

/* ---------- Module de commande ---------- */
.xpo-order { margin-top: 32px; font-family: var(--ui); color: var(--ink); scroll-margin-top: 24px; }
.xpo-order:focus { outline: none; }
.xpo-order__grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.xpo-order__steps { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.xpo-order__box, .xpo-order__sum { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 14px; }
.xpo-order__box h3 { font: 600 13px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.xpo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 0; border-top: 1px solid #ECE7DE; }
.xpo-row img { width: 46px; border-radius: 1px 3px 3px 1px; box-shadow: 0 6px 14px -6px rgba(28, 36, 39, .5); }
.xpo-row__txt { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.xpo-row__txt strong { font-size: 16px; }
.xpo-row__txt small { font-size: 13px; color: var(--muted); }
.xpo-row__price { font-weight: 600; min-width: 72px; text-align: right; }
.xpo-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.xpo-stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 999px; }
.xpo-stepper button:disabled { opacity: .3; cursor: not-allowed; }
.xpo-stepper output { min-width: 28px; text-align: center; font-weight: 600; }
.xpo-order__note { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.xpo-order__note a { font-weight: 600; }
.xpo-order__full { padding: 10px 12px; border-radius: 8px; background: var(--peach); font-size: 13px; color: var(--terra); }
.xpo-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.xpo-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 68px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper-2); text-align: left; cursor: pointer; }
.xpo-opt small { font-size: 13px; color: var(--muted); }
.xpo-opt:hover { border-color: var(--ink); }
.xpo-opt[aria-pressed="true"] { background: var(--white); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.xpo-opt--radio { flex-direction: row; align-items: center; gap: 12px; }
.xpo-opt--radio > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.xpo-order__sum { flex: 1 1 340px; min-width: 0; position: sticky; top: 24px; box-shadow: 0 24px 50px -36px rgba(28, 36, 39, .45); }
.xpo-order__sum h3 { font: 600 26px/1.1 var(--display); }
.xpo-sum__line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.xpo-sum__total { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #ECE7DE; font-size: 20px; font-weight: 600; }
.xpo-consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 10px; background: var(--peach); border: 1px solid var(--peach-line); font-size: 13px; line-height: 1.5; cursor: pointer; }
.xpo-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.xpo .xpo-pay { width: 100%; }
.xpo-sum__hint { font-size: 13px; color: var(--terra); text-align: center; }
.xpo-sum__err { padding: 10px 12px; border-radius: 8px; background: #FBE9E5; color: #7A2412; font-size: 14px; }
.xpo-sum__small { font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.xpo-section--ink .xpo-order { color: var(--ink); }

/* ---------- FAQ ---------- */
.xpo-faq .xpo-h2 { margin-bottom: 24px; }
.xpo-faq details { border-top: 1px solid #E2DDD3; padding: 20px 0; }
.xpo-faq details:last-of-type { border-bottom: 1px solid #E2DDD3; }
.xpo-faq summary { cursor: pointer; font: 600 17px/1.4 var(--ui); min-height: 28px; }
.xpo-faq details p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--text); }

/* ---------- Coda ---------- */
.xpo-coda { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.xpo-coda__art { flex: 1 1 360px; max-width: 540px; mix-blend-mode: multiply; }
.xpo-coda__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.xpo-coda__line { font: 600 clamp(34px, 4vw, 54px)/1.06 var(--display); }

/* ---------- Pied de page ---------- */
.xpo-foot { border-top: 1px solid var(--line); background: var(--paper); margin-top: auto; }
.xpo-foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 26px; font: 400 12px/1.6 var(--ui); color: var(--muted); }
.xpo-foot__inner > p:first-child { max-width: 760px; }
.xpo-foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.xpo-foot__cookiebtn {
	border: 0;
	padding: 0;
	background: none;
	color: var(--teal);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	font: inherit;
}

/* ---------- Barre collante (mobile uniquement) ---------- */
.xpo-sticky { position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid #ECE7DE; box-shadow: 0 -12px 28px -16px rgba(28, 36, 39, .35); font-family: var(--ui); }
.xpo-sticky picture { width: 38px; flex: none; }
.xpo-sticky__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.xpo-sticky__txt small { color: var(--muted); font-size: 13px; }
.xpo-sticky .xpo-btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
@media (min-width: 900px) { .xpo-sticky { display: none !important; } }

/* ---------- Pages formulaires & prose légale ---------- */
.xpo-formpage { padding-block: clamp(40px, 6vw, 72px); }
.xpo-formpage:has(.xpo-bar) { padding-block: 0; }
.xpo-formpage > .xpo-wrap { display: flex; flex-direction: column; gap: 18px; }
.xpo-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; font-family: var(--ui); }
.xpo-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.xpo-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.xpo-form input:not([type="checkbox"]), .xpo-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); font: 400 16px/1.4 var(--ui); color: var(--ink); }
.xpo-form [aria-invalid="true"] { border-color: #B3261E !important; }
.xpo-form__checks { border: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.xpo-form__checks legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.xpo-form__checks label, .xpo-form__consent { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 400 !important; }
.xpo-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.xpo-form__status { min-height: 1.5em; font-size: 15px; color: var(--teal); }
.xpo-form__step2 { padding: 16px; border-radius: 10px; background: var(--peach); border: 1px solid var(--peach-line); display: flex; flex-direction: column; gap: 12px; }
.xpo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.xpo-prose { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.65; color: var(--text); }
.xpo-prose h2 { margin-top: 20px; font: 600 28px/1.18 var(--display); color: var(--ink); }
.xpo-prose h3 { margin-top: 14px; font: 600 21px/1.25 var(--display); color: var(--ink); }
.xpo-prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.xpo-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 16px; }

@media (prefers-reduced-motion: reduce) { .xpo * { transition: none !important; scroll-behavior: auto !important; } }
