/* =========================================================================
   BABESO PAY — Design system v1  « Vendez léger. »
   Papier ivoire + encre + un seul accent : vermillon (le poids qu'on porte).
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --paper: #F4F0E8;
  --paper-2: #ECE6DA;
  --paper-3: #E2DACB;
  --card: #FBF9F4;

  --ink: #15140F;
  --ink-2: #3B392F;
  --muted: #6F6A5D;
  --line: rgba(21, 20, 15, .12);
  --line-strong: rgba(21, 20, 15, .24);

  --night: #100F0B;
  --night-2: #1B1A15;
  --night-3: #26241D;
  --night-line: rgba(244, 240, 232, .12);
  --on-night: #F4F0E8;
  --on-night-muted: #A8A293;

  --vermillon: #FF4A1C;
  --vermillon-deep: #B8320C;
  --vermillon-soft: #FFE3D8;

  --ok: #1F8A5B;
  --ok-soft: #DCEFE4;
  --warn: #B57A00;
  --warn-soft: #F6EACB;

  --f-display: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-xs: 4px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-1: 0 1px 0 rgba(21, 20, 15, .04), 0 1px 3px rgba(21, 20, 15, .06);
  --shadow-2: 0 1px 0 rgba(21, 20, 15, .04), 0 18px 40px -18px rgba(21, 20, 15, .28);
  --shadow-3: 0 30px 80px -30px rgba(21, 20, 15, .45);

  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --header-h: 68px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--vermillon); color: var(--ink); }

/* Grain papier (très léger) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

:focus-visible { outline: 2px solid var(--vermillon); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-pill);
  font-size: 14px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--paper2 { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .text-muted, .section--night .lead { color: var(--on-night-muted); }
.section--rule { border-top: 1px solid var(--line); }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 16px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, 12px); }

.grid { display: grid; gap: var(--grid-gap, 20px); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--grid-gap, 20px); grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Typographie ---------- */
.display, .h1, .h2, .h3-serif {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display { font-size: clamp(3.4rem, 10vw, 8.5rem); line-height: .9; }
.h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: .95; }
.h2 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); line-height: 1; }
.h3-serif { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.display em, .h1 em, .h2 em, .h3-serif em { font-style: italic; color: var(--vermillon); }
.section--night .display em, .section--night .h1 em, .section--night .h2 em { color: var(--vermillon); }

.h3 { font-family: var(--f-sans); font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.h4 { font-family: var(--f-sans); font-size: 1rem; line-height: 1.4; font-weight: 600; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.text-muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.tiny { font-size: 12.5px; line-height: 1.45; }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum" 1, "zero" 0; letter-spacing: -0.01em; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.accent { color: var(--vermillon-deep); }
.section--night .accent { color: var(--vermillon); }

/* Eyebrow numéroté : « 01 — Le transfert » */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--vermillon); flex: none; }
.section--night .eyebrow { color: var(--on-night-muted); }

.link { color: var(--vermillon-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }
.section--night .link { color: var(--vermillon); }
.section--night .link:hover { color: var(--on-night); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-sans); font-size: 15.5px; font-weight: 550; letter-spacing: -0.005em; line-height: 1;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn--primary:hover { --btn-bg: var(--vermillon); --btn-fg: var(--ink); --btn-bd: var(--vermillon); }
.btn--accent { --btn-bg: var(--vermillon); --btn-fg: var(--ink); --btn-bd: var(--vermillon); }
.btn--accent:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--ghost:hover { --btn-bd: var(--ink); --btn-bg: rgba(21, 20, 15, .04); }
.section--night .btn--ghost, .btn--ghost-night { --btn-fg: var(--on-night); --btn-bd: var(--night-line); }
.section--night .btn--ghost:hover, .btn--ghost-night:hover { --btn-bd: var(--on-night); --btn-bg: rgba(244, 240, 232, .06); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 11.5px; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}
.badge--ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge--warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge--accent { background: var(--vermillon-soft); color: var(--vermillon-deep); border-color: transparent; }
.badge--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.badge--night { background: var(--night-3); color: var(--on-night-muted); border-color: var(--night-line); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.check-list { display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.check-list li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%23F4F0E8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/18px no-repeat;
}
.section--night .check-list li::before { background-color: var(--vermillon); }
.x-list { display: grid; gap: 10px; }
.x-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.x-list li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--paper-3) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%233B392F' stroke-width='1.6' stroke-linecap='round'/></svg>") center/18px no-repeat;
}

/* ---------- Cartes ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-1);
}
.card--flat { box-shadow: none; }
.card--paper2 { background: var(--paper-2); }
.card--ink { background: var(--ink); color: var(--on-night); border-color: var(--ink); }
.card--night { background: var(--night-2); color: var(--on-night); border-color: var(--night-line); box-shadow: none; }
.card--accent { background: var(--vermillon); color: var(--ink); border-color: var(--vermillon); }
.card__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.card--night .card__num, .card--ink .card__num { color: var(--on-night-muted); }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card--night .card__icon { background: var(--vermillon); color: var(--ink); }

/* Le contrepoids : disque vermillon signature */
.weight {
  --size: 64px;
  width: var(--size); height: var(--size); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FF7A55 0%, var(--vermillon) 45%, #D93A10 100%);
  box-shadow: inset -6px -8px 16px rgba(0, 0, 0, .18), 0 14px 30px -10px rgba(217, 58, 16, .55);
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(244, 240, 232, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(244, 240, 232, .92); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__cta { display: flex; align-items: center; gap: 10px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__word { display: inline-flex; align-items: center; font-family: var(--f-sans); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1; }
.brand__pay {
  margin-left: 7px; padding: 4px 6px 3px; border: 1px solid currentColor; border-radius: 5px;
  font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .16em; line-height: 1;
  color: var(--vermillon-deep);
}
.site-footer .brand, .section--night .brand { color: var(--on-night); }
.site-footer .brand__pay, .section--night .brand__pay { color: var(--vermillon); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  display: inline-flex; padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { background: rgba(21, 20, 15, .06); color: var(--ink); }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.nav__toggle span:not(.visually-hidden) {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.site-header.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-header.is-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-block; }
  .site-header__cta .btn { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: var(--header-h); }
  .nav__links {
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0 var(--gutter); padding: 10px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow-2);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav__links a { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .nav__links .nav__cta-mobile { display: block; padding: 8px 6px 4px; }
  .nav__links .nav__cta-mobile .btn { width: 100%; display: inline-flex; }
  .site-header.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
}
@media (min-width: 901px) { .nav__cta-mobile { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding: clamp(64px, 8vw, 104px) 0 36px; position: relative; overflow: hidden; }
.site-footer a { color: var(--on-night-muted); transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--on-night); }
.site-footer__top { display: grid; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--night-line); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.1fr 1.6fr; } }
.site-footer__brand { display: grid; gap: 20px; align-content: start; }
.site-footer__tagline { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.01em; }
.site-footer__tagline em { color: var(--vermillon); }
.site-footer__cols { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-footer__cols h2 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 16px; }
.site-footer__cols ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; overflow-wrap: anywhere; }
.site-footer a.btn, .site-footer a.btn:hover { color: var(--btn-fg); }
.site-footer__legal { padding-top: 28px; display: grid; gap: 10px; font-size: 12.5px; line-height: 1.6; color: var(--on-night-muted); max-width: 980px; }
.site-footer__legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 720px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 14px; font-weight: 550; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px;
  font-size: 16px; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%2315140F' stroke-width='1.5' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
.input::placeholder, .textarea::placeholder { color: #9C9688; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 74, 28, .18); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--vermillon-deep); }
.field .error { font-size: 13px; color: var(--vermillon-deep); }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .choice-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card);
  font-family: var(--f-mono); font-size: 13.5px; transition: all .2s var(--ease);
}
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(255, 74, 28, .25); }

/* ---------- FAQ (details/summary) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 550; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M6 1v10M1 6h10' fill='none' stroke='%2315140F' stroke-width='1.4' stroke-linecap='round'/></svg>") center/12px no-repeat;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--vermillon); border-color: var(--vermillon); }
.faq .faq__body { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 75ch; }
.faq .faq__body p + p { margin-top: 10px; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.table { min-width: 560px; font-size: 15px; }
.table th, .table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 550; color: var(--ink); }
.table .is-us { background: rgba(255, 74, 28, .06); }

/* ---------- Callouts ---------- */
.notice { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.notice::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--ink); }
.notice--accent { background: var(--vermillon-soft); border-color: rgba(184, 50, 12, .18); }
.notice--accent::before { background: var(--vermillon); }
.notice--warn { background: var(--warn-soft); border-color: rgba(181, 122, 0, .2); }
.notice--warn::before { background: var(--warn); }

/* ---------- Défilement (bande moyens de paiement) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.marquee__item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vermillon); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pages légales ---------- */
.legal-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.legal-hero .h1 { margin-top: 18px; max-width: 18ch; }
.legal-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.tldr {
  margin-top: 36px; padding: clamp(22px, 3vw, 30px); border-radius: var(--r);
  background: var(--ink); color: var(--on-night); display: grid; gap: 14px; max-width: 860px;
}
.tldr__title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--vermillon); }
.tldr ul { display: grid; gap: 8px; padding-left: 18px; color: rgba(244, 240, 232, .88); font-size: 15.5px; }
.tldr li::marker { color: var(--vermillon); }

.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: clamp(40px, 6vw, 72px) var(--section-y); }
.legal-grid > * { min-width: 0; }
@media (min-width: 1024px) { .legal-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; } }
.legal-toc { align-self: start; }
@media (min-width: 1024px) { .legal-toc { position: sticky; top: calc(var(--header-h) + 28px); max-height: calc(100vh - var(--header-h) - 56px); overflow: auto; } }
.legal-toc__title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc ol { list-style: none; padding: 0; display: grid; gap: 2px; counter-reset: toc; border-left: 1px solid var(--line); }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: grid; grid-template-columns: 28px 1fr; padding: 7px 0 7px 14px; margin-left: -1px;
  font-size: 14px; line-height: 1.4; color: var(--muted); border-left: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: 11.5px; padding-top: 2px; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.is-active { color: var(--ink); border-left-color: var(--vermillon); }
@media (max-width: 1023px) {
  .legal-toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 18px 20px; }
}

.legal-body { max-width: 760px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; counter-reset: article; }
.legal-body > section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-body > section:last-child { border-bottom: 0; }
.legal-body h2 {
  counter-increment: article;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.3rem); line-height: 1.1;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px; text-wrap: balance;
}
.legal-body h2::before { content: counter(article, decimal-leading-zero); display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--vermillon-deep); margin-bottom: 10px; }
.legal-body h3 { font-family: var(--f-sans); font-size: 1.06rem; font-weight: 600; color: var(--ink); margin: 26px 0 10px; letter-spacing: -0.005em; }
.legal-body p + p, .legal-body p + ul, .legal-body p + ol, .legal-body ul + p, .legal-body ol + p,
.legal-body .notice + p, .legal-body p + .notice, .legal-body .table-wrap + p, .legal-body p + .table-wrap,
.legal-body ul + .table-wrap, .legal-body .table-wrap + ul, .legal-body .notice + ul, .legal-body ul + .notice { margin-top: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--vermillon-deep); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a:not(.btn) { color: var(--vermillon-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-body a:not(.btn):hover { color: var(--ink); }
.legal-body .table { min-width: 520px; font-size: 14.5px; }
.legal-body dl { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.legal-body dl > div { display: grid; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.legal-body dl > div:last-child { border-bottom: 0; }
@media (min-width: 720px) { .legal-body dl > div { grid-template-columns: 210px minmax(0, 1fr); gap: 28px; } }
.legal-body dt { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); padding-top: 2px; }
.legal-body dd { margin: 0; color: var(--ink); }

.legal-related { margin-top: 12px; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .legal-related { grid-template-columns: repeat(2, 1fr); } }
.legal-related a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  color: var(--ink) !important; text-decoration: none !important; font-weight: 550; font-size: 15px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.legal-related a::after { content: "→"; color: var(--vermillon-deep); }
.legal-related a:hover { border-color: var(--ink); transform: translateY(-1px); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.maxw-50 { max-width: 50ch; } .maxw-60 { max-width: 60ch; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--night .divider { background: var(--night-line); }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }

/* ---------- Logo (SVG inline) ---------- */
.bm-tile { fill: var(--ink); }
.bm-light { fill: var(--paper); }
.bm-weight { fill: var(--vermillon); }
.site-footer .bm-tile, .section--night .bm-tile { fill: var(--paper); }
.site-footer .bm-light, .section--night .bm-light { fill: var(--ink); }
