/* ==========================================================================
   swissupload.ch — Charte graphique « L'Éclat des Cimes »
   Partage de fichiers éphémère : 1 Go, 24 h, sans compte.
   ========================================================================== */

:root {
  /* Palette */
  --glacier: #1A4D66;
  --glacier-dark: #163f55;
  --glacier-light: #235f7d;
  --neve: #FFFFFF;
  --granit: #576574;
  --signal: #D92B3C;
  --signal-dark: #b8232f;
  --brume: #F2F5F7;
  --ardoise: #2D3436;

  /* Typographie */
  --font-title: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --font-mono: "Fira Code", "SFMono-Regular", Consolas, monospace;

  /* Grille 12 colonnes */
  --shell: 1200px;
  --gutter: 32px;
  --radius: 22px;
  --radius-sm: 14px;

  /* Rythme d'espacement généreux */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 96px;
  --s-7: 128px;

  --shadow-sm: 0 1px 2px rgba(26, 77, 102, .04), 0 8px 24px rgba(26, 77, 102, .06);
  --shadow-md: 0 10px 30px rgba(26, 77, 102, .08), 0 2px 6px rgba(26, 77, 102, .04);
  --shadow-lg: 0 24px 60px rgba(10, 35, 50, .28);
}

/* --------------------------------------------------------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ardoise);
  background: #f6f8fa;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--glacier);
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 700; line-height: 1.07; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1.18; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
h4 { font-size: .95rem; font-weight: 600; }

p { margin: 0 0 var(--s-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--glacier); text-decoration: none; font-weight: 700; }
a:hover { color: var(--glacier-light); }

ul, ol { margin: 0; padding: 0; list-style: none; }

.mono { font-family: var(--font-mono); font-variant-ligatures: common-ligatures; }

img, svg { display: block; max-width: 100%; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Les panneaux de l'uploader portent display:flex, qui l'emporterait sur [hidden] */
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--glacier); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: var(--s-2); top: var(--s-2); }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ------------------------------------------------------- Grille ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.shell-narrow { max-width: 820px; }

.grid-3 { display: grid; gap: var(--s-3); grid-template-columns: repeat(3, 1fr); }

