/* ============ La Symphonie — design tokens & base ============ */
:root {
  --ink: #11182b;          /* bleu nuit très profond */
  --ink-soft: #3c4357;
  --paper: #faf8f4;        /* blanc cassé chaud */
  --paper-tint: #f2eee6;   /* section alternée */
  --line: #e3ddd1;
  --night: #131a2e;        /* fond sections sombres */
  --night-2: #0d1322;
  --gold: #C49A4E;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ============ Typographie ============ */
.h2, .h3, .h4, .hero-title, .modal-title {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.h2 { font-size: clamp(30px, 3.6vw, 46px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.h4 { font-size: 19px; margin-bottom: 8px; }
.h2-light { color: #f6f3ec; }
.h2-light em { font-style: normal; color: var(--gold); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 56ch; text-wrap: pretty; margin: 0; }
.lead-center { margin: 0 auto; }
p { margin: 0; text-wrap: pretty; }

.accent-underline {
  background-image: linear-gradient(to top, color-mix(in oklch, var(--gold) 38%, transparent) 0 0.18em, transparent 0.18em);
}

/* ============ Eyebrow ============ */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-soft);
  margin: 0 0 22px;
}
.eyebrow-num { color: var(--gold); font-family: var(--font-head); font-size: 14px; letter-spacing: 0.08em; }
.eyebrow-line { width: 42px; height: 1px; background: var(--gold); flex: none; }
.eyebrow-label { white-space: nowrap; }
.eyebrow-light { color: #b9bdc9; }
/* Sur mobile, les eyebrows longs (hero) doivent s'enrouler au lieu de déborder */
@media (max-width: 680px) {
  .eyebrow { flex-wrap: wrap; }
  .eyebrow-label { white-space: normal; }
}

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Boutons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-big { padding: 15px 28px; font-size: 16px; }
.btn-arrow { transition: transform 0.18s ease; flex: none; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--ink); color: #f6f3ec; }
.btn-primary:hover { background: var(--night-2); box-shadow: 0 8px 22px rgba(17, 24, 43, 0.22); }

.btn-light { background: #f6f3ec; color: var(--night); }
.btn-light:hover { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35); }

.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in oklch, var(--ink) 28%, transparent); }
.btn-ghost:hover { border-color: var(--ink); background: color-mix(in oklch, var(--ink) 5%, transparent); }

.btn-ghost-light { background: transparent; color: #ece8df; border-color: rgba(246, 243, 236, 0.32); }
.btn-ghost-light:hover { border-color: rgba(246, 243, 236, 0.8); background: rgba(246, 243, 236, 0.07); }

/* Variante Tweak : CTA dorés sur fonds sombres */
.gold-cta .btn-light { background: var(--gold); color: var(--night-2); }
.gold-cta .btn-ghost-light { border-color: color-mix(in oklch, var(--gold) 55%, transparent); color: color-mix(in oklch, var(--gold) 80%, white); }
.gold-cta .btn-ghost-light:hover { border-color: var(--gold); }

/* ============ Navigation ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav:not(.nav-scrolled) { color: #f0ece3; }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 36px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-mark { width: 34px; height: auto; }
.nav:not(.nav-scrolled) .nav-mark { filter: brightness(0) invert(0.94); }
.nav-wordmark {
  font-family: var(--font-head); font-weight: 600; font-size: 18px;
  letter-spacing: 0.01em; color: var(--ink); white-space: nowrap;
}
.nav:not(.nav-scrolled) .nav-wordmark { color: #f0ece3; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 600;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav:not(.nav-scrolled) .nav-links a { color: #c6c9d3; }
.nav:not(.nav-scrolled) .nav-links a:hover { color: var(--gold); }
.nav-cta { flex: none; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }
.nav-burger { display: none; }
.nav-mobile { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: none; padding: 8px; cursor: pointer;
  }
  .nav-burger span { width: 22px; height: 2px; background: currentColor; display: block; }
  .nav-scrolled .nav-burger { color: var(--ink); }
  .nav:not(.nav-scrolled) .nav-burger { color: #f0ece3; }
  .nav-mobile {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 32px 24px;
  }
  .nav-mobile a {
    text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px;
    padding: 10px 0; border-bottom: 1px solid var(--line);
  }
  .nav-mobile .btn { margin-top: 14px; justify-content: center; }
  .nav:not(.nav-scrolled):has(.nav-mobile) { background: var(--paper); }
  .nav:not(.nav-scrolled):has(.nav-mobile) .nav-wordmark { color: var(--ink); }
  .nav:not(.nav-scrolled):has(.nav-mobile) .nav-mark { filter: none; }
  .nav:not(.nav-scrolled):has(.nav-mobile) .nav-burger { color: var(--ink); }
}

/* ============ Sections génériques ============ */
.section { padding: 110px 0; }
.section-tinted { background: var(--paper-tint); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

.split { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: 72px; align-items: start; }
.split-head { position: sticky; top: 110px; }
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-head { position: static; }
  .section { padding: 80px 0; }
}

/* ============ Hero ============ */
.section-dark { background: linear-gradient(180deg, var(--night-2), var(--night)); color: #d6d2c8; position: relative; overflow: hidden; }
.hero { padding: 190px 0 130px; }
.hero-waves { position: absolute; inset: 0; color: #8e96ad; pointer-events: none; }
.wavefield { width: 100%; height: 100%; display: block; }
.wave-drift { animation: waveDrift 60s linear infinite; }
@keyframes waveDrift { from { transform: translateX(0); } to { transform: translateX(-1600px); } }
@media (prefers-reduced-motion: reduce) { .wave-drift { animation: none; } }

.hero-inner { position: relative; max-width: 880px; }
.hero-title {
  font-size: clamp(38px, 5.2vw, 64px); color: #f6f3ec; font-weight: 600;
  margin-bottom: 26px;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: #b9bdc9; max-width: 52ch; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 58px; }
.hero-publics p { font-size: 14px; letter-spacing: 0.04em; color: #8b90a0; margin-bottom: 14px; }

/* ============ Chips ============ */
.chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.chips li {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft);
  background: color-mix(in oklch, var(--paper) 60%, transparent);
}
.chips-dark li { border-color: rgba(246, 243, 236, 0.18); color: #c6c9d3; background: rgba(246, 243, 236, 0.05); }

/* ============ Pourquoi ============ */
.pourquoi-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pourquoi-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.pourquoi-item .h4 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; }
.pourquoi-eq { color: var(--gold); font-weight: 600; }
.pourquoi-item p { color: var(--ink-soft); font-size: 16px; max-width: 56ch; }

/* ============ Services ============ */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { padding: 36px 34px; display: flex; flex-direction: column; gap: 6px; }
.service-card .h3 { margin-bottom: 6px; }
.service-card p { font-size: 15.5px; color: var(--ink-soft); flex: 1; }
.service-link {
  margin-top: 18px; align-self: flex-start;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid color-mix(in oklch, var(--gold) 60%, transparent);
  padding-bottom: 2px; transition: color 0.15s ease, border-color 0.15s ease;
}
.service-link:hover { color: var(--gold); border-color: var(--gold); }

/* ============ Chapitre (bande sombre) ============ */
.chapitre { padding: 96px 0; position: relative; overflow: hidden; }
.chapitre-inner { position: relative; max-width: 820px; }
.chapitre .h2 { margin-bottom: 20px; }
.chapitre .hero-sub { margin-bottom: 0; }

/* ============ Fondateur ============ */
.fondateur { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: center; max-width: 980px; }
@media (max-width: 760px) { .fondateur { grid-template-columns: 1fr; gap: 36px; } }
.fondateur-portrait { display: grid; place-items: center; }
.portrait-ph {
  width: 220px; height: 220px; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklch, var(--gold) 22%, transparent), transparent 60%),
    var(--paper-tint);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.portrait-ph::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in oklch, var(--gold) 8%, transparent) 9px 10px);
}
.portrait-ph img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.portrait-monogram {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 600; font-size: 64px;
  color: color-mix(in oklch, var(--gold) 70%, var(--ink)); letter-spacing: 0.02em;
}
.fondateur-sign { margin-top: 26px; display: flex; flex-direction: column; gap: 2px; }
.fondateur-sign strong { font-family: var(--font-head); font-size: 18px; }
.fondateur-sign span { font-size: 14.5px; color: var(--ink-soft); }

/* ============ Problème ============ */
.freins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.frein { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); position: relative; }
.frein:nth-child(odd) { padding-right: 36px; }
.frein:nth-child(even) { padding-left: 36px; border-left: 1px solid var(--line); }
.frein-num { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; }
.frein .h4 { margin-top: 8px; }
.frein p { font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 760px) {
  .freins-grid { grid-template-columns: 1fr; }
  .frein:nth-child(even) { padding-left: 0; border-left: none; }
  .frein:nth-child(odd) { padding-right: 0; }
}

/* ============ Solution ============ */
.split-solution { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
@media (max-width: 980px) { .split-solution { grid-template-columns: 1fr; gap: 48px; } }
.staff-graphic { margin-top: 48px; color: var(--ink); }
.staff-graphic svg { width: 100%; height: auto; }
.staff-caption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.solution-list-title { font-family: var(--font-head); font-weight: 600; font-size: 18px; margin-bottom: 20px; }
.solution-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.solution-list li {
  display: flex; gap: 14px; align-items: center;
  padding: 13px 16px; border-radius: calc(var(--radius) * 0.7);
  font-weight: 600; font-size: 16px;
  transition: background 0.15s ease;
}
.solution-list li:hover { background: color-mix(in oklch, var(--gold) 9%, transparent); }
.check-dot {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in oklch, var(--gold) 16%, transparent);
  color: var(--gold);
}
.check-dot svg { width: 14px; height: 14px; }

/* ============ Bénéfices ============ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(17, 24, 43, 0.08); border-color: color-mix(in oklch, var(--gold) 45%, var(--line)); }
.benefit-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: color-mix(in oklch, var(--gold) 13%, transparent); color: var(--gold); margin-bottom: 18px; }
.benefit-card p { font-size: 15.5px; color: var(--ink-soft); }

/* ============ C.A.D.E.N.C.E ============ */
.cadence { max-width: 920px; margin: 0 auto; }
.cadence-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 26px; }
.cadence-key {
  font-family: var(--font-head); border: 1px solid var(--line); background: #fff;
  border-radius: calc(var(--radius) * 0.8); padding: 16px 6px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer; transition: all 0.2s ease; color: var(--ink-soft);
}
.cadence-key:hover { border-color: var(--gold); transform: translateY(-2px); }
.cadence-key.is-active { background: var(--ink); border-color: var(--ink); color: #f6f3ec; transform: translateY(-4px); box-shadow: 0 12px 26px rgba(17, 24, 43, 0.18); }
.cadence-letter { font-size: 26px; font-weight: 600; line-height: 1; }
.cadence-key.is-active .cadence-letter { color: var(--gold); }
.cadence-word { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 760px) {
  .cadence-strip { grid-template-columns: repeat(4, 1fr); }
  .cadence-word { display: none; }
  .cadence-key { padding: 12px 4px; }
}

.cadence-detail {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 38px;
  display: flex; gap: 26px; align-items: center; min-height: 150px;
  animation: cadenceIn 0.4s ease;
  overflow: hidden;
}
@keyframes cadenceIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cadence-detail { animation: none; } }
.cadence-detail-letter {
  font-family: var(--font-head); font-size: 110px; font-weight: 600; line-height: 0.8;
  color: color-mix(in oklch, var(--gold) 26%, transparent); flex: none;
}
.cadence-detail .h3 { margin-bottom: 8px; }
.cadence-detail p { color: var(--ink-soft); max-width: 52ch; }
.cadence-count { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 13px; color: var(--gold); letter-spacing: 0.08em; }
@media (max-width: 640px) {
  .cadence-detail { flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px; }
  .cadence-detail-letter { font-size: 64px; }
}
.cadence-conclusion {
  text-align: center; margin: 40px auto 0; max-width: 56ch;
  font-family: var(--font-head); font-size: 19px; font-weight: 500; color: var(--ink);
}

