/* Vaauban — Landing styles
   Ratio inverse : ~60% stone/paper · 30% night · 10% moss
   Mix typo : Fraunces (display hero) + Inter Tight (titres internes) + Inter (body)
*/

:root {
  --night: #0F1A2E;
  --night-2: #16243F;
  --stone: #F2EDE4;
  --paper: #FAFAF7;
  --moss: #4A6B3E;
  --moss-2: #6B8A5C;
  --copper: #B8742E;
  --charcoal: #1A1A1A;
  --grey: #7B7B7B;
  --grey-2: #A6A29A;
  --rule: rgba(15, 26, 46, 0.14);
  --rule-faint: rgba(15, 26, 46, 0.08);
  --rule-stone: rgba(242, 237, 228, 0.18);

  --ok: #2F5D3A;
  --warn: #B8742E;
  --bad: #8C2A1F;

  --display: "Fraunces", "Cormorant Garamond", "Tiempos Headline", Georgia, serif;
  --sans: "Inter Tight", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Söhne", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

.brand-emblem { color: var(--stone); }
.nav .brand-emblem { color: var(--stone); }
.nav-brand { display: flex !important; align-items: center; gap: 10px; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "lnum", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ── Type scale ───────────────────────────── */
.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.muted { color: var(--grey); }
.eyebrow.on-night { color: #C9A777; }

.display {
  font-family: var(--display);
  font-weight: 380;
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.012em;
  color: var(--night);
  line-height: 1.04;
  text-wrap: balance;
}
.display-xl {
  font-family: var(--display);
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(44px, 6.4vw, 88px);
  letter-spacing: -0.018em;
  line-height: 1.02;
  color: var(--night);
  text-wrap: balance;
}
.display-l {
  font-family: var(--display);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: -0.014em;
  line-height: 1.05;
  color: var(--night);
  text-wrap: balance;
}
.display-m {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--night);
  text-wrap: balance;
}

.h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--night);
  text-wrap: balance;
}
.h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--night);
  margin: 0;
}
.h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1.35;
  color: var(--night);
  margin: 0;
}
.lede {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 60ch;
  text-wrap: pretty;
}
.body { font-size: 15px; line-height: 1.6; color: var(--charcoal); }
.body p { margin: 0 0 0.9em; text-wrap: pretty; }
.body p:last-child { margin-bottom: 0; }
.cap {
  font-family: var(--body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grey);
}
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.serif { font-family: var(--display); font-style: normal; font-weight: 380; }

/* Section numbering chapter-style */
.chapter {
  font-family: var(--display);
  font-weight: 380;
  font-style: normal;
  font-size: 14px;
  color: var(--grey);
}

/* ── Layout ───────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section { position: relative; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.compact { padding: clamp(56px, 7vw, 96px) 0; }
.section.dark { background: var(--night); color: var(--stone); }
.section.stone { background: var(--stone); }
.section.paper { background: var(--paper); }

.section.dark .display,
.section.dark .display-l,
.section.dark .display-xl,
.section.dark .display-m,
.section.dark .h2,
.section.dark .h3,
.section.dark .h4 { color: var(--stone); }
.section.dark .lede,
.section.dark .body { color: rgba(242, 237, 228, 0.78); }
.section.dark .cap { color: rgba(242, 237, 228, 0.55); }

/* ── Hairlines & dividers ───────────────────────────── */
.hr {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}
.section.dark .hr { background: var(--rule-stone); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head .lede { margin-top: 4px; max-width: 64ch; }

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.005em;
  padding: 14px 22px;
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--moss);
  color: var(--paper);
  border-color: var(--moss);
}
.btn-primary:hover { background: var(--night); border-color: var(--night); }

.btn-night {
  background: var(--moss);
  color: var(--stone);
  border-color: var(--moss);
}
.btn-night:hover { background: #5d8550; border-color: #5d8550; }

.btn-ghost {
  background: transparent;
  color: var(--night);
  border-color: var(--night);
}
.section.dark .btn-ghost { color: var(--stone); border-color: var(--stone); }
.btn-ghost:hover { background: var(--night); color: var(--stone); }
.section.dark .btn-ghost:hover { background: var(--stone); color: var(--night); }

.btn-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--night);
  font-weight: 500;
  border-bottom: 1px solid var(--night);
  padding-bottom: 2px;
  border-radius: 0;
}
.section.dark .btn-link { color: var(--stone); border-bottom-color: var(--stone); }
.btn-link:hover { color: var(--moss); border-bottom-color: var(--moss); }

