/* Famille services : marque, contenus, visibilité, e-commerce, outils.
   Chaque page a son préfixe (mq, ct, vs, ec, ou) et sa composition signature. */

main > section h1 { font: 800 clamp(2.4rem, 1.2rem + 4.6vw, 6rem)/0.98 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
main > section h2 { font: 800 var(--step-head)/1.02 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
main > section h3 { font: 800 var(--step-lead)/1.1 var(--font-display); letter-spacing: -0.02em; }
main h3 a { text-decoration: none; }
main ol { list-style: none; padding: 0; }
main > section > p, main > section p { max-width: 52ch; }
.mq-hero p, .ct-hero p, .vs-hero p, .ec-hero p, .ou-hero p { font-size: var(--step-lead); color: var(--muted); max-width: 40ch; }
.mq-hero, .ct-hero, .vs-hero, .ec-hero, .ou-hero { padding: clamp(40px, 7vw, 104px) var(--m) clamp(40px, 5vw, 80px); }
.mq-work, .ct-work, .vs-work, .ec-work, .ou-work, .vs-svc, .ct-plan, .ou-map, .ou-rail, .vs-stairs, .mq-time, .ec-path, .ec-cart { padding-block: clamp(56px, 8vw, 120px); }
.mq-time, .mq-work, .ct-work, .ct-plan, .vs-work, .vs-svc, .vs-stairs, .ou-map, .ou-rail, .ou-work, .ec-path, .ec-work, .mq-faq, .ct-faq, .vs-faq, .ec-faq, .ou-faq { padding-inline: var(--m); }
.mq-faq, .ct-faq, .vs-faq, .ec-faq, .ou-faq { padding-block: clamp(56px, 8vw, 120px); }
.mq-end, .ct-end, .vs-end, .ec-end, .ou-end { margin: 0 var(--m) var(--m); }
.mq-end h2, .vs-end h2, .ec-end h2, .ou-end h2, .ct-end h2 { max-width: 16ch; }

/* ───────── MARQUE : une planche de charte qu'on feuillette ───────── */
.mq-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; }
.mq-hero h1 { grid-column: 1 / 10; position: relative; z-index: 1; }
.mq-hero p { grid-column: 1 / 8; position: relative; z-index: 1; }
.mq-hero .btn { grid-column: 1 / -1; justify-self: start; position: relative; z-index: 1; }
.mq-hero__s { position: absolute; right: -4%; bottom: -14%; width: min(44vw, 560px); fill: none; stroke: var(--accent); stroke-width: 0.5; opacity: 0.55; pointer-events: none; }
.mq-board { padding: clamp(16px, 3vw, 40px) 0 clamp(56px, 8vw, 120px); }
.mq-board__bar { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 0 var(--m); margin-bottom: clamp(20px, 3vw, 40px); }
.mq-board__nav { display: flex; gap: 8px; }
.mq-board__nav[hidden] { display: none; }
.mq-board__nav button { width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 50%; background: none; display: grid; place-items: center; cursor: pointer; transition: background-color 150ms, color 150ms; }
.mq-board__nav button:hover { background: var(--ink); color: var(--bg); }
.mq-board__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); padding: 0 var(--m) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.mq-board__track::-webkit-scrollbar { display: none; }
.mq-page { flex: 0 0 min(88vw, 1040px); scroll-snap-align: start; background: var(--surface); border-radius: var(--r-lg); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: clamp(380px, 38vw, 520px); }
.mq-page__t { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.mq-page__t h3 { font-size: var(--step-head); line-height: 1; }
.mq-page__t p { font-size: var(--step-lead); max-width: 22ch; }
.mq-page__v { background: var(--bg); margin: 12px; border-radius: var(--r-md); padding: 12px; display: grid; gap: 12px; min-width: 0; }
.mq-lab { font: 700 var(--step-small)/1 var(--font); padding: 12px 14px; }
.mq-page__v--grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mq-t { display: grid; grid-template-rows: 1fr auto; border-radius: var(--r-sm); background: var(--surface); overflow: hidden; min-height: 120px; }
.mq-t--logo { grid-row: 1 / 3; background: var(--accent); color: #fff; }
.mq-t--logo svg { width: 38%; margin: auto; }
.mq-t--col { grid-template-columns: repeat(3, 1fr); }
.mq-t--col .mq-lab { grid-column: 1 / -1; }
.mq-t--type .mq-aa { display: grid; place-items: center; font: 800 clamp(3rem, 6vw, 5.5rem)/1 var(--font-display); }
.mq-page__v--voice { grid-template-rows: 1.4fr 1fr 1fr; }
.mq-page__v--voice > div { background: var(--surface); border-radius: var(--r-sm); padding: 6px; display: grid; align-content: space-between; gap: 8px; }
.mq-promise { font: 800 clamp(1.4rem, 2.6vw, 2.4rem)/1.05 var(--font-display); letter-spacing: -0.02em; padding: 0 14px 12px; }
.mq-bars { display: grid; gap: 8px; padding: 0 14px 12px; }
.mq-bars i { display: block; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.mq-bars i:nth-child(2) { width: 78%; }
.mq-bars i:nth-child(3) { width: 55%; }
.mq-page__v--apply { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
.mq-a { display: grid; grid-template-rows: minmax(0, 1fr) auto; border-radius: var(--r-sm); background: var(--surface); overflow: hidden; min-height: 120px; }
.mq-a img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mq-a--net { grid-row: 1 / 3; grid-column: 2; background: #DCF23C; }
.mq-a--net img { object-fit: contain; object-position: 50% 100%; padding: 12% 8% 0; }
.mq-a--net .mq-lab { background: var(--surface); }
.mq-a--doc { color: var(--accent); }
.mq-a--doc svg { width: 28px; margin: 14px 14px 0; }
.mq-a--doc .mq-bars { padding-top: 10px; }
.mq-a--doc .mq-lab { color: var(--ink); align-self: end; }
.mq-a--doc { grid-template-rows: auto 1fr auto; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .mq-page { animation: mq-turn linear both; animation-timeline: view(inline); animation-range: entry 0% entry 100%; }
    @keyframes mq-turn { from { opacity: 0.35; transform: scale(0.92); } to { opacity: 1; transform: none; } }
  }
}
.mq-time__hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; margin-bottom: clamp(24px, 4vw, 48px); }
.mq-time__hd h2 { grid-column: 1 / 7; }
.mq-time__hd p { grid-column: 8 / 13; align-self: end; }
.mq-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.mq-steps li { border-top: 3px solid var(--ink); padding-top: 16px; font-size: var(--step-small); }
.mq-steps b { display: block; font: 800 var(--step-lead)/1.1 var(--font-display); letter-spacing: -0.02em; margin-bottom: 6px; }
.mq-work h2 { margin-bottom: clamp(24px, 4vw, 48px); max-width: 18ch; }
.mq-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.mq-brand { position: relative; overflow: hidden; background: var(--c); color: var(--k); border-radius: var(--r-lg); aspect-ratio: 3 / 4; padding: clamp(16px, 2vw, 28px); }
.mq-brand h3 { font-size: var(--step-head); line-height: 1; }
.mq-brand h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.mq-brand p { margin-top: 8px; max-width: 22ch; }
.mq-brand img { position: absolute; left: 50%; bottom: -24%; width: 66%; height: auto; translate: -50% 0; transition: transform 400ms var(--ease-out); }
.mq-brand:hover img { transform: translateY(-4%); }
.mq-faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; margin-inline: var(--m); padding-inline: clamp(20px, 4vw, 56px); background: var(--pastel); border-radius: var(--r-lg); }
.mq-faq h2 { grid-column: 1 / 6; }
.mq-faq dl { grid-column: 7 / 13; display: grid; gap: 28px; }
.mq-faq dt { font: 800 var(--step-lead)/1.15 var(--font-display); letter-spacing: -0.02em; margin-bottom: 6px; }
.mq-faq dd { margin: 0; }
.mq-end { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; padding: clamp(64px, 9vw, 140px) 0; }
.mq-end h2 { font-size: var(--step-name); line-height: 0.95; max-width: 12ch; }

/* ───────── CONTENUS : le calendrier du mois, avec ses publications ───────── */
.ct-hero { display: grid; justify-items: center; text-align: center; gap: 24px; }
.ct-hero h1 { max-width: 16ch; }
.ct-hero figure { width: 100%; margin-top: clamp(24px, 4vw, 56px); }
.ct-hero img { width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); }
.ct-plan__hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); }
.ct-plan__hd h2 { grid-column: 1 / 7; }
.ct-plan__hd p { grid-column: 8 / 13; align-self: end; }
.ct-steps, .ct-row { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 12px var(--gap); }
.ct-steps li { grid-column: var(--c); font-size: var(--step-small); border-top: 3px solid var(--accent); padding-top: 12px; }
.ct-steps b { display: block; font: 800 var(--step-lead)/1.1 var(--font-display); letter-spacing: -0.02em; }
.ct-row { margin-top: clamp(12px, 2vw, 24px); padding: clamp(20px, 3vw, 36px) 0; border-top: 2px solid var(--rule); }
.ct-row__t { grid-column: 1; grid-row: 1 / span 3; }
.ct-row__t p { margin-top: 8px; font-size: var(--step-small); }
.ct-chips { display: contents; }
.ct-chip { grid-column: var(--c); grid-row: var(--r); justify-self: start; align-self: start; padding: 10px 16px; border-radius: 999px; font: 600 var(--step-small)/1.1 var(--font); background: var(--accent); color: #fff; }
.ct-row--b .ct-chip { background: var(--ink); }
.ct-row--c .ct-chip { background: var(--pastel); color: var(--ink); }
.js .ct-chip[data-reveal] { scale: 0.85; transition: opacity 600ms var(--ease-out), translate 600ms var(--ease-out), scale 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.js .ct-chip[data-reveal].is-in { scale: 1; }
.ct-work h2 { margin-bottom: clamp(24px, 4vw, 48px); max-width: 16ch; }
.ct-feed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ct-tile { position: relative; overflow: hidden; background: var(--c); border-radius: var(--r-md); aspect-ratio: 1; }
.ct-tile img { position: absolute; left: 50%; top: 14%; width: 56%; height: auto; translate: -50% 0; }
.ct-tile--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ct-tile--big img { width: 52%; top: 8%; }
.ct-tile--txt { background: var(--surface); padding: clamp(16px, 2vw, 28px); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.ct-tile--txt h3 { font-size: var(--step-head); line-height: 1; }
.ct-tile--txt h3 a::after { content: ""; position: absolute; inset: 0; }
.ct-tags { font-size: var(--step-small); font-weight: 600; }
.ct-faq h2 { text-align: center; margin: 0 auto clamp(24px, 4vw, 48px); max-width: 18ch; }
.ct-chat { display: grid; gap: 28px; max-width: 780px; margin-inline: auto; }
.ct-chat li { display: grid; gap: 8px; }
.ct-chat p { padding: 14px 20px; max-width: min(80%, 46ch); }
.ct-chat .q { justify-self: end; background: var(--accent); color: #fff; font-weight: 600; border-radius: var(--r-md) var(--r-md) 4px var(--r-md); }
.ct-chat .a { justify-self: start; background: var(--surface); border-radius: var(--r-md) var(--r-md) var(--r-md) 4px; }
.ct-end { background: var(--pastel); border-radius: var(--r-lg); padding: clamp(48px, 7vw, 96px) var(--m); display: grid; justify-items: center; text-align: center; gap: 24px; }

/* ───────── VISIBILITÉ : la courbe qui se construit ───────── */
.vs-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; padding-bottom: clamp(24px, 3vw, 48px); }
.vs-hero h1 { grid-column: 1 / 11; }
.vs-hero p { grid-column: 1 / 7; }
.vs-hero .btn { grid-column: 8 / 13; justify-self: start; align-self: end; }
.vs-chart-wrap { padding: 0 var(--m); }
.vs-chart { background: var(--surface); border-radius: var(--r-lg); padding: clamp(40px, 5vw, 64px) clamp(16px, 3vw, 40px) clamp(16px, 2.4vw, 28px); }
.vs-plot { position: relative; height: clamp(240px, 34vw, 460px); margin-bottom: 40px; }
.vs-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vs-line { fill: none; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vs-line--ads { stroke: var(--ink); }
.vs-line--seo { stroke: var(--accent); }
.vs-axis { fill: none; stroke: color-mix(in srgb, var(--ink) 35%, transparent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.vs-cover { fill: var(--surface); transform-box: fill-box; transform-origin: 100% 50%; }
.js .vs-cover { transition: transform 2400ms var(--ease-out) 250ms; }
.js .vs-chart:not(.is-in) .vs-cover { transform: scaleX(1.02); }
.js .vs-chart.is-in .vs-cover { transform: scaleX(0); }
.vs-tag, .vs-ax { position: absolute; font: 800 var(--step-lead)/1 var(--font-display); letter-spacing: -0.02em; }
.vs-tag--ads { left: 40%; top: -8%; }
.vs-tag--seo { right: 0; top: 40%; color: var(--accent); }
.vs-ax { font: 600 var(--step-small)/1 var(--font); letter-spacing: 0; }
.vs-ax--y { left: 0; top: -32px; }
.vs-ax--x { right: 0; bottom: -32px; }
.vs-chart figcaption { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: var(--step-small); font-weight: 600; }
.vs-chart figcaption span { display: inline-flex; align-items: center; gap: 10px; }
.vs-key { width: 24px; height: 4px; border-radius: 2px; flex: none; }
.vs-key--seo { background: var(--accent); }
.vs-key--ads { background: var(--ink); }
.vs-svc h2 { margin-bottom: clamp(24px, 4vw, 48px); }
.vs-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.vs-kpis > li { background: var(--bg); padding: clamp(20px, 3vw, 40px); display: grid; align-content: start; gap: 12px; }
.vs-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: var(--step-small); font-weight: 700; color: var(--accent); }
.vs-stairs__hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; margin-bottom: clamp(24px, 4vw, 48px); }
.vs-stairs__hd h2 { grid-column: 1 / 7; }
.vs-stairs__hd p { grid-column: 8 / 13; align-self: end; }
.vs-stairs ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 4px; }
.vs-stairs li { padding: clamp(16px, 2vw, 28px); border-radius: var(--r-md) var(--r-md) 0 0; font-size: var(--step-small); }
.vs-stairs b { display: block; font: 800 var(--step-lead)/1.1 var(--font-display); letter-spacing: -0.02em; margin-bottom: 6px; }
.vs-stairs li:nth-child(1) { min-height: 180px; background: var(--surface); }
.vs-stairs li:nth-child(2) { min-height: 260px; background: var(--pastel); }
.vs-stairs li:nth-child(3) { min-height: 340px; background: var(--accent); color: #fff; }
.vs-stairs li:nth-child(4) { min-height: 420px; background: var(--night); color: var(--night-ink); }
.vs-work h2 { margin-bottom: clamp(24px, 4vw, 48px); max-width: 18ch; }
.vs-work ul { display: grid; gap: var(--gap); }
.vs-case { background: var(--c); color: var(--k); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px; padding: clamp(20px, 3vw, 44px) clamp(20px, 3vw, 44px) 0; position: relative; }
.vs-case > div:first-child { padding-bottom: clamp(20px, 3vw, 44px); display: grid; gap: 12px; align-self: center; }
.vs-case h3 { font-size: var(--step-name); line-height: 0.95; }
.vs-case h3 a::after { content: ""; position: absolute; inset: 0; }
.vs-meta { font-weight: 700; font-size: var(--step-small); }
.vs-phones { display: flex; justify-content: center; align-items: end; gap: 16px; height: clamp(260px, 30vw, 400px); overflow: hidden; }
.vs-phones img { width: min(46%, 240px); height: auto; transform: translateY(14%); }
.vs-faq h2 { margin-bottom: clamp(24px, 4vw, 48px); max-width: 18ch; }
.vs-faq__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.vs-faq__cols h3 { font-size: var(--step-lead); margin-bottom: 12px; }
.vs-end { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 96px); border-top: 3px solid var(--ink); }

/* ───────── E-COMMERCE : le panier, la vitrine et le tunnel d'achat ───────── */
.ec-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: center; padding-right: 0; overflow: hidden; }
.ec-hero__t { grid-column: 1 / 6; display: grid; gap: 24px; justify-items: start; }
.ec-win { grid-column: 6 / 13; margin: 0; border: 2px solid var(--ink); border-right: 0; border-radius: var(--r-md) 0 0 var(--r-md); overflow: hidden; background: var(--surface); }
.ec-win__bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--ink); }
.ec-win__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--pastel); }
.ec-win img { width: 100%; height: auto; }
.ec-cart { background: var(--surface); margin-inline: var(--m); border-radius: var(--r-lg); padding-inline: clamp(20px, 4vw, 64px); }
.ec-cart h2 { margin-bottom: clamp(20px, 3vw, 40px); }
.ec-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 20px 0; border-top: 2px solid var(--ink); }
.ec-line img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--r-sm); }
.ec-line p { margin-top: 4px; font-size: var(--step-small); }
.ec-opts { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; max-width: 360px; }
.ec-opts li { border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font: 600 var(--step-small)/1 var(--font); }
.ec-checkout { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-top: 20px; border-top: 2px solid var(--ink); }
.ec-checkout p { font-weight: 600; max-width: 36ch; }
.ec-path h2 { margin-bottom: clamp(24px, 4vw, 56px); }
.ec-path ol { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ec-path ol::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: color-mix(in srgb, var(--ink) 25%, transparent); }
.ec-path li { position: relative; padding-top: 44px; font-size: var(--step-small); }
.ec-path li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); }
.js .ec-path li::before { scale: 0; transition: scale 500ms var(--ease-out); transition-delay: calc(var(--i, 0) * 140ms + 200ms); }
.js .ec-path li.is-in::before { scale: 1; }
.ec-path b { display: block; font: 800 var(--step-lead)/1.1 var(--font-display); letter-spacing: -0.02em; margin-bottom: 6px; }
.ec-work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: start; }
.ec-work__t { grid-column: 1 / 6; position: sticky; top: 96px; display: grid; gap: 28px; }
.ec-work__t h3 { font-size: var(--step-head); line-height: 1; margin-bottom: 8px; }
.ec-meta { margin-top: 12px; font-weight: 700; font-size: var(--step-small); }
.ec-grid { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.ec-grid li:nth-child(2) { margin-top: clamp(24px, 6vw, 88px); }
.ec-grid img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--surface); }
.ec-faq h2 { margin-bottom: clamp(24px, 4vw, 48px); }
.ec-faq dl { max-width: 880px; border: 2px dashed var(--ink); border-radius: var(--r-md); padding: clamp(12px, 3vw, 36px); }
.ec-faq dl > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 24px; padding: 16px 0; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 45%, transparent); }
.ec-faq dl > div:last-child { border-bottom: 0; }
.ec-faq dt { font-weight: 800; }
.ec-faq dd { margin: 0; }
.ec-end { background: var(--night); color: var(--night-ink); border-radius: var(--r-lg); padding: clamp(48px, 7vw, 112px) clamp(20px, 4vw, 64px); display: grid; justify-items: start; gap: 28px; }
.ec-end h2 { font-size: var(--step-name); line-height: 0.95; max-width: 12ch; }

