/* Valcruz Capital Group — feuille de style principale. Les jetons suivent la charte de la marque. */

@font-face {
  font-family: "Cabin";
  src: url("/assets/fonts/cabin-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --capital: #212B27;
  --capital-deep: #1A2320;
  --fonce: #24322B;
  --liquidite: #347E59;
  --liquidite-hover: #2B6B4B;
  --patrimoine: #E6E6E7;
  --pale: #D2DAD4;

  --on-dark-muted: #A3ADA8;
  --on-dark-soft: #C9CFCC;
  --on-light-muted: #4A5751;
  --line-dark: rgba(230, 230, 231, 0.14);
  --line-light: #D2DAD4;
  --paper: #F2F5F2;
  --paper-panel: #FFFFFF;

  --display: "Cabin", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 12vw, 176px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--capital);
  color: var(--patrimoine);
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--liquidite); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--paper); color: var(--capital); padding: 12px 18px; border-radius: 6px; font-family: var(--text); font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--gutter); }
.h2 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }

/* Texture : grain photographique très fin sur les sections sombres */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 6px;
  font-family: var(--text); font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out);
}
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1.0625rem; }
.btn--primary { background: var(--liquidite); color: #fff; }
.btn--primary:hover { background: var(--liquidite-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--quiet { border: 1px solid rgba(230, 230, 231, 0.35); color: var(--patrimoine); }
.btn--quiet:hover { border-color: var(--patrimoine); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
/* Fond plein, sans backdrop-filter : celui-ci enfermerait le menu mobile (position: fixed) dans l'en-tête. */
.nav.is-scrolled { background: var(--capital); border-bottom-color: var(--line-dark); }
.nav__inner { max-width: 1360px; margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 19px; height: 34px; }
.brand__name { font-weight: 700; font-size: 1.1875rem; letter-spacing: 0.005em; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 28px; font-family: var(--text); font-size: 0.9375rem; font-weight: 500; }
.nav__links a { text-decoration: none; padding: 8px 0; color: var(--patrimoine); background: linear-gradient(var(--liquidite), var(--liquidite)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease-out); }
.nav__links a:hover { background-size: 100% 2px; }
.nav__lang { color: var(--on-dark-muted) !important; }
.nav__toggle { display: none; }

@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid var(--line-dark); border-radius: 6px; cursor: pointer; position: relative; z-index: 2; }
  .nav__burger, .nav__burger::before, .nav__burger::after { display: block; width: 20px; height: 2px; background: var(--patrimoine); transition: transform .25s var(--ease-out), opacity .2s; }
  .nav__burger { position: relative; }
  .nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
  .nav__burger::before { top: -6px; }
  .nav__burger::after { top: 6px; }
  .nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }
  .nav__links { position: fixed; inset: 0; background: var(--capital); flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 96px var(--gutter) 48px; font-family: var(--display); font-size: 2rem; font-weight: 700; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
  .nav__links.is-open { visibility: visible; opacity: 1; transition: opacity .25s; }
  .brand, .nav__cta { position: relative; z-index: 2; }
}
@media (max-width: 640px) { .nav__cta { display: none; } }

/* 1. Le sceau d'approbation */
.hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; background: var(--capital); }
.hero__inner {
  position: relative; width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 132px var(--gutter) calc(48px + clamp(32px, 4.5vw, 72px));
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  grid-template-rows: 1fr auto auto;
}
.hero__stage { grid-column: 1 / -1; grid-row: 1; position: relative; pointer-events: none; }
/* Le V est gravé : face à peine plus claire que le fond, arête claire en haut, ombre en bas. Aucun effet lumineux. */
.hero__v { position: absolute; right: max(-4vw, -64px); bottom: clamp(20px, 3vw, 40px); height: min(90vh, 960px); width: auto; aspect-ratio: 499.48 / 593.72; overflow: visible; opacity: 0; transform: translateY(18px); animation: settle 1.6s var(--ease-out) .2s forwards; }
.hero__v-shadow { fill: #161E1B; }
.hero__v-edge { fill: #33443B; }
.hero__v-face { fill: #25332C; }
@keyframes settle { to { opacity: 1; transform: none; } }
.hero__copy { grid-column: 1 / 10; grid-row: 1; align-self: end; position: relative; z-index: 1; padding-bottom: clamp(20px, 3vw, 40px); }
.hero__kicker { font-family: var(--text); font-size: 0.9375rem; color: var(--on-dark-muted); margin-bottom: 28px; opacity: 0; animation: fade .8s ease .2s forwards; }
.hero__title { font-size: clamp(3.25rem, 7.2vw, 7.25rem); line-height: 0.9; letter-spacing: -0.04em; font-weight: 700; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease-out) forwards; }
.hero__title .line:nth-child(1) > span { animation-delay: .25s; }
.hero__title .line:nth-child(2) > span { animation-delay: .4s; }
.hero__foot { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; padding-top: 32px; opacity: 0; animation: fade 1s ease 2.2s forwards; position: relative; z-index: 1; }
.hero__lead { grid-column: 1 / 6; font-size: 1.1875rem; line-height: 1.6; color: var(--on-dark-soft); max-width: 46ch; }
.hero__facts { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-family: var(--text); font-size: 0.875rem; line-height: 1.45; color: var(--on-dark-muted); }
.hero__facts strong { display: block; font-family: var(--display); font-size: clamp(1.375rem, 2vw, 1.875rem); line-height: 1.1; font-weight: 700; color: var(--patrimoine); margin-bottom: 6px; }
.hero__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes grow { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .hero__inner { padding-top: 112px; }
  .hero__v { height: min(60vh, 540px); right: -16vw; }
  .hero__copy, .hero__lead, .hero__facts { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero__facts li { display: flex; align-items: baseline; gap: 12px; }
  .hero__facts strong { margin: 0; font-size: 1.375rem; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* 2. La réalité du marché */
.market { background: var(--paper); color: var(--capital); padding-block: var(--section); }
.market__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: end; }
.market__intro { grid-column: 1 / 8; }
.market__statement { font-size: clamp(2.5rem, 5.2vw, 5.25rem); line-height: 1; letter-spacing: -0.035em; font-weight: 700; max-width: 15ch; text-wrap: balance; }
.market__lead { margin-top: 32px; max-width: 52ch; font-size: 1.1875rem; color: var(--on-light-muted); }
.market__figure { grid-column: 9 / 13; border-left: 1px solid var(--line-light); padding-left: clamp(24px, 3vw, 48px); padding-bottom: 8px; }
.market__big { display: block; font-size: clamp(5rem, 11vw, 10.5rem); line-height: .85; letter-spacing: -0.055em; font-weight: 700; color: var(--liquidite); font-variant-numeric: tabular-nums; white-space: nowrap; }
.market__figure p { margin-top: 20px; font-size: 1.0625rem; line-height: 1.5; color: var(--capital); max-width: 30ch; }
.charts { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.chart { background: var(--paper-panel); border: 1px solid var(--line-light); border-radius: 14px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.chart--age { grid-column: 1 / 7; }
.chart--collat { grid-column: 7 / 13; }
@media (max-width: 1000px) { .market__intro, .market__figure { grid-column: 1 / -1; } .market__figure { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 32px; } }
.chart figcaption { display: grid; gap: 4px; }
.chart__title { font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.chart__meta, .chart__note { font-family: var(--text); font-size: 0.875rem; color: var(--on-light-muted); }
.chart__note { max-width: 52ch; }

.hbars { display: grid; gap: 18px; }
.hbars__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 4rem; align-items: center; gap: 16px; }
.hbars__label { font-family: var(--text); font-size: 0.9375rem; color: var(--on-light-muted); }
.hbars__track { height: 34px; background: #E1E8E3; border-radius: 3px; overflow: hidden; }
.hbars__fill { display: block; height: 100%; width: 0; background: var(--capital); transition: width 1.4s var(--ease-out); }
.hbars__row:nth-child(2) .hbars__fill { transition-delay: .1s; }
.hbars__row:nth-child(3) .hbars__fill { transition-delay: .2s; }
.hbars__row:nth-child(4) .hbars__fill { transition-delay: .3s; }
.hbars__row.is-key .hbars__fill { background: var(--liquidite); }
.hbars__row.is-key .hbars__label, .hbars__row.is-key .hbars__val { color: var(--capital); font-weight: 700; }
.hbars__val { font-size: 1.375rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

.collat__head { display: flex; align-items: baseline; gap: 18px; }
.collat__from { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; color: #7A8580; text-decoration: line-through; text-decoration-thickness: 3px; }
.collat__arrow { width: 40px; height: 2px; background: var(--capital); position: relative; align-self: center; }
.collat__arrow::after { content: ""; position: absolute; right: 0; top: -5px; border: 6px solid transparent; border-left-color: var(--capital); border-right: 0; }
.collat__to { font-size: clamp(4rem, 7vw, 6.5rem); line-height: .9; font-weight: 700; letter-spacing: -0.04em; color: var(--liquidite); font-variant-numeric: tabular-nums; }
.collat__caption { font-size: 1.0625rem; color: var(--on-light-muted); max-width: 40ch; }
.cols { display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.cols li { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; font-family: var(--text); font-size: 0.6875rem; color: var(--on-light-muted); --h: 0; }
.cols li::before { content: ""; order: 1; width: 100%; height: calc(var(--h) * 1%); max-height: calc(100% - 36px); background: #BCCAC0; border-radius: 2px 2px 0 0; transition: height 1.1s var(--ease-out); }
.cols__v { order: 0; opacity: 0; transition: opacity .4s ease .9s; }
.cols__y { order: 2; }
.cols li.is-prev::before { background: #7A8580; }
.cols li.is-key::before { background: var(--liquidite); }
.cols li.is-key .cols__v, .cols li.is-prev .cols__v { opacity: 1; color: var(--capital); font-weight: 600; }
.is-visible .cols__v { opacity: 1; }

.line { width: 100%; height: auto; overflow: visible; }

.market__source { margin-top: 56px; font-family: var(--text); font-size: 0.8125rem; color: var(--on-light-muted); max-width: 90ch; }
.market__turn { margin-top: clamp(80px, 10vw, 144px); font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; max-width: 18ch; padding-bottom: 28px; background: linear-gradient(var(--liquidite), var(--liquidite)) 0 100% / 33% 12px no-repeat; }

@media (max-width: 1000px) {
  .chart--age, .chart--collat { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hbars__row { grid-template-columns: minmax(0, 1fr) 3.5rem; row-gap: 6px; }
  .hbars__label { grid-column: 1 / -1; }
  .cols { gap: 3px; }
}

/* 3. Les dossiers : scènes épinglées au défilement */
/* 100vh d'écran + environ 55vh de défilement par dossier */
.cases { position: relative; background: var(--capital-deep); height: 265vh; }
.cases__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.cases__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 70% 40%, rgba(52, 126, 89, 0.16), rgba(52, 126, 89, 0) 70%); pointer-events: none; }
.cases__inner { position: relative; width: 100%; max-width: 1360px; margin: 0 auto; padding: 96px var(--gutter) 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.cases__rail { grid-column: 1 / 4; align-self: center; display: grid; gap: 36px; }
.cases__title { font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
.cases__nav { display: grid; gap: 18px; }
.cases__nav li { display: grid; gap: 8px; color: var(--on-dark-muted); transition: color .3s; }
.cases__nav li.is-active { color: var(--patrimoine); }
.cases__nav-name { font-weight: 600; font-size: 1.125rem; }
.cases__progress { height: 2px; background: var(--line-dark); overflow: hidden; }
.cases__progress span { display: block; height: 100%; width: 100%; background: var(--liquidite); transform: scaleX(var(--p, 0)); transform-origin: left center; }

.scenes { grid-column: 4 / 13; display: grid; }
.scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), visibility 0s .6s; }
.scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease-out) .1s, transform .9s var(--ease-out) .1s; }
.scene__profile { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--text); font-size: 0.8125rem; }
.scene__profile span { padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark-soft); }
.scene__profile span:first-child { background: var(--liquidite); border-color: var(--liquidite); color: #fff; font-weight: 600; }
.scene__need { margin-top: 24px; font-size: clamp(1.5rem, 2.5vw, 2.375rem); line-height: 1.18; font-weight: 600; letter-spacing: -0.015em; max-width: 30ch; color: var(--on-dark-soft); }
.scene__grid { margin-top: clamp(24px, 3vw, 44px); display: grid; gap: clamp(28px, 3.5vw, 48px); }
.scene__number { display: grid; gap: 10px; }
.scene__number { grid-template-columns: auto 1fr; align-items: end; column-gap: 28px; }
.scene__before { grid-column: 1 / -1; }
.scene__big-label { padding-bottom: .6em; }
.scene__before { font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 700; color: #7E8984; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(230, 230, 231, 0.5); font-variant-numeric: tabular-nums; }
.scene__before--stamp { justify-self: start; text-decoration: none; font-size: 1rem; text-transform: none; padding: 8px 14px; border: 2px solid #7E8984; border-radius: 4px; transform: rotate(-3deg); letter-spacing: 0.02em; }
.scene__big { font-size: clamp(4rem, 9vw, 9.5rem); line-height: .86; letter-spacing: -0.05em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scene__big-label { font-size: 1.25rem; color: var(--on-dark-muted); }
.scene__visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); row-gap: 20px; align-items: start; }
.scene__visual > :not(.scene__facts) { grid-column: 1; }
.scene__visual > .scene__facts { grid-column: 2; grid-row: 1 / span 3; }
.scene__facts { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.scene__facts div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.scene__facts dt { font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); padding-top: 3px; }
.scene__facts dd { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }

.vs { display: grid; gap: 14px; }
.vs__row { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 5.5rem; gap: 14px; align-items: center; }
.vs__label { font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); }
.vs__track { height: 26px; background: rgba(230, 230, 231, 0.06); border-radius: 3px; overflow: hidden; }
.vs__fill { display: block; height: 100%; width: 0; min-width: 0; background: var(--liquidite); transition: width 1.3s var(--ease-out) .3s; }
.vs__fill--muted { background: #56625D; transition-delay: 0s; }
.vs__val { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.vs__row.is-key .vs__label { color: var(--patrimoine); font-weight: 600; }
.vs__row.is-key .vs__fill { min-width: 6px; }

.fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fleet li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-dark); border-radius: 8px; font-weight: 600; font-size: 1rem; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--ease-out), border-color .5s; }
.fleet li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--liquidite) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.scene.is-active .fleet li { opacity: 1; transform: none; border-color: rgba(52, 126, 89, 0.6); }
.scene.is-active .fleet li:nth-child(2) { transition-delay: .1s; }
.scene.is-active .fleet li:nth-child(3) { transition-delay: .2s; }
.scene.is-active .fleet li:nth-child(4) { transition-delay: .3s; }
.gauge { display: grid; gap: 10px; }
.gauge__track { height: 30px; border-radius: 3px; background: rgba(230, 230, 231, 0.08); overflow: hidden; }
.gauge__fill { display: block; height: 100%; width: 0; background: var(--liquidite); transition: width 1.4s var(--ease-out) .5s; }
.gauge__legend { display: flex; justify-content: space-between; gap: 16px; font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); }

.weeks { display: grid; grid-template-columns: repeat(26, minmax(0, 1fr)); gap: 4px; }
.weeks span { height: 30px; border-radius: 2px; background: var(--liquidite); opacity: 0; transform: scaleY(.3); transform-origin: bottom; transition: opacity .3s ease, transform .4s var(--ease-out); }
.scene.is-active .weeks span { opacity: 1; transform: none; }
.weeks__legend { font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); margin-top: -8px; }

@media (max-width: 1000px), (max-height: 680px), (prefers-reduced-motion: reduce) {
  .cases { height: auto; padding-block: var(--section); }
  .cases__stage { position: static; height: auto; overflow: visible; display: block; }
  .cases__inner { padding-block: 0; row-gap: 48px; }
  .cases__rail, .scenes { grid-column: 1 / -1; }
  .cases__nav { display: none; }
  .scenes { gap: 96px; }
  .scene { grid-area: auto; opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 760px) {
  .scene__number { grid-template-columns: minmax(0, 1fr); }
  .scene__big-label { padding-bottom: 0; }
  .scene__visual { grid-template-columns: minmax(0, 1fr); }
  .scene__visual > .scene__facts { grid-column: 1; grid-row: auto; }
}
@media (max-width: 560px) {
  .vs__row { grid-template-columns: minmax(0, 1fr) 5rem; row-gap: 6px; }
  .vs__label { grid-column: 1 / -1; }
  .scene__facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .weeks { grid-template-columns: repeat(13, minmax(0, 1fr)); }
}

/* 4. Solutions (sombre) */
.solutions { padding-block: var(--section); background: var(--capital); }
.solutions__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.solutions__intro { grid-column: 1 / 5; align-self: start; position: sticky; top: 120px; }
.solutions__intro p { margin-top: 24px; color: var(--on-dark-soft); max-width: 38ch; }
.solutions__list { grid-column: 6 / 13; border-bottom: 1px solid var(--line-dark); }
.sol__head { font: inherit; }
.sol__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 0; background: none; border: 0; border-top: 1px solid var(--line-dark); cursor: pointer; text-align: left;
  font-family: var(--display); font-size: clamp(1.625rem, 3.3vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  color: #8E9994; transition: color .25s;
}
.sol__btn:hover, .sol.is-open .sol__btn { color: var(--patrimoine); }
.sol__btn::after { content: ""; flex: none; width: 22px; height: 22px; background: linear-gradient(var(--liquidite), var(--liquidite)) center / 100% 2px no-repeat, linear-gradient(var(--liquidite), var(--liquidite)) center / 2px 100% no-repeat; transition: transform .3s var(--ease-out); }
.sol.is-open .sol__btn::after { transform: rotate(45deg); }
.sol__body { padding: 0 0 36px; max-width: 58ch; color: var(--on-dark-soft); }
.sol__body p + p { margin-top: 14px; }
.sol__eq { font-family: var(--text); font-size: 0.9375rem; color: var(--on-dark-muted); }
.sol__body:not([hidden]) { animation: open .45s var(--ease-out); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .solutions__intro, .solutions__list { grid-column: 1 / -1; position: static; } }

/* 5. Le parcours */
.journey { background: var(--paper); color: var(--capital); padding-block: var(--section); }
.journey__line { margin-top: 72px; height: 4px; background: #DCE3DE; position: relative; }
.journey__line span { position: absolute; inset: 0; background: var(--liquidite); transform: scaleX(var(--p, 0)); transform-origin: left center; }
.journey__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.journey__steps li { padding-top: 28px; }
.journey__steps h3 { font-size: 1.375rem; line-height: 1.2; }
.journey__steps p { margin-top: 10px; color: var(--on-light-muted); font-size: 1.0625rem; }
@media (max-width: 900px) { .journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .journey__steps { grid-template-columns: minmax(0, 1fr); } .journey__line { display: none; } }

/* 6. Calculateur (sombre) */
.calc { padding-block: var(--section); background: var(--capital); }
.calc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.calc__intro { grid-column: 1 / 5; position: sticky; top: 120px; }
.calc__intro p { margin-top: 24px; color: var(--on-dark-soft); max-width: 40ch; }
.calc__panel { grid-column: 6 / 13; background: var(--fonce); border: 1px solid var(--line-dark); border-radius: 20px; padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 32px; }
.calc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: grid; gap: 10px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-family: var(--text); font-size: 0.875rem; font-weight: 500; color: var(--on-dark-muted); }
.field__row { display: flex; align-items: center; background: var(--capital); border: 1px solid rgba(230, 230, 231, 0.2); border-radius: 10px; transition: border-color .2s; }
.field__row:focus-within { border-color: var(--liquidite); }
.field__row input, .field select { flex: 1; min-width: 0; height: 58px; padding: 0 18px; background: transparent; border: 0; font-family: var(--display); font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.field__row input:focus, .field select:focus { outline: none; }
.field__unit { padding-right: 18px; font-weight: 600; color: var(--on-dark-muted); }
.field select { background: var(--capital); border: 1px solid rgba(230, 230, 231, 0.2); border-radius: 10px; cursor: pointer; }
.field select:focus-visible { border-color: var(--liquidite); }
.range { width: 100%; accent-color: var(--liquidite); height: 28px; cursor: pointer; }
.calc__result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.calc__main { display: grid; gap: 6px; }
.calc__label { font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); }
.calc__out { white-space: nowrap; font-size: clamp(2.25rem, 3.6vw, 3.5rem); line-height: 1; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.calc__chart { display: grid; gap: 8px; }
.calc__chart svg { width: 100%; height: 160px; }
.calc__area { fill: rgba(52, 126, 89, 0.22); transition: d .5s var(--ease-out); }
.calc__curve { fill: none; stroke: var(--liquidite); stroke-width: 3; vector-effect: non-scaling-stroke; transition: d .5s var(--ease-out); }
.calc__axis { display: flex; justify-content: space-between; font-family: var(--text); font-size: 0.75rem; color: var(--on-dark-muted); }
.calc__axis strong { margin-left: 4px; font-weight: 600; color: var(--on-dark-soft); }
.calc__chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); }
.calc__chart-read { font-weight: 600; color: var(--patrimoine); font-variant-numeric: tabular-nums; }
.calc__plot { position: relative; cursor: crosshair; touch-action: pan-y; }
.calc__plot svg { display: block; }
.calc__cursor { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(230, 230, 231, 0.3); pointer-events: none; transition: left .15s ease-out; }
.calc__dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--liquidite); border: 2px solid var(--patrimoine); transform: translate(-50%, -50%); pointer-events: none; transition: left .15s ease-out, top .15s ease-out; }
@media (prefers-reduced-motion: reduce) { .calc__cursor, .calc__dot { transition: none; } }
.calc__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-dark); padding-top: 24px; }
.calc__note { font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); max-width: 44ch; }
@media (max-width: 900px) { .calc__intro, .calc__panel { grid-column: 1 / -1; position: static; } }
@media (max-width: 560px) { .calc__fields, .calc__result { grid-template-columns: minmax(0, 1fr); } .calc__cta .btn { width: 100%; } }

