/* m3 : habillage des pages intérieures de la préprod Comm360.
   Chargé après site.min.css, qui fournit les jetons (--orange, --ink, --paper, --font, --serif…).
   Tout est sous .m3 : rien ne touche l'en-tête, le pied ni l'accueil.
   États masqués uniquement sous html.m3-on (posé en tête de page, retiré par m3.js). */

.m3 {
  --m3-blanc: #fff;
  --m3-fil: rgba(21, 21, 21, .12);
  --m3-r: 18px;
  --mk: #ff3800;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
}
.m3 *, .m3 *::before, .m3 *::after { box-sizing: border-box; }
.m3-w { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.m3 a { text-underline-offset: .18em; }
:where(.m3) :where(p, li, td) a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--orange); transition: color .3s var(--ease-out); }
:where(.m3) :where(p, li, td) a:not([class]):hover { color: var(--orange); }
.m3 :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Titres et textes ---------- */
.m3-sur { font-family: var(--serif); font-style: italic; font-weight: 200; font-size: clamp(19px, 1.5vw, 25px); line-height: 1.25; letter-spacing: -.01em; }
.m3-h2 { font-weight: 490; font-size: clamp(30px, 3.3vw, 58px); line-height: 1.03; letter-spacing: -.04em; text-wrap: balance; }
.m3-h2 em, .m3-h1 em { font-family: var(--serif); font-style: italic; font-weight: 200; letter-spacing: -.02em; }
.m3-h2 em { font-size: 1.08em; }
.m3-p { font-size: 17px; line-height: 1.62; color: var(--ink-soft); max-width: 64ch; }
.m3-chapo { font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 58ch; }
.m3-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.m3-mot { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .09em .16em; margin: -.08em -.09em -.16em; }
.m3-mot__i { display: inline-block; will-change: transform; }
.m3-fleche { width: 1.05em; height: 1.05em; flex: none; }
.m3-lien { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; font-weight: 520; font-size: 16px; text-decoration: none; border-bottom: 1px solid currentColor; transition: color .3s var(--ease-out), gap .4s var(--ease-osmo); }
.m3-lien:hover { color: var(--orange); gap: 16px; }

/* ---------- Héro ---------- */
.m3-hero { position: relative; isolation: isolate; overflow: clip; min-height: min(100svh, 1000px); display: flex; align-items: flex-end; background: #151515; color: #fff; }
.m3-hero__fond { position: absolute; inset: -12% 0 0; z-index: -2; }
.m3-hero__fond img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.m3-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 12, 12, .94) 0%, rgba(12, 12, 12, .74) 34%, rgba(12, 12, 12, .28) 68%, rgba(12, 12, 12, .42) 100%); }
.m3-hero__in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: clamp(150px, 20vh, 230px) 0 clamp(36px, 5vw, 72px); display: grid; gap: clamp(20px, 2.4vw, 36px); }
.m3-fil { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; list-style: none; padding: 0; font-size: 14px; font-weight: 480; opacity: .86; }
.m3-fil a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.m3-fil a:hover { border-bottom-color: currentColor; }
.m3-fil li + li::before { content: ""; display: inline-block; width: 9px; height: 1px; margin-right: 10px; vertical-align: middle; background: currentColor; transform: rotate(-58deg); opacity: .7; }
.m3-hero .m3-sur { max-width: 44ch; }
.m3-h1 { font-weight: 440; font-size: clamp(38px, 5.4vw, 96px); line-height: .98; letter-spacing: -.045em; max-width: 19ch; text-wrap: balance; }
.m3-h1--long { font-size: clamp(34px, 4.3vw, 76px); max-width: 24ch; }
.m3-h1--xl { font-size: clamp(30px, 3.5vw, 60px); max-width: 28ch; line-height: 1.02; }
.m3-h1 em { font-size: 1.06em; }
.m3-hero__bas { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 96px); align-items: end; padding-top: clamp(20px, 2.4vw, 34px); border-top: 1px solid rgba(255, 255, 255, .26); }
.m3-hero__txt { display: grid; gap: 14px; }
.m3-hero__txt p { font-size: 17.5px; line-height: 1.55; max-width: 60ch; color: rgba(255, 255, 255, .92); }
.m3-hero__act { display: grid; gap: 18px; justify-items: start; }
.m3-preuves { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.m3-preuves li { border: 1px solid rgba(255, 255, 255, .6); border-radius: 6px; padding: 7px 12px; font-size: 14px; font-weight: 500; line-height: 1.25; }
.m3-hero__note { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82); max-width: 44ch; }
.m3-fictif { position: absolute; right: var(--gutter); top: clamp(92px, 12vh, 128px); font-size: 12px; letter-spacing: .02em; color: rgba(255, 255, 255, .74); }