.section { padding: var(--s-7) 0; background: var(--neve); }
.section-alt { background: #f3f7f9; }
.section-dark { background: linear-gradient(180deg, #1a4d66 0%, #163f55 100%); }

.section-head { max-width: 680px; margin: 0 auto var(--s-5); text-align: center; }
.section-head h2 { margin-bottom: var(--s-2); }
.section-sub { color: var(--granit); font-size: 1.05rem; }

.kicker {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: var(--s-1);
}
.kicker-light { color: #8fd0ea; }
.section-head-light h2 { color: var(--neve); }
.section-head-light .section-sub { color: rgba(242, 245, 247, .72); }

/* ------------------------------------------------------ Icônes ----------- */
.ico, .ico-sm, .ico-xs {
  fill: none;
  stroke: var(--glacier);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico { width: 40px; height: 40px; }
.ico-sm { width: 24px; height: 24px; flex: 0 0 24px; stroke-width: 1.7; }
.ico-xs { width: 18px; height: 18px; flex: 0 0 18px; stroke-width: 2; }
.ico .dash, .ico-xs .dash { stroke-dasharray: 3 3; stroke: var(--granit); }
.ico .fill-red, .ico-xs .fill-red { fill: var(--signal); stroke: none; }
.ico .stroke-red { stroke: var(--signal); }
.ico-light { stroke: var(--neve); }
.ico-ok { stroke: #2e9e5b; }

/* ------------------------------------------------------ Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 1px 1px rgba(26, 77, 102, .04);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

.btn-primary { background: var(--signal); color: var(--neve); box-shadow: 0 8px 18px rgba(217, 43, 60, .28); }
.btn-primary:hover { background: var(--signal-dark); color: var(--neve); }

.btn-secondary { background: var(--brume); color: var(--ardoise); border-color: #e2e8ec; }
.btn-secondary:hover { background: #e7edf1; color: var(--ardoise); }

.btn-outline { background: rgba(255, 255, 255, .08); color: var(--neve); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-outline:hover { background: rgba(255, 255, 255, .18); color: var(--neve); border-color: var(--neve); }

/* Bouton dessiné comme un lien, pour les actions secondaires de l'uploader */
.link-btn {
  padding: 0;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: var(--glacier);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--glacier-light); }
.link-btn-danger { font-size: .85rem; color: var(--signal); }
.link-btn-danger:hover { color: var(--signal-dark); }

/* ------------------------------------------------------ En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 77, 102, .08);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: 76px;
}

.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 34px; height: 24px; }
.logo-type {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--glacier);
}
.logo-type b { font-weight: 700; color: var(--ardoise); }
.logo-type i { font-style: normal; color: var(--granit); }

.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: -0.01em;
  color: var(--granit);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a .ico-xs {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
}
.nav a:hover, .nav a.is-active { color: var(--glacier); background: #e8f0f4; }
.btn .ico-xs { width: 16px; height: 16px; flex-basis: 16px; stroke: currentColor; stroke-width: 1.8; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); flex: 0 0 auto; }
.header-note {
  font-size: .75rem;
  color: var(--glacier);
  letter-spacing: .02em;
  padding: 7px 12px;
  background: #e7eef2;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 11px 10px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: var(--ardoise);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------- Héro ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #143f54 0%, #1A4D66 42%, #1d5874 100%);
  color: var(--neve);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg .ridge { width: 100%; height: 100%; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21, 65, 90, .6) 0%, rgba(21, 65, 90, .3) 45%, rgba(22, 63, 85, .72) 100%);
}

.hero-inner {
  position: relative;
  padding: var(--s-6) var(--gutter) var(--s-6);
  max-width: var(--shell);
  text-align: center;
}
.hero h1 { color: var(--neve); margin-bottom: var(--s-3); text-shadow: 0 2px 24px rgba(10, 35, 50, .35); }
.hero .lead {
  max-width: 620px;
  margin: 0 auto var(--s-4);
  font-size: 1.12rem;
  font-weight: 300;
  color: rgba(242, 245, 247, .92);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-3);
  padding: 7px 16px 7px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neve);
}
.flag {
  position: relative;
  width: 18px; height: 18px;
  border-radius: 2px;
  background: var(--signal);
}
.flag::before, .flag::after { content: ""; position: absolute; background: var(--neve); }
.flag::before { left: 7.5px; top: 3.5px; width: 3px; height: 11px; }
.flag::after { left: 3.5px; top: 7.5px; width: 11px; height: 3px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }

.hero-points {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
  font-size: .9rem;
  color: rgba(242, 245, 247, .85);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ico-xs { stroke: #8fd0ea; }

.hero-stats { position: relative; background: rgba(10, 35, 50, .28); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.stat {
  padding: 18px 16px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
}
.stat-ico {
  width: 22px; height: 22px;
  margin: 0 auto 8px;
  stroke: #9fd4ea;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat-num { display: block; font-size: 1.6rem; font-weight: 500; color: var(--neve); line-height: 1.2; }
.stat-lbl { font-size: .84rem; color: rgba(242, 245, 247, .68); }

/* ------------------------------------------------- Zone de dépôt --------- */
.uploader {
  max-width: 680px;
  margin: 0 auto;
  padding: 10px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  text-align: left;
}

.drop {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  background: var(--neve);
  border: 1px solid transparent;
  border-radius: 20px;
  transition: border-color .18s ease, background-color .18s ease;
}
.drop.is-dragover { border-color: var(--signal); background: #fff6f7; }
.drop.is-invalid { border-color: var(--signal); background: #fff6f7; }

.drop-row { display: flex; align-items: center; gap: 14px; }
.drop-copy { min-width: 0; flex: 1 1 auto; text-align: left; }
.drop-go { flex: 0 0 auto; padding: 12px 18px; font-size: .92rem; box-shadow: 0 6px 14px rgba(217, 43, 60, .22); }

.drop-ico {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  margin: 0;
  padding: 11px;
  box-sizing: border-box;
  background: #e7f0f5;
  border-radius: 50%;
  stroke: var(--glacier); stroke-width: 1.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.drop.is-dragover .drop-ico { stroke: var(--signal); background: #fde8ea; }
.drop-title { margin: 0; font-family: var(--font-title); font-size: 1.05rem; font-weight: 600; color: var(--glacier); }
.drop-sub { margin: 2px 0 0; font-size: .88rem; color: var(--granit); }

.drop-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 4px 4px; }
.drop-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #eef3f6;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--granit);
}
.drop-meta .ico-xs { width: 14px; height: 14px; stroke: var(--glacier); }

.send-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.send-options label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--granit);
}
.send-options input,
.send-options select {
  height: 42px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid #e3eaee;
  border-radius: 12px;
  background: #f7fafb;
  font: inherit;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ardoise);
}
.send-options input:focus,
.send-options select:focus {
  outline: 2px solid rgba(26, 77, 102, .25);
  border-color: var(--glacier);
}
.opt-span { grid-column: 1 / -1; }
.receive-msg { margin: 0 0 14px; color: var(--ardoise); }
.receive-pass { display: flex; gap: 8px; align-items: center; }
.receive-pass input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e3eaee;
  border-radius: 999px;
  background: #f7fafb;
  font: inherit;
}

/* Libellés distincts selon que l'appareil permet le glisser-déposer */
.on-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .on-pointer { display: none; }
  .on-touch { display: inline; }
}
.drop-error { margin: var(--s-2) 0 0; font-size: .85rem; font-weight: 700; color: var(--signal); }

.upload-state {
  padding: 22px;
  background: var(--neve);
  border-radius: 22px;
}

.file-row { display: flex; align-items: center; gap: var(--s-2); }
.file-row .ico-sm { stroke: var(--glacier); }
.file-meta { min-width: 0; margin-right: auto; }
.file-name {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--glacier);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-size { margin: 0; font-size: .8rem; color: var(--granit); }

.bar {
  position: relative;
  height: 8px;
  margin: var(--s-2) 0 10px;
  background: var(--brume);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--signal);
  transition: width .25s ease;
}
.bar-label { margin: 0; font-size: .78rem; color: var(--granit); }

.done-head {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 var(--s-2);
  font-family: var(--font-title);
  font-size: 1.1rem; font-weight: 600;
  color: var(--glacier);
}
.link-row { display: flex; gap: var(--s-1); }
.link-field {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  background: #f4f7f9;
  border: 1px solid #e3eaee;
  border-radius: 14px;
  font-size: .9rem;
  color: var(--ardoise);
}
.done-note { margin: var(--s-2) 0 var(--s-1); font-size: .78rem; color: var(--granit); }
.done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.done-actions .link-btn { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; }
.done-actions .ico-xs { stroke: currentColor; }
.step h3 { display: flex; align-items: center; gap: 8px; }
.step h3 .ico-xs { stroke: var(--glacier); }

/* ---------------------------------------------------- Étapes ------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 26px 30px;
  background: #f6f9fb;
  border-radius: var(--radius);
}
.step-num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin: 0 0 var(--s-2);
  background: var(--neve);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--glacier);
}
.step:last-child .step-num { color: var(--signal); }
.step h3 { margin-bottom: var(--s-1); }
.step p:last-child { color: var(--granit); font-size: .97rem; }

/* -------------------------------------------------------- Cartes --------- */
.card {
  padding: 28px 26px 30px;
  background: #f7fafc;
  border: 1px solid #e6eef2;
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--neve);
  box-shadow: var(--shadow-md);
}
.card .ico {
  width: 52px; height: 52px;
  margin-bottom: var(--s-3);
  padding: 12px;
  box-sizing: border-box;
  background: var(--neve);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--s-1); }
