/* =========================================================================
   BABESO PAY — Accueil (chargé après babeso.css)
   Mobile-first. Unités cqw dans la balance : 1cqw = 1 % de la largeur de la scène.
   ========================================================================= */

/* Eyebrows : interligne lisible quand ils passent sur deux lignes (mobile) */
main .eyebrow { line-height: 1.35; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(8px, 1.6vw, 18px) clamp(72px, 10vw, 128px); overflow: clip; }

.hero__masthead {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; margin-bottom: clamp(36px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero__masthead-right { display: none; }
@media (min-width: 720px) { .hero__masthead-right { display: inline; } }

.hero__grid { display: grid; gap: clamp(56px, 9vw, 80px); }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 5vw, 80px); }
}

.hero__title { margin-top: 22px; font-size: clamp(4.4rem, 19vw, 7.5rem); line-height: .86; letter-spacing: -.03em; }
.hero__title em { padding-right: .05em; }
@media (min-width: 1024px) { .hero__title { font-size: clamp(6.5rem, 10.2vw, 10rem); } }

.hero__lead { margin-top: clamp(22px, 3vw, 32px); }
.hero__punch { display: block; margin-top: 10px; color: var(--ink); font-weight: 550; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 519px) { .hero__ctas .btn { width: 100%; } }

.hero__facts,
ul.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; }

.hero__visual { width: 100%; max-width: 560px; margin-inline: auto; }
@media (min-width: 1024px) { .hero__visual { margin-inline: auto 0; } }

/* Planche « Fig. 01 » : papier millimétré très léger */
.plate {
  position: relative; margin: 0;
  padding: 14px clamp(14px, 2.4vw, 22px) clamp(88px, 12vw, 104px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background-color: var(--card);
  background-image:
    linear-gradient(rgba(21, 20, 15, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 20, 15, .045) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.plate__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.plate__legend { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); white-space: nowrap; }
.plate__legend::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vermillon); }

/* ---------- La balance (signature) ---------- */
.balance { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 100 / 84; margin-top: 10px; }
.balance > * { position: absolute; }

.balance__ground { left: 3cqw; right: 3cqw; top: 80cqw; height: 1px; background: var(--line-strong); }
.balance__ground::after {
  content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 1.4cqw; opacity: .8;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 3.4cqw);
}
.balance__plinth { left: 38cqw; width: 24cqw; top: 76.6cqw; height: 3.4cqw; background: var(--ink); clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%); }
.balance__column { left: 49.35cqw; width: 1.3cqw; top: 50cqw; height: 27cqw; background: var(--ink); }

.balance__dial { left: 33cqw; top: 33cqw; width: 34cqw; height: 17cqw; overflow: visible; }
.balance__arc, .balance__ticks, .balance__zero { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.balance__arc { stroke: var(--line-strong); stroke-width: 1; }
.balance__ticks { stroke: var(--ink-2); stroke-width: 1; }
.balance__zero { stroke: var(--ink); stroke-width: 1.6; }

/* Côtés (plateau + tige) — accrochés aux extrémités du fléau */
.balance__side { top: 4cqw; width: 30cqw; height: 46cqw; }
.balance__side--light { left: 2cqw; translate: .41cqw -5.16cqw; }
.balance__side--heavy { left: 68cqw; translate: -.41cqw 5.16cqw; }
.balance__side > * { position: absolute; }

.balance__stem { left: calc(50% - .45cqw); bottom: 0; width: .9cqw; height: 8cqw; background: var(--ink); }
.balance__plate { left: 0; right: 0; bottom: 8cqw; height: 1.3cqw; background: var(--ink); border-radius: .4cqw .4cqw 1.4cqw 1.4cqw; }
.balance__plate::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1cqw;
  border-left: .55cqw solid var(--ink); border-right: .55cqw solid var(--ink); border-radius: .3cqw .3cqw 0 0;
}
.balance__plate::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 7cqw; height: 1.6cqw; translate: -50% 0;
  background: var(--ink); clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%);
}
.balance__load { left: 0; right: 0; top: 0; bottom: 9.3cqw; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }

/* Côté léger : étiquettes qui flottent */
.balance__side--light .balance__load { gap: 1.1cqw; padding-bottom: 2.4cqw; }
.balance__tag {
  display: inline-block; padding: .5em 1em .45em;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--card);
  box-shadow: 0 1px 0 rgba(21, 20, 15, .04), 0 6px 14px -8px rgba(21, 20, 15, .35);
  font-family: var(--f-mono); font-weight: 500; font-size: max(9.5px, 2.05cqw); line-height: 1; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
}
.balance__tag:nth-child(1) { rotate: -4deg; margin-left: 8cqw; }
.balance__tag:nth-child(2) { rotate: 3deg; margin-right: 7cqw; }
.balance__tag:nth-child(3) { rotate: -1.5deg; }

/* Côté lourd : le contrepoids */
.balance__risk {
  position: relative; margin-bottom: 2.6cqw;
  font-family: var(--f-sans); font-weight: 550; font-size: max(10px, 2.3cqw); line-height: 1.22; letter-spacing: -.005em;
  text-align: center; color: var(--ink); white-space: nowrap;
}
.balance__risk::after { content: ""; position: absolute; left: 50%; top: calc(100% + .5cqw); width: 1px; height: 1.7cqw; background: var(--ink-2); }
.balance__weight { --size: 20cqw; position: relative; display: grid; place-items: center; transform-origin: 50% 100%; }
.balance__weight::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 1px solid rgba(21, 20, 15, .22); }
.balance__stamp { font-family: var(--f-mono); font-weight: 500; font-size: max(8px, 1.6cqw); line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* Fléau, aiguille, pivot */
.balance__beam { left: 17cqw; top: 49.4cqw; width: 66cqw; height: 1.2cqw; background: var(--ink); border-radius: 1cqw; rotate: 9deg; }
.balance__beam::before, .balance__beam::after {
  content: ""; position: absolute; top: 50%; width: 2.8cqw; height: 2.8cqw; margin-top: -1.4cqw;
  border-radius: 50%; background: var(--card); border: max(1.5px, .45cqw) solid var(--ink);
}
.balance__beam::before { left: -1.4cqw; }
.balance__beam::after { right: -1.4cqw; }
.balance__pointer { position: absolute; left: 50%; bottom: 50%; width: 1.4cqw; height: 14cqw; margin-left: -.7cqw; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.balance__pivot { left: 47.5cqw; top: 47.5cqw; width: 5cqw; height: 5cqw; border-radius: 50%; background: var(--card); border: max(1.5px, .55cqw) solid var(--ink); }
.balance__pivot::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: var(--ink); }

/* Légendes « Vous » / « BABESO PAY » */
.balance__caption { top: 60cqw; width: 32cqw; display: grid; justify-items: center; gap: .9cqw; text-align: center; }
.balance__caption--light { left: 1cqw; }
.balance__caption--heavy { left: 67cqw; }
.balance__caption b { font-family: var(--f-mono); font-weight: 500; font-size: max(10px, 2.1cqw); line-height: 1.1; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.balance__caption span { font-size: max(11px, 2.4cqw); line-height: 1.3; color: var(--muted); }
.balance__caption--heavy span { color: var(--vermillon-deep); }

/* Animation d'entrée : le poids se pose, la balance bascule.
   État final = état par défaut (sans JS / mouvement réduit). home.js ajoute .is-armed puis .is-live. */
.balance.is-armed .balance__beam { rotate: 0deg; }
.balance.is-armed .balance__side { translate: 0 0; }
.balance.is-armed .balance__weight { opacity: 0; translate: 0 -16cqw; }
.balance.is-armed .balance__risk { opacity: 0; }

.balance.is-live .balance__weight { animation: bal-drop .75s cubic-bezier(.55, 0, .85, .35) .35s both, bal-squash .55s var(--ease-out) 1.1s both; }
.balance.is-live .balance__beam { animation: bal-tilt 1.7s cubic-bezier(.4, 0, .2, 1) 1.05s both; }
.balance.is-live .balance__side--light { animation: bal-light 1.7s cubic-bezier(.4, 0, .2, 1) 1.05s both; }
.balance.is-live .balance__side--heavy { animation: bal-heavy 1.7s cubic-bezier(.4, 0, .2, 1) 1.05s both; }
.balance.is-live .balance__risk { animation: bal-fade .7s var(--ease-out) 1.9s both; }
.balance.is-live .balance__tag { animation: bal-float 6s ease-in-out infinite; animation-delay: calc(2.8s + var(--i, 0) * .7s); }

@keyframes bal-drop { 0% { opacity: 0; translate: 0 -16cqw; } 30% { opacity: 1; } 100% { opacity: 1; translate: 0 0; } }
@keyframes bal-squash { 0% { scale: 1 1; } 30% { scale: 1.06 .93; } 100% { scale: 1 1; } }
@keyframes bal-tilt { 0% { rotate: 0deg; } 55% { rotate: 10.5deg; } 78% { rotate: 8.4deg; } 100% { rotate: 9deg; } }
@keyframes bal-light { 0% { translate: 0 0; } 55% { translate: .55cqw -6.01cqw; } 78% { translate: .35cqw -4.82cqw; } 100% { translate: .41cqw -5.16cqw; } }
@keyframes bal-heavy { 0% { translate: 0 0; } 55% { translate: -.55cqw 6.01cqw; } 78% { translate: -.35cqw 4.82cqw; } 100% { translate: -.41cqw 5.16cqw; } }
@keyframes bal-fade { from { opacity: 0; translate: 0 .8cqw; } to { opacity: 1; translate: 0 0; } }
@keyframes bal-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.9cqw; } }