.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ── Nav ───────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--stone);
}
.nav-brand img { height: 22px; width: auto; }
.nav-brand .wm {
  font-family: var(--display);
  font-weight: 420;
  font-size: 22px;
  letter-spacing: 0.005em;
  color: var(--stone);
  line-height: 1;
}
.nav-brand .wm sup {
  font-size: 0.42em;
  vertical-align: top;
  position: relative;
  top: 0.05em;
  color: var(--copper);
  font-weight: 460;
  margin: 0 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--stone);
  text-decoration: none;
  letter-spacing: 0;
  opacity: 0.72;
  transition: opacity 140ms ease;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 940px) {
  .nav-links { display: none; }
}

/* ── Mobile nav (hamburger + drawer) ─── */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(242,237,228,0.18);
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: 4px;
  transition: border-color 140ms ease, background 140ms ease;
}
.nav-toggle:hover { background: rgba(242,237,228,0.06); border-color: rgba(242,237,228,0.32); }
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--stone);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 160ms ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 46, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 84vw);
  background: var(--night);
  color: var(--stone);
  border-left: 1px solid rgba(242,237,228,0.10);
  padding: 84px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  overflow-y: auto;
}
.mobile-drawer.is-open { pointer-events: auto; }
.mobile-drawer.is-open .mobile-drawer-backdrop { opacity: 1; pointer-events: auto; }
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); pointer-events: auto; }

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer-links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  color: var(--stone);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(242,237,228,0.08);
  letter-spacing: 0.005em;
  transition: color 140ms ease;
}
.mobile-drawer-links a:hover,
.mobile-drawer-links a:focus-visible { color: var(--copper, #C9A777); }

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 16px;
}
.mobile-drawer-cta .btn { width: 100%; justify-content: center; }

body.mobile-nav-locked { overflow: hidden; }

/* Sur mobile, le CTA du header est déplacé dans le drawer — on le cache du
   nav-cta principal pour ne garder que le hamburger côté droit du header. */
@media (max-width: 940px) {
  .nav-cta { display: none; }
}

/* ── Hero ───────────────────────────── */
.hero {
  background: var(--paper);
  padding: clamp(96px, 12vw, 180px) 0 clamp(80px, 10vw, 140px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  text-align: left;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  margin: 28px 0 32px;
  max-width: 18ch;
}
.hero .lede {
  max-width: 56ch;
}
.hero .ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  max-width: 760px;
}
.hero-meta .item .num {
  font-family: var(--display);
  font-weight: 380;
  font-size: 28px;
  color: var(--night);
  letter-spacing: -0.01em;
  display: block;
  line-height: 1;
}
.hero-meta .item .lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 6px;
  display: block;
}
.hero-visual {
  position: relative;
}

/* ── Stat / chiffre clé ─────────────────────────── */
.stat-card {
  padding-top: 8px;
}
.stat-num {
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--night);
  display: block;
}
.section.dark .stat-num { color: var(--stone); }
.stat-num .unit { font-size: 0.42em; vertical-align: top; margin-left: 6px; color: var(--copper); }
.stat-cap {
  font-size: 13px;
  line-height: 1.5;
  color: var(--charcoal);
  margin-top: 16px;
  max-width: 36ch;
}
.section.dark .stat-cap { color: rgba(242, 237, 228, 0.78); }
.stat-source {
  font-size: 11px;
  color: var(--grey);
  margin-top: 12px;
  font-style: normal;
}

/* ── 3-col constat ─────────────────────────── */
.constat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.constat-grid > .col {
  padding: 8px 0;
}
.constat-grid .col .h3 {
  margin-top: 16px;
  margin-bottom: 12px;
}
.constat-grid .col .body { font-size: 14px; }
.constat-grid .col .stat-num { font-size: clamp(48px, 4.6vw, 72px); margin-top: 8px; }
@media (max-width: 880px) {
  .constat-grid { grid-template-columns: 1fr; }
}

/* ── Promesse cards ───────────────────────────── */
.promesse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px);
  column-gap: clamp(36px, 4vw, 64px);
}
.promesse-grid > .card {
  padding: 8px 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.promesse-grid .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--copper);
  text-transform: uppercase;
}
.promesse-grid .benefit {
  margin-top: 8px;
  font-family: var(--display);
  font-style: normal;
  font-size: 16px;
  font-weight: 380;
  color: var(--night);
  line-height: 1.4;
}
@media (max-width: 1100px) {
  .promesse-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .promesse-grid { grid-template-columns: 1fr; }
}