.card p { color: var(--granit); font-size: .95rem; }

/* ------------------------------------------------------- Scindé ---------- */
.split {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--s-6);
  align-items: center;
}
.split-text h2 { margin-bottom: var(--s-2); }
.split-text > p:not(.kicker) { color: var(--granit); }

.check-list { margin: var(--s-3) 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .97rem; }
.check-list .ico-xs { margin-top: 4px; stroke: var(--signal); }

.split-visual { margin: 0; }

/* ------------------------------------------------- Cycle de vie ---------- */
.lifecycle {
  padding: 32px 28px;
  background: var(--neve);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}
.lifecycle-head {
  margin: 0 0 var(--s-3);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--granit);
}

.timeline { position: relative; padding-left: var(--s-3); }
.timeline::before {
  content: "";
  position: absolute; left: 4px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--glacier), #c3d2db);
}
.tl-item { position: relative; padding: 0 0 var(--s-3) var(--s-2); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -4px; top: 9px;
  width: 10px; height: 10px;
  background: var(--neve);
  border: 2px solid var(--granit);
  border-radius: 50%;
}
.tl-item.is-now::before { border-color: var(--glacier); background: var(--glacier); }
.tl-item.is-gone::before { border-color: var(--signal); background: var(--signal); }
.tl-time { margin: 0; font-size: .82rem; font-weight: 500; color: var(--glacier); }
.tl-item.is-gone .tl-time { color: var(--signal); }
.tl-label { margin: 0; font-size: .93rem; color: var(--granit); }

