/* TopLending · Observatoire du crowdlending
 *
 * Direction : salle de marché de nuit. Fond graphite presque noir, surfaces
 * en verre fumé, un seul accent vif — vert lime « signal » — pour la marque,
 * les CTA et les notes. Grille fine en arrière-plan, halos diffus, coins
 * arrondis généreux, chiffres en mono.
 *
 * Type system:
 *   Bricolage Grotesque — display / titres / noms de plateformes
 *   Geist               — corps, UI
 *   Geist Mono          — rangs, notes, labels, métadonnées
 *
 * Thème unique sombre.
 */

:root {
  color-scheme: dark;

  --bg:           #08090A;   /* page — graphite */
  --surface:      #101213;   /* carte */
  --elevated:     #181B1D;   /* imbriqué / survol */
  --line:         rgba(255, 255, 255, 0.075);
  --line-strong:  rgba(255, 255, 255, 0.16);
  --ink:          #EDF0EC;   /* texte principal */
  --muted:        #9AA29C;   /* texte secondaire */
  --dim:          #646B66;   /* métadonnées */
  --accent:       #C6F24E;   /* lime signal — marque */
  --accent-hover: #D6FF6E;
  --accent-soft:  rgba(198, 242, 78, 0.08);
  --accent-line:  rgba(198, 242, 78, 0.28);
  --gold:         #C6F24E;   /* notes / étoiles (même signal que la marque) */
  --gold-soft:    rgba(198, 242, 78, 0.10);
  --teal:         #3DDBC4;   /* second ton des halos */
  --success:      #4ADE9B;   /* atouts / opère en France */
  --danger:       #FF7A6B;   /* risques */

  --on-accent:    #0A0C07;
  --ink-soft:     rgba(237, 240, 236, 0.82);
  --selection-bg: rgba(198, 242, 78, 0.28);
  --selection-fg: #FFFFFF;
  --code-bg:      #15181A;
  --r:            16px;      /* rayon carte */
  --r-sm:         10px;

  --f-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --f-sans:    'Geist', system-ui, -apple-system, sans-serif;
  --f-mono:    'Geist Mono', ui-monospace, 'SF Mono', monospace;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--f-sans);
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
  background-color: var(--bg);
  /* Halos fixes en haut de page — aucun fichier image. */
  background-image:
    radial-gradient(60rem 32rem at 85% -10%, rgba(198, 242, 78, 0.07), transparent 60%),
    radial-gradient(48rem 30rem at -10% 10%, rgba(61, 219, 196, 0.05), transparent 60%);
  background-repeat: no-repeat;
}

::selection { background: var(--selection-bg); color: var(--selection-fg); }
::-moz-selection { background: var(--selection-bg); color: var(--selection-fg); }

/* ---------- container ---------- */
.container-page {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container-page { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-page { padding-inline: 2rem; } }
.container-prose { max-width: 740px; margin-inline: auto; }

/* ---------- display type ---------- */
.font-display,
.headline {
  font-family: var(--f-display);
  font-optical-sizing: auto;
}
.font-display { font-weight: 600; letter-spacing: -0.02em; }
.headline {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
}
.headline em,
.headline-mark {
  font-style: normal;
  color: var(--accent);
}
.text-gradient {
  background: linear-gradient(100deg, var(--accent) 10%, var(--teal) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- eyebrow (label de section) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.16), 0 0 12px currentColor;
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--dim); box-shadow: none; }

/* ---------- rules ---------- */
.hr-soft { border: 0; border-top: 1px solid var(--line); }
.hr-strong { border: 0; border-top: 1px solid var(--line-strong); }
.rule-double { border: 0; height: 1px; background: var(--line-strong); }
.hr-marquee {
  border: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}
/* Les anciens filets épais « encre » deviennent des filets fins. */
.border-ink { border-color: var(--line) !important; }
.border-t-2 { border-top-width: 1px !important; }

