/* BEFARM Finance — page de présentation (éditeur : BEHATI SARL)
   Tokens repris de la charte « 360 » et du handoff design (docs/design/README.md). */

@font-face { font-family: 'Geist'; src: url('fonts/geist-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/geist-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/geist-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;

  --ink: #0F1C28;
  --ink-2: #1B2C3C;
  --green: #2FBF4E;
  --green-hi: #3FCF5E;
  --green-ink: #167A36;      /* texte vert lisible sur fond clair (contraste ≥ 5:1) */
  --green-tint: #E7F7EB;
  --halo: #E3F6E8;

  --canvas: #F1F2F2;         /* fond de l'application */
  --paper: #FFFFFF;
  --soft: #FBFBF9;
  --line: #EDEDEA;
  --line-2: #E3E3DF;

  --text: #1A1A17;
  --text-2: #5A5A54;
  --text-3: #6F6F69;         /* méta : assombri pour le contraste (≥ 4.6:1 sur blanc) */

  --danger: #B4453A;
  --warn: #B07E1E;

  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --band: clamp(72px, 10vw, 136px);

  --float: drop-shadow(0 22px 34px rgba(15, 28, 40, .17)) drop-shadow(0 2px 4px rgba(15, 28, 40, .08));
  --lift: 0 28px 70px -18px rgba(15, 28, 40, .28), 0 2px 8px rgba(15, 28, 40, .06);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(47, 191, 78, .6); outline-offset: 3px; border-radius: 6px; }
::selection { background: #BFEACB; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-family: var(--mono); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.h2 { font-size: clamp(2rem, 4.3vw, 3.25rem); line-height: 1.04; letter-spacing: -.038em; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.55; color: var(--text-2); max-width: 38rem; text-wrap: pretty; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lead { max-width: 40rem; }

/* --------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 600; font-size: .9375rem; letter-spacing: -.005em; text-decoration: none;
  transition: background-color .15s, box-shadow .15s, transform .15s;
}
.btn--primary { background: var(--green); color: var(--ink); box-shadow: 0 8px 20px rgba(47, 191, 78, .32); }
.btn--primary:hover { background: var(--green-hi); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: var(--soft); border-color: #D5D5CF; }
.btn--sm { min-height: 40px; padding: 0 18px; border-radius: 12px; font-size: .875rem; }

/* Boutons de téléchargement : « bientôt disponible » tant qu'aucune adresse n'est renseignée. */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 18px 8px 14px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink);
  text-decoration: none; text-align: left; line-height: 1.2;
  transition: background-color .15s, border-color .15s;
}
.store svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store__txt { display: grid; gap: 1px; }
.store__txt small { font-size: .75rem; font-weight: 500; color: var(--text-3); }
.store__txt strong { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.store__note { margin-top: 2px; font-size: .75rem; color: var(--text-3); }
.store__soon { margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: #F8F1E2; color: #8A5F0D; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.store.is-soon { border-style: dashed; background: rgba(255, 255, 255, .6); cursor: default; }
.store.is-soon svg { color: var(--text-3); }
a.store:not(.is-soon):hover { background: var(--soft); border-color: #D5D5CF; }

/* ----------------------------------------------------------- en-tête */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 242, 242, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(15, 28, 40, .06);
}
.top__in { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.mark {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); color: var(--green-hi);
  font: 600 13.5px/1 var(--mono); letter-spacing: -.03em;
}
.brand__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.022em; white-space: nowrap; }
.brand__by { font-size: .8125rem; color: var(--text-3); white-space: nowrap; }
.nav { display: none; margin-left: auto; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--text-2); }
.nav a:hover { color: var(--ink); }
.top__cta { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .top__cta { margin-left: 8px; }
}
@media (max-width: 539px) { .brand__by { display: none; } }

/* --------------------------------------------------------------- héros */
.hero {
  background: radial-gradient(90% 60% at 50% -10%, var(--halo), var(--canvas) 62%);
  padding-block: clamp(40px, 6vw, 84px) clamp(60px, 8vw, 104px);
  overflow: clip;
}
.hero h1 { max-width: 15.5em; font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: .98; letter-spacing: -.048em; }
.hero__row { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; margin-top: clamp(32px, 4.5vw, 56px); }
.hero__lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.55; color: var(--text-2); max-width: 31rem; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .stores { margin-top: 18px; }
.hero__by { margin-top: 26px; font-size: .9375rem; color: var(--text-3); }
.hero__by strong { color: var(--text-2); font-weight: 600; }

