/* Capentiel — feuille de style du site.
   Basée sur le design system « Modernist » (export Claude Design), palette Capentiel. */

/* ── Police Archivo, hébergée localement (licence SIL OFL : fonts/OFL.txt) ── */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f5f4f0;
  --color-surface: #ebe9e3;
  --color-text: #13233a;
  --color-accent: #16806c;
  --color-accent-100: #e9f5f1;
  --color-accent-200: #cdeae1;
  --color-accent-300: #a2d6c7;
  --color-accent-400: #66b9a3;
  --color-accent-500: #2e9c85;
  --color-accent-600: #116a5a;
  --color-accent-700: #0d5649;
  --color-accent-800: #0a4038;
  --color-accent-900: #072b26;
  --color-divider: color-mix(in srgb, #13233a 32%, transparent);
  --field: #0f2036;

  --text-82: color-mix(in srgb, var(--color-text) 82%, transparent);
  --text-78: color-mix(in srgb, var(--color-text) 78%, transparent);
  --text-75: color-mix(in srgb, var(--color-text) 75%, transparent);
  --text-70: color-mix(in srgb, var(--color-text) 70%, transparent);
  --white-78: color-mix(in srgb, #fff 78%, transparent);
  --white-24: color-mix(in srgb, #fff 24%, transparent);

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section-pad: clamp(72px, 9vw, 136px);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
svg.i { display: block; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; scroll-margin-top: 72px; }
.section--top-only { padding-bottom: 0; }
.rule-top { border-top: 2px solid var(--color-divider); }
.accent { color: var(--color-accent); }
.accent-700 { color: var(--color-accent-700); }

/* ── Boutons (Modernist) ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 14px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: 800; font-size: 16px; line-height: 1.2;
  color: var(--color-text); background: transparent;
  border: 1px solid transparent; border-radius: 0;
  padding: 18px 22px;
}
.btn svg { display: block; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent-700); padding: 8px 0; font-size: 15px; }
.btn-ghost:hover { color: var(--color-accent); text-decoration: underline; }
.btn-sm { padding: 13px 18px; font-size: 14px; gap: 12px; }
.btn-md { padding: 16px 20px; font-size: 15px; gap: 12px; }
.btn-block { width: 100%; }

.tag {
  display: inline-flex; align-items: center; flex: none; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em; padding: 3px 10px;
  background: var(--color-accent-100); color: var(--color-accent-800);
}

/* Libellé de section (petit carré + capitales) */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-accent-700);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--color-accent); flex: none; }

/* ── En-tête ────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-bg); border-bottom: 2px solid var(--color-divider); }
.site-header__bar {
  max-width: 1400px; margin: 0 auto; padding: 10px clamp(20px, 4vw, 56px);
  display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px);
}
/* Logo + mantra empilés (colonne), alignés à gauche. Logo 40px + 2px + mantra 12px + padding 2×10px
   = même hauteur de barre qu'avant (76px). */
.site-header__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-right: auto; text-decoration: none; }
.site-header__brand img { display: block; height: 40px; width: auto; }
.site-header__mantra {
  display: block; font-size: 10.5px; line-height: 12px; font-weight: 500; letter-spacing: 0.03em; white-space: nowrap;
  color: var(--color-accent-600); opacity: 0.8;
}
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--color-text); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--color-accent-700); }
.burger {
  display: none; width: 44px; height: 44px; padding: 0; justify-content: center;
  border: 1px solid var(--color-divider); background: transparent; color: var(--color-text); cursor: pointer;
}
.burger:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.burger svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-nav {
  border-top: 2px solid var(--color-divider); padding: 8px clamp(20px, 4vw, 56px) 24px;
  display: flex; flex-direction: column;
}
.mobile-nav a:not(.btn) {
  padding: 16px 0; border-bottom: 1px solid var(--color-divider);
  color: var(--color-text); text-decoration: none; font-size: 20px; font-weight: 800;
}
.mobile-nav .btn { margin-top: 20px; padding: 16px 18px; gap: 12px; }