/* ---------- card ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 40%), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -24px rgba(198, 242, 78, 0.25), 0 0 0 1px rgba(198, 242, 78, 0.06) inset;
}
.card-hover:hover .arrow-cta { color: var(--accent); }
.card-hover:hover .arrow-cta svg { transform: translateX(3px); }
.card-hover:hover .font-display { color: var(--accent); }
.card-pad { padding: 1.4rem; }
@media (min-width: 768px) { .card-pad { padding: 1.75rem; } }

/* Carte « verre » avec liseré lumineux (hero, choix de la rédaction). */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01) 45%), rgba(16, 18, 19, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.glass::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(198, 242, 78, 0.55), rgba(61, 219, 196, 0.12) 35%, transparent 60%, rgba(198, 242, 78, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--f-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-transform: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
a.chip:hover { color: var(--ink); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.06); }
.chip--accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.chip--seal {
  color: var(--accent);
  background: var(--gold-soft);
  border-color: var(--accent-line);
}
.chip--success {
  color: var(--success);
  background: rgba(74, 222, 155, 0.08);
  border-color: rgba(74, 222, 155, 0.28);
}
.chip--danger {
  color: var(--danger);
  background: rgba(255, 122, 107, 0.08);
  border-color: rgba(255, 122, 107, 0.28);
}
.chip--ink { color: var(--ink); border-color: var(--line-strong); }
.chip .dot { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.3rem;
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(198, 242, 78, 0), 0 8px 24px -10px rgba(198, 242, 78, 0.55);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 4px rgba(198, 242, 78, 0.14), 0 10px 30px -10px rgba(198, 242, 78, 0.7);
}
.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--secondary:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); }
.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--ink); }
.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.masthead-kicker {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Logo : pictogramme « courbe de rendement » + wordmark minuscule. */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.wordmark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
}
.wordmark b { color: var(--ink); font-weight: 700; }
.wordmark i { font-style: normal; color: var(--accent); }

