/* yerbatsede — feuille unique. Réécrite de zéro le 1er octobre 2026.

   ═══ LE PARTI PRIS ═══
   L'ancien site comptait seize sections et répétait la même forme à chaque
   fois : sur-titre, titre, chapô, grille de cartes. C'était une brochure.
   Les quatre références — Revolut, Wise, Monese, Grey — tiennent en six ou
   sept blocs et ne mettent **qu'une idée par écran**. Leur hero ne contient
   rien d'autre qu'un titre, une ligne et un bouton.

   Ce site fait donc sept blocs : l'image, le mécanisme, les rails, les
   corridors, la preuve, les questions, la clôture. Chacun dit une chose.

   ═══ LES RÈGLES QUI COÛTENT CHER ═══
   · Aucune valeur en dur : tout vient de tokens.css.
   · 🔴 Rien de clair sur le lime ni sur le jaune — le survol ASSOMBRIT.
   · Sur le canvas vert, l'ombre portée n'existe pas : bordure + filet.
   · Un seul dégradé sur tout le site, le bloc de clôture.
   · Aucune pastille ronde décorative : les puces sont des traits.
   · Classes en BEM. */

/* ═══════════════════════ socle ═══════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--s-9);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--on-canvas);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
  font-weight: 550;
}
/* Titres grands, interlettrage serré négatif. Revolut titre à −0.024em,
   Grey à −0.047em ; un grotesque supporte bien plus de resserrement qu'un
   serif. On se cale à −0.035em. */
h1 { font-size: var(--fs-display); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: var(--fs-h2);      letter-spacing: -0.03em;  line-height: 1.02; }
h3 { font-size: var(--fs-h3);      letter-spacing: -0.015em; line-height: 1.25; font-weight: 600; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }

/* Le lime sert d'anneau de focus partout. § 10 : jamais supprimé. */
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: -100px; left: var(--s-4); z-index: 100;
  background: var(--lime); color: var(--on-lime);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-control);
  font-weight: 600;
  transition: top var(--t-micro) var(--ease);
}
.skip:focus { top: var(--s-4); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ═══════════════════════ texte ═══════════════════════ */

/* Un libellé de section, et rien de plus : pas de gélule, pas de tiret, pas
   de capitales très interlettrées. Le titre fait le travail. */
.label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: var(--s-5);
}

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--soft); max-width: 54ch; }
.note { font-size: var(--fs-small); color: var(--mute); max-width: 72ch; }

/* Le mot accentué du titre. Un seul par page. */
h1 em, h2 em { font-style: normal; color: var(--lime); }
[data-band="light"] h1 em, [data-band="light"] h2 em { color: var(--action); }

.lnk {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: var(--lime); font-weight: 600; font-size: var(--fs-small);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-micro) var(--ease);
}
.lnk::after {
  content: ""; width: 6px; height: 6px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); flex: none;
}
.lnk:hover { border-bottom-color: currentColor; }
[data-band="light"] .lnk { color: var(--action); }

/* ═══════════════════════ boutons ═══════════════════════ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-6);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-body); font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-micro) var(--ease),
              border-color var(--t-micro) var(--ease),
              color var(--t-micro) var(--ease);
}
.btn--sm { min-height: 42px; padding: 0 var(--s-5); font-size: var(--fs-small); }
.btn--block { width: 100%; }

/* 🔴 L'encre sur le lime, et le survol ASSOMBRIT. L'éclaircir ferait tomber
   la paire à 1.29:1. */
.btn--go { background: var(--lime); color: var(--on-lime); }
.btn--go:hover { background: var(--lime-deep); }

.btn--quiet { background: transparent; color: var(--on-canvas); border-color: var(--line-strong); }
.btn--quiet:hover { border-color: var(--lime); color: var(--lime); }

.btn--ink { background: var(--ink); color: var(--bg-light); }
.btn--ink:hover { background: var(--canvas); }

/* ═══════════════════════ navigation ═══════════════════════ */