/* ── Steps ───────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.steps .step {
  padding: 8px 0;
  position: relative;
}
.steps .step .step-num {
  font-family: var(--display);
  font-weight: 360;
  font-size: 56px;
  color: var(--copper);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 16px;
}
.steps .step .step-eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  display: block;
  margin-bottom: 8px;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

/* ── Catalogue interventions ───────────────────────────── */
.catalogue {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2vw, 28px);
}
.intervention {
  padding: 36px;
  border: 1px solid var(--rule-faint);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.intervention .iv-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.intervention .iv-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--copper);
  text-transform: uppercase;
}
.intervention .iv-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  color: var(--night);
  letter-spacing: -0.02em;
  margin: 4px 0 2px;
}
.intervention .iv-subtitle {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.02em;
}
.intervention .iv-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal);
}
.intervention dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}
.intervention dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  font-size: 13px;
  align-items: baseline;
}
.intervention dl dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  margin: 0;
}
.intervention dl dd {
  margin: 0;
  color: var(--charcoal);
  line-height: 1.5;
}
.intervention .iv-price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--night);
}
@media (max-width: 880px) {
  .catalogue { grid-template-columns: 1fr; }
  .intervention dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Tag obligation */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tag-obli { color: var(--bad); }
.tag-cond { color: var(--copper); }
.tag-init { color: var(--moss); }

/* ── Pain list (home) ───────────────────────────── */
.pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(242,237,228,0.14);
}
.pain-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid rgba(242,237,228,0.14);
  align-items: baseline;
}
.pain-num {
  font-family: var(--display);
  font-style: normal;
  font-weight: 320;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--copper, #C9A777);
  letter-spacing: -0.01em;
  line-height: 1;
  display: block;
}
.pain-body { display: flex; flex-direction: column; gap: 10px; max-width: 68ch; }
.pain-title {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.005em;
  color: var(--stone);
  margin: 0;
  line-height: 1.15;
}
.pain-desc {
  font-family: var(--sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: rgba(242,237,228,0.78);
  margin: 0;
}
@media (max-width: 700px) {
  .pain-row { grid-template-columns: 1fr; gap: 12px; }
  .pain-num { font-size: 44px; }
}

/* ── Market grid (home) ───────────────────────────── */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.market-card {
  padding: clamp(24px, 2vw, 32px) clamp(22px, 1.8vw, 28px);
  background: var(--paper);
  border: 1px solid var(--rule-faint);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.market-card .market-num {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(40px, 3.6vw, 56px);
  letter-spacing: -0.015em;
  color: var(--night);
  line-height: 1;
}
.market-card .market-lbl {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  line-height: 1.45;
  margin-bottom: 4px;
}
.market-card .market-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
  flex: 1;
}
.market-card .market-src {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-faint);
}
@media (max-width: 1024px) {
  .market-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .market-grid { grid-template-columns: 1fr; }
}

/* ── Aides mobilisables ───────────────────────────── */
.aides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.aide-card {
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--rule-faint);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aide-card .aide-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 4px;
}
.aide-card .aide-num {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(28px, 2.4vw, 36px);
  letter-spacing: -0.01em;
  color: var(--night);
  line-height: 1.05;
}
.aide-card .aide-lbl {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grey);
  margin-bottom: 6px;
}
.aide-card .body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}
@media (max-width: 1080px) {
  .aides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .aides-grid { grid-template-columns: 1fr; }
}