.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}
.nav-pill .nav-link { padding: 0.42rem 0.85rem; border-radius: 999px; }
.nav-pill .nav-link:hover { background: rgba(255, 255, 255, 0.05); }
.nav-link {
  position: relative;
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link--active { color: var(--on-accent) !important; background: var(--accent) !important; }
.nav-dropdown {
  background: rgba(16, 18, 19, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.nav-dropdown .nav-link { display: block; padding: 0.55rem 0.75rem; border-radius: 8px; }
.nav-dropdown .nav-link:hover { background: rgba(255, 255, 255, 0.05); }

/* ---------- score (fiche plateforme) ---------- */
.score { display: inline-flex; align-items: baseline; gap: 0.3rem; line-height: 1; }
.score__value {
  font-family: var(--f-display);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(198, 242, 78, 0.35);
}
.score__max {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dim);
}

/* ---------- score pill (cartes) ---------- */
.score-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  padding: 0.3rem 0.6rem;
  background: var(--gold-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
}
.score-pill__value {
  font-family: var(--f-mono);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.score-pill__max {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--dim);
}

/* ---------- jauge circulaire (note /5) ----------
 * --p : la note brute (ex. 4.6). 5 → cercle plein. */
.gauge {
  --p: 0;
  --size: 58px;
  position: relative;
  flex-shrink: 0;
  width: var(--size); height: var(--size);
  border-radius: 999px;
  display: grid; place-items: center;
  background:
    radial-gradient(closest-side, var(--surface) calc(100% - 5px), transparent calc(100% - 4px)),
    conic-gradient(var(--accent) calc(var(--p) * 72deg), rgba(255, 255, 255, 0.08) 0);
}
.gauge__value {
  font-family: var(--f-mono);
  font-size: calc(var(--size) * 0.27);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.gauge--lg { --size: 92px; }
.gauge--lg .gauge__value { font-size: 1.55rem; }
.gauge--glow { filter: drop-shadow(0 0 18px rgba(198, 242, 78, 0.22)); }

/* ---------- classement : plateformes en tuiles ---------- */
.ledger { display: flex; flex-direction: column; gap: 0.6rem; counter-reset: rank; }
.ledger__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 1.2rem 1rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.ledger__row:hover {
  border-color: var(--accent-line);
  background: linear-gradient(90deg, rgba(198, 242, 78, 0.05), transparent 55%), var(--surface);
}
/* Le premier du classement reçoit un liseré lumineux. */
.ledger__row:first-child {
  border-color: var(--accent-line);
  background: linear-gradient(90deg, rgba(198, 242, 78, 0.07), transparent 60%), var(--surface);
}
/* Le lien du nom couvre toute la tuile ; seul le bouton « Site officiel » passe au-dessus. */
.ledger__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ledger__cta { position: relative; z-index: 1; flex: 0 0 auto; }
.ledger__row:hover .ledger__name { color: var(--accent); }
.ledger__row:hover .arrow-cta { color: var(--accent); }
.ledger__row:hover .arrow-cta svg { transform: translateX(3px); }

.ledger__rank {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.ledger__row:first-child .ledger__rank,
.ledger__row:hover .ledger__rank { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

.ledger__lead { flex: 1 1 auto; min-width: 1rem; }

.ledger__main { flex: 0 1 auto; display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.ledger__logo {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--elevated);
  display: grid; place-items: center;
  overflow: hidden;
}
.ledger__logo img { width: 100%; height: 100%; object-fit: cover; }
.ledger__name {
  font-family: var(--f-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
  transition: color 0.15s ease;
}
/* Mention discrète des partenaires rémunérés (accueil). */
.ledger__sponsored {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.ledger__meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.ledger__meta--stats { font-family: var(--f-mono); font-size: 0.7rem; color: var(--dim); margin-top: 0.2rem; }
.ledger__metrics {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 1rem;
  font-variant-numeric: tabular-nums;
}
.ledger__score { display: flex; align-items: baseline; gap: 0.18rem; }
.ledger__score-value {
  font-family: var(--f-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.ledger__score-max { font-family: var(--f-mono); font-size: 0.72rem; color: var(--dim); }
.ledger__reviews {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .ledger__row { gap: 0.75rem; padding: 0.85rem; }
  .ledger__main { flex: 1 1 auto; }
  .ledger__lead, .ledger__signal { display: none !important; }
  .ledger__metrics { gap: 0; }
  .ledger__name { font-size: 1.08rem; }
  .ledger__rank { width: 30px; height: 30px; border-radius: 9px; font-size: 0.72rem; }
  .ledger__logo { width: 38px; height: 38px; border-radius: 10px; }
  .ledger__row .gauge { --size: 46px; }
  .ledger__row > .arrow-cta { display: none; }
  .ledger__row--cta { flex-wrap: wrap; row-gap: 0.6rem; }
  .ledger__row--cta .ledger__main { flex-basis: 0; }
  .ledger__row--cta::after { content: ""; order: 4; flex-basis: 100%; height: 0; }
  .ledger__row--cta .ledger__cta { order: 5; flex: 1 1 auto; }
}

/* ---------- étoiles ---------- */
.stars { display: inline-flex; gap: 2px; line-height: 1; }
.stars .star { width: 13px; height: 13px; display: inline-block; }
.stars--lg .star { width: 17px; height: 17px; }
.stars .star--filled { fill: var(--accent); }
.stars .star--empty  { fill: rgba(255, 255, 255, 0.14); }

/* ---------- arrow cta ---------- */
.arrow-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.arrow-cta svg { transition: transform 0.15s ease; color: var(--accent); }
.arrow-cta:hover { color: var(--accent); }
.arrow-cta:hover svg { transform: translateX(3px); }

/* ---------- prose (article) ---------- */
.prose-crypto {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.78;
}
.prose-crypto h2 {
  position: relative;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  font-family: var(--f-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.12;
  padding-left: 1rem;
}
.prose-crypto h2::before {
  content: "";
  position: absolute; left: 0; top: 0.2em; bottom: 0.2em;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--teal));
}
.prose-crypto h3 {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.prose-crypto p { margin-bottom: 1.1rem; }
.prose-crypto a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(198, 242, 78, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.prose-crypto a:hover { text-decoration-color: var(--accent); }
.prose-crypto ul, .prose-crypto ol { margin: 0.5rem 0 1.2rem 1.4rem; padding-left: 0.4rem; }
.prose-crypto ul { list-style: disc; }
.prose-crypto ul ul { list-style: circle; }
.prose-crypto ol { list-style: decimal; }
.prose-crypto li { margin-bottom: 0.4rem; }
.prose-crypto li::marker { color: var(--accent); }
.prose-crypto li > p { margin-bottom: 0.4rem; }
.prose-crypto table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 1.6rem 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.prose-crypto table thead { background: var(--elevated); }
.prose-crypto table th,
.prose-crypto table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
}
.prose-crypto table tr:last-child td { border-bottom: 0; }
.prose-crypto table th {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.prose-crypto table tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
.prose-crypto img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6rem auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.prose-crypto figure { margin: 1.6rem 0; }
.prose-crypto figcaption {
  margin-top: 0.6rem;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--dim);
}
.prose-crypto hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.2rem 0; }
.prose-crypto h4 {
  margin-top: 1.6rem; margin-bottom: 0.5rem;
  font-size: 1.02rem; font-weight: 600; color: var(--ink);
}
.prose-crypto blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.3rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink);
}
.prose-crypto code {
  background: var(--code-bg);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 0.86em;
  color: var(--accent);
  border: 1px solid var(--line);
}
.prose-crypto strong { color: var(--ink); font-weight: 600; }

/* ---------- spec list ---------- */
.spec-list dt {
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.spec-list dd {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* ---------- trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.trust-strip__item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.trust-strip svg { color: var(--accent); flex-shrink: 0; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
/* Grille technique qui s'estompe vers le bas. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero__orb {
  position: absolute;
  z-index: -1;
  width: 520px; height: 520px;
  right: -120px; top: -140px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(198, 242, 78, 0.28), rgba(61, 219, 196, 0.10) 45%, transparent 70%);
  filter: blur(30px);
  animation: orb-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-60px, 40px, 0) scale(1.08); }
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--muted);
}
.hero__badge b {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* ---------- section head ---------- */
.section-index {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* ---------- bento (atouts) ---------- */
.bento { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
.bento__cell {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.bento__cell--wide { grid-column: 1 / -1; }
.bento__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.bento__num {
  position: absolute; right: 1.2rem; top: 1rem;
  font-family: var(--f-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* ---------- carte article ---------- */
.post-card {
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.post-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card:hover .arrow-cta svg { transform: translateX(3px); }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--elevated); border-bottom: 1px solid var(--line); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.4rem; flex: 1; }
.post-card__title {
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--ink);
  transition: color 0.15s ease;
}
.post-card__excerpt {
  font-size: 0.875rem; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__index {
  position: absolute; right: 1.2rem; top: 1rem;
  font-family: var(--f-mono); font-size: 0.72rem; color: var(--dim);
}

/* À la une : grande carte, halo, titre XXL. */
.post-card--feature {
  min-height: 100%;
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(198, 242, 78, 0.13), transparent 60%),
    radial-gradient(70% 60% at 100% 0%, rgba(61, 219, 196, 0.08), transparent 60%),
    var(--surface);
  border-color: var(--line-strong);
}
.post-card--feature::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}
.post-card--feature .post-card__body { position: relative; padding: 1.8rem; gap: 1.1rem; justify-content: flex-end; }
@media (min-width: 1024px) { .post-card--feature .post-card__body { padding: 2.2rem; } }
.post-card--feature .post-card__title { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; margin-top: 4rem; }
.post-card--feature .post-card__excerpt { font-size: 1rem; -webkit-line-clamp: 4; max-width: 36rem; }

/* Ligne compacte numérotée. */
.post-card--row { flex-direction: row; border-radius: 14px; }
.post-card--row .post-card__index {
  position: static;
  flex-shrink: 0;
  width: 3.2rem;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
  border-right: 1px solid var(--line);
}
.post-card--row:hover .post-card__index { -webkit-text-stroke: 0; color: var(--accent); }
.post-card--row .post-card__body { padding: 1rem 1.2rem; gap: 0.5rem; }
.post-card--row .post-card__title { font-size: 1.08rem; }
.post-card--row .post-card__excerpt { -webkit-line-clamp: 1; font-size: 0.82rem; }
.post-card--row .arrow-cta { display: none; }

/* ---------- entrance animation ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.fade-in { opacity: 0; animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.fade-in--1 { animation-delay: 0.04s; }
.fade-in--2 { animation-delay: 0.12s; }
.fade-in--3 { animation-delay: 0.22s; }
.fade-in--4 { animation-delay: 0.32s; }
.fade-in--5 { animation-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; }
}

/* ---------- focus ring ---------- */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- utility ---------- */
.text-balance { text-wrap: balance; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- forms ---------- */
.card-pad input[type="text"],
.card-pad input[type="email"],
.card-pad input[type="password"],
.card-pad textarea,
.field-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card-pad input[type="text"]:focus,
.card-pad input[type="email"]:focus,
.card-pad input[type="password"]:focus,
.card-pad textarea:focus,
.field-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.card-pad textarea { resize: vertical; min-height: 110px; }
.card-pad input::placeholder,
.card-pad textarea::placeholder { color: var(--dim); }

/* ---------- review rating stars (input) ---------- */
.review-rating { gap: 0.15rem; flex-direction: row-reverse; justify-content: flex-end; }
.review-rating__star {
  position: relative;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.18);
  transition: color 0.12s ease, transform 0.12s ease;
  padding: 2px;
}
.review-rating__star input { position: absolute; opacity: 0; pointer-events: none; }
.review-rating__star:hover,
.review-rating__star:hover ~ .review-rating__star,
.review-rating__star:has(input:checked),
.review-rating__star:has(input:checked) ~ .review-rating__star { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- badge Trustpilot (fiche plateforme) ----------
 *
 * Reprise du langage visuel de Trustpilot : leurs tuiles étoilées, leur
 * échelle de couleurs, leur logotype. Couleurs et géométrie viennent de
 * apps/exchanges/trustpilot_badge.py ; ici on ne pose que la mise en page.
 * Un badge repeint aux couleurs du site ne serait plus leur badge.
 */
.tp-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.tp-badge__label {
  font-family: var(--f-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.tp-badge__stars { display: block; height: 30px; width: auto; }
.tp-badge__meta {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.tp-badge__brand { display: inline-flex; align-items: center; gap: 0.3rem; }
.tp-badge__brand-star { width: 15px; height: 15px; display: block; }
.tp-badge__wordmark {
  font-family: var(--f-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
a.tp-badge__wordmark:hover { color: var(--accent); }

/* ---------- digest des avis par critère ---------- */
.sentiment-bar {
  position: relative;
  height: 5px;
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
}
.sentiment-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--success));
  border-radius: 999px;
}
.sentiment-bar--mixed .sentiment-bar__fill { background: #E8C547; }
.sentiment-bar--weak .sentiment-bar__fill { background: var(--danger); }

.insight-list { display: flex; flex-direction: column; gap: 0.55rem; padding-left: 0.65rem; }
.insight-list__item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink);
}
.insight-list__text { position: relative; }
.insight-list__text::before {
  content: "";
  position: absolute;
  left: -0.65rem;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
}
.insight-list--pros .insight-list__text::before { background: var(--success); }
.insight-list--cons .insight-list__text::before { background: var(--danger); }
.insight-list__count {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

/* ---------- fiche plateforme : tableau de caractéristiques ---------- */
.spec-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0.25rem 1.1rem;
}
.spec-table__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.spec-table__row:last-child { border-bottom: 0; }
.spec-table__row dt { color: var(--muted); }
.spec-table__row dd { text-align: right; color: var(--ink); font-weight: 500; }

/* ---------- carte « Le choix de la rédaction » (hero d'accueil) ---------- */
.reco-card { overflow: hidden; }
.reco-card__stat {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.reco-card__stat dd {
  font-family: var(--f-mono);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 0.35rem;
}

/* ---------- encart « site officiel » ---------- */
.official-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: 1.75rem 1.5rem;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(198, 242, 78, 0.12), transparent 55%),
    var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: 20px;
}
@media (min-width: 768px) { .official-cta { padding: 2.25rem 2.5rem; } }
.official-cta__body { flex: 1 1 28rem; min-width: 0; }
.official-cta__body > p { max-width: 46rem; }
.official-cta__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
}
.official-cta__facts span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.official-cta__facts span::before {
  content: "";
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--accent);
}
.official-cta__action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.official-cta__note {
  font-size: 0.7rem;
  color: var(--dim);
  max-width: 17rem;
  line-height: 1.45;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 30%), #060707;
}
.site-footer a { transition: color 0.15s ease; }
.site-footer a:hover { color: var(--accent); }
.footer-giant {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(4rem, 17vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .card-pad { padding: 1.2rem; }
  .score__value { font-size: 2.8rem; }
}
@media (max-width: 640px) {
  .gauge--lg { --size: 72px; }
  .gauge--lg .gauge__value { font-size: 1.2rem; }
}

/* =====================================================================
 * Fiche plateforme
 * ===================================================================== */

/* Chiffres clés : tuiles séparées, valeur en dégradé. */
.kpi-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .kpi-grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } }
.kpi {
  position: relative;
  overflow: hidden;
  padding: 1.3rem 1.4rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.kpi::after {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 120px; height: 120px; border-radius: 999px;
  background: radial-gradient(circle, rgba(198, 242, 78, 0.12), transparent 70%);
  pointer-events: none;
}
.kpi__value {
  margin-top: 0.9rem;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(100deg, var(--ink) 30%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Caractéristiques : mosaïque de petites cellules libellé / valeur. */
.spec-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
@media (min-width: 768px) { .spec-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .spec-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.spec-tiles .spec-table__row {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 0;
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
}
.spec-tiles .spec-table__row dd { text-align: left; font-size: 0.92rem; }
.spec-tiles .spec-table__row:hover { background: var(--elevated); }

/* Sommaire latéral collant. */
.toc ol { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.toc a {
  display: block;
  margin-left: -1px;
  padding: 0.42rem 0 0.42rem 1rem;
  border-left: 1px solid transparent;
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.toc a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.toc a.is-active { color: var(--accent); border-left-color: var(--accent); }

/* Fil des sections : une ligne verticale, une pastille par section. */
.timeline { position: relative; display: flex; flex-direction: column; gap: 3.5rem; }
.dsec { position: relative; scroll-margin-top: 6rem; }
@media (min-width: 640px) {
  .timeline { padding-left: 2.25rem; }
  .timeline::before {
    content: "";
    position: absolute; left: 6px; top: 0.4rem; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--accent-line), var(--line) 12%, var(--line) 88%, transparent);
  }
  .dsec::before {
    content: "";
    position: absolute; left: calc(-2.25rem + 1px); top: 0.25rem;
    width: 11px; height: 11px; border-radius: 999px;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(198, 242, 78, 0.35);
  }
  .dsec > .eyebrow::before { display: none; }
}
#chiffres { scroll-margin-top: 6rem; }

/* Verdict : barre de couleur en tête de carte. */
.verdict { overflow: hidden; }
.verdict::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
}
.verdict--pro::before { background: linear-gradient(90deg, var(--success), transparent); }
.verdict--con::before { background: linear-gradient(90deg, var(--danger), transparent); }

/* Étapes d'inscription. */
.stepper { position: relative; display: flex; flex-direction: column; gap: 0.6rem; counter-reset: none; }
.stepper__item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.stepper__num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 10px;
}

.risk-box {
  padding: 1.4rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 122, 107, 0.07), rgba(255, 122, 107, 0.02));
  border: 1px solid rgba(255, 122, 107, 0.25);
  border-radius: var(--r);
}
.risk-box .prose-crypto > :last-child { margin-bottom: 0; }

.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  padding: 1.05rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.faq-item[open] { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(198, 242, 78, 0.04), transparent), var(--surface); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary svg { color: var(--accent); }

.quote-card {
  color: var(--ink-soft);
  padding: 1.3rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--r) var(--r) 0;
}

.dsec .prose-crypto, .dsec > p { max-width: 48rem; }

/* =====================================================================
 * Podium (trois premières places — catalogue, catégories)
 * ===================================================================== */
.podium-grid { display: grid; gap: 0.75rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .podium-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.podium {
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 50%), var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.podium:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(198, 242, 78, 0.35); }
.podium:hover .podium__name { color: var(--accent); }
.podium:hover .arrow-cta svg { transform: translateX(3px); }
.podium--first {
  border-color: var(--accent-line);
  background: radial-gradient(120% 80% at 100% 0%, rgba(198, 242, 78, 0.14), transparent 55%), var(--surface);
}
.podium__rank {
  font-family: var(--f-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}
.podium--first .podium__rank { -webkit-text-stroke: 0; color: var(--accent); text-shadow: 0 0 30px rgba(198, 242, 78, 0.35); }
.podium__name {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  transition: color 0.15s ease;
}
.podium__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  margin-top: 1.1rem;
}
.podium__stats > div {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.podium__stats dd { font-family: var(--f-mono); font-size: 1.02rem; font-weight: 600; margin-top: 0.3rem; letter-spacing: -0.02em; }
.ledger--rest .ledger__row:first-child { border-color: var(--line); background: var(--surface); }
.ledger--rest .ledger__row:first-child .ledger__rank { color: var(--muted); background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.ledger--rest .ledger__row:hover .ledger__rank { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.ledger--rest .ledger__row:first-child:hover { border-color: var(--accent-line); }

/* Bandeau de chiffres (catalogue). */
.stat-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.stat-band__item { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.02); }
.stat-band__item dd {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); margin-top: 0.6rem;
}

/* Collections (catalogue). */
.collection-grid { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.collection {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.collection-rows { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.collection-row { display: grid; gap: 0.75rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.collection-row:last-child { border-bottom: 0; }
@media (min-width: 768px) { .collection-row { grid-template-columns: 200px minmax(0, 1fr); gap: 1.5rem; } }

/* Sections éditoriales en deux colonnes : titre collant à gauche, texte à droite. */
.split { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .split__head { position: sticky; top: 7rem; align-self: start; } }
.post-card--feature { flex: 1 1 auto; }
.post-card--feature .post-card__body { justify-content: flex-start; }
.post-card--feature .post-card__title { margin-top: auto; padding-top: 3rem; }
.post-card--feature .arrow-cta { margin-top: 0.4rem; }
/* Courbe de rendement en filigrane, reprise du logo. */
.post-card--feature::after {
  content: "";
  position: absolute; right: -6%; top: 12%;
  width: 70%; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M6 50 L24 32 L36 41 L58 14' fill='none' stroke='%23C6F24E' stroke-opacity='0.13' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='58' cy='14' r='3' fill='%23C6F24E' fill-opacity='0.2'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

/* =====================================================================
 * Article
 * ===================================================================== */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 50; pointer-events: none; }
.read-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  box-shadow: 0 0 12px rgba(198, 242, 78, 0.6);
  transform: scaleX(0); transform-origin: 0 50%;
}
.toc__sub a { padding-left: 1.8rem; font-size: 0.8rem; }
.byline {
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}
.prose-crypto--article h2, .prose-crypto--article h3 { scroll-margin-top: 6rem; }
