/* ==========================================================================
   Invassist — page Comment ça marche
   Réutilise base.css (variables, grille, .section, .seg, .eyebrow, .h2, flèches,
   révélations [data-rv]) et demande.css (section rouge « À vous »).
   ========================================================================== */

/* En-tête de section partagé par plusieurs blocs de la page ------------------ */
.how-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: clamp(40px, 7vh, 72px); }
.how-head__title {
	flex: 1 1 520px; min-width: 0; max-width: 13em; margin: 0;
	font-size: clamp(34px, 4.4vw, 66px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance;
}
.how-head__title--14 { max-width: 14em; }
.how-head__lead { flex: 0 1 420px; min-width: 0; margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-body); text-wrap: pretty; }
.how-head__lead--400 { flex-basis: 400px; }
.how-head__lead--dark { color: var(--dark-body); }
.uni-veil { position: absolute; inset: 0; background: rgba(38, 34, 30, .06); pointer-events: none; }

/* ---------------------------------------------------------------------------
   01 Hero
   --------------------------------------------------------------------------- */
.how-hero { position: relative; background: var(--bg-dark); color: var(--text-light); overflow: hidden; }
.how-hero__inner {
	position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
	min-height: max(720px, 100vh); display: flex; flex-direction: column; justify-content: center;
}
.how-hero__line { position: absolute; top: 0; bottom: 0; left: var(--line-x); width: 2px; background: var(--accent-red); transform-origin: 50% 0; }
.how-hero__copy { padding: calc(clamp(112px, 16vh, 150px) + var(--admin-offset)) 0 clamp(48px, 8vh, 80px) var(--indent); }
.how-hero__eyebrow {
	display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(22px, 3.6vh, 36px);
	font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-soft);
}
.how-hero__eyebrow-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-red-on-dark); box-shadow: 0 0 0 4px rgba(239, 74, 78, .18); }
.how-hero__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.how-hero__title { flex: 1 1 560px; min-width: 0; margin: 0; font-weight: 600; font-size: clamp(44px, 5.6vw, 88px); line-height: .98; letter-spacing: -.045em; color: var(--white); }
.how-hero__title-row { display: block; overflow: hidden; padding-bottom: .04em; }
.how-hero__title-row--last { padding-bottom: .1em; }
.how-hero__title-row > span { display: block; }
.how-hero__title-u { position: relative; white-space: nowrap; }
.how-hero__title-rule { position: absolute; left: .02em; right: .28em; bottom: .02em; height: .06em; background: var(--accent-red); transform-origin: 0 50%; }
.how-hero__lead { flex: 0 1 380px; min-width: 0; margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.58; color: var(--dark-body); text-wrap: pretty; }