.m3-hero--sans { background: var(--paper); color: var(--ink); min-height: 0; }
.m3-hero--sans::after { content: none; }
.m3-hero--sans .m3-hero__bas { border-top-color: var(--m3-fil); }
.m3-hero--sans .m3-hero__txt p { color: var(--ink-soft); }
.m3-hero--sans .m3-preuves li { border-color: rgba(21, 21, 21, .5); }
.m3-hero--sans .m3-hero__note { color: var(--grey); }

/* ---------- Sommaire ---------- */
.m3-som { background: var(--m3-blanc); padding: clamp(36px, 4.4vw, 72px) 0; }
.m3-som__g { display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 72px); align-items: start; }
.m3-som ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 56px); }
.m3-som li { border-top: 1px solid var(--m3-fil); }
.m3-som a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0; font-size: 16.5px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: color .3s var(--ease-out), padding .45s var(--ease-osmo); }
.m3-som a svg { width: 14px; height: 14px; flex: none; translate: 0 2px; opacity: .45; transition: opacity .3s, translate .45s var(--ease-osmo); }
.m3-som a:hover { color: var(--orange); padding-left: 8px; }
.m3-som a:hover svg { opacity: 1; translate: 0 5px; }

/* ---------- Sections ---------- */
.m3-s { position: relative; padding: var(--section-y) 0; background: var(--paper); }
.m3-s--blanc { background: var(--m3-blanc); }
.m3-s { --m3-carte: var(--m3-blanc); }
.m3-s--blanc { --m3-carte: var(--paper); }
.m3-s__g { display: grid; gap: clamp(28px, 4vw, 64px); }
.m3-s__tete { display: grid; gap: clamp(18px, 2vw, 28px); align-content: start; }
.m3-s__corps { display: grid; gap: 18px; align-content: start; min-width: 0; }
.m3-s__corps > .m3-bloc { margin-block: clamp(10px, 1.6vw, 26px); }
.m3-s__corps > .m3-bloc:first-child { margin-top: 0; }
.m3-s__corps > .m3-bloc:last-child { margin-bottom: 0; }
.m3-s__pied { margin-top: 8px; }

/* A : titre collant à gauche, corps à droite */
.m3-s--a .m3-s__g { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 6vw, 120px); align-items: start; }
.m3-s--a .m3-s__tete { position: sticky; top: clamp(96px, 14vh, 140px); }
.m3-s--a.m3-s--inv .m3-s__tete { order: 2; }
/* B : grand titre, chapô en vis-à-vis, texte en colonnes */
.m3-s--b .m3-s__tete { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
.m3-s--b .m3-h2 { font-size: clamp(32px, 4.3vw, 78px); max-width: 17ch; }
.m3-s--b .m3-s__corps--txt { display: block; columns: 2; column-gap: clamp(24px, 5vw, 96px); padding-top: clamp(22px, 2.6vw, 40px); border-top: 1px solid var(--m3-fil); }
.m3-s--b .m3-s__corps--txt > * { break-inside: avoid; margin-bottom: 18px; }
/* C : panneau */
.m3-s--c .m3-s__g { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 96px); align-items: start; padding: clamp(26px, 4.4vw, 84px); border-radius: var(--m3-r); background: var(--m3-carte); }
.m3-s--c { --m3-carte-in: var(--paper); }
/* F : texte et figure côte à côte */
.m3-s--f .m3-s__g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.m3-s--f.m3-s--inv .m3-s__col { order: 2; }
.m3-s--f .m3-s__col { display: grid; gap: clamp(18px, 2vw, 28px); align-content: start; }
/* G : composant pleine largeur sous le titre */
.m3-s--g .m3-s__tete { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
.m3-s--g .m3-s__tete > :only-child { grid-column: 1 / -1; }
.m3-s__txt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px clamp(24px, 5vw, 96px); align-items: start; }
.m3-s__txt > :only-child { max-width: 72ch; }
/* duo : une figure et son texte, un côté puis l'autre */
.m3-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: center; }
.m3-duo--inv .m3-fig { order: 2; }
.m3-duo__txt { display: grid; gap: 18px; align-content: start; }