@media (max-width: 979px) {
  .site-nav, .site-header__cta { display: none; }
  .burger { display: inline-flex; align-items: center; }
}
@media (min-width: 980px) {
  .mobile-nav { display: none !important; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { border-bottom: 2px solid var(--color-divider); scroll-margin-top: 80px; }
.hero__inner { display: flex; flex-wrap: wrap; align-items: stretch; }
.hero__photo { flex: 1 1 360px; max-width: 680px; position: relative; background: var(--field); }
.hero__photo img { width: 100%; height: auto; }
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 120px clamp(20px, 3vw, 40px) clamp(20px, 3vw, 36px);
  background: linear-gradient(to top, rgba(8, 18, 32, 0.78), rgba(8, 18, 32, 0));
  color: #fff; display: flex; flex-direction: column; gap: 16px;
}
.hero__quote { border-left: 3px solid var(--color-accent-400); padding-left: 14px; font-size: 17px; line-height: 1.45; font-weight: 600; }
.hero__who { display: flex; flex-direction: column; gap: 6px; }
.hero__name { font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hero__role { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.hero__content {
  flex: 1.4 1 460px; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 104px) clamp(20px, 5vw, 88px);
  border-left: 2px solid var(--color-divider);
}
.hero__text { max-width: 660px; display: flex; flex-direction: column; }
.hero h1 {
  margin: 24px 0 0 -0.04em;
  font-size: clamp(42px, 4.9vw, 78px); line-height: 0.98; letter-spacing: -0.04em;
}
.hero h1 span { display: block; }
.hero__lead { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-82); }
.hero__lead strong { color: var(--color-text); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; color: var(--text-75); }
.hero__note svg { color: var(--color-accent-700); stroke-width: 2; }

@media (max-width: 979px) {
  .hero__photo { max-width: none; }
}

/* ── Grilles à cellules (bordures visibles) ─────────────────────────────── */
.cells { overflow: hidden; }
.cells--framed { border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); }
.cells__grid {
  --cell-pad: clamp(20px, 2.2vw, 32px);
  --cell-min: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--cell-min)), 1fr));
  margin: -2px 0 0 calc(-2px - var(--cell-pad));
}
.cells__grid > * {
  padding-left: var(--cell-pad); padding-right: var(--cell-pad);
  border-left: 2px solid var(--color-divider); border-top: 2px solid var(--color-divider);
}

/* Engagements */
.pledges { border-bottom: 2px solid var(--color-divider); }
.pledges .cells__grid { --cell-min: 240px; }
.pledge { display: flex; gap: 14px; padding-top: 28px; padding-bottom: 28px; }
.pledge svg { color: var(--color-accent); }
.pledge__title { font-size: 15px; font-weight: 800; line-height: 1.3; }
.pledge__text { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--text-75); }

/* ── En-tête de section ─────────────────────────────────────────────────── */
.section-head { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { flex: 1 1 200px; align-self: flex-start; margin-top: 14px; }
.section-head__body { flex: 3 1 560px; display: flex; flex-direction: column; gap: 24px; }
.section-head h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.section-head__lead { max-width: 40em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--text-78); }

/* ── Constat ────────────────────────────────────────────────────────────── */
.pain { padding-top: 36px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.pain__num { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; color: var(--color-accent-700); }
.pain h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -0.02em; }
.pain p { font-size: 15.5px; line-height: 1.6; color: var(--text-78); }
.punchline { margin-top: 40px; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; max-width: 30em; }

/* Calculateur */
.calc { display: flex; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); }
.calc__inputs { flex: 1 1 380px; background: var(--color-surface); padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; gap: 28px; }
.calc__kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-700); }
.calc h3 { margin-top: 10px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.025em; }
.calc__field { display: flex; flex-direction: column; gap: 10px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; }
.calc__label strong { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; accent-color: var(--color-accent); height: 24px; margin: 0; }
.calc__base { font-size: 13px; color: var(--text-70); }
.calc__result {
  flex: 1 1 380px; background: var(--field); color: #fff; padding: clamp(28px, 3.5vw, 52px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.calc__intro { font-size: 16px; color: var(--white-78); }
.calc__figure { margin-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.calc__number { font-size: clamp(64px, 7vw, 108px); line-height: 0.95; font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--color-accent-300); }
.calc__unit { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.calc__summary { margin-top: 16px; font-size: 18px; line-height: 1.5; max-width: 26em; }
.calc__summary strong { font-weight: 800; color: var(--color-accent-300); }
.calc__result .btn { align-self: flex-start; }

/* ── Approche ───────────────────────────────────────────────────────────── */
.lever { display: flex; flex-wrap: wrap; gap: 28px clamp(24px, 4vw, 64px); padding: clamp(32px, 4vw, 52px) 0; border-top: 2px solid var(--color-divider); }
.lever:last-child { border-bottom: 2px solid var(--color-divider); }
.lever__head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.lever__meta { display: flex; align-items: center; gap: 14px; }
.lever__num { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lever h3 { font-size: clamp(30px, 2.9vw, 44px); line-height: 1.02; letter-spacing: -0.035em; }
.lever__body { flex: 1.2 1 320px; display: flex; flex-direction: column; gap: 20px; }
.lever__body > p { font-size: 16.5px; line-height: 1.6; color: var(--text-82); }
.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bullets li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--color-divider); font-size: 15px; }
.bullets li:last-child { border-bottom: 1px solid var(--color-divider); }
.bullets li::before { content: ""; width: 7px; height: 7px; background: var(--color-accent); flex: none; }
.lever__gain { flex: 0.8 1 220px; display: flex; flex-direction: column; gap: 12px; }
.lever__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--color-accent-100); color: var(--color-accent-700); }
.lever__gain-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-70); }
.lever__gain p { font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }

/* ── Méthode (fond sombre) ──────────────────────────────────────────────── */
.dark { background: var(--field); color: #fff; }
.dark .eyebrow { color: var(--color-accent-300); }
.dark .eyebrow::before { background: var(--color-accent-400); }
.dark .section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.dark .section-head h2 { color: #fff; }
.dark .section-head__lead { color: var(--white-78); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); row-gap: 48px; }
.step { position: relative; border-top: 2px solid var(--white-24); padding: 32px 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.step::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; box-sizing: border-box; background: var(--field); border: 2px solid var(--color-accent-400); }
.step--first::before { background: var(--color-accent-400); }
.step__label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-300); }
.step h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--white-78); }
.step__badge { align-self: flex-start; margin-top: 6px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; border: 1px solid color-mix(in srgb, #fff 40%, transparent); }
.step__badge--solid { padding: 5px 10px; border: 0; background: var(--color-accent-400); color: var(--field); }
.dark__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 2px solid var(--white-24); }
.dark__cta span { font-size: 15px; color: var(--white-78); }

/* ── Parcours ───────────────────────────────────────────────────────────── */
.section-head__tags { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.parcours .section-head__body { gap: 20px; }
.parcours .cells__grid { --cell-min: 260px; }
.stat { padding-top: 36px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 10px; }
.stat__num { font-size: clamp(52px, 5.4vw, 80px); line-height: 0.95; font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 0.4em; letter-spacing: -0.02em; margin-left: 8px; }
.stat__title { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--color-accent-700); }
.stat__text { font-size: 15px; line-height: 1.55; color: var(--text-78); }

.cv { display: flex; flex-wrap: wrap; gap: 48px clamp(32px, 5vw, 80px); margin-top: clamp(48px, 6vw, 80px); }
.cv__col { flex: 1 1 400px; display: flex; flex-direction: column; }
.cv h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: clamp(22px, 1.9vw, 27px); letter-spacing: -0.02em; }
.cv h3 svg { color: var(--color-accent); }
.cv__row { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 20px 0; border-top: 1px solid var(--color-divider); }
.cv__row:first-of-type { border-top-width: 2px; }
.cv__row:last-child { border-bottom: 1px solid var(--color-divider); }
.cv__when { flex: 0 0 150px; padding-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-700); }
.cv__what { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; }
.cv__title { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.cv__sub { font-size: 15px; color: var(--text-75); }

.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 36px); background: var(--color-surface); }
.banner p { flex: 1 1 380px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; }