/* Démonstration : Demande → Prise en charge → Recherche → Solution */
.hdemo { position: relative; margin-top: clamp(52px, 9vh, 96px); }
.hdemo__labels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hdemo__label {
	margin: 0; padding: 0 12px 16px 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;
	font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted);
	transition: color .5s ease;
}
.hdemo__label span { color: var(--dark-muted); transition: color .5s ease; }
.hdemo__label.is-past { color: var(--dark-body); }
.hdemo__label.is-cur { color: var(--text-light); }
.hdemo__label.is-past span, .hdemo__label.is-cur span { color: var(--accent-red-on-dark); }
.hdemo__track { position: relative; height: 2px; background: #2A2826; }
.hdemo__lead-in { position: absolute; top: 0; right: 100%; width: calc(clamp(16px, 2vw, 32px) + 2px); height: 2px; background: var(--accent-red); }
.hdemo__fill { position: absolute; inset: 0; background: var(--accent-red); transform-origin: 0 50%; transform: scaleX(.125); transition: transform .9s var(--ease-io); }
.hdemo__node { position: absolute; top: -5px; width: 12px; height: 12px; border: 2px solid var(--accent-red); background: var(--bg-dark); transition: background-color .5s ease .3s; }
.hdemo__node.is-on { background: var(--accent-red); }
.hdemo__stage { position: relative; margin-top: 22px; }
.hdemo__slide { width: 25%; transition: transform .9s var(--ease-io); }
.hdemo[data-st="1"] .hdemo__slide { transform: translateX(100%); }
.hdemo[data-st="2"] .hdemo__slide { transform: translateX(200%); }
.hdemo[data-st="3"] .hdemo__slide { transform: translateX(300%); }
.hdemo__card {
	margin-right: 16px; padding: 18px 20px 20px; border-radius: 14px; border: 1px solid #3A3734;
	background-color: rgba(24, 23, 22, .96); color: var(--text-light); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
	transition: background-color .6s ease, border-color .6s ease, color .6s ease;
}
.hdemo[data-st="1"] .hdemo__card, .hdemo[data-st="2"] .hdemo__card { border-color: var(--accent-red-on-dark); }
.hdemo[data-st="3"] .hdemo__card { border-color: var(--text-light); background-color: var(--text-light); color: var(--text-dark); }
.hdemo__meta {
	display: flex; justify-content: space-between; gap: 10px; margin: 0 0 10px;
	font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--dark-muted); transition: color .5s;
}
.hdemo[data-st="1"] .hdemo__meta, .hdemo[data-st="2"] .hdemo__meta { color: var(--accent-red-on-dark); }
.hdemo[data-st="3"] .hdemo__meta { color: var(--accent-red); }
.hdemo__time { opacity: .8; }
.hdemo__layers { display: grid; }
.hdemo__layer { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .45s ease; }
.hdemo__layer--3 { transition-delay: .15s; }
.hdemo[data-st="0"] .hdemo__layer--0, .hdemo[data-st="1"] .hdemo__layer--1,
.hdemo[data-st="2"] .hdemo__layer--2, .hdemo[data-st="3"] .hdemo__layer--3 { opacity: 1; }
.hdemo__q { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; }
.hdemo__who { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.hdemo__avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; background: repeating-linear-gradient(135deg, #2A2826 0 4px, #36322F 4px 8px); border: 1px solid var(--accent-red-on-dark); }
.hdemo__quote { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--dark-soft); }
.hdemo__layer--2 { list-style: none; padding: 0; }
.hdemo__layer--2 li {
	display: flex; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 15px; line-height: 1.4;
	opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .55s var(--ease-out);
}
.hdemo[data-st="2"] .hdemo__layer--2 li { opacity: 1; transform: none; transition-delay: var(--d, 0ms); }
.hdemo__layer--2 li > span:first-child { flex: none; width: 10px; height: 2px; background: var(--accent-red-on-dark); transform: translateY(-4px); }
.hdemo__sol { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.hdemo__ok { margin: 10px 0 0; font-size: 14px; color: var(--text-muted); }
.hdemo__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 28px; }
.hdemo__tabs-label { margin-right: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dark-muted); }
.hdemo__tab {
	min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #3A3734; background-color: rgba(0, 0, 0, 0);
	color: var(--text-light); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s;
}
.hdemo__tab:hover { border-color: var(--text-light); }
.hdemo__tab:focus-visible { outline: 2px solid var(--accent-red-on-dark); outline-offset: 2px; }
.hdemo__tab[aria-pressed="true"] { background-color: var(--text-light); border-color: var(--text-light); color: var(--bg-dark); }

@media (max-width: 1099px) {
	.how-hero__inner { min-height: 0; }
	.hdemo__label { font-size: 10px; }
	.hdemo__slide { width: 100%; transform: none !important; }
	.hdemo__card { margin-right: 0; }
}
@media (max-width: 480px) {
	.how-hero__title { font-size: clamp(34px, 10.4vw, 44px); }
}

/* ---------------------------------------------------------------------------
   01 Le parcours d'une demande
   --------------------------------------------------------------------------- */