/* ---------- Figures ---------- */
.m3-fig { margin: 0; }
.m3-fig__c { position: relative; display: block; padding: clamp(8px, 1vw, 14px); border-radius: var(--m3-r); background: var(--m3-carte); }
.m3-s--c .m3-fig__c { background: var(--paper); }
.m3-fig img { width: 100%; height: auto; border-radius: 10px; }
.m3-fig__zoom { position: absolute; right: clamp(16px, 1.6vw, 26px); bottom: clamp(16px, 1.6vw, 26px); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--ink); color: #fff; opacity: 0; translate: 0 8px; transition: opacity .35s var(--ease-out), translate .5s var(--ease-osmo); }
.m3-fig__zoom svg { width: 18px; height: 18px; }
.m3-fig__c:hover .m3-fig__zoom, .m3-fig__c:focus-visible .m3-fig__zoom { opacity: 1; translate: 0 0; }
.m3-fig--haute { max-width: 620px; }
.m3-fig--large { width: 100%; max-width: 1180px; margin-inline: auto; }
.m3-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(12px, 1.4vw, 22px); align-items: start; }
.m3-fig__leg { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--grey); }

/* ---------- Listes ---------- */
.m3-lignes, .m3-grille, .m3-pile, .m3-etapes__l, .m3-coche, .m3-renvois, .m3-rub__l { list-style: none; padding: 0; margin: 0; }

/* lignes : titre à gauche, texte à droite */
.m3-lignes li { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: clamp(16px, 4vw, 72px); padding: clamp(20px, 2.2vw, 32px) 0; border-top: 1px solid var(--m3-fil); }
.m3-lignes li:last-child { border-bottom: 1px solid var(--m3-fil); }
.m3-it { font-weight: 540; font-size: clamp(20px, 1.7vw, 27px); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.m3-ix { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); max-width: 58ch; }

/* grille de cartes */
.m3-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.m3-grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m3-grille li { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.2vw, 36px); border-radius: 14px; background: var(--m3-carte); }
.m3-s--c .m3-grille li { background: var(--paper); }
.m3-coin { width: 34px; height: 22px; color: var(--orange); margin-bottom: clamp(18px, 3vw, 54px); }
.m3-coin path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 1; }

/* pile : cartes qui se recouvrent (collant à partir de 900 px seulement) */
.m3-pile { display: grid; gap: 14px; }
.m3-pile li { display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); gap: clamp(16px, 4vw, 72px); align-items: start; padding: clamp(24px, 3vw, 52px); border-radius: var(--m3-r); background: var(--m3-carte); min-height: clamp(150px, 13vw, 200px); transform-origin: 50% 0; }
.m3-s--c .m3-pile li { background: var(--paper); }
.m3-pile .m3-it { font-size: clamp(24px, 2.5vw, 42px); font-weight: 490; letter-spacing: -.035em; line-height: 1.05; }
@media (min-width: 900px) {
  .m3-pile li { position: sticky; top: calc(clamp(96px, 13vh, 132px) + var(--i, 0) * 16px); box-shadow: 0 -18px 40px -30px rgba(21, 21, 21, .28); }
}