/* ───────── OUTILS : le schéma de flux entre logiciels ───────── */
.ou-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; }
.ou-hero h1 { grid-column: 1 / 8; }
.ou-hero > div { grid-column: 9 / 13; display: grid; gap: 24px; justify-items: start; }
.ou-map h2 { margin-bottom: clamp(24px, 4vw, 48px); }
.ou-board { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.35fr) 64px minmax(0, 1fr); align-items: stretch; background: var(--pastel); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 40px); }
.ou-src, .ou-hub { background: var(--bg); border-radius: var(--r-md); padding: clamp(18px, 2.4vw, 32px); display: grid; align-content: start; gap: 14px; }
.ou-hub { background: var(--ink); color: #fff; }
.ou-hub h3 { color: #fff; }
.ou-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ou-tags li { border: 2px solid currentColor; border-radius: 999px; padding: 6px 12px; font: 700 var(--step-small)/1 var(--font); }
.ou-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ou-chain li { display: flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; border-radius: var(--r-sm); padding: 12px 16px; font: 800 var(--step-body)/1 var(--font-display); }
.ou-chain li + li::before { content: ""; width: 16px; height: 16px; margin-left: -4px; background: currentColor; clip-path: polygon(0 40%, 55% 40%, 55% 15%, 100% 50%, 55% 85%, 55% 60%, 0 60%); }
.ou-wire { position: relative; align-self: center; height: 2px; background: var(--ink); }
.ou-wire i { position: absolute; left: 0; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .ou-wire i { animation: ou-run 2.4s var(--ease-out) infinite; }
  .ou-wire + .ou-hub + .ou-wire i { animation-delay: 1.2s; }
  @keyframes ou-run { from { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateX(52px); opacity: 0; } }
  @keyframes ou-run-v { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(28px); opacity: 0; } }
}
.ou-rail__hd { text-align: center; display: grid; justify-items: center; gap: 12px; margin-bottom: clamp(32px, 5vw, 64px); }
.ou-rail ol { position: relative; max-width: 960px; margin-inline: auto; display: grid; gap: clamp(20px, 3vw, 40px); }
.ou-rail ol::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: color-mix(in srgb, var(--ink) 25%, transparent); }
.ou-rail li { position: relative; width: calc(50% - 48px); font-size: var(--step-small); }
.ou-rail li:nth-child(even) { justify-self: end; }
.ou-rail li::after { content: ""; position: absolute; top: 4px; width: 16px; height: 16px; border-radius: 4px; background: var(--accent); }
.ou-rail li:nth-child(odd)::after { right: -56px; }
.ou-rail li:nth-child(even)::after { left: -56px; }
.ou-rail b { display: block; font: 800 var(--step-lead)/1.1 var(--font-display); letter-spacing: -0.02em; margin-bottom: 4px; }
.ou-work h2 { margin-bottom: clamp(24px, 4vw, 48px); max-width: 18ch; }
.ou-work figure img { width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); }
.ou-rows li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 8px; align-items: baseline; padding: clamp(20px, 3vw, 36px) 0; border-bottom: 2px solid var(--rule); }
.ou-rows h3 { grid-column: 1 / 5; font-size: var(--step-head); line-height: 1; }
.ou-meta { font-weight: 700; font-size: var(--step-small); text-align: right; }
.ou-faq h2 { margin-bottom: clamp(24px, 4vw, 48px); }
.ou-faq ul { display: grid; gap: 16px; }
.ou-faq li { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.5fr); align-items: center; }
.ou-q, .ou-a { padding: 18px 22px; border-radius: var(--r-md); height: 100%; }
.ou-q { background: var(--accent); color: #fff; font-weight: 700; }
.ou-a { background: var(--surface); }
.ou-arrow { position: relative; height: 2px; background: var(--ink); }
.ou-arrow::after { content: ""; position: absolute; right: -1px; top: -6px; border: 7px solid transparent; border-left: 12px solid var(--ink); border-right: 0; }
.ou-end { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: clamp(48px, 7vw, 112px) clamp(20px, 4vw, 64px); display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; }
.ou-end .btn { background: var(--bg); color: var(--ink); }
.ou-end .btn:hover { background: var(--ink); color: #fff; }

/* ───────── Mobile ───────── */
@media (max-width: 900px) {
  .mq-hero h1, .mq-hero p, .vs-hero h1, .vs-hero p, .vs-hero .btn, .ou-hero h1, .ou-hero > div, .ec-hero__t, .ec-win, .ec-work__t, .ec-grid, .mq-faq h2, .mq-faq dl { grid-column: 1 / -1; }
  .mq-time__hd h2, .mq-time__hd p, .ct-plan__hd h2, .ct-plan__hd p, .vs-stairs__hd h2, .vs-stairs__hd p { grid-column: 1 / -1; }
  .ec-win { margin-right: calc(-1 * var(--m)); }
  .ec-work__t { position: static; }
  .mq-page { grid-template-columns: 1fr; flex-basis: 86vw; min-height: 0; }
  .mq-page__v { min-height: 340px; }
  .mq-steps, .vs-faq__cols, .ec-path ol { grid-template-columns: 1fr 1fr; }
  .mq-brands, .vs-kpis { grid-template-columns: 1fr; }
  .mq-brand { aspect-ratio: 4 / 5; }
  .ct-steps { display: none; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-row__t { grid-row: auto; }
  .ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .ct-chip { grid-column: auto; grid-row: auto; }
  .ct-feed { grid-template-columns: 1fr 1fr; }
  .ct-chat p { max-width: 92%; }
  .vs-stairs ol { grid-template-columns: 1fr; align-items: stretch; }
  .vs-stairs li { border-radius: var(--r-md); min-height: 0 !important; }
  .vs-stairs li:nth-child(2) { margin-left: 6%; }
  .vs-stairs li:nth-child(3) { margin-left: 12%; }
  .vs-stairs li:nth-child(4) { margin-left: 18%; }
  .vs-case { grid-template-columns: 1fr; }
  .ec-line { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .ec-line img { width: 72px; height: 90px; }
  .ec-opts { grid-column: 1 / -1; justify-content: start; max-width: none; }
  .ec-work { display: block; }
  .ec-grid { margin-top: 32px; }
  .ec-faq dl > div { grid-template-columns: 1fr; }
  .ou-board { grid-template-columns: 1fr; }
  .ou-wire { justify-self: center; width: 2px; height: 40px; }
  .ou-wire i { left: -5px; top: 0; }
  @media (prefers-reduced-motion: no-preference) { .ou-wire i { animation-name: ou-run-v; } }
  .ou-rail ol::before { left: 7px; }
  .ou-rail li, .ou-rail li:nth-child(even) { width: auto; justify-self: stretch; padding-left: 40px; }
  .ou-rail li:nth-child(odd)::after, .ou-rail li:nth-child(even)::after { left: 0; right: auto; }
  .ou-faq li { grid-template-columns: 1fr; justify-items: start; }
  .ou-arrow { width: 2px; height: 32px; margin-left: 24px; }
  .ou-arrow::after { right: auto; left: -6px; top: auto; bottom: -1px; border: 7px solid transparent; border-top: 12px solid var(--ink); border-bottom: 0; }
  .ou-q, .ou-a { width: 100%; height: auto; }
}
@media (max-width: 520px) {
  .mq-steps, .vs-faq__cols, .ec-path ol { grid-template-columns: 1fr; }
  .ec-path ol::before { display: none; }
  .vs-tag--ads { left: 30%; }
  .ct-feed { grid-template-columns: 1fr; }
  .ct-tile--big { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .vs-cover { transition: none; }
  .js .vs-chart:not(.is-in) .vs-cover { transform: scaleX(0); }
  .js .ec-path li::before, .js .ct-chip[data-reveal] { transition: none; scale: 1; }
  .mq-brand img { transition: none; }
}

/* ajustements après inspection */
.mq-aa { display: grid; place-items: center; font: 800 clamp(3rem, 6vw, 5.5rem)/1 var(--font-display); }
.mq-work h2, .ct-work h2, .vs-work h2, .ou-work h2 { max-width: 30ch; }
.vs-wide { margin-bottom: var(--gap); }
.vs-wide img { width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); }
.ct-tile--txt { justify-content: start; }
.ct-tile--txt .ct-tags { margin-top: 4px; }
.ou-rows li { grid-template-columns: 128px minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr); align-items: center; }
.ou-rows img { width: 128px; height: auto; grid-row: 1 / 3; }
.ou-rows h3 { grid-column: 2; }
.ou-rows .ou-d { grid-column: 3; }
.ou-rows .ou-meta { grid-column: 4; }
@media (max-width: 900px) {
  .ou-rows li { grid-template-columns: 56px minmax(0, 1fr); }
  .ou-rows img { width: 56px; grid-row: 1 / 4; }
  .ou-rows h3, .ou-rows .ou-d, .ou-rows .ou-meta { grid-column: 2; text-align: left; }
}

/* v28b — mobile : rien ne reste collé, images de téléphone à taille de lecture, sections moins hautes */
@media (max-width: 900px) {
  main [class*="__t"], main [class*="__h"], main [class*="-ctx"], main [class*="__head"], main .fg-shop > div, main .fk-stage { position: static !important; top: auto !important; }
  main img[src*="projets/tel-"] { max-width: min(240px, 64vw); height: auto; margin-inline: auto; }
  main img[src*="-ecran-"], main img[src*="mijo-comparateur"], main img[src*="pactapp-signer"] { max-width: min(280px, 74vw); height: auto; margin-inline: auto; display: block; }
}
@media (max-width: 900px) { .mq-page__v { min-height: 260px; } }
