/* Barthélemy & Partners — feuille de style */

:root {
  --ink: #0f1b2d;
  --ink-deep: #0a1422;
  --ink-2: #16263d;
  --ink-3: #22344f;
  --paper: #f6f3ec;
  --paper-2: #ede8dd;
  --white: #fdfcf9;
  --text: #1a2433;
  --muted: #5a6474;
  --muted-on-ink: #a3adbd;
  --line: rgba(15, 27, 45, 0.13);
  --line-strong: rgba(15, 27, 45, 0.3);
  --line-on-ink: rgba(246, 243, 236, 0.14);
  --line-on-ink-strong: rgba(246, 243, 236, 0.28);
  --brass: #94733f;
  --brass-light: #c6a674;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --section: clamp(88px, 10vw, 144px);
  --header: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.9vw, 4.25rem); line-height: 1.03; letter-spacing: -0.022em; }
h2 { font-size: clamp(2.05rem, 3.5vw, 3.1rem); line-height: 1.08; }
h3 { font-size: 1.42rem; line-height: 1.25; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }

.kicker {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 24px; display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.lead { font-size: 1.18rem; line-height: 1.62; color: var(--muted); max-width: 38em; }
.small-caps { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Boutons & liens ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px; min-height: 52px;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline-light { border-color: var(--line-on-ink-strong); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--paper); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s ease;
}
.text-link:hover { border-color: currentColor; }

:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 3px; }

/* ---------- Barre utilitaire & en-tête ---------- */

.topbar { background: var(--ink-deep); color: var(--muted-on-ink); font-size: 0.76rem; letter-spacing: 0.02em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 24px; }
.topbar a { text-decoration: none; transition: color .2s ease; }
.topbar a:hover { color: var(--paper); }
.topbar .sep { display: inline-block; width: 1px; height: 11px; background: var(--line-on-ink-strong); margin: 0 16px; vertical-align: -1px; }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--line-on-ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 32px; }

.brand { display: block; color: var(--paper); text-decoration: none; flex: none; }
.logo { height: 42px; width: auto; overflow: visible; }
.logo-sub { fill: var(--muted-on-ink); }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav a:not(.btn) {
  position: relative; font-size: 0.86rem; text-decoration: none; color: var(--muted-on-ink);
  padding: 6px 0; transition: color .2s ease;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass-light);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:not(.btn):hover, .nav a.active { color: var(--paper); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { padding: 12px 20px; min-height: 0; font-size: 0.84rem; margin-left: 6px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-on-ink-strong); color: var(--paper);
  width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1px; background: currentColor; position: relative; content: ""; transition: transform .25s ease, background-color .25s ease; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-on-ink);
    padding: 4px var(--gutter) 28px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-on-ink); font-size: 1rem; color: var(--paper); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 22px 0 0; justify-content: space-between; padding: 16px 22px; }
}
@media (max-width: 420px) { .logo { height: 34px; } }

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(198,166,116,0.07), transparent 70%),
    linear-gradient(180deg, transparent 70%, rgba(10,20,34,0.6));
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(40px, 5vw, 96px); align-items: center;
  padding: clamp(56px, 7vw, 100px) 0 clamp(52px, 6vw, 84px);
}
.hero .kicker { color: var(--brass-light); }
.hero h1 em { color: var(--brass-light); }
.hero .lead { color: var(--muted-on-ink); margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.hero-note { margin-top: 22px; font-size: 0.84rem; color: var(--muted-on-ink); display: flex; align-items: center; gap: 10px; }
.hero-note svg { flex: none; }

.hero-map { margin: 0; justify-self: end; width: 100%; max-width: 480px; }
.map { width: 100%; height: auto; color: rgba(246, 243, 236, 0.26); }
.map-cities text { fill: var(--muted-on-ink); text-transform: uppercase; }
.hero-map figcaption {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line-on-ink); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-ink);
}