/* étapes : numéro collant qui change, pas de la liste à droite */
.m3-etapes { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, .6fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.m3-etapes__n { position: sticky; top: clamp(110px, 18vh, 180px); display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-style: italic; font-weight: 200; line-height: .8; color: var(--orange); }
.m3-etapes__n b { font-weight: 200; font-size: clamp(110px, 15vw, 260px); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.m3-etapes__n span { font-size: clamp(20px, 2vw, 32px); color: var(--grey); }
.m3-etapes__l { position: relative; display: grid; padding-left: clamp(22px, 3vw, 44px); }
.m3-etapes__l::before, .m3-etapes__rail { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--m3-fil); }
.m3-etapes__rail { background: var(--orange); transform-origin: 50% 0; }
.m3-etapes__l ul { list-style: none; padding: 0; margin: 0; display: grid; }
.m3-etapes__l li { display: grid; gap: 12px; padding: clamp(22px, 3vw, 46px) 0; border-bottom: 1px solid var(--m3-fil); transition: opacity .5s var(--ease-out); }
.m3-etapes__l li:last-of-type { border-bottom: 0; }
.m3-etapes__l .m3-it { font-size: clamp(24px, 2.4vw, 40px); font-weight: 490; letter-spacing: -.035em; line-height: 1.05; }
.m3-etapes__l li[data-m3-etat="avant"], .m3-etapes__l li[data-m3-etat="apres"] { opacity: .3; }

/* liste à coches */
.m3-coche { display: grid; gap: 0; }
.m3-coche--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 4vw, 72px); }
.m3-coche li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--m3-fil); font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.m3-coche li strong { color: var(--ink); font-weight: 560; }
.m3-coche svg { width: 26px; height: 26px; color: var(--orange); translate: 0 1px; }
.m3-coche svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-dasharray: 1; }

/* liste de liens */
.m3-renvois li { border-top: 1px solid var(--m3-fil); }
.m3-renvois li:last-child { border-bottom: 1px solid var(--m3-fil); }
.m3-renvois a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: clamp(19px, 1.6vw, 25px); font-weight: 520; letter-spacing: -.02em; text-decoration: none; transition: color .3s var(--ease-out), padding .5s var(--ease-osmo); }
.m3-renvois a:hover { color: var(--orange); padding-left: 12px; }

/* ---------- Tableaux ---------- */
.m3-table { border-radius: var(--m3-r); background: var(--m3-carte); padding: clamp(8px, 1.6vw, 26px); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.m3-s--c .m3-table { background: var(--paper); }
.m3-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.m3-table caption { text-align: left; padding: 6px 14px 14px; font-family: var(--serif); font-style: italic; font-weight: 200; font-size: 19px; }
.m3-table th, .m3-table td { text-align: left; vertical-align: top; padding: 16px 14px; }
.m3-table thead th { font-size: 14px; font-weight: 560; color: var(--grey); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.m3-table tbody tr + tr > * { border-top: 1px solid var(--m3-fil); }
.m3-table tbody th, .m3-table tbody td:first-child { font-weight: 560; color: var(--ink); }
.m3-table td { color: var(--ink-soft); }

/* ---------- Questions (accordéon ; tout ouvert sans JS) ---------- */
.m3-faq { border-top: 1px solid var(--ink); }
.m3-faq__i { border-bottom: 1px solid var(--m3-fil); }
.m3-faq__q { margin: 0; font: inherit; }
.m3-faq__b { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; border: 0; background: none; color: inherit; font: inherit; font-size: clamp(19px, 1.5vw, 24px); font-weight: 520; letter-spacing: -.02em; line-height: 1.2; text-align: left; cursor: pointer; }
.m3-faq__s { position: relative; flex: none; width: 18px; height: 18px; }
.m3-faq__s::before, .m3-faq__s::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.6px; background: currentColor; transition: rotate .5s var(--ease-osmo); }
.m3-faq__s::after { rotate: 90deg; }
.m3-faq__i.is-ouvert .m3-faq__s::after { rotate: 0deg; }
.m3-faq__r { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease-osmo); }
.m3-faq__r > div { overflow: hidden; }
.m3-faq__r p { padding: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.m3-js .m3-faq__i:not(.is-ouvert) .m3-faq__r { grid-template-rows: 0fr; }
.m3-js .m3-faq__i:not(.is-ouvert) .m3-faq__r > div { visibility: hidden; }

/* ---------- Trait oblique entre deux sections ---------- */
.m3-trait { position: relative; padding: clamp(8px, 1vw, 16px) 0; background: var(--paper); }
.m3-trait--blanc { background: var(--m3-blanc); }
.m3-trait__g { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 48px); align-items: center; }
.m3-trait__g > svg { width: 100%; height: auto; overflow: visible; }
.m3-trait__g > svg path { fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 1; }