/* ---------- Carte « tableau de bord » (illustration) ---------- */
.dash {
  position: relative; z-index: 2;
  width: calc(100% - 28px); max-width: 360px; margin: -72px 0 0 14px; padding-bottom: 4px;
  background: var(--night-2); color: var(--on-night);
  border: 1px solid var(--night-line); border-radius: var(--r);
  box-shadow: var(--shadow-3);
  font-size: 14px; line-height: 1.4; overflow: hidden;
}
@media (min-width: 1024px) { .dash { margin-left: -40px; } }
.dash__flag {
  display: flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-bottom: 1px dashed rgba(244, 240, 232, .18);
  font-family: var(--f-mono); font-size: 10.5px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted);
}
.dash__flag::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.dash__shop { display: flex; align-items: center; gap: 10px; padding: 14px 16px 4px; }
.dash__favicon {
  flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); font-family: var(--f-display); font-style: italic; font-size: 17px; line-height: 1;
}
.dash__domain { font-weight: 600; letter-spacing: -.01em; }
.dash__status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted);
}
.dash__dot { width: 6px; height: 6px; border-radius: 50%; background: #46C08A; }
.dash__list { margin: 0; padding: 0 16px; }
.dash__row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--night-line); }
.dash__row:first-child { border-top: 0; }
.dash__row dt { font-size: 12.5px; color: var(--on-night-muted); }
.dash__row dd { margin: 0; }
.dash__row--main, .dash__row--risk { display: grid; justify-content: stretch; }
.dash__row--main dd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dash__amount { font-size: 25px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.dash__bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.dash__bars i { display: block; width: 6px; height: var(--h); border-radius: 2px; background: rgba(244, 240, 232, .22); }
.dash__bars i:last-child { background: var(--on-night); }
.dash__badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: var(--r-pill);
  background: var(--vermillon); color: var(--ink);
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
}
.dash__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.dash__strong { font-weight: 600; }

/* ---------- Bande défilante ---------- */
.band { padding-block: 20px; border-block: 1px solid var(--line); }