/* ── Mission & vision ───────────────────────────────────────────────────── */
.mission .cells__grid { --cell-pad: clamp(20px, 3vw, 48px); --cell-min: 380px; }
.mission__cell { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.mission__statement { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.mission__statement em { font-style: normal; color: var(--color-accent-700); font-weight: 800; }
.mission__cell > p:last-child { font-size: 16px; line-height: 1.6; color: var(--text-78); }

/* ── Valeurs ────────────────────────────────────────────────────────────── */
.valeurs .cells__grid { --cell-pad: clamp(18px, 1.8vw, 26px); --cell-min: 210px; }
.value { padding-top: 30px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 12px; transition: background 0.2s; }
.value:hover { background: var(--color-surface); }
.value__top { display: flex; justify-content: space-between; align-items: center; color: var(--color-accent); }
.value__top svg { stroke-width: 1.75; }
.value__top span { font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.value h3 { margin-top: 10px; font-size: 22px; letter-spacing: -0.02em; }
.value__motto { font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--color-accent-700); }
.value__text { font-size: 14.5px; line-height: 1.6; color: var(--text-78); }

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact { background: var(--color-accent); color: #fff; padding: clamp(72px, 9vw, 128px) 0; scroll-margin-top: 76px; }
.contact__inner { display: flex; flex-wrap: wrap; gap: 48px clamp(32px, 6vw, 96px); align-items: flex-start; }
.contact__pitch { flex: 1 1 380px; display: flex; flex-direction: column; gap: 28px; }
.contact .eyebrow { color: #fff; }
.contact .eyebrow::before { background: #fff; }
.contact h2 { margin-left: -0.04em; font-size: clamp(42px, 5.4vw, 80px); line-height: 0.98; letter-spacing: -0.04em; color: #fff; }
.contact h2 span { display: block; }
.contact__lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 30em; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.checks svg { margin-top: 1px; stroke-width: 2.25; }
.contact__coords { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 24px; border-top: 2px solid color-mix(in srgb, #fff 45%, transparent); }
.contact__coords > * { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
.contact__coords a:hover { color: #fff; text-decoration: underline; }
.contact__coords svg { stroke-width: 2; }

.contact__card { flex: 1 1 440px; background: var(--color-bg); color: var(--color-text); padding: clamp(28px, 3.5vw, 48px); }
.form { display: flex; flex-direction: column; gap: 20px; }
.form h3 { font-size: 26px; letter-spacing: -0.025em; }
.form__intro { margin-top: 6px; font-size: 14.5px; color: var(--text-75); }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field > label, .field > .field__label { display: block; font-size: 12px; margin-bottom: 5px; color: var(--text-70); }
.input {
  width: 100%; min-height: 46px; padding: 6px 10px; font: inherit; font-size: 15px;
  color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; padding-top: 10px; resize: vertical; }
.seg { display: flex; flex-wrap: wrap; overflow: hidden; border: 1px solid var(--color-divider); margin: 0; padding: 0; min-width: 0; }
.seg-opt { flex: 1 1 auto; display: inline-flex; align-items: center; gap: 6px; padding: 11px 14px; font-size: 14px; cursor: pointer; }
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.form__error { font-size: 14px; font-weight: 600; color: var(--color-accent-700); }
.form .btn-block { margin-top: 4px; padding: 18px 20px; }
.form__privacy { font-size: 12.5px; line-height: 1.5; color: var(--text-70); }
.hp { position: absolute; left: -9999px; }

/* Message de remerciement, affiché sous le formulaire après l'envoi */
.form-success {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 24px; padding: 20px 22px;
  background: var(--color-accent-100); border-left: 3px solid var(--color-accent);
  color: var(--color-accent-900);
}
.form-success:focus { outline: none; }
.form-success__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--color-accent); color: #fff; }
.form-success__icon svg { stroke-width: 2.5; }
.form-success__title { font-size: 17px; line-height: 1.35; font-weight: 800; letter-spacing: -0.01em; }
.form-success__text { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--color-accent-800); }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) { animation: success-in .5s var(--ease, ease-out) both; }
  .form-success:not([hidden]) .form-success__icon { animation: success-pop .45s .15s var(--ease, ease-out) both; }
}
@keyframes success-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes success-pop { from { transform: scale(.6); } }

/* ── Pied de page ───────────────────────────────────────────────────────── */
.site-footer .container { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 32px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 5vw, 80px); padding-bottom: 40px; }
.site-footer__brand { flex: 2 1 300px; display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { height: 48px; width: auto; align-self: flex-start; }
.site-footer__brand p { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; max-width: 24em; }
.site-footer__brand .site-footer__mantra { margin-top: 4px; }
.site-footer__brand .site-footer__tagline {
  margin-top: -10px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent-600);
}
.site-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__col:last-child { flex-basis: 200px; }
.site-footer__heading { margin-bottom: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-70); }
.site-footer a { color: var(--color-text); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent-700); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px; border-top: 2px solid var(--color-divider);
  font-size: 13px; color: color-mix(in srgb, var(--color-text) 72%, transparent);
}
.site-footer__bottom div { display: flex; gap: 24px; }
.site-footer__bottom a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .value { transition: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Pages intérieures
   ══════════════════════════════════════════════════════════════════════ */
:root { --ease: cubic-bezier(.2, .7, .2, 1); interpolate-size: allow-keywords; }

.page-hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--color-divider); }
.page-hero__inner { position: relative; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 6vw, 88px); font-size: 13px; font-weight: 600; color: var(--text-70); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--color-accent-700); }
.page-hero h1 {
  position: relative; z-index: 1; max-width: 13em; margin: 24px 0 0 -0.04em;
  font-size: clamp(42px, 5.6vw, 88px); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance;
}
.page-hero__lead { position: relative; z-index: 1; max-width: 38em; margin-top: 28px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-82); }
.page-hero__lead strong { color: var(--color-text); font-weight: 700; }
.page-hero__ghost {
  position: absolute; right: var(--gutter); bottom: -0.2em; z-index: 0;
  font-size: clamp(150px, 25vw, 400px); font-weight: 800; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--color-accent) 30%, transparent);
  pointer-events: none; user-select: none;
  transform: translate3d(0, var(--py, 0px), 0);
}
@media (max-width: 700px) { .page-hero__ghost { opacity: 0.45; } }