/* ---------- Réalisation : mockup sur panneau en dégradé ---------- */
.m3-mk { padding: var(--section-y) 0; background: var(--paper); }
.m3-mk--blanc { background: var(--m3-blanc); }
.m3-mk__p { position: relative; isolation: isolate; overflow: clip; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(18px, 3vw, 56px); padding: clamp(24px, 3.6vw, 64px); padding-right: 0; border-radius: var(--m3-r); color: #fff; background: linear-gradient(118deg, var(--mk) 0%, var(--mk) 36%, color-mix(in srgb, var(--mk) 58%, #fff) 70%, #fff 108%); }
.m3-mk__p::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 96% 8%, rgba(255, 255, 255, .7), transparent 62%), radial-gradient(50% 70% at 8% 100%, rgba(0, 0, 0, .22), transparent 70%); }
.m3-mk__txt { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.6vw, 22px); }
.m3-mk__nom { font-weight: 480; font-size: clamp(34px, 4.4vw, 78px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.m3-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.m3-tags li { border: 1px solid rgba(255, 255, 255, .78); border-radius: 6px; padding: 7px 12px; font-size: 13.5px; font-weight: 520; line-height: 1.2; }
.m3-mk .m3-lien:hover { color: #fff; }
.m3-mk__vis { min-width: 0; padding-right: clamp(0px, 2vw, 40px); }
.m3-ordi { width: 108%; }
.m3-ordi__ecran { position: relative; aspect-ratio: 16 / 10; margin: 0 5%; border-radius: 14px 14px 3px 3px; background: #1b1b1d; box-shadow: 0 44px 80px -34px rgba(10, 12, 40, .55); overflow: hidden; }
.m3-ordi__ecran img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; object-position: top center; border-radius: 5px; }
.m3-ordi__socle { position: relative; height: clamp(9px, 1vw, 15px); border-radius: 2px 2px 14px 14px; background: #2a2a2d; box-shadow: 0 22px 34px -16px rgba(10, 12, 40, .5); }
.m3-ordi__socle::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 45%; translate: -50% 0; border-radius: 0 0 8px 8px; background: #101012; }
.m3-cadre { margin-right: clamp(24px, 3.6vw, 64px); border-radius: 14px; overflow: hidden; box-shadow: 0 44px 80px -34px rgba(10, 12, 40, .5); background: #fff; }
.m3-cadre img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }

/* ---------- Dans cette rubrique ---------- */
.m3-rub { padding: var(--section-y) 0; background: var(--m3-blanc); }
.m3-rub--papier { background: var(--paper); }
.m3-rub__g { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.m3-rub__tete { position: sticky; top: clamp(96px, 14vh, 140px); display: grid; gap: 20px; justify-items: start; }
.m3-rub__l li { border-top: 1px solid var(--m3-fil); }
.m3-rub__l li:last-child { border-bottom: 1px solid var(--m3-fil); }
.m3-rub__l a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; padding: clamp(16px, 1.7vw, 26px) 0; text-decoration: none; transition: color .3s var(--ease-out), padding .5s var(--ease-osmo); }
.m3-rub__l b { font-weight: 490; font-size: clamp(22px, 2.5vw, 42px); line-height: 1.06; letter-spacing: -.035em; }
.m3-rub__l small { grid-column: 1; font-size: 15.5px; line-height: 1.4; color: var(--grey); transition: color .3s; }
.m3-rub__l svg { grid-row: 1 / span 2; grid-column: 2; width: clamp(20px, 2vw, 30px); height: clamp(20px, 2vw, 30px); opacity: .35; translate: -10px 0; transition: opacity .3s, translate .5s var(--ease-osmo); }
.m3-rub__l a:hover { color: var(--orange); padding-left: 14px; }
.m3-rub__l--dense { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 56px); border-bottom: 1px solid var(--m3-fil); }
.m3-rub__l--dense li:last-child { border-bottom: 0; }
.m3-rub__l--dense b { font-size: clamp(19px, 1.6vw, 26px); letter-spacing: -.025em; }
.m3-rub__l--dense small { font-size: 14.5px; }
.m3-rub__l a:hover svg { opacity: 1; translate: 0 0; }

/* ---------- Contact : dernier bloc avant le pied orange du site, bord supérieur oblique ---------- */
.m3-contact { position: relative; background: var(--paper); }
.m3-contact--blanc { background: var(--m3-blanc); }
.m3-contact__b { --m3-d: 6vw; background: var(--m3-blanc); color: var(--ink); padding: calc(var(--section-y) + 7vw) 0 var(--section-y); clip-path: polygon(0 var(--m3-d), 100% 0, 100% 100%, 0 100%); }
.m3-contact--blanc .m3-contact__b { background: var(--paper); }
.m3-contact__g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
.m3-contact .m3-h2 { font-size: clamp(34px, 4.6vw, 84px); max-width: 16ch; }
.m3-contact__txt { display: grid; gap: 16px; }
.m3-contact__tete { display: grid; gap: clamp(20px, 2.4vw, 36px); justify-items: start; }
.m3-contact__portrait { order: -1; margin: 0; width: clamp(130px, 13vw, 210px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.m3-contact__portrait img { width: 100%; height: 100%; object-fit: cover; }
.m3-contact__txt p { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.m3-contact__act { display: grid; gap: 16px; justify-items: start; margin-top: 10px; }
.m3-contact__note { font-size: 15px; line-height: 1.5; max-width: 46ch; color: var(--ink-soft); }

/* ---------- États de départ, seulement quand le mouvement est permis ---------- */
.m3-on [data-m3-e] { opacity: 0; transform: translateY(28px); }
.m3-on [data-m3-mots] { visibility: hidden; }
.m3-on [data-m3-h] { opacity: 0; }
.m3-on [data-m3-fig] { clip-path: inset(8% round 18px); }

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1100px) {
  .m3-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m3-som__g { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .m3-hero { min-height: min(100svh, 860px); }
  .m3-hero__bas, .m3-s--a .m3-s__g, .m3-s--b .m3-s__tete, .m3-s--c .m3-s__g, .m3-s--f .m3-s__g, .m3-s--g .m3-s__tete,
  .m3-etapes, .m3-rub__g, .m3-contact__g, .m3-mk__p, .m3-duo, .m3-rub__l--dense { grid-template-columns: minmax(0, 1fr); }
  .m3-duo--inv .m3-fig { order: 0; }
  .m3-s--a .m3-s__tete, .m3-rub__tete, .m3-etapes__n { position: static; }
  .m3-s--a.m3-s--inv .m3-s__tete, .m3-s--f.m3-s--inv .m3-s__col { order: 0; }
  .m3-s--b .m3-s__corps--txt { columns: 1; }
  .m3-lignes li, .m3-pile li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .m3-pile li { min-height: 0; }
  .m3-etapes__n b { font-size: clamp(84px, 24vw, 140px); }
  .m3-mk__p { padding: clamp(22px, 5vw, 40px); gap: 28px; }
  .m3-mk__vis { padding-right: 0; }
  .m3-ordi { width: 100%; }
  .m3-cadre { margin-right: 0; }
  .m3-fig--haute { max-width: 100%; }
  .m3-trait__g { grid-template-columns: minmax(0, 1fr); }
  .m3-trait__g > svg path { stroke-width: 3; }
}
@media (max-width: 640px) {
  .m3-som ul, .m3-grille, .m3-grille--2, .m3-coche--2 { grid-template-columns: minmax(0, 1fr); }
  .m3-hero__in { padding-top: 132px; }
  .m3-hero__txt p { font-size: 16.5px; }
  .m3-p, .m3-coche li, .m3-faq__r p { font-size: 16.5px; }
  .m3-chapo { font-size: 17.5px; }
  .m3-fictif { top: 86px; }
  .m3-fig__zoom { opacity: 1; translate: 0 0; width: 38px; height: 38px; }
}

/* ---------- Mouvement réduit, mode éco, mode statique : tout à plat ---------- */
@media (prefers-reduced-motion: reduce) {
  .m3 *, .m3 *::before, .m3 *::after { transition-duration: .01ms !important; animation: none !important; }
}
.is-eco .m3 *, .is-eco .m3 *::before, .is-eco .m3 *::after { transition-duration: .01ms !important; animation: none !important; }