.how-parcours__inner { padding-top: clamp(96px, 16vh, 180px); padding-bottom: clamp(80px, 12vh, 140px); }
.step {
	position: relative; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 88px); align-items: flex-start;
	padding: clamp(48px, 8vh, 96px) 0; border-top: 1px solid var(--line);
}
.step--last { padding-bottom: 0; }
.step__node {
	position: absolute; top: calc(clamp(48px, 8vh, 96px) + 4px); left: calc((clamp(16px, 2vw, 32px) + 2px) * -1 - 5px);
	width: 12px; height: 12px; border: 2px solid var(--accent-red); background: var(--bg-light); transition: background-color .5s ease;
}
.step.is-on .step__node { background: var(--accent-red); }
.step__text { flex: 1 1 320px; max-width: 460px; min-width: 0; }
.step__kicker { margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-red); }
.step__title { margin: 14px 0 0; font-size: clamp(28px, 3vw, 46px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.step__body { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: var(--text-body); text-wrap: pretty; }
.step__try { margin: 18px 0 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.step__try span { width: 16px; height: 2px; background: var(--accent-red); }
.step__visual { flex: 1.3 1 420px; min-width: 0; }
.step__note { margin: 16px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-muted); }

/* Étape 01 — le message */
.composer { background: var(--surface); border: 1px solid var(--card-border); box-shadow: 0 40px 80px -60px rgba(23, 23, 22, .4); }
.composer__bar {
	display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line);
	font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.composer__body { padding: clamp(22px, 3vw, 36px) 20px; min-height: clamp(150px, 16vw, 190px); }
.composer__text { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; color: var(--text-dark); }
.composer__caret { display: inline-block; width: 2px; height: .9em; margin-left: 3px; background: var(--accent-red); vertical-align: -.1em; }
.composer__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.composer__chans { display: flex; flex-wrap: wrap; gap: 8px; }
.composer__chans span {
	padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
	font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted);
}
.composer__send { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.composer__send span { width: 22px; height: 2px; background: var(--accent-red); }

/* Étape 02 — la prise en charge */
.s2 { display: flex; flex-direction: column; }
.s2__part { transition: opacity .5s ease, transform .6s var(--ease-out); }
.js .s2__part:not(.is-on) { opacity: 0; transform: translateY(12px); }
.s2__me { align-self: flex-start; max-width: min(460px, 94%); }
.s2__who { margin: 0 0 6px 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.s2__who--them { margin: 6px 4px 0 0; text-align: right; }
.s2__bubble {
	margin: 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--card-border); border-radius: 18px 18px 18px 4px;
	font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25;
}
.s2__bubble--them { background: var(--recess); border: 0; border-radius: 18px 18px 4px 18px; font-family: var(--font-sans); font-style: normal; font-size: 16px; line-height: 1.5; }
.s2__link { position: relative; height: 48px; margin-left: 30px; }
.s2__link span { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent-red); transform-origin: 50% 0; transition: transform .7s var(--ease-io); }
.js .s2__link span:not(.is-on) { opacity: 1; transform: scaleY(0); }
.s2__agent {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 560px; padding: 16px 20px;
	background: var(--bg-dark); color: var(--text-light); border-top: 2px solid var(--accent-red);
}
.s2__avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: repeating-linear-gradient(135deg, #2A2826 0 4px, #36322F 4px 8px); }
.s2__avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.s2__agent-id { flex: 1 1 160px; min-width: 0; }
.s2__agent-id p { margin: 0; font-size: 18px; font-weight: 600; }
.s2__agent-id p + p { margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--dark-soft); }
.s2__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--accent-red-on-dark); }
.s2__status span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-red-on-dark); }
.s2__reply { align-self: flex-end; max-width: min(440px, 94%); margin-top: 18px; }

