/* Wireframes Groupe Roux — feuille de style commune
   Direction « chantier éditorial » : typographie condensée massive, filets francs, sections numérotées,
   chiffres géants, emplacements d'images hachurés signés d'une barre oblique.
   La couleur d'accent est portée par une classe sur <body> : site-recrute, site-missonnier,
   site-roux-btp, site-recg, site-verti-block, site-reynard, site-derosso. */

:root {
  --ink: #17272d;
  --muted: #52646a;
  --paper: #f2f5f3;
  --line: #d5dfde;
  --white: #ffffff;
  --accent: #245b63;
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, white);
  --accent-deep: color-mix(in srgb, var(--accent) 78%, black);
  --focus: #145be0;
  --error: #b3261e;
  --ok: #1f6b3a;
  --font: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Avenir Next Condensed", "Bahnschrift SemiCondensed", "DIN Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(56px, 8vw, 120px);
  --rule: 1px solid var(--ink);
}

.site-recrute { --accent: #245b63; --accent-ink: #fff; }
.site-missonnier { --accent: #395a3e; --accent-ink: #fff; }
.site-roux-btp { --accent: #f18318; --accent-ink: #17272d; --accent-deep: #b85c05; }
.site-recg { --accent: #f18318; --accent-ink: #17272d; --accent-deep: #b85c05; }
.site-verti-block { --accent: #c53f17; --accent-ink: #fff; --accent-deep: #8f2c0e; }
.site-reynard { --accent: #e9db5f; --accent-ink: #17272d; --accent-deep: #406247; }
.site-derosso { --accent: #469b2d; --accent-ink: #fff; --accent-deep: #2f6e1d; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #dfe5e4;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h1, h2 { font-family: var(--font); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 700; text-wrap: balance; }
h4 { font-size: 1.05rem; line-height: 1.25; font-weight: 700; }
p { max-width: 68ch; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; }
ul, ol { padding-left: 1.3em; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
:where(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Barre de prototype (injectée par app.js) ---------- */
.skip-link { position: fixed; z-index: 200; top: -100px; left: 16px; background: #fff; color: var(--ink); padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.prototype-bar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 10px var(--gutter); background: #0f1a1e; color: #fff; font-size: 0.85rem; }
.prototype-bar a { text-decoration: none; font-weight: 700; }
.prototype-bar .prototype-ensemble { color: #9fb0ae; }
.prototype-bar label { display: flex; align-items: center; gap: 10px; }
.prototype-bar select { max-width: 360px; background: #fff; color: var(--ink); padding: 6px 10px; border: 0; }
.prototype-tools { display: flex; gap: 8px; margin-left: auto; }
.prototype-tools button { color: #fff; border: 1px solid #4d5c60; padding: 7px 14px; }
.prototype-tools button[aria-pressed="true"] { background: #fff; color: var(--ink); }

/* ---------- Gabarit de site ---------- */
.site { max-width: 1480px; margin: 0 auto; background: var(--white); container-type: inline-size; min-height: 100vh; box-shadow: 0 0 0 1px var(--line); }
body.is-mobile .site { max-width: 390px; margin: 24px auto; }
.container { padding-inline: var(--gutter); max-width: 1280px; margin-inline: auto; }
.container--narrow { max-width: 880px; }
main { counter-reset: section; }
.section { padding-block: var(--section); border-top: var(--rule); }
main > .section:has(.section-head) { counter-increment: section; }
.hero + .section, .section--accent, .section--dark { border-top: 0; }
.section--tight { padding-block: clamp(36px, 5vw, 72px); }
.section--paper { background: var(--paper); }
.section--accent { background: var(--accent); color: var(--accent-ink); }
.section--dark { background: var(--ink); color: #fff; }
.section--accent .eyebrow, .section--accent .muted { color: color-mix(in srgb, var(--accent-ink) 80%, transparent); }
.section--dark .eyebrow, .section--dark .muted { color: #9fb0ae; }
.section-head { max-width: 76ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-bottom: 0.45em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--accent .section-head p, .section--dark .section-head p { color: inherit; opacity: 0.9; }
.section-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(28px, 3vw, 48px); }

.eyebrow {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.9rem; font-weight: 700;
  color: var(--accent-deep); margin-bottom: 1em; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); flex: none; }
main > .section .section-head .eyebrow::before { content: counter(section, decimal-leading-zero); width: auto; height: auto; background: none; font-size: 1.1rem; letter-spacing: 0.04em; color: var(--accent); padding-right: 12px; border-right: 2px solid var(--accent); line-height: 1; }
.section--accent .eyebrow, .section--dark .eyebrow { color: inherit; opacity: 0.92; }
.section--accent .eyebrow::before, .section--dark .eyebrow::before { background: currentColor; }
main > .section--accent .section-head .eyebrow::before, main > .section--dark .section-head .eyebrow::before { background: none; color: inherit; border-color: currentColor; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.55; }
.tagline { font-family: var(--font); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.3; color: var(--accent-deep); margin-block: 0.6em 0.7em; text-wrap: balance; }
.section--accent .tagline, .section--dark .tagline { color: inherit; }
.stack > * + * { margin-top: 1em; }
.stack--lg > * + * { margin-top: 2em; }
.prose h2 { margin-top: 1.8em; margin-bottom: 0.45em; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; margin-bottom: 0.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose ul + p, .prose p + ul, .prose ol + p, .prose p + ol { margin-top: 0.9em; }
.prose li + li { margin-top: 0.35em; }
.prose dl div { padding: 12px 0; border-top: var(--rule); }
.prose dt { font-weight: 700; }

/* ---------- Boutons et liens ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; font-family: var(--font); font-weight: 700; font-size: 1rem; letter-spacing: 0;
  text-decoration: none; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent); line-height: 1.1; text-align: center;
  transition: background 120ms linear, color 120ms linear, border-color 120ms linear, transform 120ms linear;
}
.button::after { content: "→"; font-family: var(--font); font-weight: 400; transition: transform 120ms linear; }
.button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.button:hover::after { transform: translateX(3px); }
.button--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--secondary:hover { background: var(--ink); color: #fff; }
.button--ghost { background: transparent; color: inherit; border-color: currentColor; }
.button--ghost:hover { background: rgba(255,255,255,0.14); color: inherit; border-color: currentColor; }
.button--small { padding: 10px 16px; font-size: 0.92rem; }
.button--small::after { content: none; }
.section--accent .button { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.section--accent .button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--accent .button--secondary, .section--dark .button--secondary { background: transparent; color: inherit; border-color: currentColor; }
.section--accent .button--secondary:hover, .section--dark .button--secondary:hover { background: rgba(255,255,255,0.16); }
.section--dark .button { background: #fff; color: var(--ink); border-color: #fff; }
.section--dark .button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.text-link { font-family: var(--font); font-weight: 700; font-size: 1rem; color: var(--accent-deep); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--ink); }
.section--accent .text-link, .section--dark .text-link { color: inherit; }
.text-link::after { content: " \2197"; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 1.5em; }

/* ---------- En-tête et navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: var(--rule); }
.site-header .container { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.1; }
.wordmark img { height: 46px; width: auto; }
.wordmark__mark { width: 44px; height: 44px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--display); font-size: 1rem; letter-spacing: 0.02em; }
.wordmark__text small { display: block; font-size: 0.7rem; font-weight: 700; color: var(--accent-deep); letter-spacing: 0.16em; margin-top: 4px; }
.site-nav { margin-left: auto; display: flex; align-items: center; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav a, .site-nav .nav-dropdown > button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; text-decoration: none; font-family: var(--font); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover, .site-nav .nav-dropdown > button:hover { color: var(--accent-deep); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.nav-dropdown { position: relative; }
.nav-dropdown > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-dropdown > button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.nav-panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: var(--white); border: var(--rule); box-shadow: 8px 8px 0 var(--accent); padding: 18px; display: none; z-index: 60; }
.nav-panel--wide { min-width: min(760px, 90vw); }
.nav-dropdown > button[aria-expanded="true"] + .nav-panel { display: block; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-panel--wide ul { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nav-panel a { display: flex; align-items: center; gap: 12px; padding: 10px; font-family: var(--font); font-weight: 700; font-size: 0.95rem; letter-spacing: 0; text-transform: none; }
.nav-panel a:hover { background: var(--paper); color: inherit; }
.nav-panel a small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.nav-panel .logo-dot { width: 36px; height: 36px; background: var(--paper); border: 1px solid var(--line); flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 0.8rem; }
.nav-panel__title { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.header-actions { display: flex; gap: 10px; margin-left: 16px; }
.menu-toggle { display: none; margin-left: auto; padding: 10px 14px; border: 2px solid var(--ink); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: 0.35; pointer-events: none; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero--simple .container { grid-template-columns: 1fr; }
.hero--simple .container > * { max-width: 82ch; }
.hero .lead { margin-top: 1.2em; }
.hero .actions { margin-top: 2em; }
.hero--paper { background: var(--paper); }
.hero .image-placeholder { --ratio: 4 / 5; box-shadow: 16px 16px 0 var(--accent); margin-right: 16px; }

/* ---------- Emplacements image / logo ---------- */
.image-placeholder {
  position: relative; width: 100%; aspect-ratio: var(--ratio, 4 / 3);
  background: repeating-linear-gradient(135deg, var(--accent-soft) 0 10px, #ffffff 10px 22px);
  border: var(--rule); display: grid; place-items: center; text-align: center;
  color: var(--muted); padding: 12px; overflow: hidden;
}
.image-placeholder > span { position: absolute; top: 10px; left: 12px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--ink); background: var(--white); padding: 4px 8px; border: 1px solid var(--ink); }
.image-placeholder::after { content: ""; position: absolute; right: -8px; bottom: -8px; width: 34%; height: 14px; background: var(--accent); transform: skewX(-32deg); }
.image-placeholder--wide { --ratio: 16 / 9; }
.image-placeholder--square { --ratio: 1; }
.image-placeholder--portrait { --ratio: 3 / 4; }
.image-placeholder--logo { --ratio: 3 / 1; background: var(--white); }
.image-placeholder--logo::after { content: none; }
.image-placeholder--logo > span { position: static; border: 0; background: none; font-size: 1.1rem; color: var(--muted); }

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; transition: border-color 120ms linear, transform 120ms linear; }
.card:hover { border-color: var(--ink); }
.card--paper { background: var(--paper); }
.card h3 { font-size: 1.2rem; color: var(--ink); }
.card h3 + p { margin-top: 2px; }
.section--accent .card, .section--dark .card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.26); color: inherit; }
.section--accent .card h3, .section--dark .card h3 { color: inherit; }
.card > .actions { margin-top: auto; padding-top: 10px; }
.card .image-placeholder { margin: -1px -1px 8px; width: calc(100% + 2px); }
.card__meta { font-size: 0.9rem; color: var(--muted); }
.card--link { text-decoration: none; }
.card--link:hover { border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--text-right > :first-child { order: 2; }
.split:has(form), .split--top { align-items: start; }
.split:has(form) > :first-child:not(form) { position: sticky; top: 116px; }

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.stat { padding-top: 18px; border-top: 3px solid var(--ink); }
.section--accent .stat, .section--dark .stat { border-top-color: currentColor; }
.stat__value { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 4.5vw, 4.2rem); line-height: 0.95; color: var(--accent); letter-spacing: -0.01em; }
.site-roux-btp .stat__value, .site-recg .stat__value, .site-reynard .stat__value, .site-derosso .stat__value { color: var(--accent-deep); }
.section--accent .stat__value, .section--dark .stat__value { color: inherit; }
.stat__label { font-weight: 700; font-size: 1.05rem; margin-top: 8px; }
.stat__note { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.section--accent .stat__note, .section--dark .stat__note { color: inherit; opacity: 0.85; }

/* ---------- Badges et notes ---------- */
.badge { display: inline-block; padding: 3px 9px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--display); background: var(--paper); border: 1px solid var(--ink); color: var(--ink); vertical-align: middle; }
.badge--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.badge--ok { background: #e6f2ea; border-color: #1f6b3a; color: var(--ok); }
.note { font-size: 0.92rem; color: var(--muted); padding: 12px 16px; border-left: 3px solid var(--ink); background: var(--paper); }
.section--paper .note { background: var(--white); }
.draft-banner { background: #fff8ee; border: 1px solid #f0c98a; color: #5c3a00; padding: 16px 20px; font-size: 0.95rem; }
.draft-banner strong { display: block; margin-bottom: 4px; }

/* ---------- Bandeau de marques défilant ---------- */
.brand-strip { border-top: var(--rule); border-bottom: var(--rule); overflow: hidden; background: var(--white); padding-block: 14px; }
.brand-strip__track { display: flex; gap: 0; width: max-content; animation: strip 38s linear infinite; }
.brand-strip__track span { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; padding-inline: 28px; display: inline-flex; align-items: center; gap: 28px; }
.brand-strip__track span::after { content: ""; width: 12px; height: 12px; background: var(--accent); transform: skewX(-30deg); }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brand-strip__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } }

/* ---------- Frise chronologique ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ink); }
.section--accent .timeline::before, .section--dark .timeline::before { background: currentColor; }
.timeline li { position: relative; padding: 28px 24px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -3px; left: 0; width: 14px; height: 14px; background: var(--accent); transform: skewX(-30deg); }
.section--accent .timeline li::before, .section--dark .timeline li::before { background: currentColor; }
.timeline__year { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 0.95; color: var(--accent); }
.site-roux-btp .timeline__year, .site-recg .timeline__year, .site-reynard .timeline__year, .site-derosso .timeline__year { color: var(--accent-deep); }
.section--accent .timeline__year, .section--dark .timeline__year { color: inherit; }
.timeline__label { font-weight: 700; margin-top: 12px; font-size: 1.05rem; }
.timeline__note { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.section--accent .timeline__note, .section--dark .timeline__note { color: inherit; opacity: 0.85; }

/* ---------- Organigramme fonctionnel ---------- */
.orgchart { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.orgchart li { position: relative; padding: 12px 18px; border: var(--rule); background: var(--white); font-weight: 700; }
.orgchart li + li { margin-top: 20px; }
.orgchart li small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.orgchart li:first-child { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.orgchart li:first-child small { color: inherit; opacity: 0.85; }
.orgchart li:nth-child(2) { margin-left: 28px; }
.orgchart li:nth-child(3) { margin-left: 56px; }
.orgchart li:nth-child(4) { margin-left: 84px; }
.orgchart li:nth-child(5) { margin-left: 112px; }
.orgchart li:nth-child(n+2)::before { content: ""; position: absolute; left: -16px; top: 50%; height: 2px; width: 14px; background: var(--ink); }

/* ---------- Valeurs (3 colonnes numérotées) ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: value; }
.values > div { padding-top: 20px; border-top: 3px solid var(--ink); counter-increment: value; }
.values > div::before { content: counter(value, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.site-roux-btp .values > div::before, .site-recg .values > div::before, .site-reynard .values > div::before, .site-derosso .values > div::before { color: var(--accent-deep); }
.section--accent .values > div, .section--dark .values > div { border-top-color: currentColor; }
.section--accent .values > div::before, .section--dark .values > div::before { color: inherit; }
.values h3 { font-size: 1.2rem; margin-bottom: 0.5em; }

/* ---------- Portraits ---------- */
.portrait { display: flex; flex-direction: column; gap: 10px; }
.portrait .image-placeholder { --ratio: 4 / 3; }
.portrait__who { font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.portrait__who small { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.section--accent .portrait__who small, .section--dark .portrait__who small { color: inherit; opacity: 0.85; }

/* ---------- Recherche d'offres et liste ---------- */
.search-block { background: var(--white); border: 2px solid var(--ink); padding: clamp(20px, 2.6vw, 32px); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; box-shadow: 10px 10px 0 var(--accent); }
.search-block .field { margin: 0; }
.search-block .button { height: 52px; white-space: nowrap; }
.search-block__foot { grid-column: 1 / -1; font-size: 0.95rem; color: var(--muted); }
.filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 12px; align-items: end; padding: 22px; background: var(--paper); border: var(--rule); }
.filters .field { margin: 0; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block: 24px 0; padding-bottom: 12px; }
.results-count { font-weight: 700; font-size: 1.1rem; }
.active-filter { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--accent-soft); color: var(--accent-deep); font-size: 0.9rem; font-weight: 600; border: 1px solid var(--accent); }
.active-filter button { text-decoration: underline; font-weight: 700; color: inherit; }
.offers { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: var(--rule); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: var(--rule); color: var(--ink); transition: background 120ms linear, padding 120ms linear; }
.offer:hover { background: var(--paper); padding-left: 16px; }
.offer__company { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; font-weight: 700; color: var(--accent-deep); }
.offer__title { font-weight: 700; font-size: 1.25rem; line-height: 1.2; margin-top: 4px; }
.offer__meta { display: flex; gap: 8px 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.offer__meta span::before { content: "/"; margin-right: 12px; color: var(--line); }
.offer__meta span:first-child::before { content: none; }
.offer .button { background: transparent; color: var(--ink); border-color: var(--ink); }
.offer .button:hover, .offer:hover .button { background: var(--ink); color: #fff; }
.offers--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); border-top: 0; }
.offers--cards .offer { grid-template-columns: 1fr; align-items: start; border: var(--rule); padding: 24px; background: var(--white); }
.offers--cards .offer:hover { padding-left: 24px; background: var(--paper); }
.section--paper .offer:hover { background: var(--white); }
.section--dark .offer, .section--accent .offer { background: var(--white); color: var(--ink); border-color: transparent; margin-top: 8px; }
.section--dark .offers, .section--accent .offers { border-top: 0; }
.empty-state { padding: clamp(24px, 3vw, 40px); border: 2px dashed var(--ink); background: var(--paper); }
.empty-state h3 { margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.chips li, .chip { padding: 7px 14px; border: var(--rule); background: var(--white); font-weight: 600; font-size: 0.9rem; }
.chips a { text-decoration: none; }
.chips li:hover { background: var(--ink); color: #fff; }

/* ---------- Chapitres (structure split sticky) ---------- */
.chapter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 96px); padding-block: clamp(48px, 6vw, 96px); border-top: var(--rule); align-items: start; }
.chapter:first-of-type { border-top: 0; }
.chapter__aside { position: sticky; top: 116px; }
.chapter__number { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 0.9; color: var(--accent); letter-spacing: -0.02em; }
.chapter__aside h2 { margin-top: 12px; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.chapter__aside .tagline { font-size: 1.2rem; font-family: var(--font); font-weight: 400; color: var(--muted); margin-top: 0.8em; }
.chapter__meta { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 0.95rem; }
.chapter__meta li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.chapter__meta li span:first-child { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--muted); padding-top: 3px; }
.chapter__body { display: grid; gap: clamp(24px, 3vw, 40px); }
.chapter__body h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.chapter__body .image-placeholder { --ratio: 16 / 9; }
.chapter__body ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.chapter__body ul li { padding-left: 22px; position: relative; }
.chapter__body ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; background: var(--accent); transform: skewX(-30deg); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.postes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0; }
.chapter__body .postes li { padding: 7px 12px; border: var(--rule); font-weight: 600; font-size: 0.95rem; }
.chapter__body .postes li::before { content: none; }

/* ---------- Étapes, FAQ, agenda ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.steps li { counter-increment: step; padding-top: 16px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 700; font-size: 1.8rem; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.steps--vertical { grid-template-columns: 1fr; }
.steps h3 { margin-bottom: 0.4em; }
.faq { border-top: var(--rule); }
.faq details { border-bottom: var(--rule); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq details > div p + p { margin-top: 0.7em; }
.agenda { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.agenda__date { font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-deep); }

/* ---------- Cartes entreprises ---------- */
.brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.brand-card { text-decoration: none; }
.brand-card .image-placeholder--logo { --ratio: 5 / 2; margin: 0 0 6px; width: 100%; }
.brand-card__name { font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.brand-card__line { color: var(--muted); }
.brand-card__site { font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.brand-card:hover { border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label, .field > .field__label { font-weight: 700; font-size: 0.95rem; }
.field .req { color: var(--error); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--ink); background: var(--white); min-height: 50px; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field__error { color: var(--error); font-size: 0.9rem; font-weight: 600; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); box-shadow: 0 0 0 2px #f6d8d5; }
.field.is-invalid .field__error { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.checkbox input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.form__privacy { font-size: 0.88rem; color: var(--muted); }
.form__summary { display: none; padding: 14px 18px; border: 2px solid var(--error); background: #fdf1f0; color: var(--error); font-weight: 600; }
.form.has-errors .form__summary { display: block; }
.form__confirmation { display: none; padding: 22px 26px; border: 2px solid var(--ok); background: #e6f2ea; color: var(--ok); }
.form__confirmation strong { display: block; margin-bottom: 4px; font-size: 1.1rem; }
.form__confirmation .demo { display: block; margin-top: 8px; font-size: 0.88rem; color: #5c3a00; }
.form.is-sent .form__confirmation { display: block; }
.form.is-sent .form__fields { display: none; }
.form-panel { background: var(--white); border: 2px solid var(--ink); padding: clamp(22px, 3vw, 44px); box-shadow: 12px 12px 0 var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 10px; }

/* ---------- Contact, coordonnées ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { padding-top: 10px; border-top: 1px solid var(--line); }
.contact-list li strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--display); color: var(--muted); }
.map-placeholder { --ratio: 4 / 3; }

/* ---------- Fil d'Ariane et sommaire ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding-top: 20px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--accent); }
.breadcrumb a { text-decoration: none; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }
.with-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.toc { position: sticky; top: 110px; font-size: 0.92rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; border-left: 2px solid var(--ink); }
.toc a { display: block; padding: 4px 14px; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.toc__title { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 88px) 24px; border-top: 6px solid var(--accent); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(var(--footer-cols, 4), 1fr); gap: clamp(24px, 3vw, 56px); }
.footer-grid h4, .footer-grid .footer-title { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; font-weight: 700; color: #9fb0ae; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #3a4a4f; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.footer-brand p { color: #b7c4c2; margin-top: 16px; font-size: 1rem; max-width: 34ch; }
.footer-brand .wordmark { color: #fff; font-size: 1.3rem; }
.footer-brand .wordmark__text small { color: #9fb0ae; }
.footer-brand .wordmark img { filter: brightness(0) invert(1); }
.footer-note { font-size: 0.9rem; color: #b7c4c2; }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social span { width: 38px; height: 38px; border: 1px solid #68777b; display: grid; place-items: center; font-size: 0.75rem; font-family: var(--display); font-weight: 700; color: #b7c4c2; }
.subfooter { margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid #3a4a4f; display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 0.85rem; color: #b7c4c2; }
.subfooter a, .subfooter button { color: inherit; }
.subfooter button { text-decoration: none; }
.subfooter button:hover { text-decoration: underline; }

/* ---------- Boîte de dialogue de parcours ---------- */
dialog.destination { border: 2px solid var(--ink); padding: 28px 32px; max-width: 520px; width: calc(100% - 32px); box-shadow: 12px 12px 0 var(--accent); color: var(--ink); }
dialog.destination::backdrop { background: rgba(23,39,45,0.6); }
dialog.destination h2 { font-size: 1.4rem; margin-bottom: 10px; }
dialog.destination p { color: var(--muted); }
dialog.destination .actions { margin-top: 20px; }

/* ---------- Annuaire (index.html) ---------- */
.directory { background: var(--paper); }
.directory main { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter); counter-reset: none; }
.directory h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.directory-intro { max-width: 68ch; color: var(--muted); margin-top: 1em; font-size: 1.1rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 4vw, 56px); }
.project-card { background: var(--white); border: var(--rule); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.project-card h2 { font-size: 1.35rem; }
.project-number { font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--accent); line-height: 1; }
.project-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.project-card li a { display: block; padding: 7px 10px; text-decoration: none; font-weight: 700; font-size: 0.95rem; border-top: 1px solid var(--line); }
.project-card li a:hover { background: var(--paper); }
.project-card li a small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.project-card .text-link { margin-top: auto; align-self: flex-start; }
.directory-note { margin-top: clamp(32px, 4vw, 56px); padding: 24px 28px; background: var(--white); border: var(--rule); max-width: 80ch; }
.directory-note strong { display: block; margin-bottom: 6px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.swatches span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.swatches i { width: 16px; height: 16px; display: inline-block; }

/* ---------- Responsive (container queries sur .site) ---------- */
@container (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .search-block { grid-template-columns: 1fr 1fr; }
  .search-block > :first-child { grid-column: 1 / -1; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .filters > :first-child { grid-column: 1 / -1; }
  .nav-panel--wide ul { grid-template-columns: repeat(2, 1fr); }
  .chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
}
@container (max-width: 900px) {
  .site-header .container { flex-wrap: wrap; min-height: 76px; padding-block: 12px; gap: 16px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; margin: 0; }
  .site-nav.open { display: block; padding: 12px 0 8px; border-top: var(--rule); margin-top: 8px; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .site-nav .nav-dropdown > button { width: 100%; padding: 14px 8px; font-size: 1.05rem; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); }
  .nav-panel { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--accent); margin: 0 0 8px 8px; padding: 6px 0 6px 12px; min-width: 0; }
  .nav-panel--wide ul { grid-template-columns: 1fr; }
  .header-actions { width: 100%; margin: 8px 0 0; display: none; }
  .site-nav.open ~ .header-actions { display: grid; gap: 8px; }
  .hero .container, .split { grid-template-columns: 1fr; }
  .hero .image-placeholder { --ratio: 16 / 10; margin-right: 12px; box-shadow: 10px 10px 0 var(--accent); }
  .split--text-right > :first-child { order: 0; }
  .split:has(form) > :first-child:not(form) { position: static; }
  .grid--3, .brands, .values, .agenda, .offers--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 0; right: auto; width: 3px; height: auto; }
  .timeline li { padding: 0 0 28px 28px; }
  .timeline li::before { left: -6px; top: 6px; }
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .chapter { grid-template-columns: 1fr; gap: 28px; }
  .chapter__aside { position: static; }
  .duo { grid-template-columns: 1fr; }
}
@container (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .brands, .values, .agenda, .steps, .offers--cards, .stats, .form-grid { grid-template-columns: 1fr; }
  .search-block, .filters { grid-template-columns: 1fr; }
  .search-block { box-shadow: 6px 6px 0 var(--accent); }
  .search-block .button { height: auto; }
  .offer { grid-template-columns: 1fr; padding-inline: 4px; }
  .offer:hover { padding-left: 4px; }
  .offer .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .orgchart li:nth-child(n) { margin-left: 0; }
  .orgchart li:nth-child(n+2)::before { left: 24px; top: -21px; height: 20px; width: 2px; }
  .actions .button, .section-actions .button { width: 100%; }
  .prototype-bar { gap: 10px; }
  .prototype-tools { margin-left: 0; }
  .stat__value { font-size: 2.6rem; }
  .chapter__number { font-size: 2.6rem; }
  .form-panel { box-shadow: 6px 6px 0 var(--accent); }
}
@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-card { padding: 20px; }
  .prototype-bar label { flex: 1 1 100%; min-width: 0; }
  .prototype-bar select { max-width: 100%; width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Réalisations ---------- */
.project { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; border: 1px solid var(--line); background: var(--white); padding: 0 0 24px; transition: border-color 120ms linear; }
.project:hover { border-color: var(--ink); }
.project .image-placeholder { --ratio: 16 / 10; margin: -1px -1px 0; width: calc(100% + 2px); }
.project__body { padding-inline: 24px; display: grid; gap: 12px; }
.project__meta { display: flex; gap: 8px 16px; flex-wrap: wrap; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; color: var(--accent-deep); }
.project__meta span + span::before { content: "/"; margin-right: 12px; color: var(--line); }
.project h3 { font-size: 1.3rem; }
.project__companies { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.project__companies a { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-size: 0.92rem; align-items: baseline; }
.project__companies a:hover { border-color: var(--ink); }
.project__companies strong { font-weight: 700; }
.project__companies span { color: var(--muted); }
.project--featured { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; padding: 0; margin-bottom: clamp(20px, 3vw, 32px); }
.project--featured .image-placeholder { --ratio: auto; height: 100%; min-height: 380px; margin: -1px 0 -1px -1px; width: calc(100% + 1px); }
.project--featured .project__body { padding: clamp(24px, 3vw, 40px); }
.project--featured h3 { font-size: 1.6rem; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@container (max-width: 900px) {
  .project--featured { grid-template-columns: 1fr; }
  .project--featured .image-placeholder { min-height: 0; --ratio: 16 / 10; margin: -1px -1px 0; width: calc(100% + 2px); }
}
@container (max-width: 600px) {
  .projects { grid-template-columns: 1fr; }
  .project__companies a { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Fiche de poste : faits clés et encart ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border: var(--rule); background: var(--white); }
.facts > div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div:nth-child(4n) { border-right: 0; }
.facts > div:nth-last-child(-n+4) { border-bottom: 0; }
.facts dt { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; font-size: 0.98rem; line-height: 1.35; }
.offer-brief { border: 2px solid var(--ink); background: var(--white); padding: 18px; margin-bottom: 24px; box-shadow: 8px 8px 0 var(--accent); }
.offer-brief ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.offer-brief li { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.offer-brief li span { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--muted); }
.offer-brief .button { width: 100%; }
.offer-brief__links { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }
@container (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .facts > div:nth-last-child(-n+2) { border-bottom: 0; }
  .offer-brief { box-shadow: 6px 6px 0 var(--accent); }
}
@container (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .facts > div:last-child { border-bottom: 0 !important; }
}
.toc .offer-brief a { display: inline; padding: 0; color: inherit; }
.toc .offer-brief .button { display: inline-flex; width: 100%; padding: 13px 18px; color: var(--accent-ink); }
.toc .offer-brief .button:hover { color: #fff; }
.toc .offer-brief__links a { color: var(--muted); text-decoration: underline; }

/* ---------- Hero plein écran, contenu centré ---------- */
.hero--cover {
  min-height: min(78vh, 760px); display: grid; align-items: center; color: #fff;
  background: var(--ink) repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 12px, transparent 12px 26px);
  padding-block: clamp(72px, 10vw, 140px); border-bottom: 0;
}
.hero--cover::before { background: linear-gradient(180deg, rgba(23,39,45,0.35) 0%, rgba(23,39,45,0.55) 60%, rgba(23,39,45,0.85) 100%); opacity: 1; mask-image: none; }
.hero--cover .hero__media { position: absolute; top: 18px; left: 18px; z-index: 1; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: #fff; border: 1px solid rgba(255,255,255,0.6); padding: 4px 8px; }
.hero--cover .container { display: block; max-width: 940px; text-align: center; }
.hero--cover .container > div { max-width: none; }
.hero--cover .eyebrow { justify-content: center; color: rgba(255,255,255,0.85); }
.hero--cover .eyebrow::before { background: var(--accent); }
.hero--cover h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.hero--cover .tagline { color: #fff; }
.hero--cover p, .hero--cover .lead { margin-inline: auto; max-width: 62ch; }
.hero--cover .lead { color: rgba(255,255,255,0.9); }
.hero--cover .actions { justify-content: center; }
.hero--cover .button--secondary { color: #fff; border-color: #fff; }
.hero--cover .button--secondary:hover { background: #fff; color: var(--ink); }
.hero--cover .chips { justify-content: center; }
.hero--cover .chips li { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.hero--cover .chips li:hover { background: #fff; color: var(--ink); }
.hero--cover .actions .button { width: auto; }
@container (max-width: 600px) {
  .hero--cover { min-height: 0; padding-block: 64px 56px; }
  .hero--cover .actions .button { width: 100%; }
}
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.timeline--6 .timeline__year { font-size: clamp(1.8rem, 2.4vw, 2.3rem); }
@container (max-width: 1080px) { .timeline--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } .timeline--6::before { display: none; } .timeline--6 li { border-top: 3px solid var(--ink); } }
@container (max-width: 900px) { .stats--4 { grid-template-columns: 1fr 1fr; } .timeline--6 { grid-template-columns: 1fr; } .timeline--6 li { border-top: 0; } .timeline--6::before { display: block; } }
@container (max-width: 600px) { .stats--4 { grid-template-columns: 1fr; } }
.quote { font-size: 1.08rem; line-height: 1.5; font-weight: 600; }

/* ---------- Impression A3 ---------- */
@page { size: A3 portrait; margin: 8mm; }
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body { background: #fff; zoom: 0.78; }
  .section-head { break-after: avoid; break-inside: avoid; }
  main > .section { break-inside: avoid-page; }
  .grid, .values, .stats, .timeline, .split, .orgchart { break-inside: avoid; }
  .prototype-bar, .skip-link, dialog { display: none !important; }
  .site { max-width: none; box-shadow: none; min-height: 0; }
  .site-header { position: static; backdrop-filter: none; }
  .chapter__aside, .toc, .split:has(form) > :first-child:not(form) { position: static; }
  .hero--cover { min-height: 0; padding-block: 72px; }
  .section { padding-block: 48px; }
  .card, .project, .offer, .stat, .timeline li, .form-panel, .faq details { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .brand-strip__track { animation: none; }
}

/* ---------- Parcours offres ---------- */
a.offer__title { display: inline-block; text-decoration: none; }
a.offer__title:hover { text-decoration: underline; }
.offer__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.offer__meta span:first-child { font-weight: 700; color: var(--ink); }
.offers:empty { display: none; }
.field--inline { display: flex; align-items: center; gap: 10px; }
.field--inline select { min-height: 42px; padding: 8px 12px; width: auto; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.active-filter button { text-decoration: none; font-size: 1.1rem; line-height: 1; padding: 0 2px; }
.text-link--plain { font-size: 0.9rem; border-bottom-width: 1px; }
.text-link--plain::after { content: none; }
.postuler-bar { display: none; }
@container (max-width: 900px) {
  .postuler-bar { position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); background: var(--white); border-top: 2px solid var(--ink); }
  .postuler-bar strong { font-size: 0.95rem; line-height: 1.2; }
  .results-bar { align-items: flex-start; }
}
@media print { .postuler-bar { display: none !important; } }
.pagination { display: flex; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: var(--rule); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.pagination [aria-current] { background: var(--ink); color: #fff; }
.pagination a:hover { background: var(--paper); }
.field input[readonly] { background: var(--paper); font-weight: 700; }
@container (max-width: 900px) { #en-bref { display: none; } }
.project__companies li > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); background: var(--paper); font-size: 0.92rem; align-items: baseline; }
@container (max-width: 600px) { .project__companies li > div { grid-template-columns: 1fr; gap: 2px; } }


/* ---------- Bande des valeurs ---------- */
.values-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: clamp(20px, 3vw, 48px); align-items: center; }
.values-band > div { padding-left: 16px; border-left: 3px solid var(--accent); }
.values-band__word { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.35rem; line-height: 1.1; color: var(--accent-deep); margin-bottom: 4px; }
.values-band p:not(.values-band__word) { font-size: 0.95rem; color: var(--muted); }
@container (max-width: 900px) { .values-band { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Hero avec formulaire (modèle De Rosso) ---------- */
.hero--form .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1280px; text-align: left; }
.hero--form .eyebrow, .hero--form .actions { justify-content: flex-start; }
.hero--form p, .hero--form .lead { margin-inline: 0; }
.hero--form .form-panel { color: var(--ink); box-shadow: none; border: 0; padding: clamp(20px, 2.4vw, 32px); }
.hero--form .form-panel .field textarea { min-height: 96px; }
.hero-form__title { font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.hero-form__title small { display: block; font-weight: 400; font-size: 0.95rem; opacity: 0.85; }
.hero-form__coords { margin-top: 14px; font-weight: 700; color: #fff; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@container (max-width: 1080px) { .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (max-width: 900px) { .hero--form .container { grid-template-columns: 1fr; } .steps--5 { grid-template-columns: 1fr 1fr; } }
@container (max-width: 600px) { .steps--5 { grid-template-columns: 1fr; } }
.site-nav a, .site-nav .nav-dropdown > button { white-space: nowrap; }
.header-actions .button { max-width: 220px; }
.site-missonnier .site-header .container { gap: 16px; }
.site-missonnier .site-nav a, .site-missonnier .site-nav .nav-dropdown > button { padding: 10px 9px; font-size: 0.92rem; }
@container (max-width: 1240px) {
  .site-header .container { flex-wrap: wrap; min-height: 76px; padding-block: 12px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; margin: 0; }
  .site-nav.open { display: block; padding: 12px 0 8px; border-top: var(--rule); margin-top: 8px; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .site-nav .nav-dropdown > button { width: 100%; padding: 14px 8px; font-size: 1.05rem; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-panel { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--accent); margin: 0 0 8px 8px; padding: 6px 0 6px 12px; min-width: 0; }
  .header-actions { width: 100%; margin: 8px 0 0; display: none; }
  .site-nav.open ~ .header-actions { display: grid; gap: 8px; }
}