/* ⚠ `sticky` laisse la nav DANS le flux : elle forme alors une bande opaque
   au-dessus de la photographie au lieu de flotter dessus. En `fixed` elle se
   superpose, et ce sont les rembourrages hauts de `.hero` et `.page` qui
   degagent la place. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease);
}
.nav[data-stuck] {
  background: var(--nav-veil);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav[data-stuck] { background: var(--nav-solid); }
}

.nav__in { display: flex; align-items: center; gap: var(--s-6); min-height: 76px; }
.mark { display: inline-flex; align-items: center; gap: var(--s-3); flex: none; }
.mark__glyph { width: 26px; height: 26px; }
.mark__word {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 650; letter-spacing: -0.04em;
  color: var(--on-canvas);
}

.nav__burger {
  display: none; margin-left: auto;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
  color: var(--on-canvas); cursor: pointer;
}

.nav__menu { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
/* ⚠ `:not(.btn)` n'est pas cosmétique : sans lui cette règle est plus
   spécifique que `.btn--go` et repeint le bouton d'action. */
.nav__menu > a:not(.btn) {
  color: var(--soft); font-size: var(--fs-small); font-weight: 500;
  transition: color var(--t-micro) var(--ease);
}
.nav__menu > a:not(.btn):hover,
.nav__menu > a:not(.btn)[aria-current="page"] { color: var(--on-canvas); }
/* La classe .nav__quiet a ete retiree du balisage : "Log in" est devenu un
   bouton, pour faire PAIRE avec "Open an account". Les deux actions de compte
   se lisaient sinon comme un lien de navigation de plus (14px/500, sans
   contour) colle a une pilule lime de 42px - mesure dans le navigateur, pas
   suppose.
   La regle qui vivait ici etait de toute facon morte : le selecteur
   .nav__menu > a:not(.btn) est plus specifique et ecrasait sa graisse. */

/* ═══════════════════════ 1. le hero ═══════════════════════
   Une photographie, et sur elle : un titre, une ligne, un bouton. Rien
   d'autre. C'est la contrainte la plus dure du lot et c'est elle qui fait la
   différence — un hero chargé n'est jamais premium. */

.hero {
  position: relative;
  display: grid; align-content: center;
  min-height: min(90vh, 820px);
  padding: clamp(96px, 13vw, 180px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 26%;
  display: block;
  /* La photographie est étalonnée à la marque : son ciel est bleu à
     l'origine, une teinte que le système ne possède pas. */
  filter: saturate(0.9) contrast(1.04);
}
.hero__tint {
  position: absolute; inset: 0;
  background: var(--canvas);
  mix-blend-mode: color;
  /* Au-dela de ~0.45 la carnation vire au gris-vert et on perd ce qui rend
     la photographie bonne. Le ciel bleu, lui, bascule des 0.35. */
  opacity: 0.4;
  pointer-events: none;
}
@supports not (mix-blend-mode: color) { .hero__tint { opacity: 0.4; } }
.hero__scrim { position: absolute; inset: 0; background: var(--scrim-photo); pointer-events: none; }

/* ⚠ `.hero__in` porte aussi `.wrap`, qui centre par marges automatiques.
   Lui donner un `max-width` etroit ne resserre donc pas le texte : ca centre
   tout le bloc au milieu de la page. La contrainte va sur le texte lui-meme. */
.hero__in {
  position: relative; z-index: 1;
}
.hero h1 { max-width: 13ch; margin-bottom: var(--s-6); }
.hero .lead { max-width: 32ch; margin-bottom: var(--s-8); color: var(--on-canvas); opacity: 0.9; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-6); }

/* ═══════════════════════ 2. le mécanisme ═══════════════════════
   Le convertisseur n'est pas un gadget posé dans un coin : c'est le produit.
   Il occupe donc un bloc entier, et il est grand. */