/* 7. Preuve sociale */
.proof { background: var(--paper); color: var(--capital); padding-block: var(--section); }
.proof__title { font-size: clamp(2.5rem, 5.6vw, 5.5rem); line-height: 1; letter-spacing: -0.035em; font-weight: 700; max-width: 17ch; text-wrap: balance; }

/* 8. Appel final */
.closing { padding-top: var(--section); overflow: hidden; background: radial-gradient(80% 80% at 90% 100%, #26332D 0%, var(--capital) 60%); }
.closing__title, .closing__lead, .closing__actions { position: relative; z-index: 1; }
.closing__title { font-size: clamp(3rem, 8vw, 8rem); line-height: 0.92; letter-spacing: -0.04em; font-weight: 700; max-width: 12ch; }
.closing__lead { margin-top: 28px; font-size: 1.25rem; color: var(--on-dark-soft); }
.closing__actions { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.closing__v { position: absolute; right: var(--gutter); bottom: calc(clamp(10px, 1.35vw, 20px) + clamp(20px, 3vw, 40px)); height: min(78%, 560px); width: auto; aspect-ratio: 499.48 / 593.72; overflow: visible; }
.closing__v path { fill: #25332C; opacity: 0; transform: translateY(14px); transition: opacity 1.4s ease, transform 1.6s var(--ease-out); }
.closing.is-visible .closing__v path { opacity: 1; transform: none; }
@media (max-width: 900px) { .closing__v { display: none; } }

/* Pied de page */
.foot { padding-block: 56px 40px; font-family: var(--text); font-size: 0.875rem; color: var(--on-dark-muted); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot .brand__name { display: block; color: var(--patrimoine); font-family: var(--display); margin-bottom: 10px; }
.foot address { font-style: normal; line-height: 1.6; }
.foot__links { display: grid; gap: 8px; align-content: start; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--patrimoine); text-decoration: underline; }
.foot__legal { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line-dark); }
@media (max-width: 720px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* Transition de marque : le haut des sections claires monte vers la droite, comme la bande « forme » de la charte. */
.slope { --slope: clamp(32px, 4.5vw, 72px); position: relative; z-index: 1; margin-top: calc(-1 * var(--slope)); padding-top: calc(var(--section) + var(--slope)); clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%); }

/* Graphique large : part du montant accordé */
.chart--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 80px); row-gap: 16px; }
.chart--wide figcaption { grid-column: 1; grid-row: 1; }
.chart--wide .chart__note { grid-column: 1; grid-row: 2; align-self: start; font-size: 0.9375rem; line-height: 1.6; }
.split__yes { width: 0; background: var(--capital); transition: width 1.4s var(--ease-out); }
@media (max-width: 1000px) {
  .chart--wide { grid-template-columns: minmax(0, 1fr); }
  .chart--wide figcaption, .chart--wide .chart__note { grid-column: 1; grid-row: auto; }
}

/* Avis : carrousel horizontal */
.proof__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.proof__head .proof__title { font-size: clamp(2.25rem, 4.6vw, 4.25rem); max-width: 14ch; }

/* Graphique des freins : étiquettes plus longues */
.hbars--wide { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.hbars--wide .hbars__row { grid-template-columns: 13rem minmax(0, 1fr) 4rem; }
@media (max-width: 1000px) { .hbars--wide { grid-column: 1; grid-row: auto; } }
@media (max-width: 560px) { .hbars--wide .hbars__row { grid-template-columns: minmax(0, 1fr) 3.5rem; } }

/* Photos : noir et blanc, teintées par le fond grâce au mode de fusion « luminosité » */
.cases__photos { position: absolute; inset: 0 0 0 34%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.cases__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 6s ease-out; }
.cases__photos img.is-active { opacity: .17; transform: none; }
.cases__stage::before { z-index: 0; }
.cases__inner { z-index: 1; }
@media (max-width: 1000px), (max-height: 680px), (prefers-reduced-motion: reduce) { .cases__photos { display: none; } }

.sol__photo { margin: 0 0 24px; aspect-ratio: 16 / 7; border-radius: 10px; overflow: hidden; background: var(--capital-deep); }
.sol__photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .8; }

/* ===== Révision : le symbole complet, repères de section, parcours, avis ===== */
/* Le symbole officiel (crochet + barre), gravé, posé sur la même ligne que le soulignement du titre */
.hero__v { right: clamp(0px, 2vw, 32px); bottom: clamp(20px, 3vw, 40px); height: min(calc(100% - 24px), 600px); aspect-ratio: 420.19 / 763.62; }
.hero__v-shadow { fill: #161E1B; }
.hero__v-edge { fill: #33443B; }
.hero__v-face { fill: #25332C; }
.hero__v-face .hero__v-bar { fill: #2A3D33; }
.hero__title { display: inline-block; }
.hero__title::after { content: ""; display: block; height: 0.1em; margin-top: 0.16em; background: var(--liquidite); transform: scaleX(0); transform-origin: left center; animation: grow 1.2s var(--ease-out) 1.1s forwards; }
.hero__foot { border-top: 1px solid var(--line-dark); margin-top: clamp(8px, 1.5vw, 20px); }
/* Tablette : le symbole reste posé sur la ligne du titre, en plus petit. Téléphone : discret, en haut à droite. */
@media (max-width: 900px) { .hero__v { height: min(40vh, 340px); right: 0; bottom: clamp(20px, 3vw, 40px); top: auto; } }
@media (max-width: 560px) { .hero__v { height: min(30vh, 260px); right: -4vw; bottom: auto; top: -24px; opacity: .7; } }

/* Repère de section : le symbole en petit */
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-family: var(--text); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em; color: var(--capital); }
.eyebrow__mark { width: 11px; height: 20px; flex: none; }
.eyebrow__mark path { fill: currentColor; }
.eyebrow__mark rect { fill: var(--liquidite); }
.cases .eyebrow, .solutions .eyebrow, .calc .eyebrow { color: var(--on-dark-soft); }
.cases .eyebrow { margin-bottom: -16px; }

/* Parcours : quatre jalons qui se cochent au défilement */
.journey__head { max-width: 760px; }
.journey__lead { margin-top: 20px; font-size: 1.1875rem; color: var(--on-light-muted); max-width: 48ch; }
.journey__track { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.journey .journey__line { position: absolute; margin: 0; top: 31px; left: 32px; width: 75%; height: 3px; background: #DCE3DE; }
.journey .journey__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.jstep { position: relative; padding: 0 32px 0 0; }
.journey__steps li.jstep { padding-top: 0; }
.jstep__node { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: var(--paper); border: 2px solid #BCCAC0; display: grid; place-items: center; transition: background-color .5s var(--ease-out), border-color .5s, box-shadow .6s var(--ease-out); }
.jstep__n { font-size: 1.375rem; font-weight: 700; color: #7D8E85; transition: opacity .3s, transform .4s var(--ease-out); }
.jstep__check { position: absolute; width: 15px; height: 27px; fill: #fff; opacity: 0; transform: scale(.4) translateY(4px); transition: opacity .3s .1s, transform .5s cubic-bezier(.34, 1.56, .64, 1) .1s; }
.jstep.is-on .jstep__node { background: var(--liquidite); border-color: var(--liquidite); box-shadow: 0 0 0 8px rgba(52, 126, 89, .12); }
.jstep.is-on .jstep__n { opacity: 0; transform: scale(.6); }
.jstep.is-on .jstep__check { opacity: 1; transform: none; }
.jstep__k { display: block; margin-top: 28px; font-family: var(--text); font-size: 0.8125rem; font-weight: 600; color: var(--on-light-muted); }
.jstep h3 { margin-top: 6px; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; }
.jstep p { margin-top: 12px; color: var(--on-light-muted); font-size: 1.0625rem; max-width: 30ch; }
.jstep h3, .jstep p, .jstep__k { opacity: .55; transition: opacity .5s; }
.jstep.is-on h3, .jstep.is-on p, .jstep.is-on .jstep__k { opacity: 1; }
@media (max-width: 900px) {
  .journey .journey__steps { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .jstep { padding: 0 0 0 88px; min-height: 64px; }
  .jstep__node { position: absolute; left: 0; top: 0; }
  .jstep__k { margin-top: 4px; }
  .journey .journey__line { display: block; top: 32px; bottom: 32px; left: 31px; width: 3px; height: auto; }
  .journey .journey__line span { transform: scaleY(var(--p, 0)); transform-origin: top center; }
}
@media (prefers-reduced-motion: reduce) { .jstep h3, .jstep p, .jstep__k { opacity: 1; } }

/* Avis : un tableau sombre, une citation à la fois, la liste des clients à droite */
.proof .proof__title { font-size: clamp(2.25rem, 4.6vw, 4.25rem); max-width: 16ch; }
@keyframes voiceIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes voiceProgress { to { transform: scaleY(1); } }
@keyframes voiceProgressX { to { transform: scaleX(1); } }

/* Appel final : le symbole complet, barre verte */
.closing__v { bottom: clamp(40px, 5vw, 72px); height: min(80%, 560px); aspect-ratio: 420.19 / 763.62; }
.closing__v rect { fill: var(--liquidite); transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .9s; }
.closing.is-visible .closing__v rect { transform: scaleX(1); }
.closing { padding-bottom: clamp(64px, 8vw, 120px); }

/* ===== Révision 2 ===== */
/* « Le bon dossier » + schéma de routage vers les prêteurs */
.market__turnwrap { margin-top: clamp(80px, 10vw, 144px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; }
.market__turnwrap .market__turn { margin-top: 0; grid-column: 1 / 6; }
@media (max-width: 900px) { .market__turnwrap .market__turn { grid-column: 1 / -1; } }

/* Solutions : le panneau s'ouvre en hauteur, la photo se dévoile, le texte suit */
.sol__body { display: grid; grid-template-rows: 0fr; padding: 0; max-width: none; transition: grid-template-rows .7s var(--ease-out); }
.sol.is-open .sol__body { grid-template-rows: 1fr; }
.sol__body:not([hidden]) { animation: none; }
.sol__inner { overflow: hidden; min-height: 0; max-width: 58ch; }
.sol__inner > :last-child { margin-bottom: 36px; }
.sol__inner > * { opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .5s var(--ease-out); }
.sol.is-open .sol__inner > * { opacity: 1; transform: none; transition: opacity .6s ease .2s, transform .8s var(--ease-out) .2s; }
.sol.is-open .sol__inner > :nth-child(2) { transition-delay: .3s; }
.sol.is-open .sol__inner > :nth-child(3) { transition-delay: .4s; }
.sol__photo { clip-path: inset(0 100% 0 0 round 10px); transition: clip-path .9s var(--ease-out); }
.sol.is-open .sol__photo { clip-path: inset(0 0 0 0 round 10px); transition-delay: .15s; }
.sol__photo img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.sol.is-open .sol__photo img { transform: none; }
.sol__btn { transition: color .25s, padding-left .45s var(--ease-out); }
.sol.is-open .sol__btn { padding-left: 18px; box-shadow: inset 3px 0 0 var(--liquidite); }

/* Avis : deux rangées qui défilent seules, en sens opposé */
.proof { padding-bottom: clamp(96px, 12vw, 160px); }
.proof__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.proof__google { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid var(--line-light); border-radius: 999px; background: #fff; font-family: var(--text); font-size: 0.875rem; font-weight: 600; color: var(--capital); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.proof__google:hover { border-color: var(--capital); }
.proof__google-stars { color: var(--liquidite); letter-spacing: 2px; }
.marquee { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; gap: 20px; width: max-content; padding-block: 6px 18px; animation: marquee 140s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 160s; }
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% / 3)); } }
.rcard { flex: none; width: clamp(300px, 30vw, 440px); background: #fff; border: 1px solid var(--line-light); border-radius: 18px; padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 40px -32px rgba(33, 43, 39, .45); }
.rcard__stars { color: var(--liquidite); letter-spacing: 3px; font-size: 1rem; }
.rcard blockquote { font-size: 1.1875rem; line-height: 1.5; font-weight: 500; color: var(--capital); text-wrap: pretty; }
.rcard__who { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.rcard__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--capital); color: var(--patrimoine); display: grid; place-items: center; font-weight: 700; font-size: 0.9375rem; letter-spacing: .02em; }
.rcard__id { display: grid; gap: 1px; }
.rcard__id strong { font-size: 1rem; }
.rcard__id small { font-family: var(--text); font-size: 0.75rem; color: var(--on-light-muted); }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__row { overflow-x: auto; }
  .marquee__track .rcard[aria-hidden="true"] { display: none; }
}

/* Appel final : l'action à gauche, la suite concrète à droite */
.closing { position: relative; overflow: hidden; padding-block: var(--section); }
.closing__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: center; }
.closing__main { grid-column: 1 / 7; }
.closing .eyebrow { color: var(--on-dark-soft); }
.closing__title { font-size: clamp(2.75rem, 6vw, 6rem); max-width: 11ch; }
.closing__lead { max-width: 44ch; }
.closing__panel { grid-column: 8 / 13; background: var(--fonce); border: 1px solid var(--line-dark); border-radius: 20px; padding: clamp(28px, 3vw, 44px); }
.closing__panel-title { font-size: 1.25rem; font-weight: 700; }
.next { margin-top: 24px; display: grid; gap: 0; counter-reset: none; }
.next li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.next__n { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--liquidite); display: grid; place-items: center; font-weight: 700; color: var(--patrimoine); }
.next strong { display: block; font-size: 1.0625rem; }
.next p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.5; color: var(--on-dark-muted); }
.closing__contact { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; font-family: var(--text); font-size: 0.875rem; }
.closing__contact div { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 12px; }
.closing__contact dt { color: var(--on-dark-muted); }
.closing__contact a { text-decoration: none; }
.closing__contact a:hover { text-decoration: underline; }
.closing > .closing__v { position: absolute; left: -3vw; right: auto; bottom: -8%; height: 95%; z-index: 0; }
.closing > .closing__v path { fill: #24302A; }
.closing > .closing__v rect { fill: #24302A; transform: none; }
@media (max-width: 900px) {
  .closing__main, .closing__panel { grid-column: 1 / -1; }
  .closing > .closing__v { display: none; }
}

/* Sous 560 px, le texte du schéma deviendrait illisible : on garde seulement la phrase. */
/* ===== Révision 3 ===== */
/* « Le bon dossier » : la fiche de financement, cochée point par point puis tamponnée */
.market { overflow-x: clip; }  /* Le tampon « Prêt à soumettre » commence agrandi : pas de défilement horizontal sur téléphone */
.dossier { grid-column: 7 / 13; position: relative; margin: 0; padding: 28px 0 0 28px; }
.dossier__back { position: absolute; top: 0; left: 0; right: 28px; bottom: 64px; background: #fff; border: 1px solid var(--line-light); border-radius: 16px; transform: rotate(-3.5deg); transform-origin: bottom left; opacity: .75; }
.dossier__paper { position: relative; background: #fff; border: 1px solid var(--line-light); border-radius: 16px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 34px 60px -40px rgba(33, 43, 39, .5); }
.dossier__head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
.dossier__logo { width: 15px; height: 27px; flex: none; }
.dossier__logo path { fill: var(--capital); }
.dossier__logo rect { fill: var(--liquidite); }
.dossier__head strong { display: block; font-size: 1.1875rem; }
.dossier__head small { font-family: var(--text); font-size: 0.8125rem; color: var(--on-light-muted); }
.dossier__list { margin-top: 6px; }
.dossier__list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-light); font-size: 1.0625rem; }
.dossier__list li:last-child { border-bottom: 0; }
.dossier__tick { width: 12px; height: 22px; flex: none; fill: var(--liquidite); opacity: 0; transform: scale(.3); transition: opacity .3s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.dossier__list li span { color: #8A968F; transition: color .5s ease; }
.dossier.is-visible .dossier__tick { opacity: 1; transform: none; }
.dossier.is-visible .dossier__list li span { color: var(--capital); }
.dossier__list li:nth-child(1) * { transition-delay: .5s; }
.dossier__list li:nth-child(2) * { transition-delay: 1s; }
.dossier__list li:nth-child(3) * { transition-delay: 1.5s; }
.dossier__list li:nth-child(4) * { transition-delay: 2s; }
.dossier__list li:nth-child(5) * { transition-delay: 2.5s; }
.dossier__stamp { position: absolute; right: clamp(16px, 3vw, 36px); bottom: -24px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border: 2px solid var(--liquidite); border-radius: 10px; color: var(--liquidite); font-weight: 700; font-size: 1.0625rem; transform: rotate(-7deg) scale(1.5); opacity: 0; transition: opacity .25s ease 3.1s, transform .5s cubic-bezier(.34, 1.56, .64, 1) 3.1s; }
.dossier__stamp svg { width: 11px; height: 20px; }
.dossier__stamp path, .dossier__stamp rect { fill: var(--liquidite); }
.dossier.is-visible .dossier__stamp { opacity: 1; transform: rotate(-7deg) scale(1); }
.dossier figcaption { margin-top: 48px; font-family: var(--text); font-size: 0.875rem; color: var(--on-light-muted); max-width: 52ch; }
@media (max-width: 900px) { .dossier { grid-column: 1 / -1; } }

/* Parcours : transitions un peu plus posées */
.jstep__node { transition: background-color .8s var(--ease-out), border-color .8s, box-shadow 1s var(--ease-out); }
.jstep h3, .jstep p, .jstep__k { transition: opacity .8s; }

/* Pied de page */
.foot__tag { line-height: 1.6; }

.closing__contact dd, .foot__links a { overflow-wrap: anywhere; }
@media (max-width: 560px) { .closing__contact div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ===== Études de cas : rangée sur l'accueil et page dédiée ===== */
/* Accueil : trois dossiers de plus, dans le prolongement des scènes */
.more-cases { background: var(--capital-deep); padding-block: clamp(24px, 4vw, 56px) var(--section); }
.more-cases__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.more-cases__title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.more-cases__all { font-family: var(--text); font-size: 0.9375rem; font-weight: 600; color: var(--patrimoine); text-decoration-color: var(--liquidite); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.more-cases__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mcase { display: grid; align-content: start; gap: 6px; padding: clamp(24px, 2.6vw, 36px); background: var(--fonce); border: 1px solid var(--line-dark); border-radius: 18px; text-decoration: none; color: var(--patrimoine); transition: border-color .3s, transform .4s var(--ease-out), background-color .3s; }
.mcase:hover { border-color: var(--liquidite); transform: translateY(-4px); }
.mcase__sector { justify-self: start; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; background: var(--liquidite); color: #fff; font-family: var(--text); font-size: 0.75rem; font-weight: 600; }
.mcase__big { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: .95; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mcase__label { font-family: var(--text); font-size: 0.875rem; color: var(--on-dark-muted); }
.mcase__title { margin-top: 20px; font-size: 1.1875rem; line-height: 1.35; font-weight: 600; }
.mcase__more { margin-top: 18px; font-family: var(--text); font-size: 0.875rem; font-weight: 600; color: var(--on-dark-soft); }
.mcase:hover .mcase__more { color: var(--patrimoine); }
@media (max-width: 900px) { .more-cases__grid { grid-template-columns: minmax(0, 1fr); } }

/* En-tête des pages intérieures */
.page-hero { padding: clamp(140px, 16vw, 200px) 0 calc(var(--section) * .6 + clamp(32px, 4.5vw, 72px)); background: var(--capital); }
.page-hero__title { font-size: clamp(2.75rem, 6.4vw, 6rem); line-height: .96; letter-spacing: -0.04em; font-weight: 700; max-width: 14ch; text-wrap: balance; }
.page-hero__lead { margin-top: 28px; max-width: 60ch; font-size: 1.1875rem; color: var(--on-dark-soft); }

/* Page Études de cas */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-light); background: #fff; color: var(--capital); cursor: pointer; font-family: var(--text); font-size: 0.875rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--capital); }
.filter[aria-pressed="true"] { background: var(--capital); border-color: var(--capital); color: var(--patrimoine); }
.sheets { margin-top: 40px; display: grid; gap: 24px; }

.page-hero .eyebrow { color: var(--on-dark-soft); }
.page-hero { padding-bottom: calc(var(--section) * .45 + clamp(32px, 4.5vw, 72px)); }

/* ===== Page Études de cas, style des scènes ===== */
.page-hero--flush { padding-bottom: clamp(40px, 5vw, 72px); }
.cases-page { background: var(--capital); padding: 0 0 var(--section); }
.cases-page .filter { background: transparent; border-color: var(--line-dark); color: var(--on-dark-soft); }
.cases-page .filter:hover { border-color: var(--patrimoine); color: var(--patrimoine); }
.cases-page .filter[aria-pressed="true"] { background: var(--patrimoine); border-color: var(--patrimoine); color: var(--capital); }
.plates { margin-top: 32px; display: grid; gap: 28px; }
.plate { position: relative; overflow: hidden; scroll-margin-top: 110px; border-radius: 24px; background: var(--capital-deep); border: 1px solid var(--line-dark); padding: clamp(28px, 5vw, 72px); }
.plate:not([hidden]) { animation: open .5s var(--ease-out); }
.plate:target { border-color: var(--liquidite); }
.plate::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 80% 30%, rgba(52, 126, 89, .14), rgba(52, 126, 89, 0) 70%); pointer-events: none; }
.plate__photo { position: absolute; inset: 0 0 0 38%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); }
.plate__photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .16; }
.plate__scene { position: relative; }
.plate .scene__need { max-width: 32ch; color: var(--patrimoine); }
.plate .scene__facts dd { font-size: 1rem; font-weight: 400; line-height: 1.55; color: var(--on-dark-soft); }
.plate .scene__facts .is-result dt { color: var(--patrimoine); }
.plate .scene__facts .is-result dd { color: var(--patrimoine); font-weight: 600; }
.plate .scene__facts div { grid-template-columns: 9.5rem minmax(0, 1fr); }

/* Visuel du dossier transport : les trois camions et la décision pour chacun */
.trucks { display: grid; gap: 10px; }
.trucks li { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; column-gap: 12px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 10px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.plate.is-visible .trucks li { opacity: 1; transform: none; }
.plate.is-visible .trucks li:nth-child(2) { transition-delay: .15s; }
.plate.is-visible .trucks li:nth-child(3) { transition-delay: .3s; }
.trucks__name { font-weight: 600; }
.trucks__amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.trucks__tag { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); }
.trucks__tag.is-keep { color: var(--patrimoine); }
.trucks__check { width: 9px; height: 16px; fill: var(--liquidite); flex: none; }
.trucks li:first-child { border-color: rgba(52, 126, 89, .6); }

@media (max-width: 760px) {
  .plate .scene__facts div { grid-template-columns: minmax(0, 1fr); }
  .plate__photo { inset: 0; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
}

@media (max-width: 560px) { .plate .scene__big { font-size: clamp(3rem, 15vw, 4rem); } .plate { padding: 28px 22px; } }

/* ===== Page de demande de financement ===== */
.apply-page { padding: clamp(128px, 14vw, 176px) 0 var(--section); background: var(--capital); }
.apply-page__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.apply-page__intro { grid-column: 1 / 6; position: sticky; top: 110px; }
.apply-page__title { font-size: clamp(2.75rem, 5.4vw, 5rem); line-height: .96; letter-spacing: -0.04em; font-weight: 700; max-width: 12ch; }
.apply-page__lead { margin-top: 24px; max-width: 44ch; font-size: 1.1875rem; color: var(--on-dark-soft); }
.apply-page .eyebrow { color: var(--on-dark-soft); }
.apply-page .next { margin-top: 36px; }
.assure { margin-top: 28px; display: grid; gap: 10px; }
.assure li { display: flex; align-items: center; gap: 12px; font-family: var(--text); font-size: 0.9375rem; color: var(--on-dark-soft); }
.assure svg { width: 9px; height: 16px; fill: var(--liquidite); flex: none; }
.apply-page__card { grid-column: 7 / 13; background: #fff; color: var(--capital); border-radius: 22px; padding: clamp(24px, 3.5vw, 48px); box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .6); }
.apply__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.apply__progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-family: var(--text); font-size: 0.8125rem; font-weight: 600; color: #7D8E85; }
.apply__progress li { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 3px solid #E1E8E3; transition: border-color .4s, color .4s; }
.apply__progress span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 0.6875rem; flex: none; }
.apply__progress li.is-current, .apply__progress li.is-done { border-color: var(--liquidite); color: var(--capital); }
.apply__progress li.is-done span { background: var(--liquidite); border-color: var(--liquidite); color: #fff; }

.step { border: 0; padding: 0; margin: 32px 0 0; min-width: 0; }
.apply.is-enhanced .step:not(.is-current) { display: none; }
.apply.is-enhanced .step.is-current { animation: open .45s var(--ease-out); }
.step__title { padding: 0; margin-bottom: 20px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.step__label { margin: 26px 0 10px; font-family: var(--text); font-size: 0.875rem; font-weight: 600; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choices .choice:last-child { grid-column: 1 / -1; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { position: relative; display: grid; gap: 2px; height: 100%; padding: 16px 18px 16px 50px; border: 1.5px solid var(--line-light); border-radius: 12px; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice__box strong { font-size: 1rem; line-height: 1.3; }
.choice__box small { font-family: var(--text); font-size: 0.8125rem; color: var(--on-light-muted); }
.choice__tick { position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #BCCAC0; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.choice__tick svg { width: 7px; height: 13px; fill: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.choice:hover .choice__box { border-color: #9FB2A6; }
.choice input:checked + .choice__box { border-color: var(--liquidite); background: #F3F8F5; box-shadow: 0 0 0 1px var(--liquidite); }
.choice input:checked + .choice__box .choice__tick { background: var(--liquidite); border-color: var(--liquidite); }
.choice input:checked + .choice__box .choice__tick svg { opacity: 1; transform: none; }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--liquidite); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills .choice__box { padding: 11px 16px 11px 42px; border-radius: 999px; }
.pills .choice__tick { left: 12px; top: 11px; width: 20px; height: 20px; }
.pills .choice__box strong { font-size: 0.9375rem; font-weight: 600; }

.apply .field { margin-top: 18px; display: grid; gap: 8px; }
.apply .field label { font-family: var(--text); font-size: 0.875rem; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--on-light-muted); }
.apply .field input, .apply .field select, .apply .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line-light); border-radius: 10px; background: var(--paper); color: var(--capital); font-family: var(--display); font-size: 1.0625rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.apply .field textarea { resize: vertical; min-height: 96px; }
.apply .field input:focus, .apply .field select:focus, .apply .field textarea:focus { outline: none; border-color: var(--liquidite); background: #fff; box-shadow: 0 0 0 3px rgba(52, 126, 89, .18); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.apply .field-row .field { margin-top: 18px; }
.field__error { font-family: var(--text); font-size: 0.8125rem; font-weight: 500; color: #B3261E; margin-top: 6px; }
.apply .field.is-invalid input, .apply .field.is-invalid select { border-color: #B3261E; }

.apply__consent { margin-top: 24px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; background: var(--paper); border: 1px solid var(--line-light); border-radius: 12px; font-family: var(--text); font-size: 0.875rem; line-height: 1.55; color: var(--capital); transition: border-color .2s; }
.apply__consent:hover { border-color: var(--liquidite); }
.apply__consent:has(input:checked) { border-color: var(--liquidite); }
.apply__consent:has(input[aria-invalid="true"]) { border-color: #B3261E; }
.apply__consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--liquidite); cursor: pointer; }
.apply__consent a { color: var(--liquidite); font-weight: 600; }

.apply__nav { margin-top: 32px; display: flex; align-items: center; gap: 12px; }
.apply__nav [data-step-next], .apply__nav [data-step-submit] { margin-left: auto; }
.btn--ghost-dark { border: 1px solid var(--line-light); color: var(--capital); background: transparent; cursor: pointer; }
.btn--ghost-dark:hover { border-color: var(--capital); }
.apply__nav .btn { cursor: pointer; border: 0; }
.apply__nav .btn--ghost-dark { border: 1px solid var(--line-light); }
.apply__note { margin-top: 14px; text-align: right; font-family: var(--text); font-size: 0.8125rem; color: var(--on-light-muted); }

/* Page de remerciement */
.apply-page--thanks { min-height: 80vh; display: flex; align-items: center; }
.thanks { max-width: 760px; }
.thanks__mark { width: 30px; height: 54px; margin-bottom: 28px; }
.thanks__mark path { fill: var(--patrimoine); }
.thanks__mark rect { fill: var(--liquidite); }
.thanks__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1000px) {
  .apply-page__intro, .apply-page__card { grid-column: 1 / -1; position: static; }
  .apply-page__card { order: -1; }
  .apply-page__intro .next { display: none; }
}
@media (max-width: 560px) {
  .choices, .field-row { grid-template-columns: minmax(0, 1fr); }
  .apply__progress { font-size: 0; gap: 6px; }
  .apply__progress span { font-size: 0.6875rem; }
}

.apply .field label { color: var(--capital); }
.apply .field select { background-color: var(--paper); }

/* ===== À propos ===== */
.about-principles, .about-who, .faq, .legal { background: var(--paper); color: var(--capital); padding-bottom: var(--section); }
.principles { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle { background: #fff; border: 1px solid var(--line-light); border-radius: 18px; padding: clamp(24px, 3vw, 40px); display: grid; align-content: start; gap: 14px; }
.principle__mark { width: 16px; height: 29px; margin-bottom: 8px; }
.principle__mark path { fill: var(--capital); }
.principle__mark rect { fill: var(--liquidite); }
.principle h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }
.principle p { color: var(--on-light-muted); font-size: 1.0625rem; }

.about-lead { background: var(--capital); padding-block: var(--section); }
.about-lead__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.about-quote { grid-column: 1 / 7; margin: 0; position: sticky; top: 120px; }
.about-quote blockquote { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.22; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.about-quote blockquote p::before { content: "« "; color: var(--liquidite); }
.about-quote blockquote p::after { content: " »"; color: var(--liquidite); }
.about-bio { grid-column: 8 / 13; display: grid; gap: 16px; color: var(--on-dark-soft); }
.about-bio .eyebrow { color: var(--on-dark-soft); margin-bottom: 4px; }
.about-bio__name { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.03em; color: var(--patrimoine); }
.about-bio__role { margin-top: -6px; font-family: var(--text); font-size: 0.875rem; font-weight: 600; color: var(--on-dark-muted); padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.about-bio__sign { margin-top: 12px; padding-left: 18px; border-left: 3px solid var(--liquidite); color: var(--patrimoine); font-weight: 600; }

.about-who__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; }
.about-who__grid > div { grid-column: 1 / 7; }
.about-who__lead { margin: 24px 0 32px; color: var(--on-light-muted); max-width: 48ch; font-size: 1.125rem; }
.sector-cloud { grid-column: 8 / 13; display: flex; flex-wrap: wrap; gap: 10px; }
.sector-cloud li { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line-light); font-weight: 600; font-size: 1.0625rem; }
.sector-cloud li:nth-child(3n + 1) { background: var(--capital); border-color: var(--capital); color: var(--patrimoine); }
@media (max-width: 900px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
  .about-quote, .about-bio, .about-who__grid > div, .sector-cloud { grid-column: 1 / -1; position: static; }
}

/* ===== FAQ ===== */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.faq__aside { grid-column: 1 / 4; position: sticky; top: 120px; display: grid; gap: 14px; padding: 28px; background: var(--capital); color: var(--patrimoine); border-radius: 18px; }
.faq__aside-title { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.faq__aside p:not(.faq__aside-title) { font-size: 0.9375rem; color: var(--on-dark-soft); }
.faq__aside .btn { justify-self: start; }
.faq__mail { font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-soft); overflow-wrap: anywhere; }
.faq__list { grid-column: 5 / 13; display: grid; gap: 48px; }
.qa-group__title { font-size: 1.5rem; letter-spacing: -0.015em; margin-bottom: 12px; }
.qa { border-top: 1px solid var(--line-light); }
.qa:last-child { border-bottom: 1px solid var(--line-light); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--liquidite), var(--liquidite)) center / 100% 2px no-repeat, linear-gradient(var(--liquidite), var(--liquidite)) center / 2px 100% no-repeat; transition: transform .3s var(--ease-out); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover span { color: var(--liquidite-hover); }
.qa__a { padding: 0 48px 24px 0; color: var(--on-light-muted); font-size: 1.0625rem; max-width: 70ch; }
.qa[open] .qa__a { animation: open .4s var(--ease-out); }
@media (max-width: 900px) { .faq__aside, .faq__list { grid-column: 1 / -1; position: static; } .faq__aside { order: 2; } .qa__a { padding-right: 0; } }

/* ===== Politique de confidentialité ===== */
.legal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
.legal__toc { grid-column: 1 / 4; position: sticky; top: 120px; font-family: var(--text); font-size: 0.875rem; }
.legal__toc-title { font-weight: 600; margin-bottom: 12px; }
.legal__toc ol { display: grid; gap: 8px; padding-left: 18px; list-style: decimal; color: var(--on-light-muted); }
.legal__toc a { color: var(--on-light-muted); text-decoration: none; }
.legal__toc a:hover { color: var(--capital); text-decoration: underline; }
.legal__body { grid-column: 5 / 13; max-width: 72ch; counter-reset: legal; }
.legal__sec { padding: 28px 0; border-top: 1px solid var(--line-light); scroll-margin-top: 110px; }
.legal__sec h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 14px; counter-increment: legal; }
.legal__sec h2::before { content: counter(legal) ". "; color: var(--liquidite); }
.legal__sec p, .legal__sec li { font-size: 1.0625rem; line-height: 1.7; color: #33403A; }
.legal__sec p + p, .legal__sec p + ul, .legal__sec ul + p { margin-top: 12px; }
.legal__sec ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.legal__sec a { color: var(--capital); text-decoration-color: var(--liquidite); text-underline-offset: 3px; }
.legal__contact { padding: 18px 20px; background: #fff; border: 1px solid var(--line-light); border-left: 3px solid var(--liquidite); border-radius: 10px; }
@media (max-width: 900px) { .legal__toc { display: none; } .legal__body { grid-column: 1 / -1; } }

/* ===== 404 ===== */
.notfound { min-height: 80vh; display: flex; align-items: center; padding-block: 140px 96px; background: var(--capital); }

.about-bio__lead { font-size: 1.1875rem; color: var(--patrimoine); }

/* À propos : le symbole gravé derrière la citation */
.about-lead { overflow: hidden; }
.about-lead__v { position: absolute; left: -3vw; bottom: -10%; height: 110%; width: auto; aspect-ratio: 420.19 / 763.62; pointer-events: none; }
.about-lead__v-shadow { fill: #161E1B; }
.about-lead__v-edge { fill: #2E3D35; }
.about-lead__v-face { fill: #24302A; }
.about-lead__grid { position: relative; z-index: 1; }
@media (max-width: 900px) { .about-lead__v { height: 60%; bottom: auto; top: -4%; left: auto; right: -12vw; } }

/* Solutions juste après le haut de page : un filet sépare les deux zones sombres */
.hero + .solutions { padding-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line-dark); }

/* Page de demande : formulaire de rappel rapide */
.callback { margin-top: 32px; padding: clamp(20px, 2.4vw, 28px); background: var(--fonce); border: 1px solid var(--line-dark); border-radius: 16px; display: grid; gap: 14px; }
.callback__title { font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.callback__lead { font-family: var(--text); font-size: 0.875rem; color: var(--on-dark-soft); margin-top: -6px; }
.callback__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.callback__field { display: grid; gap: 6px; }
.callback__field:last-child { grid-column: 1 / -1; }
.callback__field span { font-family: var(--text); font-size: 0.8125rem; font-weight: 600; color: var(--on-dark-soft); }
.callback__field input, .callback__field select { width: 100%; min-height: 48px; padding: 10px 12px; background: var(--capital); border: 1px solid rgba(230, 230, 231, 0.2); border-radius: 8px; color: var(--patrimoine); font-family: var(--display); font-size: 1rem; }
.callback__field input:focus, .callback__field select:focus { outline: none; border-color: var(--liquidite); box-shadow: 0 0 0 3px rgba(52, 126, 89, .25); }
.callback__consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--text); font-size: 0.8125rem; line-height: 1.5; color: var(--on-dark-soft); cursor: pointer; }
.callback__consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--liquidite); }
.callback__consent a { color: var(--patrimoine); }
.callback .btn { justify-self: start; border: 0; cursor: pointer; }
@media (max-width: 560px) { .callback__fields { grid-template-columns: minmax(0, 1fr); } .callback .btn { justify-self: stretch; } }

/* Bannière de consentement aux témoins : refuser et accepter ont le même poids visuel */
.consent { position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 22px; display: grid; gap: 14px; background: var(--capital); color: var(--patrimoine); border: 1px solid var(--line-dark); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); animation: open .5s var(--ease-out); }
.consent__title { font-size: 1.125rem; font-weight: 700; }
.consent__text { font-family: var(--text); font-size: 0.875rem; line-height: 1.55; color: var(--on-dark-soft); }
.consent__link { color: var(--patrimoine); }
.consent__opts { display: grid; gap: 10px; }
.consent__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line-dark); border-radius: 10px; cursor: pointer; }
.consent__opt input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--liquidite); }
.consent__opt strong { display: block; font-size: 0.9375rem; }
.consent__opt small { font-family: var(--text); font-size: 0.8125rem; color: var(--on-dark-muted); }
.consent__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.consent__btn { min-height: 44px; padding: 0 10px; border-radius: 6px; border: 1px solid rgba(230, 230, 231, 0.35); background: transparent; color: var(--patrimoine); font-family: var(--text); font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.consent__btn:hover { border-color: var(--patrimoine); background: rgba(230, 230, 231, 0.06); }
.foot__cookies { padding: 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.foot__cookies:hover { color: var(--patrimoine); text-decoration: underline; }
@media (max-width: 560px) { .consent { left: 8px; bottom: 8px; width: calc(100vw - 16px); } .consent__actions { grid-template-columns: minmax(0, 1fr); } }

/* Lien vers le rappel rapide : utile quand le formulaire de rappel passe sous le grand formulaire */
.apply__alt { display: none; margin-bottom: 20px; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line-light); font-family: var(--text); font-size: 0.875rem; font-weight: 600; color: var(--capital); text-decoration: none; }
.apply__alt::after { content: " ↓"; color: var(--liquidite); }
.callback { scroll-margin-top: 100px; }
@media (max-width: 1000px) { .apply__alt { display: block; } }

/* Envoi vers Valcruz OS : vérification Turnstile et message d'erreur */
.turnstile:empty { display: none; }
.form-status { margin: 0; }
.callback .form-status { color: #F2B8B5; }

/* Numéro sans frais sur la page de demande */
.apply-page__call { margin-top: 28px; font-family: var(--text); font-size: 0.9375rem; color: var(--on-dark-soft); }
.apply-page__call a { color: var(--patrimoine); font-weight: 600; white-space: nowrap; }