/* Étape 03 — la recherche */
.s3__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.s3__card {
	padding: 14px 16px 16px; background-color: var(--surface); border: 1px solid var(--card-border);
	transition: opacity .6s ease var(--d), background-color .6s ease var(--d), border-color .6s ease var(--d);
}
.s3__meta {
	display: flex; justify-content: space-between; gap: 8px; margin: 0;
	font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.s3__name { margin: 8px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.s3__name span {
	background-image: linear-gradient(var(--accent-red), var(--accent-red)); background-repeat: no-repeat; background-position: 0 58%; background-size: 0% 2px;
	transition: background-size .6s var(--ease-io) var(--d);
}
.s3__d { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.s3:not([data-s3="0"]) .s3__card--drop { background-color: rgba(0, 0, 0, 0); opacity: .62; }
.s3:not([data-s3="0"]) .s3__card--drop .s3__name span { background-size: 100% 2px; }
.s3:not([data-s3="0"]) .s3__card--drop .s3__d { color: var(--accent-red); }
.s3[data-s3="2"] .s3__card--keep { border-color: var(--accent-red); }
.s3[data-s3="2"] .s3__card--keep .s3__tag { color: var(--accent-red); }
.s3__sum { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-muted); }
.s3__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #9A958F; }
.s3[data-s3="2"] .s3__dot { background: var(--accent-red); }

/* Étape 04 — le choix */
.s4 { background: var(--surface); border: 1px solid var(--card-border); box-shadow: 0 40px 80px -60px rgba(23, 23, 22, .4); }
.s4__bar {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0; padding: 14px 20px; background: var(--bg-dark); color: #CFC9C3;
	font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.s4__bar span:last-child { color: var(--accent-red-on-dark); }
.s4__opt {
	display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; width: 100%; min-height: 64px; padding: 16px 20px;
	border: 0; border-bottom: 1px solid var(--line); background-color: rgba(0, 0, 0, 0); color: var(--text-dark);
	text-align: left; cursor: pointer; transition: background-color .3s;
}
.s4__opt:hover, .s4__opt[aria-checked="true"] { background-color: var(--recess); }
.s4__opt:focus-visible { outline: 2px solid var(--accent-red); outline-offset: -2px; }
.s4__ring { margin-top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #A9A49D; display: flex; align-items: center; justify-content: center; transition: border-color .3s; }
.s4__ring span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-red); transform: scale(0); transition: transform .35s var(--ease-out); }
.s4__opt[aria-checked="true"] .s4__ring { border-color: var(--accent-red); }
.s4__opt[aria-checked="true"] .s4__ring span { transform: scale(1); }
.s4__opt strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.s4__opt strong + span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--text-muted); }
.s4__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; }
.s4__hint { margin: 0; flex: 1 1 240px; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.s4.has-choice .s4__hint { color: var(--text-dark); }
.s4__arrow { display: none; font-family: var(--font-mono); font-size: 12px; color: var(--accent-red); }
.s4.is-confirmed .s4__arrow { display: inline; }
.s4__btn {
	--bh: 0; flex: none; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px; border: 0; border-radius: 999px;
	background: var(--bg-dark); color: var(--text-light); font-size: 15px; font-weight: 600; cursor: pointer;
	transition: opacity .3s, transform .3s var(--ease-out);
}
.s4__btn:hover { --bh: 1; }
.s4__btn:active { transform: scale(.97); }
.s4__btn:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 3px; }
.s4__btn:disabled { opacity: .4; cursor: default; }
.s4__btn:disabled:active { transform: none; }
.s4__btn > span:last-child { width: 20px; height: 2px; background: var(--accent-red-on-dark); transform-origin: 0 50%; transform: scaleX(calc(.6 + var(--bh) * .4)); transition: transform .4s var(--ease-out); }

/* Étape 05 — le suivi */
.s5__track { position: relative; padding-left: 32px; }
.s5__line { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: rgba(23, 23, 22, .12); overflow: hidden; }
.s5__line span { position: absolute; inset: 0; background: var(--accent-red); transform-origin: 50% 0; transform: scaleY(1); transition: transform .8s var(--ease-io); }
.js .s5__line span { transform: scaleY(0); }
.s5__track ol { list-style: none; margin: 0; padding: 0; }
.s5__item { position: relative; padding: 0 0 24px; transition: opacity .5s ease, transform .6s var(--ease-out); }
.s5__item > span { position: absolute; left: -32px; top: 5px; width: 12px; height: 12px; border: 2px solid var(--accent-red); background: var(--bg-light); }
.s5__t { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-muted); }
.s5__x { margin: 4px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; color: var(--text-dark); }
.s5__end {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 20px; background: var(--bg-dark); color: var(--text-light);
	transition: opacity .5s ease, transform .6s var(--ease-out);
}
.s5__end span:first-child { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--accent-red-on-dark); }
.s5__end span:last-child { font-size: 16px; }
.js .s5__item:not(.is-on), .js .s5__end:not(.is-on) { opacity: 0; transform: translateY(10px); }