.more-link {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding-bottom: 4px;
  font-size: 15px; font-weight: 800; color: var(--color-accent-700); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}
.more-link svg { fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.more-link:hover svg { transform: translateX(4px); }
.dark .more-link, .dark .more-link:hover { color: var(--color-accent-300); }

.prose p { max-width: 38em; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--text-82); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--color-text); }

.chips-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-70); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; }
.chip { padding: 6px 12px; border: 1px solid var(--color-divider); font-size: 13.5px; font-weight: 600; transition: border-color .25s, color .25s, background-color .25s; }
.chip:hover { border-color: var(--color-accent); color: var(--color-accent-700); background: var(--color-accent-100); }

.lever__gain .bullets { margin-top: 4px; }
.lever__gain .bullets li { font-size: 15px; font-weight: 600; }
.lever h3 .lever__motto { display: block; margin-top: 12px; font-size: 0.5em; letter-spacing: -0.02em; line-height: 1.2; color: var(--color-accent-700); }

/* Bloc photo + texte */
.split { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 5vw, 88px); align-items: center; }
.split__media { flex: 1 1 340px; max-width: 520px; overflow: hidden; background: var(--field); }
.split__media img { width: 100%; height: auto; }
.split__body { flex: 1.3 1 420px; display: flex; flex-direction: column; gap: 24px; }
.split__body h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }

.wordmark { font-size: clamp(44px, 6.4vw, 104px); font-weight: 800; line-height: 0.95; letter-spacing: -0.05em; }
.wordmark span { color: var(--color-accent); }
.wordmark small { font-size: 0.5em; color: var(--text-70); letter-spacing: -0.02em; margin: 0 0.15em; }

