/* Manuel de Terrain · prototype validé, adapté aux vraies pages. */
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("../fonts/newsreader-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --paper: #f5f6f3;
  --paper-light: #ffffff;
  --ink: #11171a;
  --muted: #5d6466;
  --rule: #b7bcbb;
  --oxide: #a94f29;
  --oxide-dark: #804225;
  --night: #11171a;
  --serif: Inter, Arial, sans-serif;
  --sans: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.editorial-page { margin: 0; position: relative; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
body.editorial-page::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: -18%;
  pointer-events: none;
  opacity: .72;
  background:
    linear-gradient(116deg, transparent 26%, rgba(255,255,255,.72) 43%, transparent 61%),
    linear-gradient(67deg, transparent 43%, rgba(17,23,26,.022) 50%, transparent 58%),
    radial-gradient(ellipse at 72% 18%, rgba(169,79,41,.035), transparent 32%);
  transform: translate3d(-2%, -1%, 0) scale(1.05);
  animation: technical-fold 26s ease-in-out infinite alternate;
}
body.editorial-page > header,
body.editorial-page > main,
body.editorial-page > footer { position: relative; z-index: 1; }
@keyframes technical-fold {
  to { transform: translate3d(2%, 1.5%, 0) scale(1.05); }
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 99; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 16px; }
.serif { font-family: var(--sans); font-weight: 600; }

.site-head,
.workspace-head {
  min-height: 78px;
  padding: 0 clamp(22px, 4vw, 70px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.wordmark { display: inline-flex; flex-direction: column; width: max-content; text-decoration: none; font-size: 1.06rem; font-weight: 600; letter-spacing: .02em; }
.wordmark span { margin-top: 2px; color: var(--muted); font-size: .57rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.site-head nav,
.workspace-head nav { display: flex; align-items: center; gap: 28px; }
.site-head nav a,
.workspace-head nav a,
.logout { text-decoration: none; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.site-head nav a:hover,
.workspace-head nav a:hover { color: var(--oxide); }
.head-action { justify-self: end; padding-bottom: 4px; border-bottom: 2px solid var(--oxide); text-decoration: none; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.terrain-home-menu { display: none; }
@media (max-width: 980px) {
  .terrain-home-head { position: relative; grid-template-columns: minmax(0, 1fr) auto auto; }
  .terrain-home-menu { display: block; justify-self: end; }
  .terrain-home-menu summary { cursor: pointer; list-style: none; border: 1px solid var(--ink); padding: 8px 11px; font-size: .7rem; font-weight: 600; text-transform: uppercase; }
  .terrain-home-menu summary::-webkit-details-marker { display: none; }
  .terrain-home-menu[open] nav { display: grid; position: absolute; z-index: 20; top: calc(100% - 1px); left: 0; right: 0; gap: 0; border: 1px solid var(--ink); background: var(--paper-light); }
  .terrain-home-menu nav a { display: block; padding: 13px 18px; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 460px) {
  .terrain-home-head { grid-template-columns: minmax(0, 1fr) auto; }
  .terrain-home-head .head-action { display: none; }
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(12px, 1.5vw, 28px);
  padding: clamp(26px, 3vw, 50px) clamp(22px, 4vw, 70px) 0;
  border-bottom: 1px solid var(--ink);
}
.folio,
.section-index,
.workspace-folio { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; }
.folio { grid-column: 1 / 7; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.folio span,
.workspace-folio span { color: var(--oxide); }
.hero-copy { grid-column: 1 / 8; grid-row: 2; z-index: 2; align-self: center; padding: clamp(38px, 6vw, 90px) 0; }
.hero h1 { max-width: 13ch; margin: 0; font-size: clamp(3.4rem, 4.45vw, 5.6rem); font-weight: 600; letter-spacing: -.065em; line-height: .88; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 .serif { margin-bottom: .42em; color: var(--oxide-dark); font-family: Newsreader, Georgia, serif; font-size: .46em; font-style: normal; font-weight: 500; letter-spacing: -.02em; line-height: 1; text-transform: none; }
.hero-lead { max-width: 42ch; margin: clamp(30px, 4vw, 54px) 0 16px; font-size: clamp(1.15rem, 1.7vw, 1.7rem); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.hero-text { max-width: 58ch; margin: 0 0 28px; color: #4d4943; font-size: .98rem; }
.primary-link { display: inline-grid; grid-template-columns: 1fr 54px; align-items: stretch; min-height: 54px; border: 1px solid var(--ink); background: var(--paper-light); text-decoration: none; text-transform: uppercase; font-size: .73rem; font-weight: 600; letter-spacing: .08em; }
.primary-link span { display: flex; align-items: center; padding: 13px 18px; }
.primary-link b { display: grid; place-items: center; border-left: 1px solid var(--ink); background: var(--oxide); color: #fff; font-size: 1.2rem; }
.primary-link:hover span { background: var(--ink); color: #fff; }
.hero-image { grid-column: 8 / 13; grid-row: 1 / 3; align-self: stretch; position: relative; margin: 0; min-height: 620px; border-inline: 1px solid var(--ink); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; filter: saturate(.72) contrast(1.06); }
.hero-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(23,23,20,.42), transparent 35%); }
.hero-image figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; gap: 16px; color: #fff; font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-note { grid-column: 7 / 10; grid-row: 2; z-index: 3; align-self: end; margin: 0 0 52px; padding: 18px 20px; border: 1px solid var(--ink); background: var(--paper-light); }
.hero-note span { color: var(--oxide); font-size: .6rem; font-weight: 600; letter-spacing: .15em; }
.hero-note p { margin: 8px 0 0; font-size: .96rem; font-weight: 500; line-height: 1.35; }
.evidence-strip { grid-column: 1 / 13; grid-row: 3; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.evidence-strip p { margin: 0; padding: 22px 20px 22px 0; display: flex; flex-direction: column; border-right: 1px solid var(--rule); }
.evidence-strip p:not(:first-child) { padding-left: 20px; }
.evidence-strip p:last-child { border-right: 0; }
.evidence-strip strong { font-size: 1.55rem; font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.evidence-strip span { margin-top: 7px; color: var(--muted); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }

.truth { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: clamp(80px, 8vw, 125px) clamp(22px, 4vw, 70px); border-bottom: 1px solid var(--ink); background: rgba(251,252,249,.78); }
.truth .section-index { grid-column: 1 / 4; }
.truth blockquote { grid-column: 1 / 9; margin: clamp(58px, 6vw, 90px) 0 0; font-size: clamp(3.4rem, 6.3vw, 8rem); letter-spacing: -.065em; line-height: .85; }
.truth blockquote span,
.truth blockquote strong { display: block; }
.truth blockquote span { margin-bottom: .28em; color: var(--oxide-dark); font-size: .42em; font-style: normal; font-weight: 600; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.truth blockquote strong { font-weight: 600; text-transform: uppercase; }
.truth-copy { grid-column: 9 / 13; grid-row: 2; align-self: end; padding-top: 28px; border-top: 1px solid var(--ink); }
.truth-copy .drop { font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.text-link { display: inline-block; margin-top: 20px; padding-bottom: 4px; border-bottom: 1px solid var(--oxide); text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { color: var(--oxide); }
.margin-sentence { position: absolute; right: 24px; top: 50%; margin: 0; color: var(--muted); font-size: .56rem; letter-spacing: .12em; line-height: 1.7; writing-mode: vertical-rl; }

.method { padding: clamp(80px, 9vw, 150px) clamp(22px, 4vw, 70px); border-bottom: 1px solid var(--ink); }
.section-heading { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.section-heading .section-index { grid-column: 1 / 4; align-self: start; }
.section-heading h2 { grid-column: 1 / 8; margin: 90px 0 0; font-size: clamp(3rem, 5vw, 6rem); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.section-heading h2 .serif { color: var(--ink); font-style: normal; font-weight: 400; text-transform: uppercase; }
.section-heading > p { grid-column: 9 / 13; margin: 0; font-size: 1.12rem; font-weight: 500; line-height: 1.4; }
.protocol { margin: 70px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.protocol li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 120px; gap: 24px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.protocol-n { color: var(--oxide-dark); font-size: 2rem; font-weight: 600; }
.protocol li div { display: grid; grid-template-columns: minmax(200px, .7fr) 1fr; gap: 40px; align-items: baseline; }
.protocol b { font-size: 1.1rem; text-transform: uppercase; }
.protocol p { margin: 0; color: var(--muted); }
.protocol small { justify-self: end; color: var(--muted); letter-spacing: .13em; }
.amorce-record { display: grid; grid-template-columns: 140px 1.05fr 1fr auto; gap: clamp(24px, 4vw, 70px); align-items: center; margin-top: 100px; padding: 34px 0; border-block: 1px solid var(--ink); background: var(--night); color: var(--paper-light); box-shadow: 70px 0 0 var(--night), -70px 0 0 var(--night); }
.record-label { color: #aaa49a; font-size: .6rem; letter-spacing: .16em; writing-mode: vertical-rl; }
.amorce-record .serif { margin: 0; color: #d8a58c; font-size: .72rem; font-style: normal; letter-spacing: .15em; text-transform: uppercase; }
.amorce-record h3 { margin: 4px 0 0; color: #fff; font-size: 1.4rem; text-transform: uppercase; }
.amorce-record > p { color: #ccc6bc; }
.primary-link.light { background: transparent; border-color: #aaa49a; color: #fff; }
.primary-link.light b { border-left-color: #aaa49a; }

.proof { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: clamp(80px, 9vw, 150px) clamp(22px, 4vw, 70px); border-bottom: 1px solid var(--ink); background: rgba(251,252,249,.82); }
.proof figure { grid-column: 1 / 7; grid-row: 1 / 3; margin: 0; }
.proof figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.66) contrast(1.05); }
.proof figcaption { padding: 11px 0; border-bottom: 1px solid var(--ink); font-size: .58rem; letter-spacing: .12em; }
.proof-copy { grid-column: 8 / 13; }
.proof-copy h2 { margin: 75px 0 50px; font-size: clamp(2.5rem, 4.2vw, 5.2rem); line-height: .94; letter-spacing: -.055em; text-transform: uppercase; }
.proof-copy h2 span { display: block; margin-top: .16em; color: var(--ink); font-style: normal; font-weight: 400; text-transform: uppercase; }
.proof-copy dl { margin: 0; border-top: 1px solid var(--ink); }
.proof-copy dl div { padding: 18px 0; display: grid; grid-template-columns: 140px 1fr; gap: 28px; border-bottom: 1px solid var(--rule); }
.proof-copy dt { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.proof-copy dd { margin: 0; color: var(--muted); }
.signature { grid-column: 7 / 12; grid-row: 2; align-self: end; margin: 70px 0 0 -80px; padding: 28px 34px; border-left: 4px solid var(--oxide); background: var(--paper); font-size: clamp(1.2rem, 1.7vw, 1.85rem); font-weight: 600; line-height: 1.3; }

.diagnostic { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: clamp(90px, 11vw, 180px) clamp(22px, 4vw, 70px); background: var(--night); color: var(--paper-light); }
.diagnostic .section-index { grid-column: 1 / 4; }
.diagnostic > .serif { grid-column: 1 / 8; margin: 85px 0 18px; color: #d8a58c; font-size: .78rem; font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
.diagnostic h2 { grid-column: 1 / 9; margin: 0; color: #fff; font-size: clamp(3.2rem, 6vw, 7.4rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.diagnostic > p:not(.serif) { grid-column: 9 / 13; grid-row: 3; align-self: end; margin: 0; font-size: 1.05rem; }
.diagnostic-action { grid-column: 1 / 9; display: grid; grid-template-columns: 1fr 70px; align-items: center; margin-top: 70px; border-block: 1px solid #c78d83; text-decoration: none; }
.diagnostic-action span { padding: 24px 0; font-size: .78rem; font-weight: 600; letter-spacing: .1em; }
.diagnostic-action b { display: grid; place-items: center; align-self: stretch; border-left: 1px solid #c78d83; font-size: 1.5rem; }
.diagnostic-action:hover { background: var(--paper-light); color: var(--ink); }
.diagnostic small { grid-column: 9 / 13; align-self: end; justify-self: end; color: #d8aca4; letter-spacing: .08em; }

body.editorial-page > footer { padding: 34px 0; display: block; background: var(--night); color: #d7d1c7; }
footer p { max-width: 42ch; margin: 0; color: #aaaead; font-size: .86rem; }
footer nav { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
footer a { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

/* Espace client : même maison, densité plus fonctionnelle. */
.workspace { background: #f7f8f5; }
.workspace-head { grid-template-columns: 1fr auto auto; background: var(--night); color: var(--paper-light); border-bottom-color: var(--night); }
.workspace-head .wordmark span { color: #aaa49a; }
.workspace-head nav a { color: #cfc9bf; }
.workspace-head nav a[aria-current="page"] { padding-bottom: 7px; border-bottom: 2px solid #b85b4c; color: #fff; }
.logout { margin-left: 20px; color: #aaa49a; }
.workspace-main { padding: 34px clamp(22px, 4vw, 70px) 110px; }
.workspace-folio { padding-bottom: 18px; border-bottom: 1px solid var(--rule); color: var(--muted); }
.workspace-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-content: start; padding: 86px 0 78px; border-bottom: 1px solid var(--ink); }
.workspace-title { grid-column: 1 / 8; align-self: start; padding-top: 30px; border-top: 1px solid var(--ink); }
.workspace-title > span { display: inline-block; margin-bottom: 24px; color: var(--oxide); font-size: .7rem; font-weight: 600; letter-spacing: .14em; }
.workspace-title h1 { max-width: 15ch; margin: 0; font-size: clamp(2.8rem, 4.7vw, 5.7rem); line-height: .94; letter-spacing: -.055em; }
.workspace-title > p { max-width: 34ch; margin: 26px 0 0; color: var(--muted); font-size: 1.05rem; }
.current-action { grid-column: 9 / 13; align-self: start; padding: 30px 0; border-block: 1px solid var(--ink); }
.action-label { margin: 0 0 30px; color: var(--oxide); font-size: .65rem; font-weight: 600; letter-spacing: .14em; }
.current-action h2 { margin: 0 0 30px; font-size: clamp(1.2rem, 1.65vw, 1.75rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.current-action .primary-link { margin-top: 16px; }
.progress-ledger { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(45px, 7vw, 120px); padding: 100px 0; border-bottom: 1px solid var(--ink); }
.progress-ledger header p { font-size: .65rem; letter-spacing: .15em; }
.progress-ledger h2 { margin: 70px 0 0; font-size: clamp(2.2rem, 3.25vw, 3.8rem); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.progress-ledger h2 span { color: var(--ink); font-style: normal; font-weight: 400; text-transform: uppercase; }
.progress-ledger ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.progress-ledger li { display: grid; grid-template-columns: 45px 1fr auto; gap: 18px; align-items: center; min-height: 58px; border-bottom: 1px solid #d0cbc1; color: #8b867d; }
.progress-ledger li span { font-weight: 600; }
.progress-ledger li b { font-size: .78rem; text-transform: uppercase; }
.progress-ledger li small { font-size: .56rem; letter-spacing: .12em; }
.progress-ledger li.done { color: #494640; }
.progress-ledger li.active { color: var(--ink); border-bottom: 2px solid var(--oxide); }
.progress-ledger li.active span,
.progress-ledger li.active small { color: var(--oxide); }
.workspace-tools { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--ink); margin-top: 100px; }
.workspace-tools article { min-height: 280px; display: flex; flex-direction: column; padding: 28px; border-block: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.workspace-tools article > span { color: var(--muted); font-size: .6rem; letter-spacing: .13em; }
.workspace-tools h3 { margin: 55px 0 24px; font-size: 1.35rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.workspace-tools a { margin-top: auto; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.workspace-foot { grid-template-columns: auto 1fr auto; }
.workspace-foot a { justify-self: end; }

@media (max-width: 980px) {
  .site-head,
  .workspace-head { grid-template-columns: 1fr auto; min-height: 68px; }
  .site-head nav,
  .workspace-head nav { display: none; }
  .hero { min-height: auto; }
  .hero-copy { grid-column: 1 / 8; }
  .hero-image { grid-column: 8 / 13; }
  .hero-note { grid-column: 7 / 11; }
  .amorce-record { grid-template-columns: 70px 1fr 1fr; }
  .amorce-record .primary-link { grid-column: 2 / 4; justify-self: start; }
  .workspace-note { display: none; }
}

@media (max-width: 700px) {
  .site-head,
  .workspace-head { padding-inline: 18px; gap: 12px; }
  .head-action { font-size: .58rem; }
  .wordmark span { max-width: 170px; }
  .workspace-head .wordmark span { max-width: 135px; }
  .workspace-head .logout { margin-left: 0; font-size: .58rem; }
  .hero { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto auto auto; gap: 0 12px; padding: 22px 18px 0; }
  .folio { grid-column: 1 / 6; grid-row: 1; }
  .hero-copy { grid-column: 1 / 7; grid-row: 2; padding: 48px 0 34px; }
  .hero h1 { max-width: 8.5ch; font-size: clamp(3.5rem, 17vw, 5.5rem); line-height: .81; }
  .hero h1 .serif { font-size: .4em; }
  .hero-lead { max-width: 29ch; }
  .hero-text { max-width: 38ch; }
  .primary-link { width: 100%; }
  .hero-image { grid-column: 2 / 7; grid-row: 3; min-height: 480px; border-left: 1px solid var(--ink); border-right: 0; }
  .hero-image figcaption { flex-direction: column; }
  .hero-note { grid-column: 1 / 5; grid-row: 3; align-self: end; margin-bottom: 30px; }
  .evidence-strip { grid-column: 1 / 7; grid-row: 4; grid-template-columns: 1fr 1fr; }
  .evidence-strip p:nth-child(2) { border-right: 0; }
  .evidence-strip p:nth-child(n+3) { border-top: 1px solid var(--rule); }

  .truth { min-height: auto; grid-template-columns: repeat(6, 1fr); padding: 85px 18px; }
  .truth .section-index { grid-column: 1 / 5; }
  .truth blockquote { grid-column: 1 / 7; margin-top: 62px; font-size: clamp(3.2rem, 15vw, 5rem); }
  .truth-copy { grid-column: 2 / 7; grid-row: auto; margin-top: 45px; }
  .margin-sentence { display: none; }

  .method { padding: 85px 18px; }
  .section-heading { grid-template-columns: repeat(6, 1fr); }
  .section-heading .section-index { grid-column: 1 / 5; }
  .section-heading h2 { grid-column: 1 / 7; margin-top: 60px; font-size: clamp(3rem, 13vw, 4.6rem); }
  .section-heading > p { grid-column: 2 / 7; margin-top: 38px; }
  .protocol li { grid-template-columns: 48px 1fr; gap: 14px; }
  .protocol li div { display: block; }
  .protocol p { margin-top: 8px; }
  .protocol small { grid-column: 2; justify-self: start; }
  .amorce-record { grid-template-columns: 1fr; gap: 20px; margin-top: 75px; padding: 34px 0; box-shadow: 18px 0 0 var(--night), -18px 0 0 var(--night); }
  .record-label { writing-mode: horizontal-tb; }
  .amorce-record .primary-link { grid-column: auto; width: 100%; }

  .proof { grid-template-columns: repeat(6, 1fr); padding: 85px 18px; }
  .proof figure { grid-column: 2 / 7; grid-row: auto; }
  .proof-copy { grid-column: 1 / 7; margin-top: 55px; }
  .proof-copy h2 { margin-top: 55px; }
  .proof-copy dl div { grid-template-columns: 1fr; gap: 8px; }
  .signature { grid-column: 1 / 6; grid-row: auto; margin: 42px 0 0; }

  .diagnostic { grid-template-columns: repeat(6, 1fr); padding: 90px 18px; }
  .diagnostic .section-index,
  .diagnostic > .serif,
  .diagnostic h2,
  .diagnostic > p:not(.serif),
  .diagnostic-action,
  .diagnostic small { grid-column: 1 / 7; grid-row: auto; }
  .diagnostic > .serif { margin-top: 70px; }
  .diagnostic h2 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .diagnostic > p:not(.serif) { margin-top: 35px; }
  .diagnostic-action { margin-top: 45px; }
  .diagnostic small { margin-top: 24px; justify-self: start; }

  footer { grid-template-columns: 1fr; padding-inline: 18px; }
  footer nav { justify-self: start; justify-content: flex-start; }

  .workspace-main { padding: 22px 18px 80px; }
  .workspace-hero { grid-template-columns: repeat(6, 1fr); padding: 60px 0; }
  .workspace-title { grid-column: 1 / 7; grid-row: auto; padding-top: 24px; }
  .workspace-title h1 { font-size: clamp(2.7rem, 12vw, 4.1rem); }
  .current-action { grid-column: 2 / 7; grid-row: auto; margin-top: 58px; }
  .progress-ledger { grid-template-columns: 1fr; gap: 55px; padding: 75px 0; }
  .progress-ledger h2 { margin-top: 45px; }
  .workspace-tools { grid-template-columns: 1fr; margin-top: 70px; }
  .workspace-tools article { min-height: 220px; }
  .workspace-foot { grid-template-columns: 1fr; }
  .workspace-foot a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
}

/* Raccord aux composants réels du site, sans remplacer leurs liens ou formulaires. */
body.editorial-page {
  --bg: #f5f6f3;
  --bg-2: #e8ebea;
  --surface: #fbfcf9;
  --ink: #11171a;
  --ink-2: #454e50;
  --ink-3: #5d6466;
  --dark: #11171a;
  --dark-ink: #fbfcf9;
  --accent: #a94f29;
  --font-display: Inter, Arial, sans-serif;
  --font-body: Inter, Arial, sans-serif;
  color: var(--ink);
  overflow-x: clip;
}
.editorial-page h1,
.editorial-page h2,
.editorial-page h3 { font-family: Inter, Arial, sans-serif; }
.editorial-page .hero h1,
.editorial-page .truth blockquote,
.editorial-page .section-heading h2,
.editorial-page .proof-copy h2 { font-family: Inter, Arial, sans-serif; }
.editorial-page .hero h1 .serif { font-family: Newsreader, Georgia, serif; }
.editorial-page :is(.truth blockquote, .section-heading h2, .proof-copy h2) .serif {
  font-family: Inter, Arial, sans-serif;
}

/* Même en-tête sur toutes les pages publiques, avec les liens déjà en place. */
.editorial-page .editorial-header {
  background: rgba(245,246,243,.96);
  border-bottom: 1px solid #11171a;
  backdrop-filter: none;
}
.editorial-page .editorial-header-inner {
  width: 100%;
  max-width: none;
  min-height: 78px;
  padding-inline: clamp(22px, 4vw, 70px);
  gap: clamp(18px, 1.65vw, 30px);
}
.editorial-page .editorial-brand strong {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.035em;
  text-transform: none;
}
.editorial-page .editorial-brand small {
  margin-top: 6px;
  color: #5d6466;
  font-size: .57rem;
  font-weight: 400;
  letter-spacing: .16em;
}
.editorial-page .editorial-nav { gap: clamp(14px, 1.35vw, 25px); }
.editorial-page .editorial-nav a {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
}
.editorial-page .editorial-nav a:hover,
.editorial-page .editorial-nav a[aria-current="page"] { border-bottom-color: #a94f29; }
.editorial-page .editorial-header-cta {
  padding: 11px 14px;
  border: 1px solid #11171a;
  background: #11171a;
  color: #ffffff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.editorial-page .editorial-header-cta:hover,
.editorial-page .editorial-header-cta[aria-current="page"] {
  border-color: #a94f29;
  background: #a94f29;
  color: #ffffff;
}
.editorial-page .editorial-header-client {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  border-bottom: 1px solid transparent;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.editorial-page .editorial-header-client:hover,
.editorial-page .editorial-header-client[aria-current="page"] { border-bottom-color: #a94f29; }
.editorial-page .editorial-header-client svg { width: 15px; height: 15px; }
.editorial-page .editorial-mobile-nav {
  background: #f1f2ef;
  border-bottom: 1px solid #11171a;
}
.editorial-page .editorial-mobile-nav a {
  border-bottom-color: #b7bcbb;
  font-family: Inter, Arial, sans-serif;
  font-size: .84rem;
  font-weight: 600;
  text-transform: none;
}
.editorial-page .editorial-mobile-nav a[aria-current="page"] {
  border-left-color: #a94f29;
}

/* Les pages secondaires gardent leur contenu et leurs gestes. */
.editorial-page .page-hero { background: #f1f2ef; border-bottom: 1px solid #11171a; }
.editorial-page .page-hero h1 {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2.45rem, 4.8vw, 5.2rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}
.editorial-page .eyebrow { color: #a94f29; font-weight: 600; }
.editorial-page .btn-primary {
  background: #a94f29;
  border-color: #a94f29;
  color: #fff;
  font-weight: 600;
}
.editorial-page .btn-primary:hover { background: #804225; border-color: #804225; }
.editorial-page .card-featured { background: #11171a; border-color: #11171a; }
.editorial-page .art-action {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  padding: 0;
  background: #fbfcf9;
  border: 1px solid #11171a;
  color: #11171a;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.editorial-page .art-action > :first-child { padding: 13px 18px; }
.editorial-page .art-action > :last-child {
  display: grid;
  place-items: center;
  min-width: 54px;
  border-left: 1px solid #11171a;
  background: #a94f29;
  color: #fff;
}
.editorial-page .art-action:hover { background: #11171a; color: #fff; }
.editorial-page :is(input, textarea, select):focus-visible,
.editorial-page :is(a, button):focus-visible {
  outline: 3px solid #a94f29;
  outline-offset: 3px;
}
.editorial-page .editorial-footer {
  background: #11171a;
  color: #fbfcf9;
  padding-block: 44px 28px;
}
.editorial-page .editorial-footer-mark {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -.035em;
}
.editorial-page .editorial-footer-top { border-bottom-width: 1px; }
.editorial-page .editorial-footer-top > a {
  border-bottom-color: #a94f29;
  font-weight: 600;
}
.editorial-page .editorial-footer-links a { font-weight: 500; }

@media (max-width: 1360px) {
  .editorial-page .editorial-nav,
  .editorial-page .editorial-header-client { display: none; }
  .editorial-page .editorial-header-inner { min-height: 68px; }
  .editorial-page .editorial-header-cta { display: inline-block; margin-left: auto; }
  .editorial-page .editorial-header .menu-toggle {
    display: inline-flex;
    margin: 0;
    padding: 5px 7px;
    border: 0;
    background: transparent;
    font-size: .7rem;
  }
}
@media (max-width: 700px) {
  .editorial-page .editorial-header-inner {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 12px 18px;
  }
  .editorial-page .editorial-brand { margin-right: auto; }
  .editorial-page .editorial-brand strong { font-size: .95rem; }
  .editorial-page .editorial-brand small { max-width: 125px; line-height: 1.3; }
  .editorial-page .editorial-header-cta {
    order: 2;
    margin-left: 0;
    font-size: .62rem;
  }
  .editorial-page .editorial-header .menu-toggle {
    order: 3;
    font-size: .66rem;
  }
  .editorial-page .hero h1 { font-size: clamp(3.3rem, 16vw, 5.5rem); }
  .editorial-page .page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
}
@media (max-width: 520px) {
  .editorial-page .editorial-header-cta { display: none; }
  .editorial-page .editorial-header .menu-toggle { margin-left: auto; }
}

/* Textes validés : les preuves longues se lisent après la composition d'ouverture. */
.editorial-page .hero-copy .primary-link { max-width: min(100%, 450px); }
.editorial-page .hero-copy .primary-link span { line-height: 1.35; }
.editorial-page .section-heading h2 { font-size: clamp(2.8rem, 4.3vw, 5rem); }
.editorial-page .section-heading > p .text-link { display: table; margin-top: 28px; }
.editorial-page .proof-copy h2 { margin-bottom: 28px; font-size: clamp(2.6rem, 4vw, 4.8rem); }
.editorial-page .proof-lead { max-width: 44ch; color: #455054; font-size: 1.06rem; line-height: 1.58; }
.editorial-page .proof-details {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(70px, 7vw, 120px);
  border-top: 1px solid #11171a;
  border-bottom: 1px solid #11171a;
}
.editorial-page .proof-details article {
  padding: 30px clamp(20px, 2.3vw, 38px) 40px 0;
  border-right: 1px solid #b7bcbb;
}
.editorial-page .proof-details article + article { padding-left: clamp(20px, 2.3vw, 38px); }
.editorial-page .proof-details article:last-child { border-right: 0; }
.editorial-page .proof-details article > span { color: #a94f29; font-size: .62rem; font-weight: 600; letter-spacing: .15em; }
.editorial-page .proof-details h3 { margin: 28px 0 18px; font-size: clamp(1.35rem, 1.8vw, 1.9rem); font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.editorial-page .proof-details p { color: #455054; font-size: .92rem; line-height: 1.63; }
@media (max-width: 980px) {
  .editorial-page .proof-details { grid-template-columns: 1fr; }
  .editorial-page .proof-details article,
  .editorial-page .proof-details article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid #b7bcbb; }
  .editorial-page .proof-details article:last-child { border-bottom: 0; }
  .editorial-page .proof-details h3 { margin-top: 14px; }
}

/* Version 04 : cadre commun, lecture commerciale et actions immédiatement repérables. */
body.editorial-page { --content-width: 1280px; }
body.editorial-page::before { animation: none; opacity: .24; }
.editorial-page :is(.art-shell, .container) { width: min(calc(100% - 48px), var(--content-width)); margin-inline: auto; padding-inline: 0; }
.editorial-page .container.narrow { max-width: 850px; }
.editorial-page :is(.hero, .proof, .method, .diagnostic) {
  padding-inline: max(24px, calc((100% - var(--content-width)) / 2));
}
.editorial-page .editorial-header-inner { max-width: 1600px; margin-inline: auto; padding-inline: 24px; gap: 20px; }
.editorial-page .editorial-nav { gap: 16px; }
.editorial-page .editorial-nav a { font-size: .73rem; letter-spacing: .025em; }
.editorial-page .hero { min-height: 0; padding-top: 26px; grid-template-rows: auto 1fr auto; }
.editorial-page .hero-copy { grid-column: 1 / 7; padding: 36px 0 42px; }
.editorial-page .hero h1 { font-size: clamp(3.1rem, 4.5vw, 4.6rem); line-height: .98; }
.editorial-page .hero-lead { max-width: 38ch; margin-top: 26px; font-size: clamp(1.12rem, 1.6vw, 1.4rem); }
.editorial-page .hero-text { max-width: 53ch; margin-bottom: 22px; }
.editorial-page .hero-image { grid-column: 8 / 13; min-height: 540px; }
.editorial-page .hero-image img { position: absolute; inset: 0; }
.editorial-page .hero-note { grid-column: 7 / 10; max-width: 270px; margin-bottom: 38px; }
.editorial-page .evidence-strip strong { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.editorial-page :is(.proof, .method, .diagnostic) { padding-block: 64px; }
.editorial-page .proof { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px 54px; align-items: start; }
.editorial-page .proof figure { grid-column: 1; grid-row: 1; }
.editorial-page .proof figure img { aspect-ratio: 1 / 1; object-position: center; }
.editorial-page .proof-copy { grid-column: 2; margin: 0; }
.editorial-page .proof-copy h2 { margin: 22px 0 24px; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; }
.editorial-page .proof-copy dl div { grid-template-columns: 135px minmax(0,1fr); gap: 18px; padding: 12px 0; }
.editorial-page .proof-copy dd { font-size: .92rem; line-height: 1.55; }
.editorial-page .signature { grid-column: 1 / -1; grid-row: auto; margin: 8px 0 0; max-width: 850px; padding: 16px 24px; font-size: 1.15rem; line-height: 1.5; }
.editorial-page .section-heading h2 { margin-top: 26px; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.05; }
.editorial-page .section-heading > p { grid-column: 9 / 13; font-size: 1rem; line-height: 1.6; }
.editorial-page .protocol { margin-top: 34px; }
.editorial-page .protocol li { grid-template-columns: 64px minmax(0,1fr) 85px; padding: 22px 0; }
.editorial-page .protocol li div { gap: 24px; }
.editorial-page .amorce-record { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px 40px; margin-top: 40px; padding: 32px; box-shadow: none; }
.editorial-page .record-label { grid-column: 1 / -1; writing-mode: horizontal-tb; color: #d5d9d8; font-size: .7rem; }
.editorial-page .amorce-record h3 { font-size: 1.55rem; line-height: 1.25; }
.editorial-page .amorce-record > p { margin: 0; color: #d5d9d8; }
.editorial-page .amorce-record .primary-link { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.editorial-page .diagnostic { gap: 0 36px; }
.editorial-page .diagnostic > .serif { margin-top: 26px; }
.editorial-page .diagnostic h2 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); line-height: 1.03; }
.editorial-page .diagnostic > p:not(.serif) { font-size: 1rem; line-height: 1.6; }
.editorial-page .diagnostic small { font-size: .7rem; line-height: 1.6; }
.editorial-page .diagnostic-action { margin-top: 32px; border: 1px solid #d2aba0; background: #fff; color: #11171a; grid-template-columns: 1fr 54px; }
.editorial-page .diagnostic-action span { padding: 16px 18px; line-height: 1.4; }
.editorial-page .diagnostic-action b { background: #a94f29; color: #fff; }
.editorial-page .primary-link { min-height: 50px; letter-spacing: .04em; }
.editorial-page .text-link { min-height: 44px; padding-block: 12px; }
.editorial-page .page-hero { padding-block: 44px; }
.editorial-page .page-hero h1 { max-width: 24ch; font-size: clamp(2rem,3.3vw,3.5rem); line-height: 1.08; }
.editorial-page .page-hero .lead { max-width: 68ch; margin-top: 20px; font-size: 1.1rem; }
.editorial-page .section { padding-block: 48px; }
.editorial-page :is(.figure-split figure img, .photo-round img, .avatar-photo img) { height: auto; }
.editorial-page .figure-split figure img { max-height: 540px; object-fit: cover; }
.editorial-page :is(.card, .rdv-card, .photo-round, .figure-split figure, .access-path) { border-radius: 0; box-shadow: none; }
.editorial-page .btn { min-height: 48px; border-radius: 0; }
.editorial-page :is(.offre, .card, .section-head) { min-width: 0; }
.editorial-page :is(h2, h3) { overflow-wrap: break-word; }
.editorial-page .offre { padding: clamp(20px, 3vw, 32px); }
.editorial-page :is(.btn-primary, .editorial-header-cta) { background: #a94f29; border-color: #a94f29; color: #fff; }
.editorial-page .editorial-footer-top { padding-bottom: 28px; gap: 32px; }
.editorial-page .editorial-footer-mark { margin-bottom: 16px; }
.editorial-page .editorial-footer-top p:not(.editorial-footer-mark) { color: #d0d5d4; max-width: 50ch; font-size: 1rem; }
.editorial-page .editorial-footer-links { padding: 22px 0; gap: 24px; flex-wrap: wrap; }
.editorial-page .editorial-footer :is(nav, .editorial-footer-links nav) { justify-content: flex-start; justify-self: start; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.editorial-page .editorial-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .73rem; }
.editorial-page .editorial-footer-bottom { align-items: center; padding-top: 14px; }
.editorial-page .art-diagnostic-intro { padding-block: 36px; background: #11171a; }
.editorial-page .art-diagnostic-intro .art-display { margin: 20px 0; font-size: clamp(2rem,3.5vw,3.5rem); line-height: 1.08; text-transform: none; }
.editorial-page .art-diagnostic-intro .art-display span { text-decoration: none; color: #edc5b3; }
.editorial-page .art-diagnostic-lead { grid-column: 1 / 9; max-width: 65ch; font-size: 1.08rem; margin: 0; }
.editorial-page .art-diagnostic-aside { grid-column: 9 / 13; grid-row: 3; margin: 0; padding: 0; border: 0; line-height: 1.6; }
.editorial-page .art-diagnostic-form-section { padding-block: 36px; background: var(--paper); }
.editorial-page .art-diagnostic-form-wrap { grid-column: 4 / 13; max-width: 850px; }
.editorial-page .art-progress-track { margin-bottom: 24px; }
.editorial-page .art-action { min-height: 50px; line-height: 1.4; }
.editorial-page .art-action > :first-child { padding: 14px 18px; }
.editorial-page .art-action > :last-child { padding: 12px; }
.editorial-page .art-action:disabled { display: inline-flex; padding: 14px 18px; }
.editorial-page .art-privacy { margin-top: 28px; }
.editorial-page .legal-index { padding-block: 20px; border-bottom: 1px solid var(--rule); }
.editorial-page :is(.legal-index, .legacy-access) summary { padding-block: 12px; cursor: pointer; font-weight: 600; }
.editorial-page .legal-index details > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 28px; padding-block: 12px; }
.editorial-page .legal-index a { display: block; padding-block: 8px; }
.editorial-page .legacy-access .form { margin-top: 24px; }
.editorial-page [id] { scroll-margin-top: 100px; }
@media (max-width: 1050px) {
  .editorial-page .hero-note { display: none; }
  .editorial-page .hero-copy { grid-column: 1 / 8; padding-right: 12px; }
  .editorial-page .hero h1 { font-size: clamp(2.8rem,5.1vw,3.6rem); }
  .editorial-page .proof { gap: 24px 32px; }
  .editorial-page .proof-copy dl div { grid-template-columns: 1fr; gap: 4px; }
  .editorial-page .protocol li div { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 700px) {
  .editorial-page :is(.art-shell, .container) { width: calc(100% - 36px); }
  .editorial-page :is(.hero, .proof, .method, .diagnostic) { padding-inline: 18px; }
  .editorial-page .hero { grid-template-columns: 1fr; gap: 0; }
  .editorial-page .folio { grid-column: 1; grid-row: 1; font-size: .6rem; }
  .editorial-page .hero-copy { grid-column: 1; grid-row: 2; padding: 28px 0; }
  .editorial-page .hero h1 { max-width: 12ch; font-size: clamp(2.8rem,11.5vw,4rem); }
  .editorial-page .hero-lead { max-width: none; margin-top: 22px; font-size: 1.16rem; }
  .editorial-page .hero-image { grid-column: 1; grid-row: 3; min-height: 0; height: 340px; border: 0; }
  .editorial-page .hero-image img { object-position: 50% 35%; }
  .editorial-page .hero-image figcaption { flex-direction: row; }
  .editorial-page .hero-image figcaption span { max-width: 24ch; text-align: right; }
  .editorial-page .evidence-strip { grid-column: 1; grid-row: 4; grid-template-columns: 1fr 1fr; }
  .editorial-page .evidence-strip p { padding: 20px 8px; }
  .editorial-page .evidence-strip p:nth-child(odd) { padding-left: 0; }
  .editorial-page :is(.proof, .method, .diagnostic) { padding-block: 40px; }
  .editorial-page .proof { grid-template-columns: 1fr; gap: 24px; }
  .editorial-page .proof figure { grid-column: 1; grid-row: 2; }
  .editorial-page .proof figure img { aspect-ratio: 4 / 3; }
  .editorial-page .proof-copy { grid-column: 1; grid-row: 1; }
  .editorial-page .proof-copy h2 { font-size: clamp(1.9rem,8vw,2.5rem); }
  .editorial-page .signature { grid-column: 1; margin: 0; padding: 12px 18px; font-size: 1.02rem; }
  .editorial-page .section-heading { display: block; }
  .editorial-page .section-heading h2 { font-size: clamp(2rem,8.5vw,2.65rem); }
  .editorial-page .section-heading > p { margin-top: 22px; }
  .editorial-page .protocol li { grid-template-columns: 34px minmax(0,1fr); gap: 8px 16px; }
  .editorial-page .protocol small { grid-column: 2; justify-self: start; }
  .editorial-page .protocol-n { font-size: 1.5rem; }
  .editorial-page .protocol b { font-size: 1rem; }
  .editorial-page .amorce-record { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .editorial-page .amorce-record .primary-link { grid-column: 1; }
  .editorial-page .diagnostic { display: block; }
  .editorial-page .diagnostic h2 { font-size: clamp(2rem,9vw,2.9rem); }
  .editorial-page .diagnostic > p:not(.serif) { margin-top: 24px; }
  .editorial-page .diagnostic-action { display: grid; }
  .editorial-page .diagnostic small { display: block; margin-top: 22px; }
  .editorial-page .page-hero { padding-block: 30px; }
  .editorial-page .page-hero h1 { font-size: clamp(2rem,8.5vw,2.8rem); }
  .editorial-page .section { padding-block: 32px; }
  .editorial-page .contact-layout > form { order: -1; }
  .editorial-page .editorial-footer-top { grid-template-columns: 1fr; gap: 24px; }
  .editorial-page .editorial-footer-links { display: grid; }
  .editorial-page .art-diagnostic-intro { padding-block: 28px; }
  .editorial-page .art-diagnostic-intro .art-display { font-size: clamp(2rem,9vw,2.8rem); margin: 18px 0; }
  .editorial-page :is(.art-diagnostic-lead, .art-diagnostic-aside, .art-diagnostic-form-wrap) { grid-column: 1 / -1; grid-row: auto; }
  .editorial-page .art-diagnostic-aside { margin-top: 16px; }
  .editorial-page .art-diagnostic-marker { flex-wrap: wrap; margin-bottom: 20px; gap: 8px; font-size: .65rem; }
  .editorial-page .art-form-heading { flex-wrap: wrap; }
  .editorial-page .legal-index details > div { grid-template-columns: 1fr; }
}

/* Ajustements 06 : pied de page distinct et titres sans filets décoratifs. */
body.editorial-page > .editorial-footer { background: #e4e7df; color: #11171a; padding-top: 48px; }
.editorial-page .editorial-footer :is(a, .editorial-footer-mark, .editorial-footer-mark span) { color: #11171a; }
.editorial-page .editorial-footer-top p:not(.editorial-footer-mark) { color: #3e4944; }
.editorial-page .editorial-footer-top, .editorial-page .editorial-footer-bottom { border-color: #a9b1a9; }
.editorial-page .editorial-footer a:hover { color: #804225; }
.editorial-page .eyebrow::before, .editorial-page .eyebrow::after { content: none; }
.editorial-page .folio { border-bottom: 0; }
.editorial-page :is(h1,h2,h3), .editorial-page :is(h1,h2,h3) span { text-decoration: none; border: 0; }