.hero-profile { position: relative; border-top: 1px solid var(--line-on-ink); background: rgba(10, 20, 34, 0.55); }
.profile-grid { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); }
.profile-grid dl { display: contents; }
.hero-profile .head { margin: 0; padding: 28px 28px 28px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-profile .head span { color: var(--brass-light); }
.hero-profile .head small { display: block; color: var(--muted-on-ink); font-size: 0.82rem; margin-top: 6px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.hero-profile .cell { padding: 28px 28px; border-left: 1px solid var(--line-on-ink); }
.hero-profile dt { font-size: 0.76rem; color: var(--muted-on-ink); margin-bottom: 6px; }
.hero-profile dd { margin: 0; font-family: var(--serif); font-size: 1.28rem; line-height: 1.3; }

@media (max-width: 1080px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-profile .head { grid-column: 1 / -1; padding: 24px 0 8px; }
  .hero-profile .cell { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line-on-ink); }
  .hero-profile .cell:nth-of-type(odd) { padding-right: 20px; }
  .hero-profile .cell:nth-of-type(even) { padding-left: 20px; border-left: 1px solid var(--line-on-ink); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-map { justify-self: start; max-width: 420px; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-map { max-width: 100%; }
  .hero-map figcaption span:last-child { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; scroll-margin-top: var(--header); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .lead { color: var(--muted-on-ink); }
.section-dark .kicker { color: var(--brass-light); }

.section-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); margin-bottom: clamp(52px, 6vw, 88px); }
.index { font-family: var(--serif); font-size: 1rem; color: var(--brass); padding-top: 12px; border-top: 1px solid var(--line-strong); align-self: start; }
.index span { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.section-dark .index { color: var(--brass-light); border-color: var(--line-on-ink-strong); }
.section-dark .index span { color: var(--muted-on-ink); }
.section-head .lead { margin-top: 26px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 26px; } }

/* 01 — Approche */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.pillar { padding: 38px 40px 0 0; }
.pillar + .pillar { padding-left: 40px; border-left: 1px solid var(--line); }
.pillar .num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--brass); margin-bottom: 26px; }
.pillar h3 { margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 30px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
}

.figure { margin: clamp(64px, 8vw, 104px) 0 0; background: var(--white); border: 1px solid var(--line); }
.figure-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); color: var(--muted); }
.figure-head strong { font-weight: 500; color: var(--text); }
.figure-body { padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px); }
.figure figcaption { padding: 16px 28px 20px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.scheme { width: 100%; height: auto; }
.scheme .box { fill: var(--white); stroke: var(--line-strong); }
.scheme .box-ink { fill: var(--ink); stroke: var(--ink); }
.scheme .role { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 1.8px; fill: var(--brass); text-transform: uppercase; }
.scheme .title { font-family: var(--serif); font-size: 21px; fill: var(--text); }
.scheme .sub { font-family: var(--sans); font-size: 13px; fill: var(--muted); }
.scheme .box-ink ~ .role, .scheme .on-ink.role { fill: var(--brass-light); }
.scheme .on-ink.title { fill: var(--paper); }
.scheme .on-ink.sub { fill: var(--muted-on-ink); }
.scheme .link { fill: none; stroke: var(--ink); stroke-width: 1; }
.scheme .link-dash { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 4; }
.scheme .lbl { font-family: var(--sans); font-size: 12px; fill: var(--muted); }
.scheme .lbl-bg { fill: var(--white); }
.scheme-stack { display: none; list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) {
  .scheme { display: none; }
  .scheme-stack { display: block; }
  .figure-head { flex-direction: column; gap: 2px; padding: 16px 20px; }
  .figure figcaption { padding: 14px 20px 18px; }
}
.scheme-stack li { border: 1px solid var(--line-strong); padding: 16px 18px; background: var(--white); }
.scheme-stack li.ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.scheme-stack li .r { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.scheme-stack li.ink .r { color: var(--brass-light); }
.scheme-stack li .t { display: block; font-family: var(--serif); font-size: 1.2rem; margin-top: 2px; }
.scheme-stack li .s { display: block; font-size: 0.86rem; color: var(--muted); }
.scheme-stack li.ink .s { color: var(--muted-on-ink); }
.scheme-stack .flow { border: 0; background: none; padding: 10px 0 10px 18px; font-size: 0.82rem; color: var(--muted); position: relative; }
.scheme-stack .flow::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }

/* 02 — Dirigeants */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header) + 48px); }
.split-aside h2 { margin-top: 28px; }
.split-aside h2 em { color: var(--brass); }
.split-aside p { color: var(--muted); margin-top: 24px; max-width: 30em; }
.split-aside .text-link { margin-top: 14px; }
.engagements { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); counter-reset: e; }
.engagements li { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.engagements .num { font-family: var(--serif); font-style: italic; font-size: 2.1rem; line-height: 1; color: var(--brass); }
.engagements h3 { margin-bottom: 12px; }
.engagements p { color: var(--muted); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-aside { position: static; }
  .engagements li { grid-template-columns: 52px 1fr; padding: 30px 0; }
  .engagements .num { font-size: 1.6rem; }
}

/* 03 — Critères */
.criteria-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); }
.criteria-aside { font-size: 0.98rem; color: var(--muted); }
.criteria-aside h3 { color: var(--text); margin-bottom: 16px; }
.criteria-aside .exclusion { margin-top: 32px; padding: 22px 24px; border-left: 2px solid var(--brass); background: var(--white); color: var(--text); font-size: 0.93rem; }
.term-sheet { border: 1px solid var(--line-strong); background: var(--white); }
.term-sheet-head { display: flex; justify-content: space-between; padding: 14px 26px; border-bottom: 1px solid var(--line-strong); color: var(--muted); }
.criteria-table { width: 100%; border-collapse: collapse; }
.criteria-table th, .criteria-table td { text-align: left; vertical-align: top; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.criteria-table tr:last-child th, .criteria-table tr:last-child td { border-bottom: 0; }
.criteria-table th { width: 34%; font-weight: 500; font-size: 0.86rem; color: var(--muted); padding-top: 23px; }
.criteria-table td { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; border-left: 1px solid var(--line); }
.criteria-table td small { display: block; font-family: var(--sans); font-size: 0.86rem; color: var(--muted); margin-top: 4px; }

.sectors-head { margin: clamp(72px, 8vw, 112px) 0 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.sectors-head p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.sectors li { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--line); }
.sectors li:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.sectors .code { font-family: var(--serif); font-style: italic; color: var(--brass); }
.sectors h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.sectors p { font-size: 0.92rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .criteria-grid { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .sectors li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .sectors li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .sectors { grid-template-columns: 1fr; }
  .sectors li:nth-child(even) { padding-left: 0; border-left: 0; }
  .term-sheet-head { padding: 12px 18px; }
  .criteria-table th, .criteria-table td { display: block; width: 100%; border: 0; padding: 0 18px; }
  .criteria-table tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .criteria-table tr:last-child { border-bottom: 0; }
  .criteria-table th { padding-top: 0; margin-bottom: 4px; }
}

/* 04 — Processus */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.step { position: relative; padding-right: 24px; }
.step .marker { width: 48px; height: 48px; border: 1px solid var(--line-strong); background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.15rem; position: relative; }
.step:last-child .marker { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step .when { display: block; margin: 26px 0 8px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: 0.91rem; color: var(--muted); }

.gantt { margin-top: clamp(56px, 6vw, 80px); border: 1px solid var(--line-strong); background: var(--white); }
.gantt-head { display: flex; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--line-strong); color: var(--muted); }
.gantt-grid { display: grid; grid-template-columns: 200px repeat(16, 1fr); padding: 6px 24px 18px; }
.gantt-grid .wk { font-size: 0.68rem; color: var(--muted); text-align: center; padding: 10px 0 8px; border-bottom: 1px solid var(--line); }
.gantt-grid .wk.m { color: var(--text); font-weight: 500; }
.gantt-grid .lab { grid-column: 1; font-size: 0.86rem; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); }
.gantt-grid .lab b { font-family: var(--serif); font-weight: 400; color: var(--brass); margin-right: 10px; }
.gantt-grid .bar { align-self: center; height: 10px; background: var(--ink-3); margin: 0 2px; position: relative; }
.gantt-grid .bar.accent { background: var(--brass); }
.gantt-grid .row-line { grid-column: 2 / -1; border-bottom: 1px solid var(--line); }
.gantt-grid .corner { border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) { .gantt { display: none; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 22px; padding: 0 0 34px; }
  .step::before { content: ""; position: absolute; left: 24px; top: 48px; bottom: 0; width: 1px; background: var(--line-strong); }
  .step:last-child::before { display: none; }
  .step .marker { grid-row: span 3; }
  .step .when { margin-top: 3px; }
}

/* 05 — Financement */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-on-ink-strong); border-bottom: 1px solid var(--line-on-ink); margin-bottom: clamp(56px, 7vw, 96px); }
.figures div { padding: 34px 28px 32px 0; }
.figures div + div { padding-left: 28px; border-left: 1px solid var(--line-on-ink); }
.figures .v { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; color: var(--paper); }
.figures .v small { font-size: 0.5em; color: var(--brass-light); margin-left: 4px; letter-spacing: 0; }
.figures .k { display: block; margin-top: 16px; font-size: 0.88rem; color: var(--muted-on-ink); max-width: 16em; }
@media (max-width: 900px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures div:nth-child(n+3) { border-top: 1px solid var(--line-on-ink); }
}
@media (max-width: 480px) {
  .figures { grid-template-columns: 1fr; }
  .figures div, .figures div + div { padding: 26px 0; border-left: 0; }
  .figures div + div { border-top: 1px solid var(--line-on-ink); }
}