.desk { padding: var(--section-y) 0; border-bottom: 1px solid var(--line); }
.desk__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-6); margin-bottom: var(--s-8); }
.desk__head h2 { max-width: 16ch; }

.cv__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--s-7);
  align-items: start;
}
/* ⚠ `min-width: 0` partout où un contrôle de formulaire est en jeu. Sans ça,
   le sélecteur de devise — large comme sa plus longue option — impose sa
   taille à la colonne, la colonne à la page, et tout déborde à 360px. */
.cv__side { display: grid; gap: var(--s-4); min-width: 0; }
.cv__label { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.cv__field {
  display: flex; align-items: center; gap: var(--s-3);
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: var(--s-3);
  min-width: 0;
  transition: border-color var(--t-micro) var(--ease);
}
.cv__field:focus-within { border-bottom-color: var(--lime); }

/* 16px minimum : en dessous, Safari iOS zoome au focus. */
.cv__input {
  flex: 1; min-width: 0;
  background: none; border: none; color: var(--on-canvas);
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 550; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  padding: 0;
}
.cv__input:focus:not(:focus-visible) { outline: none; }
.cv__input::-webkit-outer-spin-button,
.cv__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cv__input { -moz-appearance: textfield; }
.cv__field--out .cv__input { cursor: default; color: var(--lime); }

/* Le `<select>` natif, tel quel — c'est ce qu'on voit sans JavaScript. */
.cv__select {
  flex: 0 1 auto; min-width: 0; max-width: 46%;
  background: var(--canvas-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--on-canvas);
  font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 600;
  padding: var(--s-2) var(--s-4);
  min-height: 42px; cursor: pointer;
}
.cv__select:focus { border-color: var(--lime); }
.cv__select:focus:not(:focus-visible) { outline: none; }

/* ─── sélecteur maison ───
   Une fois la surcouche montée, le natif sort du rendu mais reste dans le
   DOM : c'est lui qui porte la valeur, et `converter.js` ne voit pas la
   différence. */
.fsel { position: relative; flex: 0 1 auto; min-width: 0; }
.fsel__native {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); border: 0;
}
.fsel__btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  max-width: 100%; min-height: 42px;
  padding: var(--s-2) var(--s-4);
  background: var(--canvas-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--on-canvas);
  font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t-micro) var(--ease);
}
.fsel__btn:hover { border-color: var(--lime); }
.fsel__btn::after {
  content: ""; flex: none; margin-left: var(--s-1);
  width: 7px; height: 7px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-micro) var(--ease);
}
.fsel__btn[aria-expanded="true"]::after { transform: rotate(225deg) translateY(-1px); }
.fsel__name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--mute); font-weight: 400;
}

.fsel__list {
  position: absolute; z-index: 40; top: calc(100% + var(--s-2)); left: 0;
  min-width: 232px; max-height: 288px; overflow-y: auto;
  padding: var(--s-2);
  background: var(--canvas-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  box-shadow: var(--lift-dark);
}
.fsel__opt {
  display: flex; align-items: baseline; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: 10px;
  font-size: var(--fs-small);
  cursor: pointer;
}
.fsel__opt b { font-weight: 600; min-width: 42px; }
.fsel__opt span { color: var(--mute); }
.fsel__opt.is-active { background: var(--canvas-high); }
.fsel__opt[aria-selected="true"] b { color: var(--lime); }
/* 🔴 L'état indisponible ne tient pas qu'à l'opacité : le curseur change et
   le clic ne fait rien. */
.fsel__opt[aria-disabled="true"] { opacity: 0.4; cursor: default; }

.cv__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: var(--fs-small); color: var(--mute); }
.cv__rail { color: var(--lime); font-weight: 600; }