.hv { position: relative; min-width: 0; }
.frag { filter: var(--float); }
.frag img { width: 100%; }
.hv__note { margin-top: 18px; font-size: .8125rem; color: var(--text-3); }
.frag--couts { margin: -22px 0 0 6%; width: 88%; }
@media (min-width: 1000px) {
  .hero__row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .hv { height: 386px; margin-right: calc(var(--gutter) * -1); }
  .frag { position: absolute; margin: 0; }
  .frag--result { top: 0; right: 0; width: min(100%, 760px); }
  .frag--couts { top: 168px; left: 0; width: min(60%, 470px); }
  .hv__note { position: absolute; right: var(--gutter); bottom: 0; margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__lead, .hero__cta, .hero .stores, .hero__by, .frag { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__lead { animation-delay: .07s; }
  .hero__cta { animation-delay: .14s; }
  .hero .stores { animation-delay: .18s; }
  .hero__by { animation-delay: .22s; }
  .frag--result { animation-delay: .1s; }
  .frag--couts { animation-delay: .3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ----------------------------------------- le kilo qui ment (section encre) */
.kilo { background: var(--ink); color: #fff; padding-block: var(--band); }
.kilo__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1000px) { .kilo__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.kilo h2 { color: #fff; }
.kilo__text > p { margin-top: 22px; color: rgba(255, 255, 255, .74); max-width: 33rem; text-wrap: pretty; }
.kilo__text > p strong { color: #fff; font-weight: 600; }

.ledger { margin-top: 34px; max-width: 30rem; font-family: var(--mono); font-weight: 500; font-size: .9375rem; }
.ledger > div { display: flex; align-items: baseline; gap: 10px; padding-block: 7px; color: rgba(255, 255, 255, .78); }
.ledger dt { display: flex; flex: 1; align-items: baseline; gap: 10px; }
.ledger dt::after { content: ''; flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(255, 255, 255, .28); transform: translateY(-4px); }
.ledger dd { flex: none; text-align: right; color: #fff; }
.ledger .is-sum { margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 600; }
.ledger .is-sum dd { color: var(--green-hi); }

.console { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .09); border-radius: 28px; padding: clamp(22px, 3.2vw, 38px); box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.console__price { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.console__price label { font-weight: 500; font-size: 1.0625rem; color: rgba(255, 255, 255, .78); }
.console__price output { font-family: var(--mono); font-weight: 600; font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 1; letter-spacing: -.04em; color: #fff; }
.console__price output small { font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .6); margin-left: 4px; }

.slider { position: relative; margin: 30px 6px 4px; padding-top: 46px; --thumb: 30px; }
.slider input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: var(--thumb); margin: 0; background: transparent; cursor: ew-resize; }
.slider input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: var(--track, #3a4b5b); }
.slider input[type=range]::-moz-range-track { height: 10px; border-radius: 999px; background: var(--track, #3a4b5b); }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb); height: var(--thumb); margin-top: -10px; border-radius: 50%; background: #fff; border: 4px solid var(--thumb-c, #FF9B8E); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); transition: border-color .15s; }
.slider input[type=range]::-moz-range-thumb { width: calc(var(--thumb) - 8px); height: calc(var(--thumb) - 8px); border-radius: 50%; background: #fff; border: 4px solid var(--thumb-c, #FF9B8E); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.slider input[type=range]:focus-visible { outline: none; }
.slider input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(255, 255, 255, .8); outline-offset: 3px; }
.slider input[type=range]:focus-visible::-moz-range-thumb { outline: 3px solid rgba(255, 255, 255, .8); outline-offset: 3px; }
.tick { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; font-size: .75rem; line-height: 1.2; color: rgba(255, 255, 255, .62); white-space: nowrap; pointer-events: none; }
.tick b { font-family: var(--mono); font-weight: 600; font-size: .875rem; color: #fff; }
.tick::after { content: ''; width: 1px; height: 10px; background: rgba(255, 255, 255, .4); }
.tick--seuil b { color: var(--green-hi); }
.slider__range { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: .75rem; color: rgba(255, 255, 255, .45); }

.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.presets button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .875rem; transition: background-color .15s, border-color .15s; }
.presets button:hover { background: rgba(255, 255, 255, .08); }
.presets button[aria-pressed=true] { background: #fff; border-color: #fff; color: var(--ink); }

.duel { display: grid; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.duel__col { padding: 24px 0 4px; }
.duel__col h3 { font-size: .9375rem; font-weight: 600; color: rgba(255, 255, 255, .72); }
.duel__cost { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: .9375rem; color: rgba(255, 255, 255, .6); }
.duel__cost .num { font-size: clamp(2.25rem, 4.6vw, 3.25rem); line-height: 1; color: #fff; }
.duel__how { margin-top: 6px; font-size: .875rem; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.duel__res { display: grid; gap: 2px; margin-top: 20px; font-size: .875rem; color: rgba(255, 255, 255, .62); }
.duel__res .num { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.1; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.duel__res .num small { font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .55); }
.duel__res .is-pos { color: var(--green-hi); }
.duel__res .is-neg { color: #FF9B8E; }
@media (min-width: 640px) {
  .duel { grid-template-columns: 1fr 1fr; }
  .duel__col + .duel__col { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
  .duel__col:first-child { padding-right: 28px; }
}

.verdict { display: flex; align-items: center; justify-content: space-between; gap: 6px 18px; flex-wrap: wrap; margin-top: 26px; padding: 14px 18px; border-radius: 14px; font-weight: 500; font-size: .9375rem; transition: background-color .2s, color .2s; }
.verdict[data-state=perte] { background: rgba(180, 69, 58, .24); color: #FFB9AE; }
.verdict[data-state=gain] { background: rgba(47, 191, 78, .18); color: #86E39A; }
.verdict__tot { font-family: var(--mono); font-weight: 600; font-size: .875rem; }
.kilo__note { grid-column: 1 / -1; margin-top: -8px; font-size: .8125rem; line-height: 1.5; color: rgba(255, 255, 255, .5); max-width: 46rem; }

/* ----------------------------------------- distinctions : ce qu'on ne mélange pas */
.neq { padding-block: var(--band); background: var(--canvas); }
.neq__list { border-top: 1px solid var(--line-2); }
.neq__list li { display: grid; gap: 14px 40px; align-items: baseline; padding-block: clamp(24px, 3.4vw, 40px); border-bottom: 1px solid var(--line-2); }
.neq__pair { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .3em; font-size: clamp(1.875rem, 4.4vw, 3.25rem); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
.neq__pair .sign { font-family: var(--mono); font-weight: 500; color: var(--green-ink); letter-spacing: -.05em; }
.neq__why { color: var(--text-2); max-width: 30rem; text-wrap: pretty; }
@media (min-width: 900px) { .neq__list li { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ------------------------------------------------------ l'application, écran par écran */
.app { padding-block: var(--band); }
.block + .block { margin-top: clamp(72px, 9vw, 128px); }
.block__title { font-size: clamp(1.5rem, 2.8vw, 2.125rem); line-height: 1.1; letter-spacing: -.034em; margin-bottom: 22px; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; scroll-snap-align: start; min-height: 40px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 500; font-size: .9375rem; color: var(--text-2); transition: background-color .15s, color .15s; }
.tab:hover { background: var(--soft); }
.tab[aria-selected=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 720px) { .tabs { margin-inline: 0; padding-inline: 2px; overflow: visible; flex-wrap: wrap; } }

.panel__title { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -.03em; }
.panel__text { margin-top: 14px; max-width: 42rem; color: var(--text-2); text-wrap: pretty; }
.panel__text strong { color: var(--text); font-weight: 600; }
.panel__title + .panel__text { margin-top: 12px; }

.stage { margin-top: 24px; padding: clamp(12px, 2.6vw, 28px); background: var(--canvas); border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(15, 28, 40, .05); }
.stage img { width: 100%; }
.stage--window img { border-radius: 16px; box-shadow: var(--lift); }
.stage--stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(8px, 1.6vw, 16px); }
.stage--split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
.stage--split > img { width: 100%; filter: var(--float); }
.stage__aside { max-width: 24rem; }
.stage__aside p { color: var(--text-2); font-size: .9375rem; line-height: 1.55; }
.stage__aside p + p { margin-top: 10px; }
.stage__aside strong { color: var(--text); font-weight: 600; }
.stage picture { display: block; }
.chip-naif, .chip-min { display: inline-block; padding: 1px 9px; border-radius: 999px; font-weight: 600; font-size: .8125rem; }
.chip-naif { background: #F8F1E2; color: #8A5F0D; }
.chip-min { background: var(--green-tint); color: var(--green-ink); }
@media (min-width: 900px) { .stage--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; } }

/* Onglets avec variante téléphone : sous 720 px, la capture mobile remplace la capture large. */
@media (max-width: 719px) {
  .stage--sw { display: grid; place-items: center; }
  .stage--sw picture img { width: min(100%, 290px); border-radius: 26px; box-shadow: var(--lift); }
  .stage--sw .only-wide { display: none; }
}

/* Onglets d'une campagne : liste latérale sur grand écran. */
.tour__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.tour__nav, .panels { min-width: 0; }
@media (min-width: 900px) {
  .tour__grid { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .tour__nav { position: sticky; top: 100px; }
  .tabs--side { flex-direction: column; flex-wrap: nowrap; gap: 2px; overflow: visible; margin: 0; padding: 0; }
  .tabs--side .tab { min-height: 0; padding: 10px 0 10px 22px; border: 0; border-left: 3px solid var(--line-2); border-radius: 0; background: transparent; text-align: left; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; color: #9A9A94; }
  .tabs--side .tab:hover { background: transparent; color: var(--text-2); }
  .tabs--side .tab[aria-selected=true] { background: transparent; border-left-color: var(--green); color: var(--ink); }
}

/* --------------------------------------------------- sur le terrain */
.field { padding-block: var(--band); background: var(--canvas); overflow: clip; }
.field__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .field__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.points { display: grid; gap: 26px; margin-top: 34px; }
.points li { display: grid; gap: 4px; padding-left: 22px; border-left: 3px solid var(--green); }
.points h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.points p { color: var(--text-2); max-width: 30rem; text-wrap: pretty; }
.field__visual { position: relative; display: grid; justify-items: center; }
.field__visual .field__modal { width: min(100%, 440px); filter: var(--float); }
.field__visual .field__phone { margin-top: 28px; width: min(70%, 250px); }
@media (min-width: 640px) {
  .field__visual { display: block; min-height: 720px; }
  .field__visual .field__modal { position: absolute; left: 0; top: 0; width: min(78%, 500px); }
  .field__visual .field__phone { position: absolute; right: 0; bottom: 0; margin: 0; width: min(44%, 270px); }
}
@media (min-width: 1000px) { .field__visual { min-height: 800px; } }

.phone { margin: 0; }
.phone__body { padding: 9px; border-radius: 40px; background: var(--ink); box-shadow: 0 32px 60px -20px rgba(15, 28, 40, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.phone__screen { overflow: hidden; border-radius: 31px; background: var(--canvas); }
.phone__status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 18px 0 22px; background: #F2F2F2; font: 600 11px/1 var(--font); color: var(--ink); }
.phone__status::before { content: ''; position: absolute; left: 50%; top: 8px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--ink); }
.phone__status i { display: inline-flex; gap: 4px; align-items: center; }
.phone__status i::before, .phone__status i::after { content: ''; display: block; background: var(--ink); border-radius: 2px; }
.phone__status i::before { width: 13px; height: 8px; clip-path: polygon(0 100%, 0 70%, 33% 70%, 33% 40%, 66% 40%, 66% 0, 100% 0, 100% 100%); }
.phone__status i::after { width: 18px; height: 9px; border-radius: 3px; opacity: .9; }
.phone--dim .phone__status { background: #9BA1A6; }
.phone img { width: 100%; }
.phone figcaption { margin-top: 16px; font-size: .9375rem; line-height: 1.45; color: var(--text-2); text-align: center; text-wrap: balance; }
.phone figcaption strong { display: block; color: var(--text); font-weight: 600; }

.gallery { margin-top: clamp(56px, 7vw, 96px); }
.gallery h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; line-height: 1.12; }
.gallery > p { margin-top: 10px; max-width: 38rem; color: var(--text-2); }
.gallery__row { display: flex; gap: clamp(20px, 3vw, 36px); overflow-x: auto; padding: 36px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: #C9CAC6 transparent; }
.gallery__row .phone { flex: none; width: min(70vw, 280px); scroll-snap-align: start; }
.gallery__row:focus-visible { outline-offset: -3px; }

/* ----------------------------------------------- chaque chiffre s'explique */
.explain { padding-block: var(--band); }
.explain__grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .explain__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.explain__text .h2 { margin-bottom: 22px; }
.explain__text p + p { margin-top: 14px; }
.explain__text p { color: var(--text-2); max-width: 34rem; text-wrap: pretty; }
.drawer { justify-self: center; width: min(100%, 404px); }
.drawer img { border-radius: 24px; box-shadow: var(--lift); border: 1px solid var(--line); }

/* ----------------------------------------------------- pour qui / confiance */
.who { padding-block: var(--band); background: var(--canvas); }
.trust { padding-block: var(--band); }
.dl { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.dl > div { display: grid; gap: 6px 40px; padding-block: 22px; border-bottom: 1px solid var(--line-2); }
.dl dt { font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.dl dd { color: var(--text-2); max-width: 32rem; text-wrap: pretty; }
@media (min-width: 900px) {
  .dl { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .dl > div { grid-template-columns: 1fr; align-content: start; }
}
.trust__head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }

/* ------------------------------------------------------------------- FAQ */
.faq { padding-block: var(--band); background: var(--canvas); }
.faq__grid { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; } }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-of-type { border-top: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-right: 4px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, 0); }
.faq details p { padding: 0 40px 24px 0; max-width: 40rem; color: var(--text-2); text-wrap: pretty; }
.faq summary:hover { color: var(--green-ink); }

/* -------------------------------------------------------- bandeau final */
.closing { padding-block: clamp(80px, 11vw, 150px); color: var(--ink); background: radial-gradient(130% 190% at 0% 0%, #8AE09C 0%, #3FCF5E 48%, #2BBA49 100%); }
.closing h2 { max-width: 15ch; font-size: clamp(2.25rem, 6.2vw, 4.75rem); line-height: .98; letter-spacing: -.048em; }
.closing p { margin-top: 24px; max-width: 34rem; font-size: 1.125rem; line-height: 1.55; color: rgba(15, 28, 40, .82); text-wrap: pretty; }
.closing__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.closing .stores { margin-top: 34px; }
.closing__cta + .stores { margin-top: 14px; }
.closing .btn--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(15, 28, 40, .28); }
.closing .btn--primary:hover { background: var(--ink-2); }
.closing .btn--ghost { background: rgba(255, 255, 255, .5); border-color: rgba(15, 28, 40, .18); }
.closing .btn--ghost:hover { background: rgba(255, 255, 255, .75); }
.closing .store { background: rgba(255, 255, 255, .55); border-color: rgba(15, 28, 40, .2); }
.closing .store.is-soon { background: rgba(255, 255, 255, .4); }
.closing .store__txt small, .closing .store__note { color: rgba(15, 28, 40, .62); }
.closing .store.is-soon svg { color: rgba(15, 28, 40, .55); }

/* ------------------------------------------------------------- pied de page */
.foot { padding-block: 44px 56px; background: var(--paper); font-size: .9375rem; color: var(--text-2); }
.foot__grid { display: grid; gap: 28px 48px; }
@media (min-width: 800px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot .brand { color: var(--ink); }
.foot p + p { margin-top: 8px; }
.foot__fine { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: .8125rem; color: var(--text-3); max-width: 52rem; }
.foot a { text-underline-offset: 3px; }

/* ----------------------------------------------- pages juridiques (CGU, confidentialité) */
.legal-top { background: var(--canvas); border-bottom: 1px solid rgba(15, 28, 40, .06); }
.legal-top .top__in { justify-content: space-between; }
.legal-top .back { font-weight: 500; font-size: .9375rem; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.back__short { display: none; }
@media (max-width: 520px) { .back__long { display: none; } .back__short { display: inline; } }
.legal-top .back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal { padding-block: clamp(40px, 6vw, 80px) var(--band); }
.legal__in { max-width: 46rem; margin-inline: auto; }
.legal h1 { font-size: clamp(2.125rem, 5.2vw, 3.5rem); line-height: 1.02; letter-spacing: -.045em; }
.legal__meta { margin-top: 14px; font-size: .9375rem; color: var(--text-3); }
.legal__intro { margin-top: 28px; font-size: 1.125rem; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.legal__draft { margin-top: 26px; padding: 14px 18px; border-radius: 14px; background: #FFF6D9; color: #6B4A00; font-size: .9375rem; line-height: 1.5; }
.toc { margin-top: 36px; padding: 22px 24px; border-radius: 18px; background: var(--canvas); }
.toc h2 { font-size: 1rem; letter-spacing: -.01em; }
.toc ol { display: grid; gap: 6px 28px; margin-top: 12px; font-size: .9375rem; }
@media (min-width: 640px) { .toc ol { grid-template-columns: 1fr 1fr; } }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal article { margin-top: 44px; }
.legal article h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.15; letter-spacing: -.03em; scroll-margin-top: 90px; }
.legal article h3 { margin-top: 22px; font-size: 1.0625rem; letter-spacing: -.015em; }
.legal article p, .legal article li { margin-top: 12px; color: var(--text-2); line-height: 1.7; text-wrap: pretty; }
.legal article ul { margin-top: 8px; padding-left: 1.3em; list-style: disc; }
.legal article li { margin-top: 6px; padding-left: .2em; }
.legal article li::marker { color: var(--text-3); }
.legal article strong { color: var(--text); font-weight: 600; }
.legal a { text-decoration-color: rgba(15, 28, 40, .3); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: currentColor; }
.legal table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; color: var(--text-2); line-height: 1.5; }
.legal th { color: var(--text); font-weight: 600; font-size: .875rem; background: var(--canvas); }
.legal .scroll-x { overflow-x: auto; }
.todo { padding: 1px 6px; border-radius: 6px; background: #FFF1C2; color: #6B4A00; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