/* ── Pricing ───────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 28px);
  background: transparent;
}
.plan {
  padding: 36px 28px;
  background: var(--paper);
  border: 1px solid var(--rule-faint);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.plan.featured { border-color: var(--night); }
.plan.featured {
  background: var(--night);
  color: var(--stone);
}
.plan.featured .plan-name,
.plan.featured .plan-price,
.plan.featured .plan-target,
.plan.featured ul li { color: var(--stone); }
.plan.featured ul li::before { background: var(--copper); }
.plan.featured .plan-price-unit { color: rgba(242,237,228,0.65); }
.plan-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--night);
}
.plan-target {
  font-size: 12px;
  color: var(--grey);
  margin-top: -8px;
}
.plan.featured .plan-target { color: rgba(242,237,228,0.6); }
.plan-price {
  font-family: var(--display);
  font-weight: 360;
  font-size: 44px;
  letter-spacing: -0.025em;
  color: var(--night);
  line-height: 1;
  margin-top: 8px;
}
.plan-price-unit {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grey);
  margin-top: 4px;
}
.plan ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan ul li {
  font-size: 13px;
  line-height: 1.45;
  color: var(--charcoal);
  padding-left: 18px;
  position: relative;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--moss);
}
.plan .btn { margin-top: 16px; justify-content: center; }
.plan.featured .btn-ghost { color: var(--stone); border-color: var(--stone); }
.plan.featured .btn-ghost:hover { background: var(--stone); color: var(--night); }
.plan-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--copper);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
}
@media (max-width: 1080px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing { grid-template-columns: 1fr; }
}

/* ── Profile (Pour qui) ───────────────────────────── */
.profiles {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 2vw, 28px);
}
.profile {
  padding: 56px 48px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.profile.secondary {
  background: var(--stone);
}
.profile .profile-eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
}
.profile .profile-stamp {
  font-family: var(--display);
  font-style: normal;
  font-size: 18px;
  color: var(--moss);
  margin-top: auto;
  padding-top: 16px;
}
@media (max-width: 880px) {
  .profiles { grid-template-columns: 1fr; }
}

/* ── A propos ───────────────────────────── */
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.manifesto-grid .body p { margin-bottom: 1em; line-height: 1.7; }
.manifesto-grid--solo { grid-template-columns: 1fr; max-width: 70ch; }
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
}
.team .member {
  padding: 8px 0;
}
.team .member .role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 6px;
}
.team .member .name {
  font-family: var(--display);
  font-weight: 380;
  font-size: 26px;
  letter-spacing: -0.012em;
  color: var(--night);
  margin: 0 0 12px;
  line-height: 1.1;
}
.team .member .bio { font-size: 14px; line-height: 1.6; color: var(--charcoal); }
.team .member .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--stone);
  margin-bottom: 18px;
  display: block;
  filter: grayscale(0.15);
}
.team .member .member-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 140ms ease;
}
.section.dark .team .member .member-link { color: #C9A777; }
.team .member .member-link:hover { color: var(--stone); }
@media (max-width: 760px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
}

/* ── FAQ ───────────────────────────── */
.faq-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.faq-block:last-of-type { border-bottom: 1px solid var(--rule); }
.faq-block .faq-cat {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--copper);
}
.faq-block .faq-cat .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey);
  display: block;
  margin-bottom: 6px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--rule-faint);
  padding: 0;
}
.faq-item:first-child { border-top: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--night);
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.faq-item summary .toggle::before,
.faq-item summary .toggle::after {
  content: "";
  position: absolute;
  background: var(--night);
  transition: transform 200ms ease;
}
.faq-item summary .toggle::before { width: 12px; height: 1px; }
.faq-item summary .toggle::after { height: 12px; width: 1px; }
.faq-item[open] summary .toggle::after { transform: scaleY(0); }
.faq-item .faq-answer {
  padding: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 64ch;
}
@media (max-width: 760px) {
  .faq-block { grid-template-columns: 1fr; }
}

/* ── Form ───────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }

.form {
  background: var(--paper);
  padding: 40px;
  border: 1px solid var(--rule);
}
.section.dark .form { background: var(--paper); color: var(--charcoal); }
.section.dark .form .h2,
.section.dark .form .h3 { color: var(--night); }
.section.dark .form .lede,
.section.dark .form .body { color: var(--charcoal); }

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form .field.full { grid-column: 1/-1; }
.form label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--night);
  border-radius: 0;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--body);
}
.form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%230F1A2E' stroke-width='1' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--moss);
}
.form .submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form .rgpd {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.55;
  margin-top: 14px;
  max-width: 64ch;
}
.form .confirm {
  display: none;
  padding: 32px;
  background: var(--moss);
  color: var(--paper);
  text-align: center;
}
.form.is-sent .form-fields { display: none; }
.form.is-sent .confirm { display: block; }
.form .confirm h3 { color: var(--paper); margin-bottom: 8px; }

/* ── Footer ───────────────────────────── */
.footer {
  background: var(--night);
  color: var(--stone);
  padding: 80px 0 32px;
}
.footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-stone);
}
.footer .brand .wordmark {
  height: 28px;
  margin-bottom: 20px;
}
.footer .brand .tag {
  font-family: var(--display);
  font-style: normal;
  font-size: 18px;
  color: var(--stone);
  border: none;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 380;
  max-width: 36ch;
  line-height: 1.4;
  margin: 0 0 24px;
}
.footer .col-title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.55);
  margin-bottom: 18px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer ul a {
  font-size: 14px;
  color: var(--stone);
  opacity: 0.85;
  text-decoration: none;
  transition: opacity 140ms ease;
}
.footer ul a:hover { opacity: 1; color: var(--moss-2); }
.footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(242,237,228,0.55);
}
.footer .bottom .legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .bottom .legal a { color: inherit; text-decoration: none; }
.footer .bottom .legal a:hover { color: var(--stone); }
@media (max-width: 880px) {
  .footer .top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer .top { grid-template-columns: 1fr; }
}