.cv__mid { display: grid; justify-items: center; gap: var(--s-4); padding-top: var(--s-8); min-width: 128px; }
.cv__swap {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
  color: var(--on-canvas); cursor: pointer;
  transition: border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.cv__swap:hover { border-color: var(--lime); color: var(--lime); }
.cv__held { display: grid; justify-items: center; gap: var(--s-1); text-align: center; }
.cv__heldk { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.cv__heldv { font-size: var(--fs-small); color: var(--soft); font-variant-numeric: tabular-nums; }
.cv__heldv b { color: var(--gold); font-size: 19px; }

.cv__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6);
  margin-top: var(--s-8); padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}
.cv__rate { font-weight: 600; font-variant-numeric: tabular-nums; }
.cv__source { color: var(--mute); }
.cv__go { margin-left: auto; }

/* ═══════════════════════ 3. les rails ═══════════════════════
   Sept rails en une rangée typographique. Pas de cartes : les noms sont
   l'information, et ils sont grands. */

.railband { padding: var(--section-y) 0; border-bottom: 1px solid var(--line); }
.railband__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--s-8); }
/* `display: grid` n'est pas cosmetique : sans lui les deux `<span>` du rail
   restent en ligne et « SEPA » se colle a « Euro area ». */
.rail {
  display: grid; gap: var(--s-2); align-content: start;
  padding: var(--s-6) var(--s-5) var(--s-6) 0;
  border-top: 1px solid var(--line);
}
.rail__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 550; letter-spacing: -0.03em;
  line-height: 1.1;
}
.rail__geo { font-size: var(--fs-small); color: var(--mute); margin-top: var(--s-2); }

/* ═══════════════════════ 4. les corridors ═══════════════════════ */

.corr { padding: var(--section-y) 0; border-bottom: 1px solid var(--line); }
.corr__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: center; margin-top: var(--s-8); }
.wmap { width: 100%; height: auto; display: block; }
.corr__grid > div:first-child { min-width: 0; }
.wmap__land circle { fill: var(--line-strong); }
.wmap__served circle { fill: var(--lime); }

/* Les listes de devises existent en trois formes : l'accueil (place / rail /
   delai), Solutions (code / rail / zone) et Transfers (symbole / place /
   rail / delai / etat). Les deux premieres partagent la meme grille a trois
   colonnes — reperee, libellee, valeur a droite — et les `li` de Solutions
   n'ont pas de classe, d'ou le selecteur par element. */
.dest { display: grid; }
.dest > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline; gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}
.dest > li > span:nth-child(2) { color: var(--on-canvas); font-weight: 600; }
.dest > li > em {
  font-style: normal; color: var(--mute);
  text-align: right; white-space: nowrap;
}
.dest__place { font-size: var(--fs-lead); font-weight: 600; }
.dest__rail { font-size: var(--fs-small); color: var(--soft); }
.dest__when { font-size: var(--fs-small); color: var(--mute); text-align: right; }

/* ═══════════════════════ 5. la preuve — bande claire ═══════════════════════ */

.proof { background: var(--canvas); color: var(--on-canvas); padding: var(--section-y) 0; }
.proof__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); margin-top: var(--s-8); }
.card {
  background: var(--canvas-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--lift);
  padding: var(--s-7);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--soft); font-size: var(--fs-small); }
/* ⚠ `.card p` (0,1,1) est plus specifique que `.card__who` (0,1,0) et
   ecrasait sa taille. Meme piege que la nav : une media query ou un ordre de
   declaration n'y change rien, il faut la specificite. */
.card .card__who {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600; letter-spacing: -0.03em;
  color: var(--on-canvas);
  margin-bottom: var(--s-4);
}

.checks { display: grid; gap: var(--s-4); margin-top: var(--s-8); }
.checks li { position: relative; padding-left: var(--s-7); color: var(--soft); }
/* Trait, pas coche ronde. */
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 20px; height: 2px; background: var(--action);
}
.checks b { color: var(--on-canvas); }
/* Sans ca, le paragraphe de conclusion se colle a la derniere puce. */
.checks + p, .checks + .lead { margin-top: var(--s-6); }
.split__copy > p + p { margin-top: var(--s-4); }