/* ============ Modules (accordéon) ============ */
.modules { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.module { border-bottom: 1px solid var(--line); }
.module-head {
  width: 100%; display: flex; align-items: center; gap: 20px;
  background: none; border: none; cursor: pointer;
  padding: 22px 4px; text-align: left;
  font-family: var(--font-head); color: var(--ink);
  transition: padding 0.2s ease;
}
.module-head:hover { color: color-mix(in oklch, var(--gold) 60%, var(--ink)); }
.module-num { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; flex: none; width: 28px; }
.module-title { font-size: 18.5px; font-weight: 600; flex: 1; }
.module-toggle {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink-soft); transition: all 0.25s ease;
}
.module-vbar { transition: transform 0.25s ease; transform-origin: center; }
.module.is-open .module-vbar { transform: scaleY(0); }
.module.is-open .module-toggle { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.module-body {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease;
}
.module-body > * { overflow: hidden; min-height: 0; }
.module.is-open .module-body { grid-template-rows: 1fr; }
.module-body .chips { padding-bottom: 0; margin: 0 0 0 48px; }
.module.is-open .module-body .chips { padding-bottom: 24px; }

/* ============ Onglets métiers ============ */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 38px; }
.tab {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  transition: all 0.18s ease;
}
.tab:hover { border-color: var(--gold); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #f6f3ec; }

.tab-panel {
  max-width: 820px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
}
@media (max-width: 640px) { .tab-panel { grid-template-columns: 1fr; } }
.usage {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 0.8);
  padding: 16px 20px; font-weight: 600; font-size: 15.5px;
  animation: usageIn 0.45s ease backwards;
}
@keyframes usageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .usage { animation: none; } }
.usage-marker { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ============ Offres ============ */
.offres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 980px) { .offres-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.offre {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.offre:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(17, 24, 43, 0.1); }
.offre-highlight { background: linear-gradient(170deg, var(--night-2), var(--night)); color: #d6d2c8; border-color: var(--night); }
.offre-highlight .h3 { color: #f6f3ec; }
.offre-top { display: flex; flex-direction: column; gap: 8px; }
.offre-top .h3 { margin: 0; }
.offre-format {
  align-self: flex-start;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid color-mix(in oklch, var(--gold) 45%, transparent);
  border-radius: 999px; padding: 4px 12px;
}
.offre-promesse { font-size: 17px; font-weight: 500; line-height: 1.5; flex: 1; }
.offre-public { font-size: 14.5px; color: var(--ink-soft); }
.offre-highlight .offre-public { color: #a7abba; }
.offre-cta { margin-top: 6px; }

.accompagnement {
  margin-top: 26px; background: #fff; border: 1px dashed color-mix(in oklch, var(--gold) 55%, var(--line));
  border-radius: var(--radius); padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.accompagnement .h4 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.accompagnement p { color: var(--ink-soft); }

/* ============ Workflow ============ */
.workflow {
  display: flex; align-items: stretch; justify-content: center; gap: 0;
  flex-wrap: wrap; max-width: 1060px; margin: 0 auto;
}
.wf-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; width: 148px; padding: 8px 6px;
  opacity: 0.35; transition: opacity 0.5s ease, transform 0.5s ease;
}
.wf-step.is-on { opacity: 1; transform: translateY(-3px); }
.wf-dot {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; color: var(--ink-soft);
  transition: all 0.5s ease;
}
.wf-step.is-on .wf-dot { border-color: var(--gold); color: var(--ink); box-shadow: 0 0 0 5px color-mix(in oklch, var(--gold) 14%, transparent); }
.wf-humain .wf-dot { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.wf-humain.is-on .wf-dot { box-shadow: 0 0 0 5px color-mix(in oklch, var(--gold) 22%, transparent); }
.wf-label { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.wf-detail { font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; }
.wf-link {
  flex: none; width: 34px; height: 1.5px; background: var(--line);
  margin-top: 29px; position: relative; overflow: hidden;
}
.wf-link::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.wf-link.is-on::after { transform: scaleX(1); }
@media (max-width: 980px) {
  .workflow { flex-direction: column; align-items: center; gap: 4px; }
  .wf-link { width: 1.5px; height: 26px; margin: 0; }
  .wf-link::after { transform: scaleY(0); transform-origin: top; }
  .wf-link.is-on::after { transform: scaleY(1); }
  .wf-step { width: auto; max-width: 320px; }
}
.wf-message { text-align: center; max-width: 52ch; margin: 48px auto 0; font-size: 18px; color: var(--ink-soft); }
.wf-message strong { color: var(--ink); }

/* ============ Sécurité ============ */
.securite-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .securite-list { grid-template-columns: 1fr; } }
.securite-item {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 0.8);
  padding: 18px 20px; font-weight: 600; font-size: 15.5px;
}

/* ============ Témoignage ============ */
.temoignage { max-width: 820px; text-align: center; position: relative; }
.temoignage-mark {
  font-family: var(--font-head); font-size: 120px; line-height: 0.6;
  color: color-mix(in oklch, var(--gold) 45%, transparent);
  display: block; margin-bottom: 16px;
}
.temoignage blockquote { margin: 0; }
.temoignage blockquote p {
  font-family: var(--font-head); font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 500; line-height: 1.45; letter-spacing: -0.01em;
  margin-bottom: 30px; text-wrap: balance;
}
.temoignage footer { display: flex; flex-direction: column; gap: 2px; }
.temoignage cite { font-style: normal; font-weight: 700; font-size: 16px; }
.temoignage footer span { font-size: 14.5px; color: var(--ink-soft); }

/* ============ CTA final ============ */
.final-cta { padding: 130px 0; }
.final-cta-inner { position: relative; max-width: 760px; text-align: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta .hero-sub { margin-left: auto; margin-right: auto; }
.final-cta .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ============ Footer ============ */
.footer { background: var(--night-2); color: #a7abba; padding: 70px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding-bottom: 54px; border-bottom: 1px solid rgba(246, 243, 236, 0.1);
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }
.footer-mark { width: 44px; filter: brightness(0) invert(0.92); margin-bottom: 14px; }
.footer-wordmark { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: #f6f3ec; margin-bottom: 8px; }
.footer-tagline { font-size: 14.5px; max-width: 36ch; }
.footer-links, .footer-meta { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-meta a { color: #c6c9d3; text-decoration: none; font-size: 15px; transition: color 0.15s ease; }
.footer-links a:hover, .footer-meta a:hover { color: var(--gold); }
.footer-bottom { padding: 22px 32px; font-size: 13.5px; color: #6d7283; }

/* ============ Modale ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(13, 19, 34, 0.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  animation: backdropIn 0.25s ease;
}
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; background: var(--paper); border-radius: var(--radius);
  max-width: 560px; width: 100%; max-height: 90vh; overflow: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
  animation: modalIn 0.3s cubic-bezier(0.22, 0.9, 0.3, 1.2);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal, .modal-backdrop { animation: none; } }
.modal-body { padding: 42px 44px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  color: var(--ink-soft); font-size: 13px;
  transition: all 0.15s ease;
}
.modal-close:hover { border-color: var(--ink); color: var(--ink); }
.modal-title { font-size: 26px; }
.modal-sub { color: var(--ink-soft); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field span { font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 11px 14px; border-radius: calc(var(--radius) * 0.6);
  border: 1px solid var(--line); background: #fff; resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--gold) 22%, transparent);
}
.field-err { font-size: 12.5px; color: #b3403a; font-style: normal; font-weight: 600; }
.modal-note { font-size: 12.5px; color: #9b9788; margin-top: 14px; }
.modal-sent { text-align: center; padding-top: 56px; padding-bottom: 56px; }
.sent-badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: color-mix(in oklch, var(--gold) 18%, transparent); color: var(--gold);
}
.modal-sent .btn { margin-top: 8px; }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 32px 26px; }
}

/* ============ Surcharges [hidden] ============ */
/* Ces éléments ont un display explicite qui l'emporterait sur la règle UA [hidden]{display:none}. */
.modal-backdrop[hidden] { display: none; }
.nav-mobile[hidden] { display: none; }
.modal form { margin: 0; }

/* ============ Sous-page (mentions légales) ============ */
.subpage-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.subpage-nav .nav-inner { justify-content: space-between; }
.subpage-back {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  transition: color 0.15s ease;
}
.subpage-back:hover { color: var(--gold); }

.legal { padding: 64px 0 110px; }
.legal-head { max-width: 760px; margin-bottom: 48px; }
.legal-body { max-width: 760px; }
.legal-block { margin-bottom: 40px; }
.legal-block .h3 { margin-bottom: 14px; }
.legal-block p, .legal-block li { color: var(--ink-soft); font-size: 16px; }
.legal-block p + p { margin-top: 12px; }
.legal-block ul { margin: 8px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.legal-block a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--gold) 60%, transparent); text-underline-offset: 2px; transition: color 0.15s ease; }
.legal-block a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.legal-block strong { color: var(--ink); }
.legal-todo {
  display: inline-block; font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--gold);
  background: color-mix(in oklch, var(--gold) 12%, transparent);
  border: 1px dashed color-mix(in oklch, var(--gold) 50%, var(--line));
  border-radius: 6px; padding: 1px 8px;
}
.legal-update { font-size: 14px; color: #9b9788; margin-top: 8px; }