/* ---------- 01 — Le constat ---------- */
.pains { display: grid; gap: 44px; }
@media (min-width: 900px) { .pains { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.pain { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.pain__num { font-family: var(--f-display); font-style: italic; font-size: 3.2rem; line-height: .8; color: var(--ink); }
.pain p:not([class]) { color: var(--ink-2); }
.pain__load {
  margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  font-family: var(--f-mono); font-size: 12px; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.pain__load .weight { --size: 18px; box-shadow: inset -2px -3px 5px rgba(0, 0, 0, .18); }
.pains__bridge {
  margin-top: clamp(56px, 8vw, 96px); text-align: center; text-wrap: balance;
  font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.015em;
}
.pains__bridge em { font-style: italic; color: var(--vermillon); }

/* ---------- 02 — Le transfert du risque ---------- */
.transfer {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted);
}
.transfer__end--us { color: var(--on-night); }
.transfer__rail { position: relative; height: 28px; }
.transfer__rail::before { content: ""; position: absolute; left: 0; right: 4px; top: 50%; border-top: 1px dashed rgba(244, 240, 232, .28); }
.transfer__rail::after {
  content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-top: 1px solid var(--on-night-muted); border-right: 1px solid var(--on-night-muted); rotate: 45deg;
}
.transfer__weight { --size: 28px; position: absolute; top: 0; left: calc(100% - 46px); transition: left 1.6s var(--ease-out) .35s; }
html:not(.no-js) .transfer:not(.is-visible) .transfer__weight { left: 0; }

.risk-card h3 { margin: 6px 0 10px; }
.risk-card p:last-child { color: var(--on-night-muted); font-size: 15.5px; }

/* Le Pacte : un « document » ivoire posé sur la nuit */
.pacte {
  position: relative; margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(22px, 4.5vw, 56px);
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
}
.pacte .eyebrow { color: var(--muted); }
.pacte .link { color: var(--vermillon-deep); }
.pacte .link:hover { color: var(--ink); }
.pacte__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: clamp(22px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.pacte__title { margin-top: 14px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; }
.pacte__sub { margin-top: 12px; max-width: 52ch; color: var(--ink-2); }
.pacte__seal { flex: none; width: clamp(72px, 11vw, 120px); height: auto; rotate: -8deg; }
@media (max-width: 719px) {
  .pacte__seal { position: absolute; top: -26px; right: 16px; width: 78px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
  .pacte__intro { padding-right: 0; }
  .pacte__title { padding-right: 84px; }
}
.pacte__seal-disc { fill: var(--vermillon); }
.pacte__seal-ring { fill: none; stroke: rgba(21, 20, 15, .35); stroke-width: .8; }
.pacte__seal-text { font-family: var(--f-mono); font-size: 7.4px; letter-spacing: 1.6px; fill: var(--ink); }
.pacte__seal-light { fill: var(--paper); }
.pacte__seal-ink { fill: var(--ink); }

.pacte__cols { display: grid; gap: 28px; padding-block: clamp(26px, 3.5vw, 40px); }
.pacte__col--you { padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 860px) {
  .pacte__cols { grid-template-columns: 1fr 1fr; gap: 0; }
  .pacte__col--us { padding-right: clamp(24px, 4vw, 48px); border-right: 1px solid var(--line); }
  .pacte__col--you { padding-top: 0; padding-left: clamp(24px, 4vw, 48px); border-top: 0; }
}
.pacte__col-title { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.05; letter-spacing: -.01em; }
.pacte__col-title span { font-family: var(--f-mono); font-size: 11.5px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pacte .check-list { color: var(--ink-2); font-size: 15.5px; }
.pacte__col--you .check-list li::before { background-color: var(--ink); }

.pacte__foot { display: grid; gap: 16px; padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
.pacte__fine { max-width: 82ch; font-size: 14px; color: var(--muted); }
.pacte__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (max-width: 519px) { .pacte__cta .btn { width: 100%; } }

/* ---------- 03 — Fonctionnement (timeline) ---------- */
.steps { --node: 46px; position: relative; display: grid; gap: 40px; }
.steps::before, .steps::after { content: ""; position: absolute; left: calc(var(--node) / 2); top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.steps::after { background: var(--ink); transform-origin: 50% 0; transform: scaleY(0); transition: transform 1.8s var(--ease-out) .2s; }
.steps.is-visible::after, .no-js .steps::after { transform: none; }
.step { position: relative; padding-left: calc(var(--node) + 22px); }
.step__node {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: var(--node); height: var(--node); display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.steps.is-visible .step__node, .no-js .step__node { background: var(--ink); color: var(--paper); }
.step:nth-child(2) .step__node { transition-delay: .5s; }
.step:nth-child(3) .step__node { transition-delay: .9s; }
.step:nth-child(4) .step__node { transition-delay: 1.3s; }
.step__time { padding-top: 12px; margin-bottom: 8px; font-family: var(--f-mono); font-size: 12px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--vermillon-deep); }
.step .h3 { margin-bottom: 8px; }
.step p:last-child { color: var(--ink-2); font-size: 16px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .steps::before, .steps::after { left: calc(var(--node) / 2); right: 0; top: calc(var(--node) / 2); bottom: auto; width: auto; height: 1px; }
  .steps::after { transform-origin: 0 50%; transform: scaleX(0); }
  .step { padding-left: 0; padding-top: calc(var(--node) + 22px); }
  .step__time { padding-top: 0; }
}

.seller { display: grid; gap: 36px; align-items: center; margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .seller { grid-template-columns: 1fr 1fr; gap: 64px; } }
.seller__copy { display: grid; gap: 14px; max-width: 54ch; }
.seller__copy p:not(.small) { color: var(--ink-2); font-size: 1.06rem; }

.statement { margin: 0; padding: 6px 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); font-family: var(--f-mono); font-size: 13px; }
.statement__cap { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px 12px; border-bottom: 1px dashed var(--line-strong); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.statement__row { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.statement__row--ghost { color: var(--muted); }
.statement__blur { display: block; width: 70%; height: 8px; border-radius: 4px; background: var(--paper-3); }
.statement__blur--sm { width: 42px; justify-self: end; }
.statement__row--hl { background: var(--vermillon-soft); color: var(--ink); font-weight: 500; }
.statement__row--hl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vermillon); }
.statement__desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .04em; }
.statement__note { padding: 14px 18px 0; font-family: var(--f-sans); font-size: 13.5px; color: var(--vermillon-deep); }

/* ---------- 04 — Comparatif ---------- */
.compare .table { font-size: 15px; }
.compare thead th.is-us { background: var(--ink); color: var(--paper); }
.compare__us { display: inline-flex; align-items: center; gap: 8px; }
.compare__us::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vermillon); }
.compare tbody th { width: 26%; }
.compare tbody td { color: var(--ink-2); }
.compare tbody td.is-us { color: var(--ink); font-weight: 500; }
.compare__note { margin-top: 14px; max-width: 90ch; }
@media (max-width: 719px) {
  .compare .table { min-width: 0; }
  .compare thead { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare tbody, .compare tr { display: block; }
  .compare tbody tr { border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th, .compare tbody td { display: block; width: auto; padding: 0 16px 12px; border-bottom: 0; }
  .compare tbody th { padding-top: 18px; padding-bottom: 10px; font-size: 16px; }
  .compare tbody td::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  }
  .compare tbody td.is-us { margin: 0 10px 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 74, 28, .08); }
  .compare tbody td.is-us::before { color: var(--vermillon-deep); }
}

/* ---------- 05 — Pour qui ---------- */
.profile { display: flex; flex-direction: column; gap: 12px; }
.profile p:not([class]) { color: var(--ink-2); }
.profile__plus { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.profile__plus::before { content: "→"; color: var(--vermillon-deep); }

.eligibility { display: grid; margin-top: clamp(28px, 4vw, 40px); border: 1px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
@media (min-width: 900px) { .eligibility { grid-template-columns: 1.3fr 1fr; } }
.eligibility__main { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 4vw, 44px); }
.eligibility__main .check-list { margin-top: 6px; color: var(--ink-2); }
.eligibility__side { display: grid; gap: 24px; align-content: start; padding: clamp(22px, 4vw, 44px); background: var(--ink); color: var(--on-night); }
.eligibility__side > div + div { padding-top: 24px; border-top: 1px solid var(--night-line); }
.eligibility__side p { margin-top: 6px; font-size: 15px; color: var(--on-night-muted); }
.eligibility__side .link { color: var(--vermillon); overflow-wrap: anywhere; }
.eligibility__side .link:hover { color: var(--on-night); }

/* ---------- 06 — Tarifs ---------- */
.pricing { display: grid; gap: clamp(40px, 6vw, 56px); align-items: start; }
@media (min-width: 1024px) { .pricing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 88px); } }
.price__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price__figure {
  display: flex; flex-wrap: wrap; column-gap: .3em; row-gap: .08em; margin-top: 12px;
  font-family: var(--f-mono); font-weight: 500; font-size: clamp(2.2rem, 7.2vw, 4.4rem); line-height: 1; letter-spacing: -.055em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.price__figure > span { white-space: nowrap; }
.price__plus { color: var(--vermillon); }
.price__zero { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.price__zero li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--card); font-family: var(--f-mono); font-size: 12.5px; line-height: 1.2; letter-spacing: .04em; color: var(--ink-2); }
.price__zero b { font-weight: 500; color: var(--ink); }
.price__incl-title { margin: 36px 0 14px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.price .check-list { color: var(--ink-2); }
.price__fine { margin-top: 22px; max-width: 60ch; }

.calc { display: grid; gap: 26px; padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow-2); }
.calc__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc__field { display: grid; gap: 10px; }
.calc__line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.calc__line label { font-size: 14.5px; font-weight: 550; }
.calc__val { font-family: var(--f-mono); font-size: 1.35rem; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); }

.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; border-radius: 6px; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--fill, 0%), var(--paper-3) var(--fill, 0%)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--fill, 0%), var(--paper-3) var(--fill, 0%)); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: var(--vermillon); border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--ink), 0 4px 10px -2px rgba(217, 58, 16, .5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--vermillon); border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--ink), 0 4px 10px -2px rgba(217, 58, 16, .5);
}
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 7px rgba(255, 74, 28, .28); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 7px rgba(255, 74, 28, .28); }