.finance-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.finance-grid h3 { font-size: 1.7rem; margin-bottom: 26px; }
.commit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-on-ink); }
.commit-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-on-ink); color: var(--muted-on-ink); }
.commit-list li strong { color: var(--paper); font-weight: 500; }
.commit-list svg { margin-top: 6px; color: var(--brass-light); }
.finance-cta { margin-top: 40px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.finance-cta span { font-size: 0.86rem; color: var(--muted-on-ink); }

.dossier { background: var(--paper); color: var(--text); padding: 38px 38px 30px; position: relative; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.65); }
.dossier::before { content: ""; position: absolute; top: 0; left: 38px; right: 38px; height: 3px; background: var(--brass); }
.dossier::after { content: ""; position: absolute; left: 10px; right: -10px; top: 10px; bottom: -10px; border: 1px solid var(--line-on-ink-strong); z-index: -1; }
.dossier-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.dossier h4 { font-size: 1.6rem; margin: 24px 0 16px; }
.dossier ol { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.dossier li { counter-increment: d; display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 0.93rem; }
.dossier li::before { content: counter(d, decimal-leading-zero); font-family: var(--serif); color: var(--brass); width: 26px; flex: none; }
.dossier li::after { content: ""; flex: 1; border-bottom: 1px dotted var(--line-strong); order: 2; transform: translateY(-4px); min-width: 20px; }
.dossier li span { order: 1; }
.dossier li em { order: 3; font-style: normal; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.dossier-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.finance-dossier { position: relative; z-index: 0; }
@media (max-width: 960px) { .finance-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .dossier { padding: 30px 22px 24px; }
  .dossier::before { left: 22px; right: 22px; }
  .dossier::after { display: none; }
  .dossier li em { display: none; }
}

/* Citation */
.statement { padding: clamp(80px, 9vw, 128px) 0; border-bottom: 1px solid var(--line); }
.statement blockquote { margin: 0 auto; max-width: 980px; text-align: center; }
.statement p { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.28; letter-spacing: -0.012em; color: var(--text); text-wrap: balance; }
.statement p em { color: var(--brass); }
.statement footer { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 16px; color: var(--muted); }
.statement footer::before, .statement footer::after { content: ""; width: 40px; height: 1px; background: var(--line-strong); }

/* 06 — FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); }
.faq-aside h2 { margin-top: 28px; }
.faq-aside p { margin-top: 22px; color: var(--muted); font-size: 0.97rem; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: 1.28rem; line-height: 1.35; transition: color .2s ease; }
.faq summary:hover { color: var(--brass); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%; }
.faq summary .pm::before { width: 10px; height: 1px; transform: translate(-50%, -50%); }
.faq summary .pm::after { width: 1px; height: 10px; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) scaleY(0); }
.faq .answer { padding: 0 72px 28px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .answer { padding-right: 0; } }

/* 07 — Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); }
.contact-info h2 { margin-top: 28px; }
.contact-info .lead { margin-top: 24px; }
.contact-points { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.contact-points li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 16px; font-size: 0.95rem; }
.contact-points .k { color: var(--muted); font-size: 0.85rem; }
.contact-points a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-points a:hover { border-color: var(--ink); }

.form { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 52px); position: relative; }
.form::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--ink); }
.form-title { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 6px; }
.form-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field label, .legend { font-size: 0.78rem; font-weight: 500; color: var(--text); margin-bottom: 8px; letter-spacing: 0.01em; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0 12px;
  transition: border-color .2s ease; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230f1b2d' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; }
.legend { display: block; padding: 0; margin-bottom: 10px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); margin-bottom: 30px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { padding: 13px 10px; text-align: center; font-size: 0.85rem; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.segmented label:not(:first-of-type) { border-left: 1px solid var(--line-strong); }
.segmented label:hover { background: var(--paper); }
.segmented input:checked + label { background: var(--ink); color: var(--paper); }
.segmented input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: -2px; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 0.8rem; color: var(--muted); margin: 6px 0 30px; line-height: 1.55; }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-foot small { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.form-status { margin-top: 20px; font-size: 0.92rem; padding: 14px 16px; display: none; }
.form-status.ok { display: block; background: var(--paper-2); border-left: 2px solid var(--ink); }
.form-status.err { display: block; background: #f6ebe6; border-left: 2px solid #8b3a2b; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-points li { grid-template-columns: 1fr; gap: 2px; }
  .segmented { grid-template-columns: 1fr; }
  .segmented label:not(:first-of-type) { border-left: 0; border-top: 1px solid var(--line-strong); }
  .form-foot .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Pied de page ---------- */

.site-footer { background: var(--ink-deep); color: var(--muted-on-ink); font-size: 0.88rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 48px; padding: 80px 0 56px; }
.footer-top .brand { color: var(--paper); }
.footer-top p { max-width: 28em; margin-top: 26px; }
.footer-top h4 { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); font-weight: 500; margin-bottom: 20px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 11px; }
.footer-top a { text-decoration: none; transition: color .2s ease; }
.footer-top a:hover { color: var(--paper); }
.footer-legal { border-top: 1px solid var(--line-on-ink); padding: 28px 0; font-size: 0.78rem; line-height: 1.6; color: rgba(163, 173, 189, 0.8); padding-right: clamp(0px, 22vw, 320px); margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid var(--line-on-ink); font-size: 0.78rem; }
.footer-bottom nav a { text-decoration: none; margin-left: 24px; }
.footer-bottom nav a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--paper); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .footer-legal { padding-right: 0; } }

/* ---------- Pages légales ---------- */

.legal-hero { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); }
.legal-hero .kicker { color: var(--brass-light); }
.legal-hero p { color: var(--muted-on-ink); margin-top: 18px; max-width: 40em; }
.legal { max-width: 760px; padding: clamp(56px, 7vw, 96px) 0; }
.legal h2 { font-size: 1.55rem; margin: 48px 0 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); font-weight: 500; }
.legal .todo { background: #f3e9d6; color: #6b4e1f; padding: 1px 6px; font-size: 0.92em; }

/* ---------- Apparition ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