/* FAQ */
.faq { border-top: 2px solid var(--color-divider); }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  list-style: none; cursor: pointer; font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; letter-spacing: -0.015em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-accent-700); }
.faq summary svg { flex: none; color: var(--color-accent); fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq__answer { max-width: 46em; padding-bottom: 28px; font-size: 16.5px; line-height: 1.6; color: var(--text-82); }

/* Page suivante */
.next-page {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(32px, 4vw, 56px) 0; border-top: 2px solid var(--color-divider);
  color: var(--color-text); text-decoration: none;
}
.next-page:hover { color: var(--color-text); }
.next-page__label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-700); }
.next-page__title { display: block; margin-top: 8px; font-size: clamp(32px, 4vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; transition: color .25s; }
.next-page:hover .next-page__title { color: var(--color-accent-700); }
.next-page svg { flex: none; width: clamp(32px, 4vw, 56px); height: auto; color: var(--color-accent); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.next-page:hover svg { transform: translateX(8px); }

/* Bandeau d'appel à l'action */
.cta-band { background: var(--color-accent); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow::before { background: #fff; }
.cta-band h2 { max-width: 12em; margin: 20px 0 0 -0.04em; font-size: clamp(38px, 4.6vw, 68px); line-height: 0.98; letter-spacing: -0.04em; color: #fff; }
.cta-band__text { max-width: 30em; margin-top: 20px; font-size: 18px; line-height: 1.55; }
.btn-invert { background: #fff; color: var(--color-accent-800); }
.btn-invert:hover { background: var(--color-accent-100); color: var(--color-accent-900); }

/* Lien actif */
.site-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: var(--color-accent-700); }

/* ══════════════════════════════════════════════════════════════════════════
   Animations — discrètes, toutes désactivées si l'utilisateur réduit les animations
   ══════════════════════════════════════════════════════════════════════ */

/* Barre de progression de lecture (bas de l'en-tête) */
.progress {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* Liens de navigation : soulignement qui se dessine depuis la gauche */
.site-nav a {
  padding: 4px 0;
  background: linear-gradient(var(--color-accent), var(--color-accent)) 0 100% / 0 2px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background-size: 100% 2px; }
.site-footer__col a {
  align-self: flex-start;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.site-footer__col a:hover { background-size: 100% 1px; }

/* Boutons : la flèche avance, et un léger effet « magnétique » (piloté par JS) */
.btn {
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: background-color .2s, color .2s, border-color .2s, transform .35s var(--ease);
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.site-header__cta:hover svg { transform: translate(2px, -2px); }

/* Micro-interactions au survol */
.lever__icon { transition: background-color .3s, color .3s, transform .4s var(--ease); }
.lever:hover .lever__icon { background: var(--color-accent); color: #fff; transform: translateY(-3px); }
.pledge svg, .value__top svg, .cv h3 svg { transition: transform .4s var(--ease); }
.pledge:hover svg, .value:hover .value__top svg { transform: translateY(-3px); }
.bullets li::before { transition: transform .3s var(--ease); }
.bullets li:hover::before { transform: rotate(45deg); }
.step::before { transition: background-color .3s, transform .45s var(--ease); }
.step:hover::before { background: var(--color-accent-400); transform: rotate(45deg); }
.cv__row { transition: padding-left .35s var(--ease), box-shadow .35s var(--ease); }
.cv__row:hover { padding-left: 12px; box-shadow: inset 2px 0 0 var(--color-accent); }

/* Halo qui suit le curseur dans les cellules (classe posée par JS, souris uniquement) */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--color-accent) 11%, transparent), transparent 70%);
}
.spot:hover::after { opacity: 1; }
.dark .spot::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--color-accent-400) 16%, transparent), transparent 70%); }

/* Parallaxe des photos (activée par JS sur grand écran) */
.has-parallax [data-parallax] { will-change: transform; }
.has-parallax img[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.08); }
.hero__photo { overflow: hidden; }

/* Apparition au défilement (attribut posé par JS) */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0; transform: translate3d(0, 22px, 0);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  [data-reveal].is-visible { opacity: 1; transform: none; }

  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .progress { display: none; }
}

/* ── Pages légales ──────────────────────────────────────────────────────── */
.legal { max-width: 48em; }
.legal__updated { margin-bottom: clamp(40px, 5vw, 64px); font-size: 14px; color: var(--text-70); }

/* Grandes sections (01, 02…) : beaucoup d'air au-dessus et en dessous de chaque filet */
.legal section { padding: clamp(48px, 6vw, 80px) 0; border-top: 2px solid var(--color-divider); }
.legal section:last-child { border-bottom: 2px solid var(--color-divider); }

/* Titre : numéro et intitulé bien séparés */
.legal h2 {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: clamp(24px, 2.6vw, 32px);
  font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.02em;
}
.legal h2 span { flex: none; min-width: 2ch; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; color: var(--color-accent-700); }
.legal h3 { margin: 44px 0 14px; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.legal h2 + h3 { margin-top: 0; }

/* Texte courant : interligne généreux */
.legal p, .legal li { font-size: 16.5px; line-height: 1.85; color: var(--text-82); }
.legal p + p { margin-top: 1.1em; }
.legal p + ul, .legal ul + p { margin-top: 20px; }

/* Listes à puces : chaque point respire */
.legal ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal ul li { position: relative; padding: 2px 0 2px 28px; }
.legal ul li::before { content: ""; position: absolute; left: 4px; top: 0.85em; width: 7px; height: 7px; background: var(--color-accent); }
.legal strong { color: var(--color-text); }
.legal a { font-weight: 600; }

/* Fiches d'identité (adresse, BCE…) */
.legal__card {
  display: grid; grid-template-columns: max-content 1fr; gap: 20px 44px; align-items: baseline;
  margin: 0; padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 48px);
  background: var(--color-surface); border-left: 3px solid var(--color-accent);
}
.legal__card dt { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent-700); }
.legal__card dd { margin: 0; font-size: 16.5px; line-height: 1.6; }
@media (max-width: 560px) {
  .legal__card { grid-template-columns: 1fr; gap: 6px; }
  .legal__card dd { margin-bottom: 18px; }
  .legal__card dd:last-child { margin-bottom: 0; }
}
.form__privacy a { color: inherit; font-weight: 600; }