/* ---------------------------------------------------------------------------
   02 Une même méthode — scénarios
   --------------------------------------------------------------------------- */
.how-scen__inner { padding-top: clamp(96px, 16vh, 180px); padding-bottom: clamp(96px, 15vh, 170px); }
.scen { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); align-items: flex-start; }
.scen__tabs { flex: 1 1 280px; max-width: 420px; min-width: 0; border-top: 1px solid #2A2826; }
.scen__tab {
	--rh: 0; position: relative; display: flex; align-items: flex-start; gap: 16px; width: 100%; min-height: 72px; padding: 18px 0;
	border: 0; border-bottom: 1px solid #2A2826; background: transparent; text-align: left; cursor: pointer; color: var(--dark-muted); transition: color .35s;
}
.scen__tab:hover { --rh: 1; color: var(--text-light); }
.scen__tab.is-selected { color: var(--text-light); }
.scen__tab:focus-visible { outline: 2px solid var(--accent-red-on-dark); outline-offset: 2px; }
.scen__tick {
	position: absolute; top: 30px; left: calc(clamp(16px, 2vw, 32px) * -1); width: calc(clamp(16px, 2vw, 32px) - 4px); height: 2px;
	background: var(--accent-red); transform-origin: 0 50%; transform: scaleX(0); transition: transform .55s var(--ease-out);
}
.scen__tab.is-selected .scen__tick { transform: scaleX(1); }
.scen__num { padding-top: 5px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--dark-muted); }
.scen__tab.is-selected .scen__num { color: var(--accent-red-on-dark); }
.scen__label { min-width: 0; transform: translateX(calc(var(--rh) * 6px)); transition: transform .45s var(--ease-out); }
.scen__cat { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted); }
.scen__q { display: block; margin-top: 4px; font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.scen__panel { flex: 1.8 1 500px; min-width: 0; }
.scen__photo { position: relative; aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, #1A1918 0 12px, #211F1E 12px 24px); overflow: hidden; }
.scen__img { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.scen__img.is-shown { opacity: 1; visibility: visible; transition-delay: 0s; }
.scen__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.scen__query-wrap { position: absolute; left: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); width: min(420px, calc(100% - 28px)); pointer-events: none; }
.scen__query { padding: 16px 18px; background: rgba(14, 13, 13, .94); border: 1px solid #34312E; }
.scen__query-label { margin: 0 0 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--accent-red-on-dark); }
.scen__query-q { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; color: var(--text-light); }
.scen__steps { position: relative; margin-top: clamp(28px, 4vh, 40px); }
.scen__track { position: absolute; background: #2A2826; overflow: hidden; }
.scen__track span { position: absolute; inset: 0; background: var(--accent-red); }
.scen__track--h { left: 0; right: 0; top: 5px; height: 2px; }
.scen__track--h span { transform-origin: 0 50%; }
.scen__track--v { display: none; left: 5px; top: 6px; bottom: 0; width: 2px; }
.scen__track--v span { transform-origin: 50% 0; }
.scen__steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.scen__step { position: relative; min-width: 0; padding: 32px 0 0; }
.scen__node { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border: 2px solid var(--accent-red); background: var(--accent-red); }
.scen__step-label { margin: 0; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-red-on-dark); }
.scen__step-t { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #CFC9C3; }
/* Lecture animée (pilotée par comment-ca-marche.js) : .is-on rejoue la séquence. */
.js .scen .scen__query { opacity: 0; transform: translateY(10px); }
.js .scen .scen__track--h span { transform: scaleX(0); }
.js .scen .scen__track--v span { transform: scaleY(0); }
.js .scen .scen__node { background: var(--bg-dark); }
.js .scen .scen__step-t { opacity: 0; transform: translateY(10px); }
.js .scen.is-on .scen__query { opacity: 1; transform: none; transition: opacity .5s ease .2s, transform .6s var(--ease-out) .2s; }
.js .scen.is-on .scen__track--h span { transform: scaleX(1); transition: transform 1.6s var(--ease-io) .1s; }
.js .scen.is-on .scen__track--v span { transform: scaleY(1); transition: transform 1.6s var(--ease-io) .1s; }
.js .scen.is-on .scen__node { background: var(--accent-red); transition: background-color .4s ease var(--d); }
.js .scen.is-on .scen__step-t { opacity: 1; transform: none; transition: opacity .5s ease var(--d), transform .6s var(--ease-out) var(--d); }

@media (max-width: 1099px) {
	.scen__photo { aspect-ratio: 4 / 3; }
	.scen__track--h { display: none; }
	.scen__track--v { display: block; }
	.scen__steps ol { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.scen__step { padding: 0 0 0 34px; }
}

/* ---------------------------------------------------------------------------
   03 La personne derrière la demande
   --------------------------------------------------------------------------- */
.how-inter__inner { padding-top: clamp(96px, 16vh, 180px); padding-bottom: clamp(96px, 16vh, 180px); }
.how-inter__grid { display: flex; flex-wrap: wrap; gap: clamp(48px, 7vw, 112px); align-items: flex-start; }
.how-inter__figure { flex: 1 1 340px; max-width: 540px; min-width: 0; margin: 0; position: relative; }
.how-inter__photo { position: relative; aspect-ratio: 4 / 5; background: repeating-linear-gradient(135deg, #DDDAD4 0 12px, #D7D3CC 12px 24px); overflow: hidden; }
.how-inter__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.how-inter__caption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-muted); }
.how-inter__caption span { flex: none; width: 16px; height: 2px; background: var(--accent-red); }
.how-inter__text { flex: 1.1 1 400px; min-width: 0; max-width: 620px; }
.how-inter__lead { margin: 28px 0 0; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.how-inter__compare { display: flex; flex-wrap: wrap; gap: 32px 48px; margin-top: clamp(40px, 6vh, 64px); }
.how-inter__col { flex: 1 1 220px; min-width: 0; }
.how-inter__label { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.how-inter__label--red { color: var(--accent-red); }
.how-inter__who { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.how-inter__who li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text-soft); transition: color .5s ease; }
.how-inter__who li span {
	background-image: linear-gradient(var(--accent-red), var(--accent-red)); background-repeat: no-repeat; background-position: 0 58%; background-size: 100% 2px;
	transition: background-size .6s var(--ease-io);
}
.js .how-inter__who li:not(.is-done) { color: var(--text-dark); }
.js .how-inter__who li:not(.is-done) span { background-size: 0% 2px; }
.how-inter__one { padding: 22px 22px 24px; background: var(--bg-dark); color: var(--text-light); border-top: 2px solid var(--accent-red); }
.how-inter__one p { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.how-inter__one p + p { margin-top: 10px; font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.55; color: var(--dark-body); }

/* ---------------------------------------------------------------------------
   04 Ce que nous pouvons faire
   --------------------------------------------------------------------------- */
.how-verbs__inner { padding-top: clamp(96px, 15vh, 170px); padding-bottom: clamp(96px, 15vh, 170px); }
.how-verbs__intro { margin: 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -.015em; color: var(--text-body); }
.how-verbs__list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 clamp(12px, 1.4vw, 24px); margin-top: clamp(14px, 2vh, 24px); }
.verb {
	position: relative; padding: 2px 0 12px; border: 0; background: none; cursor: pointer;
	font-size: clamp(38px, 6.2vw, 100px); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: #8A857F; transition: color .4s ease;
}
.verb.is-selected { color: var(--text-dark); }
.verb:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 4px; }
.verb__sep { color: #9A958F; }
.verb__u { position: absolute; left: .02em; right: .35em; bottom: 4px; height: .06em; background: var(--accent-red); transform-origin: 0 50%; transform: scaleX(0); transition: transform .55s var(--ease-out); }
.verb--last .verb__u { right: .3em; }
.verb.is-selected .verb__u { transform: scaleX(1); }
.how-verbs__panel {
	display: flex; flex-wrap: wrap; gap: 24px 64px; margin-top: clamp(32px, 5vh, 56px); padding-top: 28px; border-top: 1px solid var(--line); min-height: 190px;
	transition: opacity .3s ease, transform .45s var(--ease-out);
}
.how-verbs__panel.is-fading { opacity: 0; transform: translateY(8px); }
.how-verbs__d { flex: 1.4 1 420px; min-width: 0; margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; color: var(--text-dark); text-wrap: pretty; }
.how-verbs__ex { flex: 1 1 280px; min-width: 0; }
.how-verbs__label { margin: 0 0 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.how-verbs__ex ul { list-style: none; margin: 0; padding: 0; }
.how-verbs__ex li { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 17px; line-height: 1.45; color: var(--text-body); }
.how-verbs__ex li > span:first-child { flex: none; width: 10px; height: 2px; background: var(--accent-red); transform: translateY(-4px); }
.how-verbs__more { --bh: 0; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 28px; font-size: 16px; font-weight: 600; color: var(--text-dark); }
.how-verbs__more:hover { --bh: 1; color: var(--text-dark); }
.how-verbs__more:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 4px; }

/* ---------------------------------------------------------------------------
   05 Ce que ça change + disponibilité
   --------------------------------------------------------------------------- */
.how-ben__inner { padding-top: clamp(96px, 16vh, 180px); padding-bottom: clamp(96px, 15vh, 170px); }
.how-ben__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dark-line); }
.how-ben__list li {
	display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px clamp(24px, 4vw, 72px); align-items: baseline;
	padding: clamp(22px, 3.4vh, 36px) 0; border-bottom: 1px solid var(--dark-line);
}
.how-ben__before { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4; color: var(--dark-muted); transition: color .5s ease; }
.how-ben__before span {
	background-image: linear-gradient(var(--accent-red), var(--accent-red)); background-repeat: no-repeat; background-position: 0 58%; background-size: 100% 2px;
	transition: background-size .7s var(--ease-io);
}
.how-ben__after { min-width: 0; }
.how-ben__after strong { display: block; font-size: clamp(24px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--white); transition: color .5s ease .15s; }
.how-ben__after span { display: block; margin-top: 10px; max-width: 36em; font-size: 16px; line-height: 1.55; color: var(--dark-soft); text-wrap: pretty; }
.js .how-ben__list li:not(.is-done) .how-ben__before { color: #CFC9C3; }
.js .how-ben__list li:not(.is-done) .how-ben__before span { background-size: 0% 2px; }
.js .how-ben__list li:not(.is-done) .how-ben__after strong { color: #6E6964; }

.how-dispo {
	display: flex; flex-wrap: wrap; gap: 40px clamp(48px, 7vw, 112px); align-items: flex-end;
	margin-top: clamp(72px, 12vh, 140px); padding-top: clamp(32px, 5vh, 48px); border-top: 2px solid var(--text-light);
}
.how-dispo__main { flex: 1.3 1 420px; min-width: 0; }
.how-dispo__label { margin: 0 0 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted); }
.how-dispo__title { margin: 0; font-size: clamp(30px, 3.6vw, 54px); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; color: var(--white); }
.how-dispo__sub { margin: 12px 0 0; font-size: 17px; color: var(--dark-body); }
.how-dispo__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 28px; max-width: 520px; }
.how-dispo__day { padding-top: 10px; border-top: 2px solid #2A2826; }
.how-dispo__day p { margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: #6E6964; }
.how-dispo__day p + p { margin-top: 2px; font-size: 11px; font-weight: 400; }
.how-dispo__day.is-open { border-top-color: var(--accent-red-on-dark); }
.how-dispo__day.is-open p { color: var(--text-light); }
.how-dispo__day.is-open p + p { color: var(--dark-soft); }
.how-dispo__side { flex: 1 1 300px; min-width: 0; }
.how-dispo__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dark-line); }
.how-dispo__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-size: 16px; }
.how-dispo__list li > span { color: var(--dark-soft); }
.how-dispo__list a { font-weight: 600; color: var(--text-light); transition: color .3s; }
.how-dispo__list a:hover { color: var(--accent-red-on-dark); }
.how-dispo__list a:focus-visible { outline: 2px solid var(--accent-red-on-dark); outline-offset: 3px; }
.how-dispo__list strong { font-weight: 600; }
.how-dispo__note { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: var(--dark-soft); }

@media (max-width: 1099px) {
	.how-ben__list li { grid-template-columns: minmax(0, 1fr); }
}