/* ═══════════════════════ 6. les questions ═══════════════════════ */

.faq { padding: var(--section-y) 0; }
.faq__list { display: grid; margin-top: var(--s-8); }
.q { border-top: 1px solid var(--line); }
.q summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  cursor: pointer; list-style: none;
  padding: var(--s-6) 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3); font-weight: 550; letter-spacing: -0.02em;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: ""; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-micro) var(--ease);
}
.q[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.q p { color: var(--soft); max-width: 68ch; padding-bottom: var(--s-6); }

/* ═══════════════════════ 7. la clôture ═══════════════════════
   Le seul dégradé du site. Le texte posé dessus est en encre, vérifié aux
   deux extrémités : 11.8:1 sur le lime, 9.1:1 sur le jaune. */

.close {
  background: var(--close-grad);
  color: var(--on-lime);
  border-radius: var(--r-large);
  margin: 0 var(--gutter) var(--s-10);
  padding: var(--section-y) var(--gutter);
}
.close__in { max-width: var(--maxw); margin: 0 auto; }
.close h2 { max-width: 14ch; margin-bottom: var(--s-5); }
.close p { max-width: 44ch; margin-bottom: var(--s-8); opacity: 0.78; font-size: var(--fs-lead); }

/* ═══════════════════════ pied de page ═══════════════════════ */

.foot { padding: var(--s-10) 0 var(--s-8); border-top: 1px solid var(--line); }
.foot__cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-8); padding-bottom: var(--s-8); }
.foot__brand p { color: var(--mute); font-size: var(--fs-small); margin-top: var(--s-4); max-width: 32ch; }
.foot__cols nav { display: grid; gap: var(--s-3); align-content: start; }
.foot__cols h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-micro); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-canvas); margin: 0 0 var(--s-2);
}
.foot__cols nav a { color: var(--mute); font-size: var(--fs-small); }
.foot__cols nav a:hover { color: var(--lime); }
.foot__legal { display: grid; gap: var(--s-4); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.foot__co, .foot__risk, .foot__copy { font-size: 13px; color: var(--mute); }
.foot__co strong { color: var(--soft); }
.foot__risk { max-width: 96ch; line-height: 1.55; }

/* ═══════════════════════ pages internes ═══════════════════════ */

.page { padding: clamp(96px, 12vw, 160px) 0 var(--s-8); }
.page h1 { font-size: var(--fs-h2); margin-bottom: var(--s-5); max-width: 20ch; }
.sec { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.sec__head { margin-bottom: var(--s-8); }
.sec__head h2 { margin-bottom: var(--s-5); max-width: 20ch; }

.prose h2 { font-size: var(--fs-h3); margin: var(--s-8) 0 var(--s-4); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--s-4); color: var(--soft); max-width: 72ch; }
.prose strong { color: var(--on-canvas); }
.prose ul, .prose ol { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.prose li { color: var(--soft); padding-left: var(--s-7); position: relative; max-width: 72ch; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 20px; height: 2px; background: var(--lime);
}
.prose a { color: var(--lime); border-bottom: 1px solid transparent; }
.prose a:hover { border-bottom-color: currentColor; }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; }
.numbered li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: auto; height: auto; background: none;
  font-size: var(--fs-small); font-weight: 600; color: var(--lime);
}

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: center; }