/* ── Image slot styling ───────────────────────────── */
image-slot {
  --slot-bg: var(--stone);
  --slot-border: var(--rule);
  --slot-color: var(--night);
}

/* ── Status pills ───────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border: 1px solid currentColor;
}
.pill-ok { color: var(--ok); }
.pill-warn { color: var(--warn); }
.pill-bad { color: var(--bad); }
.pill-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ── Scroll progress ───────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--moss);
  z-index: 100;
  transition: width 60ms linear;
}

/* ── Reveal on scroll ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Utilities ───────────────────────────── */
.flex { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.text-center { text-align: center; }

/* ── Bridge / transition phrase ─────────────────────────── */
.bridge {
  font-family: var(--display);
  font-style: normal;
  font-weight: 380;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--moss);
  max-width: 60ch;
  padding: 16px 0;
}
.section.dark .bridge { color: var(--moss-2); }

/* ── Polish pass ───────────────────────────── */
/* Universal focus-visible state */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}
.btn:focus-visible { outline-offset: 2px; }
.section.dark a:focus-visible,
.section.dark .btn:focus-visible { outline-color: var(--moss-2); }

/* Selection */
::selection { background: var(--moss); color: var(--paper); }

/* Subtle card hover lifts (only on bordered cards) */
.intervention,
.market-card,
.aide-card,
.plan {
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.intervention:hover,
.market-card:hover,
.aide-card:hover {
  border-color: var(--rule);
}

/* Tighten copy rendering globally */
h1, h2, h3, h4, h5, h6, p, li { text-wrap: pretty; }
.display, .display-xl, .display-l, .display-m, .h2 { text-wrap: balance; }

/* Consistent paragraph spacing inside cards */
.card p + p,
.profile p + p { margin-top: 0.7em; }

/* Eyebrow rule width — slightly more deliberate */
.eyebrow::before { width: 28px; }

/* Quiet the link underline transitions */
a { transition: color 140ms ease, opacity 140ms ease; }

/* Section-head bottom margin tightening when followed by grids */
.section-head + .promesse-grid,
.section-head + .market-grid,
.section-head + .aides-grid,
.section-head + .pricing,
.section-head + .catalogue { margin-top: 0; }

/* Footer link group spacing — slightly more breathing room */
.footer ul { gap: 12px; }
.footer .col-title { margin-bottom: 20px; }

/* Nav link consistency */
.nav-links a { transition: opacity 160ms ease, color 160ms ease; }

/* FAQ summary affordance */
.faq-item summary { transition: color 140ms ease; }
.faq-item summary:hover { color: var(--moss); }
.faq-item[open] summary { color: var(--moss); }

/* Plan featured polish */
.plan { transition: transform 220ms ease, border-color 220ms ease; }
.plan:not(.featured):hover { border-color: var(--rule); }

/* Lede tightening on dark sections */
.section.dark .lede { color: rgba(242, 237, 228, 0.82); }

/* Form refinement */
.form input::placeholder,
.form textarea::placeholder { color: var(--grey-2); }
.form .field { margin-bottom: 18px; }
.form input,
.form select,
.form textarea {
  transition: border-color 160ms ease, background 160ms ease;
}
.form input:hover,
.form select:hover,
.form textarea:hover { border-color: var(--grey-2); }

/* Section vertical rhythm — softer top edge between same-bg sections */
.section.paper + .section.paper,
.section.stone + .section.stone { padding-top: clamp(24px, 3vw, 48px); }

/* Tag refinement */
.tag { line-height: 1; padding: 5px 10px 4px; }

/* Stat / hero meta refinement */
.hero-meta .item .num { letter-spacing: -0.012em; }
.stat-source { letter-spacing: 0.04em; text-transform: uppercase; font-size: 10px; }

/* Buttons — refine sub-pixel weight */
.btn { letter-spacing: 0.01em; }

/* Step number consistent baseline */
.steps .step .step-num { margin-bottom: 20px; }