.calc__receipt { display: grid; gap: 10px; margin: 0; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.calc__receipt > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; }
.calc__receipt dt { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.calc__receipt dt::after { content: ""; flex: 1; min-width: 12px; border-bottom: 1px dotted var(--line-strong); translate: 0 -4px; }
.calc__receipt dd { margin: 0; font-family: var(--f-mono); font-size: 15px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__net { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--ink); }
.calc__net dt { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.calc__net dt::after { display: none; }
.calc__net dd { font-size: clamp(1.45rem, 3.6vw, 2.1rem); letter-spacing: -.04em; }
.calc__fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* ---------- 07 — Confiance ---------- */
.trust__item { display: grid; gap: 12px; align-content: start; }
.trust__item .badge { justify-self: start; }
.trust__item .h3 { margin-top: 6px; }
.trust__item p { font-size: 15.5px; color: var(--on-night-muted); }
.trust__statement { display: grid; gap: 20px; margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--night-line); }
@media (min-width: 900px) { .trust__statement { grid-template-columns: 1.6fr 1fr; align-items: end; gap: 56px; } }
.trust__quote { font-family: var(--f-display); font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.trust__quote em { font-style: italic; color: var(--vermillon); }
.trust__legal { font-size: 14.5px; color: var(--on-night-muted); }

/* ---------- 08 — FAQ ---------- */
.faq-layout { display: grid; gap: 8px; }
.faq-layout .section-head { margin-bottom: 28px; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
  .faq-layout__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 719px) { .faq .faq__body { padding-right: 0; } }

/* ---------- CTA final ---------- */
.cta-final { overflow: hidden; border-bottom: 1px solid var(--night-line); }
.cta-final__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .cta-final__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.cta-final__copy { display: grid; gap: 22px; justify-items: start; }
.cta-final__title { font-size: clamp(3.4rem, 12vw, 8rem); }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 519px) { .cta-final__actions { width: 100%; } .cta-final__actions .btn { width: 100%; } }
.cta-final__note { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); }
.cta-final__art { display: grid; justify-items: center; }
.cta-final__weight { --size: clamp(150px, 24vw, 280px); position: relative; z-index: 1; transition: translate 1s cubic-bezier(.55, 0, .3, 1) .25s; }
.cta-final__weight::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 1px solid rgba(21, 20, 15, .22); }
html:not(.no-js) .cta-final__art:not(.is-visible) .cta-final__weight { translate: 0 -48px; }
.cta-final__line { display: block; width: 100%; height: 1px; background: rgba(244, 240, 232, .28); }
.cta-final__cap { margin-top: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .balance * { animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  ul.marquee__track { width: auto; flex-wrap: wrap; justify-content: center; gap: 14px 32px; padding-inline: var(--gutter); }
  .marquee__item[aria-hidden="true"] { display: none; }
}