.shot { margin: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.shot img { display: block; width: 100%; height: auto; }

/* ═══════════════════════ formulaire ═══════════════════════ */

.form { display: grid; gap: var(--s-6); }
.form__row { display: grid; gap: var(--s-2); }
.form__label { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.form__opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.form__input {
  background: var(--canvas-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
  color: var(--on-canvas);
  font-family: var(--font-sans); font-size: var(--fs-body);
  padding: var(--s-4); min-height: 52px; width: 100%;
}
.form__input:focus { border-color: var(--lime); }
.form__input:focus:not(:focus-visible) { outline: none; }
.form__area { resize: vertical; min-height: 140px; }
.form__legal { font-size: 13px; color: var(--mute); }
.form__legal a { color: var(--lime); }

/* ═══════════════════════ apparitions ═══════════════════════ */

.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--t-enter) var(--ease) var(--d, 0ms),
              transform var(--t-enter) var(--ease) var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════ adaptations ═══════════════════════ */

@media (max-width: 1040px) {
  .corr__grid, .split { grid-template-columns: 1fr; gap: var(--s-8); }
  .railband__list { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .desk__head { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .cv__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .cv__mid { flex-direction: row; padding-top: 0; min-width: 0; grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--s-5); }
  .cv__held { justify-items: start; text-align: left; }
  .cv__select { max-width: 50%; }
  .cv__go { margin-left: 0; width: 100%; }
  /* ─── hero mobile : plein écran ───
     « The mechanism » ne doit apparaître qu'après un défilement, donc
     l'image occupe toute la hauteur. `svh` et non `vh` : sur iOS, `100vh`
     compte la barre d'adresse rétractée et coupe le bas du bloc.
     Le texte descend en bas et s'espace : groupé au centre il laissait les
     deux tiers de l'écran vides. */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-content: end;
    padding-top: calc(76px + var(--s-9));
    padding-bottom: var(--s-10);
  }
  .hero__img { object-position: 52% 20%; }
  .hero__scrim { background: var(--scrim-photo-tall); }
  /* Ancre en bas, avec de l'air entre les trois elements : le bloc occupe le
     tiers inferieur et l'appel a l'action tombe sous le pouce. Un
     `min-height` en `svh` sur le bloc interieur donnait un resultat qui
     variait selon la hauteur de fenetre — ici les marges sont explicites. */
  .hero h1 { max-width: 11ch; margin-bottom: var(--s-7); }
  .hero .lead { max-width: 30ch; margin-bottom: var(--s-8); }
  .hero__cta { gap: var(--s-5); }
}

@media (max-width: 760px) {
  .nav__burger { display: inline-flex; }
  .nav__in { position: relative; flex-wrap: wrap; min-height: 68px; }
  .nav__menu {
    display: none;
    position: absolute; top: calc(100% + var(--s-3)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--s-4);
    background: var(--canvas-raised);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-card);
    box-shadow: var(--lift-dark);
    padding: var(--s-5); margin-left: 0;
  }
  .nav__menu.open { display: flex; }
  .nav__menu .btn { width: 100%; }

  .railband__list, .rails, .grid2, .grid3 { grid-template-columns: 1fr; }
  .proof__grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; gap: var(--s-6); }
  .dest__row { grid-template-columns: 1fr auto; }
  .dest__when { grid-column: 2; }
  .close { margin-left: var(--s-4); margin-right: var(--s-4); padding-left: var(--s-5); padding-right: var(--s-5); }
}


/* ═══════════════════════ pages internes — composants ═══════════════════════
   Ce que les huit pages de contenu utilisent et que l'accueil n'a pas. */

.band { background: var(--canvas); color: var(--on-canvas); padding: var(--section-y) 0; }
.split--flip .split__copy { order: 2; }
.split--flip .split__art { order: 1; }

/* Repere numerote : carre arrondi, jamais rond. */
.card__n {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 34px;
  margin-bottom: var(--s-5);
  border-radius: 10px;
  background: var(--lime-soft);
  border: 1px solid var(--line-strong);
  color: var(--lime);
  font-size: var(--fs-small); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
[data-band="light"] .card__n { color: var(--action); }

/* Grille de rails avec code devise (page Coverage). */
.rails { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.rails .rail {
  display: grid; gap: var(--s-2);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--canvas-raised);
}
.rail__code {
  justify-self: start;
  padding: var(--s-1) var(--s-3);
  border-radius: 10px;
  background: var(--lime);
  color: var(--on-lime);
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.06em;
}
.rail--more { border-style: dashed; }
.rail--more .rail__name { color: var(--soft); }

/* Liste de destinations (page Transfers) — cinq colonnes au lieu de trois.
   ⚠ Le selecteur doit inclure `.dest > li`, sinon la regle de base, plus
   specifique, l'emporte et les cinq cellules se replient sur deux lignes. */
.dest > li.dest__row--full {
  grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
}
/* Le pays et sa devise s'empilent : ce sont deux `<span>` en ligne sinon. */
.dest__place b, .dest__place em { display: block; font-style: normal; }
.dest__place b { font-size: var(--fs-body); font-weight: 600; }
.dest__place em { font-size: 13px; color: var(--mute); }
.dest__sym {
  display: grid; place-items: center;
  min-width: 48px; height: 38px; padding: 0 var(--s-3);
  border-radius: 10px;
  background: var(--brand, var(--lime));
  color: var(--on-lime);
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
}
/* Sur les deux marques sombres (bleu SEPA, bleu Faster Payments), l'encre
   ne passe pas : on repasse en clair. */
.dest__row[style*="scheme-sepa"] .dest__sym,
.dest__row[style*="scheme-fps"] .dest__sym { color: var(--bg-light); }
/* 🔴 La couleur ne porte jamais seule : l'etat est ecrit a cote. */
.dest__state {
  justify-self: end;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--mute);
}
.dest__state--live { border-color: var(--success); color: var(--success); }

/* Carte de solde (page Solutions).
   ⚠ Les trois lignes sont des `<span>`, donc en ligne par defaut : elles se
   suivaient sur une seule ligne. La carte qui les porte les empile. */
.card > .flowcard__k,
.card > .flowcard__v,
.card > .flowcard__u { display: block; }
.flowcard__k { font-size: 13px; color: var(--mute); }
.flowcard__v {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px); font-weight: 550; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.flowcard__u { font-size: var(--fs-small); color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.flowcard__rows { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.flowcard__rows li {
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-size: var(--fs-small); color: var(--soft);
  padding-bottom: var(--s-3); border-bottom: 1px solid var(--line);
}
.flowcard__rows li:last-child { border-bottom: none; padding-bottom: 0; }
.flowcard__rows + .note { margin-top: var(--s-5); }
.flowcard__rows b { color: var(--on-canvas); font-variant-numeric: tabular-nums; }

/* Faits en vis-a-vis (page About). */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-8); }
.facts dt { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; margin-bottom: var(--s-3); }
.facts dd { margin: 0; color: var(--soft); max-width: 54ch; }

/* Ecran d'application (page Transfers). */
.phone {
  max-width: 320px; margin: 0 auto;
  background: var(--canvas-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-large);
  box-shadow: var(--lift-dark);
  padding: var(--s-4);
}
.phone__bar { width: 80px; height: 4px; border-radius: var(--r-pill); background: var(--line-strong); margin: 0 auto var(--s-4); }
.phone__screen { background: var(--canvas); border-radius: var(--r-card); padding: var(--s-5); }
.phone__k { font-size: 12px; color: var(--mute); }
.phone__v {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 550; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums; margin-top: 2px;
}
.phone__u { font-size: 12px; color: var(--gold); margin-bottom: var(--s-5); font-variant-numeric: tabular-nums; }
.phone__row {
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-size: var(--fs-small); color: var(--soft);
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.phone__row b { color: var(--on-canvas); }
.phone__row:last-of-type { border-bottom: none; }
.phone__cta {
  display: block; margin-top: var(--s-5); padding: var(--s-4);
  text-align: center; border-radius: var(--r-control);
  background: var(--lime); color: var(--on-lime); font-weight: 600;
}

@media (max-width: 1040px) { .rails { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .split--flip .split__copy, .split--flip .split__art { order: 0; }
  .dest > li.dest__row--full { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: var(--s-2); }
  .dest__row--full .dest__rail,
  .dest__row--full .dest__when { grid-column: 2 / -1; text-align: left; }
}