/* ---------------------------------------- Ce que ce n'est pas ------------- */
.not-list { display: grid; gap: var(--s-2); }
.not-list li {
  padding: var(--s-3);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  box-shadow: inset 4px 0 0 var(--signal);
  font-size: .97rem;
  color: rgba(242, 245, 247, .78);
}
.not-list strong { color: var(--neve); font-weight: 700; }

/* ----------------------------------------------------------- FAQ --------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: #f6f9fb;
  border-radius: 16px;
  padding: 4px 22px;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: 18px 0;
  font-family: var(--font-title);
  font-size: 1.08rem; font-weight: 600;
  color: var(--glacier);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--glacier-light); }
.faq .chev { stroke: var(--granit); transition: transform .2s ease; }
.faq details[open] .chev { transform: rotate(180deg); stroke: var(--signal); }
.faq details > p { padding: 0 36px 18px 0; color: var(--granit); }

/* ----------------------------------------------------- CTA final --------- */
.final-cta {
  position: relative;
  background: linear-gradient(180deg, #1A4D66 0%, #163f55 100%);
  color: var(--neve);
  padding: var(--s-6) 0 calc(var(--s-7) + 90px);
  overflow: hidden;
}
.cta-ridge { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; }
.cta-ridge svg { width: 100%; height: 100%; }
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { color: var(--neve); margin-bottom: var(--s-2); }
.cta-inner > p {
  max-width: 540px; margin: 0 auto var(--s-4);
  font-weight: 300; color: rgba(242, 245, 247, .88);
}

/* ---------------------------------------------------- Pied de page ------- */
.site-footer { background: var(--ardoise); color: rgba(242, 245, 247, .72); }
.footer-grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
  gap: var(--s-4);
  padding-top: var(--s-6);
  padding-bottom: var(--s-5);
}
.logo-footer .logo-type { color: var(--brume); }
.logo-footer .logo-type b { color: var(--neve); }
.logo-footer .logo-type i { color: var(--granit); }
.footer-pitch { margin: var(--s-3) 0 0; font-size: .93rem; max-width: 340px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  margin-bottom: 6px;
  color: var(--neve);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.footer-col a { font-weight: 400; font-size: .92rem; color: rgba(242, 245, 247, .72); }
.footer-col a:hover { color: var(--neve); }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4);
  padding-top: var(--s-3); padding-bottom: var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem;
}
.footer-bottom p { margin: 0; color: var(--granit); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-left: auto; }
.footer-bottom a { font-weight: 400; color: rgba(242, 245, 247, .7); }
.footer-bottom a:hover { color: var(--neve); }

/* ---------------------------------------------------- Page de réception -- */
.receive-body { min-height: 100vh; background: linear-gradient(180deg, #143f54 0%, #1A4D66 55%, #f6f8fa 55%); }
.receive {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.receive .logo { margin-bottom: 28px; }
.receive .logo-type, .receive .logo-type b { color: #fff; }
.receive .logo-type i { color: rgba(255, 255, 255, .65); }
.receive-card {
  padding: 32px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.receive-card h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  word-break: break-word;
}
.receive-card > p { color: var(--granit); }
.receive-meta { margin: 0 0 22px; padding: 0; }
.receive-note { margin: 16px 0 0; font-size: .88rem; color: var(--granit); }

/* -------------------------------------------------- Apparition ----------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .68, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .bar-fill { transition: none; }
}

/* ------------------------------------------------------ Réactif ---------- */
@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; gap: var(--s-5); }
  .header-note { display: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; --s-7: 80px; --s-6: 64px; }

  .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: var(--s-2) var(--gutter) var(--s-3);
    background: var(--neve);
    border-bottom: 1px solid #e6ebee;
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 12px; }
  .nav a:hover, .nav a.is-active { background: #e8f0f4; }

  .header-actions { margin-left: auto; }
  .burger { display: block; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: var(--s-3); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap: 10px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .header-actions .btn-primary { padding: 11px 16px; font-size: .88rem; }
  .hero-inner { padding-top: var(--s-5); }
  .hero-cta .btn { width: 100%; }
  .send-options { grid-template-columns: 1fr; }
  .opt-span { grid-column: auto; }
  .receive-pass { flex-direction: column; align-items: stretch; }
  .drop-row { flex-wrap: wrap; }
  .drop-go { width: 100%; }
  .link-row { flex-direction: column; }
  .link-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom ul { margin-left: 0; }
}
