/* =========================================================
   MAISON CHAIX — Prototype V2
   Direction éditoriale, visuelle, inspirée Gemmyo / Pauline Laigneau / Mineral Expertise
   ========================================================= */

:root {
  --marine: #1B2B44;
  --marine-dark: #0F1B2E;
  --ivoire: #F6F3EC;
  --white: #FFFFFF;
  --anthracite: #2A2926;
  --stone: #D8D3C8;

  --blue-1: #C7D1DD;
  --blue-2: #7C93AC;
  --blue-3: #3D5A80;
  --blue-4: #1B2B44;

  --font-title: 'Familjen Grotesk', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 140px;

  --col-max: 700px;
  --page-max: 1240px;

  --shadow-soft: 0 20px 40px -24px rgba(15,27,46,0.22);
  --shadow-soft-lg: 0 28px 56px -20px rgba(15,27,46,0.28);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--anthracite);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.col { max-width: var(--col-max); }
.col-center { max-width: var(--col-max); margin-left: auto; margin-right: auto; }
.col-wide { max-width: 900px; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--marine);
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.05;
  font-weight: 600;
}

h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  font-weight: 600;
}

h3 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-3);
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.text-center p,
.col-center p,
.cta-dark p {
  text-align: center;
  text-align-last: center;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

.lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--anthracite);
}

.small { font-size: 15px; line-height: 1.5; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--marine);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--marine);
}

.on-dark { color: var(--ivoire); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ivoire); }
.on-dark .eyebrow { color: var(--blue-1); }
.on-dark .eyebrow::before { background: var(--blue-1); }

.accent {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
}

strong { font-weight: 600; }

/* ---------- Header (overlay on hero) ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding-top: var(--space-3);
}

.site-header.static {
  position: relative;
  border-bottom: 1px solid var(--stone);
  background: var(--ivoire);
  padding-top: 0;
}

.site-header.solid {
  position: relative;
  background: var(--marine-dark);
  padding-top: 0;
}

.site-header.scrolled:not(.static) {
  position: fixed;
  background: rgba(15,27,46,0.92);
  backdrop-filter: blur(6px);
  padding-top: 0;
  border-bottom: 1px solid rgba(246,243,236,0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ivoire);
  text-decoration: none;
  white-space: nowrap;
}

.static .logo { color: var(--marine); }

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }

.logo-title { display: block; }

.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 3px;
  font-weight: 500;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ivoire);
  padding-bottom: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.static .nav-links a { color: var(--marine); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: var(--ivoire);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
}

.static .nav-toggle { color: var(--marine); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: 2px;
  border: 1px solid var(--marine);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(15,27,46,0.35); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--marine); color: var(--ivoire); }
.btn-primary:hover { background: var(--marine-dark); }

.btn-ivoire { background: var(--ivoire); color: var(--marine); border-color: var(--ivoire); }
.btn-ivoire:hover { background: transparent; color: var(--ivoire); box-shadow: 0 14px 28px -14px rgba(0,0,0,0.35); }

.btn-outline-dark { background: transparent; color: var(--ivoire); border-color: rgba(246,243,236,0.6); }
.btn-outline-dark:hover { background: rgba(246,243,236,0.12); }

.btn-secondary { background: transparent; color: var(--marine); }
.btn-secondary:hover { background: rgba(27,43,68,0.06); }

/* ---------- Hero (full-bleed photo) ---------- */

.hero-photo {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--ivoire);
  overflow: hidden;
}

.hero-photo.short { min-height: 58vh; }
.hero-photo.medium { min-height: 72vh; }

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,27,46,0.35) 0%, rgba(15,27,46,0.20) 35%, rgba(15,27,46,0.72) 100%);
}

.hero-photo .container {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-7);
  padding-top: 160px;
  width: 100%;
}

.hero-photo .eyebrow { color: var(--blue-1); }
.hero-photo .eyebrow::before { background: var(--blue-1); }

/* ---------- Sections & rhythm ---------- */

section { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.section-tight { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.section-landing { padding-top: var(--space-8); padding-bottom: var(--space-8); }

.filet { border: none; border-top: 1px solid var(--marine); width: 64px; margin: var(--space-4) 0; opacity: 0.5; }
.filet-full { border: none; border-top: 1px solid var(--stone); margin: 0; }

/* ---------- Scroll reveal (defined early so later hover rules win the cascade) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Image panels (full-bleed rhythm) ---------- */

.image-panel {
  width: 100%;
  height: 46vh;
  min-height: 320px;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 1.2s ease;
}

.image-panel:hover { background-size: 108%; }

.image-panel.tall { height: 64vh; min-height: 420px; }

/* ---------- Quote / founder block ---------- */

.quote-block {
  background: var(--marine);
  color: var(--ivoire);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}

.quote-portrait {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--marine-dark);
}

.quote-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }

.quote-mark {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 96px;
  line-height: 0.5;
  color: var(--blue-2);
  display: block;
  margin-bottom: var(--space-2);
}

.quote-text {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--ivoire);
}

.quote-sig {
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-1);
}

/* ---------- Numbered feature grid ---------- */

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.numbered-item {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 14px;
  padding: var(--space-5) var(--space-4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.numbered-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.numbered-item:hover .num { color: var(--blue-3); }

.numbered-item .num {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 40px;
  color: var(--blue-2);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-3);
  transition: color 0.3s ease;
}

.numbered-item h3 { margin-bottom: var(--space-2); }
.numbered-item p:last-child { margin-bottom: 0; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--stone);
  padding: var(--space-4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }

.card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(27,43,68,0.1);
}
.card-list li:first-child { padding-top: 0; border-top: none; }

.card-list .list-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.card-list .list-icon svg { width: 14px; height: 14px; }

.card-list.check .list-icon { background: var(--blue-2); color: var(--ivoire); }
.card-list.cross .list-icon { background: transparent; border: 1.5px dashed var(--marine); color: var(--marine); opacity: 0.6; }

.criteria-card.yes .card-list li { border-top-color: rgba(246,243,236,0.16); }
.criteria-card.yes .card-list.check .list-icon { background: var(--blue-1); color: var(--marine); }
.criteria-card.no .card-list.cross .list-icon { border-color: var(--stone); }

/* ---------- Grid helpers ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.grid-2.asym-l { grid-template-columns: 1.15fr 0.85fr; }
.grid-2.asym-r { grid-template-columns: 0.85fr 1.15fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }

.steps { display: flex; flex-direction: column; }

.step {
  border-top: 1px solid var(--stone);
  transition: background 0.3s ease;
}
.step:last-child { border-bottom: 1px solid var(--stone); }
.step.is-open { background: rgba(27,43,68,0.03); }

.step-head {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  width: 100%;
  padding: var(--space-5) 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  color: inherit;
}

.step-head h3 { margin-bottom: 0; transition: color 0.25s ease; }
.step:hover .step-head h3,
.step.is-open .step-head h3 { color: var(--blue-3); }

.step-number {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 48px;
  color: var(--blue-2);
  line-height: 1;
  transition: color 0.3s ease;
}

.step.is-open .step-number { color: var(--marine); }

.step-toggle {
  width: 32px;
  height: 32px;
  border: 1px solid var(--stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s ease, transform 0.35s ease, background 0.3s ease;
}

.step-toggle::before, .step-toggle::after {
  content: "";
  position: absolute;
  background: var(--marine);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.step-toggle::before { width: 12px; height: 1px; }
.step-toggle::after { width: 1px; height: 12px; }

.step.is-open .step-toggle { border-color: var(--marine); background: var(--marine); }
.step.is-open .step-toggle::before, .step.is-open .step-toggle::after { background: var(--ivoire); }
.step.is-open .step-toggle::after { opacity: 0; transform: rotate(90deg); }

.step-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding-bottom 0.4s ease;
  padding-left: 110px;
}

.step.is-open .step-body {
  max-height: 240px;
  opacity: 1;
  padding-bottom: var(--space-5);
}

.step-body p { color: var(--anthracite); opacity: 0.85; }

/* ---------- Photo frame (in-content) ---------- */

