/* location-exosquelette.com — AGM TEC
   DA : photographie documentaire plein cadre, typographie légère et large,
   sections chapitres, une couleur d'accent (orange AGM). */

/* ---------- Fonts ---------- */
/* Titres : Instrument Serif (fin, large, italique pour les horaires). Texte + étiquettes : Archivo variable (graisse + chasse condensée). */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-latin.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('../fonts/archivo-latin.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --orange: #f53100;
  --orange-deep: #c72800;
  --ink: #14151a;
  --ink-2: #1c1f27;
  --deep: #0e1118;
  --paper: #ffffff;
  --bone: #f3f1ec;
  --text: #1c1f27;
  --muted: #5e6573;
  --muted-dark: rgba(255,255,255,.62);
  --line: rgba(20,21,26,.12);
  --line-dark: rgba(255,255,255,.14);
  --glass: rgba(20,21,26,.22);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --cond: 'Archivo', 'Arial Narrow', sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --dur: .9s;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --nav-h: 72px;
  --subnav-h: 52px;
  --chrome-h: var(--nav-h);
  --radius: 4px;
  --col: calc((100vw - 2 * var(--gutter)) / 12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html:has(body.has-subnav) { scroll-padding-top: calc(var(--nav-h) + var(--subnav-h) + 16px); }
html:has(body.has-subnav.nav-retracted) { scroll-padding-top: calc(var(--subnav-h) + 16px); }
body.has-subnav { --chrome-h: calc(var(--nav-h) + var(--subnav-h)); }
body.has-subnav.nav-retracted { --chrome-h: var(--subnav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--radius); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- Typo ---------- */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.012em; text-wrap: balance; }
h1, .h1 { font-size: clamp(3rem, 7.6vw, 6.8rem); }
h2, .h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
h3, .h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; }
h4, .h4 { font-family: var(--font); font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.eyebrow { font-family: var(--cond); font-stretch: 78%; font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.eyebrow--muted { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; font-weight: 300; letter-spacing: -.005em; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
strong { font-weight: 600; }
.num { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.italic { font-style: italic; }
.ui { font-family: var(--cond); font-stretch: 90%; font-weight: 600; letter-spacing: .02em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(2rem, 3.4vw, 3rem); }
.prose h3 { margin-top: 1.8em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--cond); font-stretch: 90%; font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prose blockquote { margin: 0; padding-left: 22px; border-left: 2px solid var(--orange); font-family: var(--display); font-weight: 300; font-size: 1.3rem; line-height: 1.4; }
.prose figure { margin: 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .6em; }
.bluf { padding: 26px 28px; background: var(--bone); border-left: 3px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; }
.bluf p { margin: 0; }
.bluf .eyebrow { display: block; margin-bottom: 10px; }
.dark .bluf { background: rgba(255,255,255,.05); }
.sources { font-size: .85rem; color: var(--muted); }
.sources li { margin-top: .35em; }
.sources a { text-decoration: underline; text-underline-offset: 2px; }
.bluf a[href^="http"],
.lead a[href^="http"],
.notice a[href^="http"],
.faq__a a[href^="http"],
.step p a[href^="http"],
.cta-band .lead a[href^="http"],
.compare a[href^="http"],
.fact small a[href^="http"] {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.dark .bluf a[href^="http"],
.dark .lead a[href^="http"],
.dark .notice a[href^="http"],
.cta-band .lead a[href^="http"],
.dark .faq__a a[href^="http"],
.dark .step p a[href^="http"] { color: #ffb08f; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--text { max-width: 760px; }
.section { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section--flush-top { padding-top: 0; }
.dark { background: var(--deep); color: #fff; }
.dark .muted, .dark .eyebrow--muted { color: var(--muted-dark); }
.dark .prose a { color: #ffb08f; }
.dark .prose th, .dark .prose td { border-color: var(--line-dark); }
.bone { background: var(--bone); }
.grid { display: grid; gap: clamp(20px, 3vw, 48px); grid-template-columns: repeat(12, 1fr); }
.col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
.col-start-2 { grid-column-start: 2; } .col-start-7 { grid-column-start: 7; } .col-start-8 { grid-column-start: 8; }
.stack > * + * { margin-top: var(--stack, 20px); }
.split { display: grid; gap: clamp(28px, 4vw, 80px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split .sticky, .article .sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 6; }
  .col-start-2, .col-start-7, .col-start-8 { grid-column-start: auto; }
  .split, .split--even { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
}

/* Lignes de grille verticales (fond) */
.gridlines { position: fixed; inset: 0; z-index: 1; pointer-events: none; display: grid; grid-template-columns: repeat(6, 1fr); padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; opacity: .35; }
.gridlines i { border-left: 1px solid var(--line); }
.gridlines i:last-child { border-right: 1px solid var(--line); }
.dark .gridlines i, [data-nav-theme="dark"] ~ .gridlines i { border-color: var(--line-dark); }
main { position: relative; z-index: 2; }
@media (max-width: 900px) { .gridlines { grid-template-columns: repeat(3, 1fr); } .gridlines i:nth-child(n+4) { display: none; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font-family: var(--cond); font-stretch: 90%; font-weight: 600; font-size: .92rem; letter-spacing: .01em; line-height: 1; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-deep); }
.btn--ghost { background: var(--glass); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(20,21,26,.45); }
.btn--outline { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.dark .btn--outline { border-color: var(--line-dark); color: #fff; }
.dark .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cond); font-stretch: 90%; font-weight: 600; font-size: .9rem; color: var(--orange-deep); }
.link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.dark .link { color: #ffb08f; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); color: #fff; transition: color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease); }
.nav[data-theme="light"] { color: var(--ink); }
.nav.is-scrolled { background: rgba(14,17,24,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-scrolled[data-theme="light"] { background: rgba(255,255,255,.78); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__left, .nav__right { display: flex; align-items: center; gap: 8px; }
.nav__right { justify-content: flex-end; }
.nav__logo { display: block; height: 30px; }
.nav__logo svg, .nav__logo img { height: 100%; width: auto; }
.nav__logo .logo-dark { display: none; }
.nav[data-theme="light"] .logo-light { display: none; }
.nav[data-theme="light"] .logo-dark { display: block; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--radius); background: rgba(20,21,26,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-family: var(--cond); font-stretch: 92%; font-weight: 500; font-size: .86rem; color: inherit; transition: background-color .3s var(--ease); }
.nav[data-theme="light"] .pill { background: rgba(20,21,26,.06); }
.pill:hover, .pill[aria-expanded="true"] { background: rgba(20,21,26,.42); }
.nav[data-theme="light"] .pill:hover, .nav[data-theme="light"] .pill[aria-expanded="true"] { background: rgba(20,21,26,.12); }
.pill--accent { background: var(--orange); color: #fff; }
.pill--accent:hover { background: var(--orange-deep); }
.nav[data-theme="light"] .pill--accent { background: var(--orange); }
.nav[data-theme="light"] .pill--accent:hover { background: var(--orange-deep); }
.pill svg { width: 12px; height: 12px; }
.nav__item { position: relative; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 8px; background: rgba(14,17,24,.94); color: #fff; border-radius: 6px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.nav__item:hover .menu, .nav__item:focus-within .menu, .menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 12px 14px; border-radius: 4px; font-size: .95rem; }
.menu a small { display: block; margin-top: 2px; font-size: .8rem; color: var(--muted-dark); }
.menu a:hover { background: rgba(255,255,255,.08); }
.menu__label { padding: 10px 14px 6px; font-family: var(--cond); font-stretch: 80%; font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.burger { display: none; }
.nav__tel { font-family: var(--cond); font-stretch: 90%; font-size: .86rem; font-weight: 500; opacity: .85; }
@media (max-width: 1100px) { .nav__tel { display: none; } }
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__left .nav__item, .nav__right .pill--book-desktop { display: none; }
  .burger { display: inline-flex; }
  .nav__logo { justify-self: center; height: 26px; }
}
/* Menu mobile plein écran */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--deep); color: #fff; padding: calc(var(--nav-h) + 24px) var(--gutter) 40px; overflow: auto; transform: translateY(-100%); transition: transform .6s var(--ease); }
.mobile-menu.is-open { transform: none; }
.mobile-menu .eyebrow { margin-top: 28px; margin-bottom: 8px; }
.mobile-menu a { display: block; padding: 12px 0; font-family: var(--display); font-size: 2rem; font-weight: 400; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .btn { margin-top: 32px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: clip; isolation: isolate; }
.hero--short { min-height: 78svh; }
.hero__media { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,24,.32) 0%, rgba(14,17,24,0) 35%, rgba(14,17,24,.55) 75%, rgba(14,17,24,.86) 100%); }
.hero__content { position: relative; padding-bottom: clamp(40px, 6vw, 88px); padding-top: calc(var(--nav-h) + 40px); }
.hero__grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 44ch; color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.hero__facts .num { font-size: clamp(2rem, 2.8vw, 2.9rem); }
.hero__facts small { display: block; margin-top: 6px; font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.4; }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-family: var(--cond); font-stretch: 80%; font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 10px; }
.hero__scroll i { display: block; width: 1px; height: 36px; background: linear-gradient(#fff, transparent); animation: drop 2.2s var(--ease-io) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 12px; } .hero__scroll { display: none; } }

/* Bannière chapitre plein écran */
.chapter { position: relative; min-height: 100svh; display: grid; place-items: center; color: #fff; text-align: center; overflow: clip; isolation: isolate; }
.chapter--short { min-height: 70svh; }
.chapter__media { position: absolute; inset: -12% 0; z-index: -1; will-change: transform; }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; }
.chapter__media::after { content: ''; position: absolute; inset: 0; background: rgba(14,17,24,.38); }
.chapter__inner { padding: 120px var(--gutter); max-width: 960px; }
.chapter h2 { font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 300; }
.chapter .eyebrow { color: #fff; opacity: .8; margin-bottom: 20px; display: block; }
.chapter .lead { margin-top: 24px; color: rgba(255,255,255,.85); }

/* ---------- Composants ---------- */
.section-head { display: grid; gap: 20px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head .lead { max-width: 56ch; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* cartes métiers */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: block; aspect-ratio: 3/4; overflow: clip; border-radius: var(--radius); color: #fff; isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,24,0) 40%, rgba(14,17,24,.85) 100%); z-index: 1; }
.card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; }
.card__body .eyebrow { color: #ffb08f; display: block; margin-bottom: 8px; }
.card__body h3 { font-size: 1.8rem; }
.card__body p { margin-top: 8px; font-size: .92rem; color: rgba(255,255,255,.78); }
.card__body .link { margin-top: 14px; color: #fff; }
.card:hover img { transform: scale(1.05); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card { aspect-ratio: 4/3; } }

/* faits chiffrés */
.facts { display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dark .facts { background: var(--line-dark); border-color: var(--line-dark); }
.fact { padding: 30px 26px; background: var(--paper); }
.dark .fact { background: var(--deep); }
.fact .num { display: block; }
.fact .num sup { font-size: .5em; vertical-align: super; }
.fact p { margin-top: 10px; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.fact small { display: block; margin-top: 10px; font-size: .74rem; color: var(--muted); opacity: .85; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* liste numérotée (étapes) */
.steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.dark .step { border-color: var(--line-dark); }
.step:last-child { border-bottom: 1px solid var(--line); }
.dark .step:last-child { border-color: var(--line-dark); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 300; font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--muted); }
.step h3 { font-size: 1.7rem; }
.step p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.dark .step p { color: var(--muted-dark); }

/* media + texte */
.media { position: relative; overflow: clip; border-radius: var(--radius); }
.media img { width: 100%; height: auto; }
.media--tall { aspect-ratio: 3/4; }
.media--tall img, .media--wide img { height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16/9; }
.media figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; font-size: .74rem; letter-spacing: .04em; color: #fff; background: rgba(14,17,24,.55); backdrop-filter: blur(6px); border-radius: 3px; }

/* Citation */
.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.22; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.dark .faq details { border-color: var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--orange); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }
.dark .faq .faq__a { color: var(--muted-dark); }
.faq .faq__a p + p { margin-top: .8em; }

/* Bandeau CTA */
.cta-band { position: relative; overflow: clip; border-radius: 6px; padding: clamp(40px, 6vw, 88px); color: #fff; background: var(--deep); isolation: isolate; }
.cta-band img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,17,24,.92), rgba(14,17,24,.4)); }
.cta-band h2 { max-width: 20ch; }
.cta-band .lead { max-width: 48ch; margin-top: 16px; color: rgba(255,255,255,.82); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Comparatif */
.compare { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.compare > div { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.dark .compare > div { border-color: var(--line-dark); }
.compare h3 { font-size: 1.7rem; margin-bottom: 14px; }
.compare ul { list-style: none; }
.compare li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.dark .compare li { border-color: var(--line-dark); }
.compare li strong { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--cond); font-stretch: 80%; font-weight: 600; margin-bottom: 4px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Sticky tabs (pages métiers) — top suit la nav principale (repliée → 0) */
.subnav {
  position: sticky;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: top .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
body.nav-retracted .subnav { top: 0; }
.subnav.is-dark { background: rgba(14,17,24,.92); border-color: var(--line-dark); }
.subnav ul, .subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar, .subnav .container::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 14px; font-family: var(--cond); font-stretch: 90%; font-size: .86rem; font-weight: 500; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.subnav a.is-active, .subnav a:hover { color: var(--text); border-color: var(--orange); }
.subnav.is-dark a { color: rgba(255,255,255,.55); }
.subnav.is-dark a.is-active, .subnav.is-dark a:hover { color: #fff; }

/* ---------- Timeline épinglée (transposition « Hour by hour ») ---------- */
.timeline { position: relative; }
.timeline__layout { display: grid; grid-template-columns: 4fr 4fr 4fr; }
.timeline__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 40px) var(--gutter) 48px; }
.timeline__sticky .eyebrow { display: block; margin-bottom: 14px; }
.timeline__sticky h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.timeline__sticky h2 span { display: block; color: var(--muted-dark); }
.timeline__foot { max-width: 34ch; font-size: .95rem; color: var(--muted-dark); }
.timeline__foot strong { color: #fff; }
.timeline__items { border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.timeline__item { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(24px, 3vw, 48px); border-top: 1px solid var(--line-dark); transition: opacity .6s var(--ease); }
.timeline__item:first-child { padding-top: calc(var(--nav-h) + 72px); }
.timeline__item:last-child { min-height: 100svh; }
.timeline__item .h3.italic { font-weight: 300; }
.timeline__item .time { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.03em; }
.timeline__item h3 { margin-top: 28px; font-size: 1.9rem; }
.timeline__item p { margin-top: 14px; color: var(--muted-dark); max-width: 42ch; }
.timeline__item.is-dim { opacity: .22; }
/* Images empilées (la 1re au-dessus). Au défilement, chaque image est rognée par le bas
   (clip-path inset) et s'assombrit pour découvrir la suivante : transition « scrub » de la référence. */
.timeline__media { position: sticky; top: 0; height: 100svh; overflow: clip; background: var(--deep); }
.timeline__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: clip-path, filter; }
.timeline__media img:nth-child(1) { z-index: 5; } .timeline__media img:nth-child(2) { z-index: 4; } .timeline__media img:nth-child(3) { z-index: 3; } .timeline__media img:nth-child(4) { z-index: 2; } .timeline__media img:nth-child(5) { z-index: 1; }
/* Avec subnav : la timeline s’ancre sous la barre (plus de chevauchement) */
body.has-subnav .timeline__sticky,
body.has-subnav .timeline__media {
  top: var(--chrome-h);
  height: calc(100svh - var(--chrome-h));
}
body.has-subnav .timeline__sticky { padding-top: 40px; }
body.has-subnav .timeline__item:first-child { padding-top: calc(var(--chrome-h) + 48px); }
@media (max-width: 900px) {
  .timeline__layout { grid-template-columns: 1fr; }
  .timeline__sticky { position: relative; height: auto; padding-bottom: 8px; gap: 24px; }
  .timeline__media { display: none; }
  .timeline__items { border: 0; }
  .timeline__item { min-height: 0; padding: 40px var(--gutter); opacity: 1 !important; display: grid; grid-template-columns: 90px 1fr; gap: 0 20px; }
  .timeline__item .time { font-size: 1.6rem; grid-row: 1 / 3; }
  .timeline__item h3 { margin: 0; font-size: 1.2rem; }
  body.has-subnav .timeline__sticky { padding-top: calc(var(--nav-h) + 40px); }
  body.has-subnav .timeline__item:first-child { padding-top: 40px; }
}

/* ---------- Fin de journée (accueil) ---------- */
.fin-journee__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.fin-journee__media { margin: 0; border-radius: var(--radius); }
.fin-journee__copy h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); max-width: 18ch; }
@media (max-width: 900px) {
  .fin-journee__grid { grid-template-columns: 1fr; }
  .fin-journee__copy h2 { max-width: none; }
}

/* ---------- Transition « fold » 3D ---------- */
.fold { position: relative; height: 100svh; perspective: 1400px; overflow: clip; background: var(--deep); }
.fold__panel { position: absolute; inset: 0; transform-origin: 50% 100%; transform: rotateX(70deg); will-change: transform; backface-visibility: hidden; }
.fold__panel img { width: 100%; height: 100%; object-fit: cover; }
.fold__panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,.5) 22%, rgba(255,255,255,0) 55%); }
.fold__title { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink); padding: var(--gutter); }
.fold__title h2 { font-size: clamp(2.4rem, 6vw, 5.6rem); }
.fold__title .eyebrow { display: block; margin-bottom: 16px; }
@media (prefers-reduced-motion: reduce), (max-width: 900px) { .fold { height: 70svh; } .fold__panel { transform: none !important; } }

/* ---------- Slider à balayage (transition d'images de la référence) ----------
   Images empilées ; la sortante est rognée par clip-path vers un bord pendant que
   son image glisse de 10 %, l'entrante se découvre depuis le bord opposé. Animé en JS (WAAPI). */
.slider { position: relative; overflow: clip; border-radius: var(--radius); background: var(--deep); isolation: isolate; }
.slider__track { position: relative; width: 100%; height: 100%; }
.slider.media--wide .slider__track { aspect-ratio: 16/9; }
.slider.media--tall .slider__track { aspect-ratio: 3/4; }
.slider__item { position: absolute; inset: 0; margin: 0; overflow: clip; visibility: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.slider__item.is-active { visibility: visible; z-index: 1; }
.slider__item.is-leaving { visibility: visible; z-index: 2; }
.slider__item.is-entering { visibility: visible; z-index: 3; }
.slider__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, clip-path; }
.slider__item figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; font-size: .74rem; letter-spacing: .04em; color: #fff; background: rgba(14,17,24,.55); backdrop-filter: blur(6px); border-radius: 3px; }
.slider__nav { position: absolute; right: 14px; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 8px; }
.slider__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(14,17,24,.35); color: #fff; backdrop-filter: blur(10px); display: grid; place-items: center; cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.slider__btn svg { width: 22px; height: 8px; }
.slider__btn:hover { background: rgba(255,255,255,.92); color: var(--ink); border-color: transparent; }
.slider__btn:active { transform: scale(.94); }
.slider__count { font-family: var(--cond); font-stretch: 90%; font-weight: 600; font-size: .74rem; letter-spacing: .08em; color: #fff; padding: 0 6px; font-variant-numeric: tabular-nums; }
.slider__count b { font-weight: 600; }
.slider__count i { font-style: normal; opacity: .55; }
html.no-js .slider__item:not(.is-active) { display: none; }

/* Variante pleine largeur : zones cliquables gauche/droite, légende en pied hors image, points */
.slider--full { border-radius: 0; background: var(--ink); }
.slider--full .slider__track { height: min(100svh, 56.25vw); min-height: 420px; }
.slider--full .slider__item figcaption { display: none; }
.slider--full .slider__nav { right: var(--gutter); bottom: 4px; }
.slider__zone { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 4; border: 0; background: transparent; padding: 0; cursor: pointer; }
.slider__zone--prev { left: 0; } .slider__zone--next { right: 0; }
.slider__legend { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: 22px var(--gutter) 0; max-width: var(--max); margin: 0 auto; }
.slider__legend p { margin: 0; font-size: 1.02rem; max-width: 60ch; }
.slider__legend .slider__label { display: block; font-family: var(--cond); font-stretch: 90%; font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; color: var(--orange); }
.slider__legend p strong { color: #fff; }
.slider__legend p { color: var(--muted-dark); }
.slider__legend p span { display: none; }
.slider__legend p span.is-active { display: block; }
.slider__dots { display: flex; gap: 8px; align-items: center; }
.slider__dots button { width: 28px; height: 2px; border: 0; padding: 0; background: rgba(255,255,255,.28); cursor: pointer; transition: background .4s var(--ease); }
.slider__dots button.is-active { background: #fff; }
.slider__dots button:hover { background: rgba(255,255,255,.7); }
@media (max-width: 700px) {
  .slider--full .slider__track { height: 62svh; min-height: 0; }
  .slider__legend { grid-template-columns: 1fr; gap: 16px; padding-bottom: 64px; }
  .slider__legend .slider__dots { display: none; }
  .slider__zone { display: none; }
  .slider--full .slider__nav { right: var(--gutter); bottom: 12px; }
}

/* ---------- Flyout (panneau essai / devis) ---------- */
.flyout-tab { position: fixed; right: 0; top: 50%; z-index: 80; transform: translateY(-50%); writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; padding: 22px 0; width: 56px; justify-content: center; background: var(--orange); color: #fff; font-family: var(--cond); font-stretch: 90%; font-weight: 600; font-size: .82rem; letter-spacing: .04em; border-radius: 4px 0 0 4px; transition: background-color .3s var(--ease), transform .5s var(--ease), opacity .5s var(--ease); }
.flyout-tab:hover { background: var(--orange-deep); }
.flyout-tab span { transform: rotate(180deg); }
.flyout-tab b { font-weight: 300; font-size: 1.3rem; line-height: 1; transform: rotate(180deg); }
.flyout-tab.is-hidden { transform: translate(100%, -50%); opacity: 0; }
@media (max-width: 900px) { .flyout-tab { top: auto; bottom: 0; right: 0; left: 0; width: auto; transform: none; writing-mode: horizontal-tb; border-radius: 0; padding: 16px; gap: 10px; } .flyout-tab span, .flyout-tab b { transform: none; } .flyout-tab.is-hidden { transform: translateY(100%); } }
.flyout { position: fixed; inset: 0; z-index: 110; visibility: hidden; pointer-events: none; }
.flyout.is-open { visibility: visible; pointer-events: auto; }
.flyout__overlay { position: absolute; inset: 0; background: rgba(14,17,24,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease); }
.flyout.is-open .flyout__overlay { opacity: 1; }
.flyout__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: var(--paper); color: var(--text); overflow-y: auto; padding: clamp(28px, 4vw, 56px); transform: translateX(100%); transition: transform .7s var(--ease); }
.flyout.is-open .flyout__panel { transform: none; }
.flyout__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.flyout__close:hover { background: var(--ink); color: #fff; }
.flyout__panel h2 { font-size: 2.6rem; margin-top: 8px; }
.flyout__panel .lead { margin-top: 12px; font-size: 1.05rem; color: var(--muted); }
body.flyout-open { overflow: hidden; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--cond); font-stretch: 80%; font-weight: 600; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: .98rem; color: var(--text); background: var(--bone); border: 1px solid transparent; border-radius: var(--radius); transition: border-color .3s, background-color .3s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: #fff; }
.dark .field input, .dark .field select, .dark .field textarea { background: rgba(255,255,255,.06); color: #fff; }
.dark .field input:focus, .dark .field select:focus, .dark .field textarea:focus { background: rgba(255,255,255,.1); border-color: #fff; }
.dark .field label { color: var(--muted-dark); }
.choices { display: grid; gap: 8px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .3s, background-color .3s; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.choice input:checked ~ i { border-color: var(--orange); box-shadow: inset 0 0 0 4px var(--orange); }
.choice:has(input:checked) { border-color: var(--orange); background: rgba(245,49,0,.04); }
.dark .choice { border-color: var(--line-dark); } .dark .choice i { border-color: var(--line-dark); }
.dark .choice:has(input:checked) { background: rgba(245,49,0,.12); }
.choice span { font-size: .95rem; }
.choice small { display: block; color: var(--muted); font-size: .82rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--orange); }
.form .btn { justify-self: start; }
.form__note { font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); background: var(--bone); font-size: .95rem; display: none; }
.form__status.is-visible { display: block; }
.form__status.is-error { background: #fff0ec; color: #8a1c00; }
.dark .form__status { background: rgba(255,255,255,.08); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- Scrollspy (pastille bas) ---------- */
.spy { position: fixed; left: 50%; bottom: 20px; z-index: 70; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; border-radius: 6px; background: rgba(20,21,26,.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.spy.is-visible { opacity: 1; pointer-events: auto; }
.spy a { display: block; padding: 8px 14px; border-radius: 4px; font-family: var(--cond); font-stretch: 80%; font-weight: 600; font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.6); transition: color .3s, background-color .3s; }
.spy a.is-active { color: #fff; background: rgba(255,255,255,.14); }
.spy[data-theme="light"] { background: rgba(255,255,255,.7); color: var(--ink); }
.spy[data-theme="light"] a { color: var(--muted); } .spy[data-theme="light"] a.is-active { color: var(--ink); background: rgba(20,21,26,.08); }
@media (max-width: 900px) { .spy { display: none; } }

/* ---------- Curseur ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transform: translate(-100px, -100px); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; display: none; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-hidden { opacity: 0; }
/* Étiquette (« Précédent » / « Suivant ») au survol des zones du slider */
.cursor.is-text { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; font-family: var(--cond); font-stretch: 90%; font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.cursor span { opacity: 0; transition: opacity .25s; }
.cursor.is-text span { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--deep); color: #fff; padding: clamp(60px, 8vw, 110px) 0 32px; }
.footer__top { display: grid; gap: 40px; grid-template-columns: 4fr 2fr 2fr 2fr 2fr; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 34px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: .92rem; color: var(--muted-dark); }
.footer h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--orange); margin-bottom: 16px; }
.footer li { padding: 6px 0; font-size: .94rem; color: rgba(255,255,255,.82); }
.footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .8rem; color: var(--muted-dark); }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Motion (reveals) ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-in > :nth-child(1) { transition-delay: 0s; } [data-reveal-stagger].is-in > :nth-child(2) { transition-delay: .08s; } [data-reveal-stagger].is-in > :nth-child(3) { transition-delay: .16s; } [data-reveal-stagger].is-in > :nth-child(4) { transition-delay: .24s; } [data-reveal-stagger].is-in > :nth-child(5) { transition-delay: .32s; } [data-reveal-stagger].is-in > :nth-child(6) { transition-delay: .40s; } [data-reveal-stagger].is-in > :nth-child(n+7) { transition-delay: .48s; }
.clip-img { overflow: clip; }
.clip-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.clip-img.is-in img { transform: none; }
html.no-js [data-reveal], html.no-js [data-reveal-stagger] > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .timeline__item.is-dim { opacity: 1; }
}

/* ---------- Divers ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.dark .breadcrumb a:hover { color: #fff; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 3px; background: var(--bone); font-family: var(--cond); font-stretch: 80%; font-weight: 600; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dark .tag { background: rgba(255,255,255,.08); color: var(--muted-dark); }
.notice { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; color: var(--muted); }
.dark .notice { border-color: var(--line-dark); color: var(--muted-dark); }
.list-check li { position: relative; padding-left: 28px; margin-top: .6em; }
.list-check li::before { content: ''; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.article-head { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 120px)); }
.article-head h1 { max-width: 20ch; margin-top: 20px; }
.article-head .lead { margin-top: 24px; max-width: 60ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: .85rem; color: var(--muted); }
.toc { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; }
.toc .eyebrow { display: block; margin-bottom: 12px; }
.toc li { padding: 5px 0; }
.toc a:hover { color: var(--orange-deep); }
/* Guides : sommaire épinglé à gauche, colonne de lecture bornée à droite */
.article { display: grid; gap: clamp(28px, 4vw, 80px); grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); align-items: start; }
.article .prose { max-width: 70ch; font-size: 1.05rem; line-height: 1.6; }
.article .prose .lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.article .prose h2 { scroll-margin-top: calc(var(--nav-h) + 24px); }
.article .prose h3 { scroll-margin-top: calc(var(--nav-h) + 24px); font-size: 1.45rem; }
.article .prose .num { display: block; }
.prose .bluf { margin-top: 0; }
.prose .table-wrap { overflow-x: auto; }
.prose td strong { font-weight: 600; }
.prose .callout { padding: 22px 24px; background: var(--bone); border-left: 2px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; }
.prose .callout p + p { margin-top: .8em; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article .sticky { position: static; } }
.related { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.related a { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .5s var(--ease); }
.related a:hover { border-color: var(--ink); transform: translateY(-3px); }
.related .eyebrow { display: block; margin-bottom: 10px; }
.related h3 { font-size: 1.5rem; }
.related p { margin-top: 8px; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }
