/* Coco Lame Pay
   Sable #F3F0E8, encre #0C1411, vert #0D5C46, citron #D2F36B.
   Geist pour le texte, Instrument Serif italique pour les mots d'accent. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/geist.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/geist-mono.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif.woff2) format('woff2'); }

:root {
  --sand: #F3F0E8;
  --sand-2: #ECE8DD;
  --paper: #FFFFFF;
  --ink: #0C1411;
  --ink-2: #26302C;
  --muted: #5A6560;
  --muted-2: #7D8782;
  --line: #E0DBCF;
  --line-2: #D3CDBF;
  --green: #0D5C46;
  --green-2: #0A4837;
  --green-soft: #E3EEE8;
  --lime: #D2F36B;
  --lime-2: #C3E85A;
  --night: #0B1310;
  --night-2: #121C18;
  --night-line: rgba(255,255,255,.09);
  --night-text: #E9EEEA;
  --night-muted: #98A59F;
  --red: #B4442E;

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 1px 0 rgba(12,20,17,.04), 0 12px 32px -12px rgba(12,20,17,.18);
  --shadow-lg: 0 1px 0 rgba(12,20,17,.04), 0 30px 70px -24px rgba(12,20,17,.32);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 550; font-size: 15px; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--green); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-night { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.btn--ghost-night:hover { border-color: #fff; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn svg { flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; color: var(--green); }
.link-arrow::after { content: '\2192'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(243,240,232,.78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.03em; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__sub { color: var(--muted-2); font-weight: 500; margin-left: -5px; }
.logo--light { color: #fff; }
.logo--light .logo__sub { color: var(--night-muted); }
.nav__links { display: flex; gap: 4px; margin-left: 12px; }
.nav__links a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { background: rgba(12,20,17,.06); color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__cta .btn { height: 40px; font-size: 14.5px; }
.nav__link { padding: 8px 14px; font-size: 14.5px; color: var(--ink-2); }
.nav__link:hover { color: var(--ink); }
.nav__burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.nav__mobile { display: none; border-top: 1px solid var(--line); background: var(--sand); }
.nav__mobile.open { display: block; }
.nav__mobile .wrap { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 22px; }
.nav__mobile a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.nav__mobile .btn { margin-top: 16px; }

/* ---------- sections ---------- */
.sec { padding: 120px 0; }
.sec--tight { padding: 64px 0; }
.sec--paper { background: var(--paper); }
.sec--night { background: var(--night); color: var(--night-text); }
.sec__head { max-width: 720px; margin-bottom: 56px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.sec--night .eyebrow { color: var(--lime); }
.sec__title { font-size: clamp(32px, 4.4vw, 52px); }
.sec__lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 640px; }
.sec__head--center .sec__lead { margin-left: auto; margin-right: auto; }
.sec--night .sec__lead { color: var(--night-muted); }

/* ---------- accueil ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); opacity: .55; pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 620px; height: 620px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(210,243,107,.55), rgba(210,243,107,0) 65%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); box-shadow: 0 1px 0 rgba(12,20,17,.03); }
.hero__badge b { font-weight: 600; color: var(--ink); }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--green); color: #fff; font: 500 11.5px/1 var(--mono); letter-spacing: .04em; }
.hero h1 { margin-top: 26px; font-size: clamp(44px, 6.6vw, 82px); letter-spacing: -0.045em; line-height: .98; }
.hero h1 em { display: inline-block; font-size: 1.08em; color: var(--green); letter-spacing: -0.02em; }
.hero__lead { margin-top: 26px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { color: var(--green); }

/* maquette du checkout */
.stage { position: relative; padding-bottom: 40px; }
.mock { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock--checkout { width: 100%; max-width: 420px; margin-left: auto; }
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FAF9F5; }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock__url { flex: 1; display: flex; align-items: center; gap: 6px; justify-content: center; height: 26px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--muted); }
.mock__url b { color: var(--ink); font-weight: 600; }
.mock__url svg { color: var(--green); }
.mock__body { padding: 26px 26px 22px; }
.mock__brand { display: flex; align-items: center; justify-content: space-between; }
.mock__merchant { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.02em; }
.mock__merchant i { width: 28px; height: 28px; border-radius: 8px; background: #1E3A5F; display: grid; place-items: center; color: #fff; font: 600 13px/1 var(--serif); font-style: italic; }
.mock__order { font: 500 12px/1 var(--mono); color: var(--muted-2); }
.mock__amount { margin: 22px 0 18px; padding: 16px 18px; border-radius: 12px; background: #F7F6F1; display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.mock__amount b { font-size: 26px; color: var(--ink); letter-spacing: -0.03em; font-weight: 650; }
.mock__apple { width: 100%; height: 46px; border: 0; border-radius: 10px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 15px; }
.mock__or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 12.5px; color: var(--muted-2); }
.mock__or::before, .mock__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.mock__field { height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--muted-2); }
.mock__field span { font-family: var(--mono); color: var(--ink-2); font-size: 13px; }
.mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mock__pay { margin-top: 16px; width: 100%; height: 48px; border: 0; border-radius: 10px; background: #1E3A5F; color: #fff; font-weight: 600; font-size: 15px; }
.mock__foot { margin-top: 16px; display: flex; align-items: center; justify-content: flex-start; gap: 6px; font-size: 12px; color: var(--muted-2); }
.mock__foot svg { color: var(--muted-2); }

.float { position: absolute; z-index: 2; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; }
.float--payout { right: -28px; bottom: -64px; width: 250px; animation: bob 7s ease-in-out infinite; }
.float--fee { left: 22px; top: 54px; width: 214px; animation: bob 8s ease-in-out -3s infinite; }
.float__top { display: flex; align-items: center; justify-content: space-between; font: 500 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.float__ok { display: inline-flex; align-items: center; gap: 5px; color: var(--green); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 550; font-size: 12px; }
.float__ok::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.float__big { margin-top: 10px; font-size: 24px; font-weight: 650; letter-spacing: -0.03em; }
.float__sub { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.float__lines { margin-top: 10px; display: grid; gap: 6px; font-size: 12.5px; }
.float__lines div { display: flex; justify-content: space-between; color: var(--muted); }
.float__lines b { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: 12px; }
.float__lines .tot { padding-top: 6px; border-top: 1px dashed var(--line-2); color: var(--ink); font-weight: 600; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* bandeau défilant */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; font-size: 14.5px; white-space: nowrap; color: var(--ink-2); }
.ticker__item svg { color: var(--green); }
@keyframes tick { to { transform: translateX(-50%); } }

/* moyens de paiement */
.methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.methods span { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.methods__lead { text-align: center; font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

/* étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.step { position: relative; padding: 34px 28px 36px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step__n { font: 500 13px/1 var(--mono); color: var(--green); display: flex; align-items: center; gap: 10px; }
.step__n::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.step h3 { margin-top: 26px; font-size: 20px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.step__time { margin-top: 18px; display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font: 500 12px/1.2 var(--mono); }

/* cartes */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 30px 28px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.card h3 { margin-top: 22px; font-size: 18.5px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* qui peut ouvrir */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.checks { display: grid; gap: 14px; margin-top: 32px; }
.checks li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 16px; color: var(--ink-2); }
.checks li::before { content: ''; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%23D2F36B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks--no li::before { background: var(--sand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23B4442E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }
.panel { padding: 34px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.panel h3 { font-size: 20px; }
.panel .checks { margin-top: 22px; }
.panel__foot { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

/* flux d'argent */
.ledger { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.ledger__rows { padding: 12px 34px; }
.ledger__row { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ledger__row:last-child { border-bottom: 0; }
.ledger__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--ink-2); }
.ledger__label { font-weight: 550; }
.ledger__label small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.ledger__amt { font: 600 17px/1 var(--mono); letter-spacing: -0.02em; }
.ledger__amt--neg { color: var(--muted); }
.ledger__row--total .ledger__ico { background: var(--lime); color: var(--ink); }
.ledger__row--total .ledger__amt { font-size: 22px; color: var(--green); }
.ledger__side { padding: 40px 36px; background: var(--night); color: var(--night-text); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.ledger__side h3 { font-size: 22px; color: #fff; }
.ledger__side p { color: var(--night-muted); font-size: 15px; margin-top: 10px; }
.timeline { display: grid; gap: 0; }
.timeline li { list-style: none; position: relative; padding: 0 0 18px 26px; font-size: 14.5px; color: var(--night-muted); }
.timeline li b { display: block; color: #fff; font-weight: 550; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--lime); }
.timeline li::after { content: ''; position: absolute; left: 5px; top: 18px; bottom: 0; width: 1px; background: var(--night-line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--lime); }
.timeline li:last-child::after { display: none; }

/* tarifs */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.price__main { padding: 44px; border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line); }
.price__val { font-size: clamp(56px, 7vw, 84px); font-weight: 650; letter-spacing: -0.05em; line-height: 1; color: #fff; }
.price__val small { display: block; margin-top: 14px; font-size: 17px; letter-spacing: -0.01em; font-weight: 450; color: var(--night-muted); }
.price__val .plus { color: var(--lime); }
.price__list { display: grid; gap: 14px; margin-top: 30px; }
.price__list li { list-style: none; display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--night-text); }
.price__list li svg { margin-top: 4px; color: var(--lime); }
.price__list b { color: #fff; font-weight: 600; }
.price__note { margin-top: 24px; font-size: 13.5px; color: var(--night-muted); }
.price__note a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.calcs { display: grid; gap: 16px; }
.calc { padding: 30px; border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line); }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; color: var(--night-muted); }
.calc__label b { font: 600 26px/1 var(--mono); letter-spacing: -0.03em; color: #fff; }
.calc input[type=range] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 22px 0 8px; border-radius: 999px; background: linear-gradient(90deg, var(--lime) var(--fill), rgba(255,255,255,.12) var(--fill)); cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--lime); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.calc input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--lime); }
.calc__rows { margin-top: 14px; display: grid; }
.calc__row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--night-line); font-size: 14.5px; color: var(--night-muted); }
.calc__row b { font: 500 15px/1.4 var(--mono); color: var(--night-text); }
.calc__row--total { color: #fff; font-weight: 550; }
.calc__row--total b { color: var(--lime); font-size: 18px; font-weight: 600; }
.calc__note { margin-top: 10px; font-size: 12.5px; color: var(--night-muted); }

/* sécurité */
.secure { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font: 500 12.5px/1 var(--mono); color: var(--ink-2); }
.sec--night .badge { background: rgba(210,243,107,.08); border-color: rgba(210,243,107,.28); color: var(--lime); }
.points { display: grid; gap: 0; }
.point { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.point:first-child { border-top: 0; padding-top: 0; }
.point__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.point h3 { font-size: 18.5px; }
.point p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.point a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* questions */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; background: none; border: 0; text-align: left; font-size: 18px; font-weight: 550; letter-spacing: -0.015em; cursor: pointer; }
.faq__q svg { flex: none; transition: transform .25s; color: var(--muted); }
.faq__item.open .faq__q svg { transform: rotate(45deg); color: var(--ink); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 48px 26px 0; color: var(--muted); font-size: 16px; }
.faq__a a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* contact et formulaires */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.form { display: grid; gap: 16px; padding: 34px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { padding-top: 10px; border-top: 1px solid var(--line); }
.form__group:first-child { border-top: 0; padding-top: 0; }
.form__group-title { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin: 12px 0 4px; }
.field label, .field .label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #FDFCF9; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: 112px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.field__help { margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice label { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 450; font-size: 14.5px; cursor: pointer; }
.choice input { width: auto; height: auto; accent-color: var(--green); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.consent a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.form__note { font-size: 13px; color: var(--muted-2); text-align: center; }
.form__note a { text-decoration: underline; }
.form__ok { display: none; padding: 14px 16px; border-radius: 10px; background: var(--green-soft); color: var(--green-2); font-size: 14.5px; }
.form__ok.show { display: block; }
.contact__mail { margin-top: 28px; font-size: 15px; color: var(--muted); }
.contact__mail a { color: var(--green); font-weight: 600; }

/* bandeau d'appel */
.cta { padding: 64px; border-radius: 28px; background: var(--night); color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -140px; top: -160px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(210,243,107,.32), rgba(210,243,107,0) 65%); }
.cta h2 { font-size: clamp(30px, 4vw, 46px); position: relative; z-index: 1; }
.cta p { margin-top: 14px; color: var(--night-muted); font-size: 17px; position: relative; z-index: 1; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* pied de page */
.footer { background: var(--night); color: var(--night-muted); padding: 80px 0 40px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer__mail a { color: var(--lime); }
.footer__h { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--night-line); font-size: 13px; line-height: 1.7; color: #7F8C86; }
.footer__legal b { color: var(--night-text); font-weight: 550; }
.footer__bottom { margin-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- pages intérieures ---------- */
.page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(210,243,107,.5), rgba(210,243,107,0) 65%); pointer-events: none; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.045em; max-width: 860px; position: relative; z-index: 1; }
.page-hero h1 em { color: var(--green); }
.page-hero p { margin-top: 20px; max-width: 680px; font-size: 19px; color: var(--ink-2); position: relative; z-index: 1; }
.page-hero .hero__actions { position: relative; z-index: 1; }

.rate-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.rate-card__main { padding: 44px; background: var(--night); color: #fff; }
.rate-card__main .price__val { font-size: clamp(56px, 6.6vw, 80px); }
.rate-card__side { padding: 44px; }
.rate-card__side h3 { font-size: 20px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: #FAF9F5; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.table .num { font-family: var(--mono); white-space: nowrap; }
.table .strong { font-weight: 600; }
.table .hl td { background: #FBFCF4; }
.table .hl .num { color: var(--green); font-weight: 600; }

.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.example { padding: 28px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.example__head { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.example__sale { margin-top: 12px; font-size: 34px; font-weight: 650; letter-spacing: -0.04em; }
.example dl { margin: 18px 0 0; display: grid; gap: 0; }
.example dl div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.example dd { margin: 0; font-family: var(--mono); color: var(--ink-2); }
.example dl div.tot { color: var(--ink); font-weight: 600; }
.example dl div.tot dd { color: var(--green); font-weight: 600; }

.blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.block { padding: 32px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.block h3 { font-size: 19px; }
.block p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.block p + p { margin-top: 8px; }
.block a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* guide marchand et pages légales */
.doc-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.04em; max-width: 860px; }
.doc-hero__meta { margin-top: 16px; color: var(--muted); font-size: 16.5px; max-width: 720px; }
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 72px; padding-top: 56px; padding-bottom: 120px; }
.doc__toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.doc__toc-title { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.doc__toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.doc__toc li { counter-increment: toc; }
.doc__toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.doc__toc a::before { content: counter(toc, decimal-leading-zero); font: 500 11.5px/1.6 var(--mono); color: var(--muted-2); }
.doc__toc a:hover, .doc__toc a.on { background: var(--paper); color: var(--ink); }
.doc__body { max-width: 760px; min-width: 0; }
.doc__body > p:first-child { font-size: 18px; color: var(--ink-2); }
.doc__body h2 { font-size: 26px; letter-spacing: -0.03em; margin-top: 64px; padding-top: 8px; scroll-margin-top: 96px; }
.doc__body h2:first-child { margin-top: 0; }
.doc__body h3 { font-size: 18px; margin-top: 30px; letter-spacing: -0.015em; }
.doc__body p, .doc__body li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.doc__body p { margin-top: 14px; }
.doc__body ul, .doc__body ol { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.doc__body li::marker { color: var(--green); }
.doc__body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.doc__body b, .doc__body strong { color: var(--ink); font-weight: 600; }
.doc__body .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: .01em; }
.doc__body .table-wrap { margin-top: 20px; }
.doc__body .table { font-size: 14.5px; }
.callout { margin-top: 22px; padding: 20px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green); }
.callout p { margin-top: 0 !important; }
.callout p + p { margin-top: 8px !important; }
.callout--warn { border-left-color: var(--red); }
.callout--lime { background: #FBFDF1; border-left-color: var(--lime-2); }
.callout__title { font-weight: 600; color: var(--ink); }
.facts { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.timeline-light { list-style: none; padding: 0 !important; margin-top: 22px !important; gap: 0 !important; }
.timeline-light li { position: relative; padding: 0 0 22px 34px; }
.timeline-light li::before { content: attr(data-n); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--ink); color: var(--lime); font: 600 11.5px/22px var(--mono); text-align: center; }
.timeline-light li::after { content: ''; position: absolute; left: 11px; top: 28px; bottom: 4px; width: 1px; background: var(--line-2); }
.timeline-light li:last-child::after { display: none; }
.timeline-light li b { display: block; }
.timeline-light .t { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); font: 500 11.5px/1.5 var(--mono); vertical-align: 2px; }

/* candidature */
.apply { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 120px; }
.apply__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.apply__side .panel { padding: 28px; }
.apply__side h3 { font-size: 17px; }
.apply__side .checks { gap: 10px; margin-top: 16px; }
.apply__side .checks li { font-size: 14.5px; grid-template-columns: 22px 1fr; gap: 10px; }
.apply__side .checks li::before { width: 18px; height: 18px; background-size: 13px; border-radius: 6px; }
.apply__side .timeline-light li { font-size: 14.5px; }

/* 404 */
.lost { padding: 140px 0; text-align: center; }
.lost h1 { font-size: clamp(48px, 8vw, 96px); letter-spacing: -0.05em; }
.lost p { margin: 18px auto 0; max-width: 460px; color: var(--muted); font-size: 18px; }
.lost .hero__actions { justify-content: center; }

/* apparition */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .ticker__track, .float { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .stage { min-height: 0; max-width: 520px; margin: 0 auto; width: 100%; }
  .mock--checkout { margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .split, .secure, .contact { grid-template-columns: 1fr; gap: 48px; }
  .ledger, .price, .rate-card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .doc { grid-template-columns: 1fr; gap: 32px; }
  .doc__toc { position: static; max-height: none; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
  .apply { grid-template-columns: 1fr; }
  .apply__side { position: static; }
  .examples { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 48px 40px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 84px 0; }
  .hero { padding: 40px 0 72px; }
  .hero__lead { font-size: 17.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .float--fee { display: none; }
  .float--payout { position: relative; left: auto; right: auto; bottom: auto; width: 82%; margin: -22px 0 0 auto; animation: none; }
  .mock__body { padding: 20px 18px 18px; }
  .steps, .cards, .blocks { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .ledger__rows { padding: 4px 20px; }
  .ledger__row { grid-template-columns: 34px 1fr auto; gap: 12px; }
  .ledger__ico { width: 34px; height: 34px; }
  .ledger__side, .price__main, .calc, .panel, .form, .rate-card__main, .rate-card__side, .block { padding: 26px 22px; }
  .form__row { grid-template-columns: 1fr; }
  .faq__q { font-size: 16.5px; }
  .faq__a p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .table th, .table td { padding: 14px 16px; }
  .cta { padding: 36px 24px; border-radius: 22px; }
  .page-hero { padding: 56px 0 44px; }
  .page-hero p { font-size: 17px; }
}

/* retouches */
dl.facts { margin: 20px 0 0; }
.rate-card__main .eyebrow { color: var(--lime); }
.doc-hero h1 em { color: var(--green); }
.page-legal .doc__body { counter-reset: sec; }
.page-legal .doc__body h2::before { counter-increment: sec; content: counter(sec) ". "; color: var(--muted-2); font-weight: 500; }
.hero__grid > *, .split > *, .secure > *, .contact > *, .price > *, .ledger > *, .apply > *, .rate-card > * { min-width: 0; }
.hero__badge { max-width: 100%; line-height: 1.35; }
@media (max-width: 640px) {
  .hero__badge { font-size: 12.5px; padding-right: 12px; }
  .hero h1 { font-size: 46px; }
}