.photo-frame { background: var(--stone); overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.photo-frame.bw img { filter: grayscale(100%); }
.photo-frame:hover img { transform: scale(1.045); }

/* ---------- Monogram ---------- */

.monogram {
  width: 60px; height: 60px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-soft-lg);
}

.monogram img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- CTA dark band ---------- */

.cta-dark {
  background: var(--marine-dark);
  color: var(--ivoire);
  text-align: center;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.cta-dark h2 { color: var(--ivoire); }
.cta-dark .lede { color: var(--blue-1); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-dark .eyebrow { color: var(--blue-1); }
.cta-dark .eyebrow::before { background: var(--blue-1); }

/* ---------- Context nav (B13) ---------- */

.context-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.context-nav a {
  display: block;
  text-decoration: none;
  border-top: 1px solid var(--stone);
  padding-top: var(--space-3);
  padding-bottom: var(--space-2);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.context-nav a:hover { border-color: var(--marine); transform: translateY(-3px); }

.context-nav a .eyebrow { display: inline-flex; margin-bottom: 10px; }
.context-nav a h3 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.context-nav a h3 .arrow { display: inline-block; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.context-nav a:hover h3 .arrow { opacity: 1; transform: translateX(0); }

/* ---------- Forms ---------- */

.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--marine); margin-bottom: 10px; }

.field input, .field textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--stone);
  background: transparent; font-family: var(--font-body); font-size: 17px;
  color: var(--anthracite); padding: 10px 2px;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom: 1px solid var(--marine); }
.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  margin-top: var(--space-4); padding: var(--space-3);
  border: 1px solid var(--stone); background: var(--white); display: none;
}
.form-note.visible { display: block; }

/* ---------- CTA blocks (in-page) ---------- */

.cta-block { text-align: left; padding-top: var(--space-6); padding-bottom: var(--space-6); border-top: 1px solid var(--stone); }
.cta-note { margin-top: var(--space-2); color: var(--marine); opacity: 0.75; }

/* ---------- Legal page ---------- */

.legal h2 { margin-top: var(--space-6); margin-bottom: var(--space-2); font-size: 22px; }
.legal p, .legal li { font-size: 16px; color: var(--anthracite); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--marine-dark);
  color: var(--ivoire);
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); }
.site-footer a { text-decoration: underline; color: var(--ivoire); }
.site-footer .foot-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.site-footer .foot-mark { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.site-footer .foot-brand { font-family: var(--font-title); font-style: italic; font-size: 19px; margin: 0; }
.site-footer p { margin: 0; font-size: 14px; opacity: 0.85; }

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* ---------- Pill row (fragments scannables) ---------- */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--stone);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--marine);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: transparent; }

.pill.pill-muted { color: var(--anthracite); opacity: 0.7; border-style: dashed; }

/* ---------- Pull quote (editorial, no box) ---------- */

.pull-quote {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  color: var(--marine);
}

.pull-quote-source { margin-top: var(--space-3); }

/* ---------- Interactive schema (symptôme / mécanisme / cause) ---------- */

.schema-interactive {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}

.schema-stages {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stage-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(246,243,236,0.18);
  color: var(--ivoire);
  padding: var(--space-3) 0;
  cursor: pointer;
  font-family: var(--font-body);
}

.schema-stages .stage-btn:last-child { border-bottom: 1px solid rgba(246,243,236,0.18); }

.stage-btn .stage-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-1);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.stage-btn .stage-num {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.stage-btn .stage-text {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ivoire);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.stage-btn.is-active .stage-label { opacity: 1; }
.stage-btn.is-active .stage-text {
  max-height: 220px;
  opacity: 0.92;
}

.schema-visual svg .lvl-symptome,
.schema-visual svg .lvl-mecanisme,
.schema-visual svg .lvl-cause {
  transition: opacity 0.35s ease;
}

/* ---------- Design-forward cards (Pour qui) ---------- */

.criteria-card {
  padding: var(--space-5) var(--space-4);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.criteria-card:hover { transform: translateY(-4px); }
.criteria-card.yes:hover { box-shadow: var(--shadow-soft-lg); }
.criteria-card.no:hover { box-shadow: var(--shadow-soft); border-color: transparent; }

.criteria-card.yes { background: var(--marine); color: var(--ivoire); }
.criteria-card.no { background: var(--white); border: 1px solid var(--stone); }

.criteria-card .eyebrow { margin-bottom: var(--space-3); }
.criteria-card.yes .eyebrow { color: var(--blue-1); }
.criteria-card.yes .eyebrow::before { background: var(--blue-1); }

.criteria-card.yes .card-list.check li { color: var(--ivoire); }

/* ---------- Contact split layout ---------- */

.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 78vh;
  padding-top: 0;
  padding-bottom: 0;
}

.contact-side {
  background: var(--marine);
  color: var(--ivoire);
  padding: var(--space-5);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.contact-side > * { max-width: 420px; }

.contact-side::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,46,0.55) 0%, rgba(15,27,46,0.45) 30%, rgba(15,27,46,0.9) 100%);
  z-index: 0;
}

.contact-side > * { position: relative; z-index: 1; }

.contact-form-wrap { padding: 120px var(--space-5) var(--space-6); }

.contact-info { margin-top: var(--space-5); display: flex; flex-direction: column; gap: 10px; }
.contact-info a { text-decoration: none; border-bottom: 1px solid rgba(246,243,236,0.4); }

/* ---------- Timeline (parcours) ---------- */

.timeline { max-width: 880px; margin: 0 auto; }

.timeline-item {
  position: relative;
  padding-left: 64px;
  padding-bottom: var(--space-6);
  border-left: 1px solid var(--stone);
  margin-left: 9px;
}

.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ivoire);
  border: 2px solid var(--marine);
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-2);
}

.timeline-tag {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-3);
  margin-bottom: 10px;
}

.timeline-item h3 { margin-bottom: var(--space-2); }
.timeline-item p { margin-bottom: 0; }

.timeline-item { transition: transform 0.3s ease; }
.timeline-item:hover { transform: translateX(4px); }
.timeline-item:hover::before { border-color: var(--blue-3); }

/* ---------- Stat cards (anciennement bandeau chiffré) ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: var(--space-4);
}

.stat-strip .stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--marine);
  border-radius: 14px;
  padding: var(--space-5) var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-strip .stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft-lg); }

.stat-strip .stat-icon {
  width: 34px;
  height: 34px;
  color: var(--blue-1);
  margin-bottom: var(--space-3);
}

.stat-strip .stat-icon svg { width: 100%; height: 100%; display: block; }

.stat-strip .stat-num {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  color: var(--ivoire);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat-strip .stat-num.stat-num-lg { font-size: 46px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--marine-dark);
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }
  .site-header.static.open .nav-links { background: var(--ivoire); }
  .grid-2, .grid-2.asym-l, .grid-2.asym-r, .grid-3, .numbered-grid, .quote-grid { grid-template-columns: 1fr; }
  .quote-grid { gap: var(--space-4); }
  .step-head { grid-template-columns: 56px 1fr auto; gap: var(--space-2); }
  .step-number { font-size: 32px; }
  .step-body { padding-left: 56px; }
  .hero-photo .container { padding-top: 120px; }
  .schema-interactive { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; gap: var(--space-3); }
  .timeline-item { padding-left: 44px; }
  .contact-side { padding-top: 140px; min-height: 46vh; }
  .contact-form-wrap { padding-top: var(--space-6); }
  body { font-size: 17px; }
  .photo-frame { position: static !important; top: auto !important; }
}