/* Paid2Call : le marche d un token, comme le montre tout launchpad.
 *
 * Trois ecrans le partagent : l accueil (une rangee de terminal par token),
 * la page Tokens (le tableau complet) et la page d un token (graphique,
 * echanges, detenteurs, courbe). Meme langue que le reste : des volets poses,
 * des filets, les chiffres en Martian Mono. La hausse est le temoin vert, la
 * baisse le refus ; l accent marque un chiffre ou un trait, jamais une surface.
 */

/* ---- Les petites pieces partagees ----------------------------------------- */
.puce { display: inline-flex; align-items: center; min-height: 18px; padding: 0 6px; border: 1px solid var(--frame-line); border-radius: var(--radius-pill);
  color: var(--text-quiet); font: 500 10px/1 var(--font-figure); letter-spacing: 0.02em; white-space: nowrap; }
.liens-icones { display: inline-flex; align-items: center; gap: 2px; }
.lien-icone { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: var(--radius-pill);
  color: var(--text-quiet); transition: color var(--dur-tap) var(--ease-settle), background-color var(--dur-tap) var(--ease-settle); }
.lien-icone:hover { color: var(--terminal-accent); background: var(--surface-hover); }
.lien-icone:focus-visible { outline: 2px solid var(--terminal-accent); outline-offset: 1px; }
.lien-icone svg { width: 13px; height: 13px; }

.variation { font-family: var(--font-figure); font-size: 11px; }
.variation--hausse { color: var(--temoin-500); }
.variation--baisse { color: var(--refus-500); }
.variation--neutre { color: var(--text-faint); }

/* Achats et ventes : le nombre, puis une barre partagee vert / rouge. */
.tx { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-plain); }
.tx--vide { color: var(--text-faint); font-family: var(--font-figure); }
.tx__barre { position: relative; width: 36px; height: 4px; border-radius: var(--radius-pill); overflow: hidden;
  background: color-mix(in oklch, var(--refus-500) 70%, transparent); }
.tx__barre i { position: absolute; inset: 0 auto 0 0; width: var(--part, 50%); background: var(--temoin-500); }

/* La courbe de liaison : un trait qui se remplit, le pourcentage a cote. */
.courbe { display: inline-flex; align-items: center; gap: 7px; }
.courbe__barre { position: relative; width: 52px; height: 4px; border-radius: var(--radius-pill); overflow: hidden; background: color-mix(in oklch, var(--craie) 12%, transparent); }
.courbe__barre i { position: absolute; inset: 0 auto 0 0; width: var(--part, 0%); background: var(--terminal-accent); }
.courbe__pct { font-size: 11px; color: var(--text-plain); min-width: 3ch; }
.courbe--finie .courbe__pct { color: var(--terminal-accent); }

/* ---- L accueil : une rangee de terminal par token -------------------------- */
.discovery-row--token { position: relative; grid-template-columns: 44px minmax(0,1fr) auto; min-height: 0; }
.discovery-row__lien { color: inherit; text-decoration: none; }
.discovery-row__lien::after { content: ""; position: absolute; inset: 0; }
.discovery-row__lien:focus-visible { outline: none; }
.discovery-row--token:has(.discovery-row__lien:focus-visible) { outline: 2px solid var(--terminal-accent); outline-offset: -2px; }
.discovery-row__lien b { font-size: 15px; font-weight: 600; }
.jeton-puces { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; color: var(--text-quiet); font-size: 11px; }
.jeton-puces .figure { color: var(--text-plain); font-size: 11px; }
.jeton-gain { margin-top: 7px; color: var(--text-quiet); font-size: 11px; line-height: 1.45; }
.jeton-gain b { color: var(--terminal-accent); font: 500 11px var(--font-figure); }
.jeton-marche { display: grid; grid-template-columns: auto auto; align-items: baseline; justify-items: end; column-gap: 7px; row-gap: 5px;
  font-size: 11px; color: var(--text-faint); text-align: right; }
.jeton-marche abbr { text-decoration: none; letter-spacing: 0.06em; }
.jeton-marche b { color: var(--text-loud); font: 500 14px var(--font-figure); }
.jeton-marche .figure { color: var(--text-plain); font-size: 11px; }
.jeton-marche > .jeton-marche__plein { grid-column: 1 / -1; }
.etat-ouverture { color: var(--terminal-accent); }

/* ---- La page Tokens : le tableau complet ----------------------------------- */
.liste-marche.pool, .liste-marche.pool-head {
  grid-template-columns: 52px minmax(180px,1.6fr) minmax(92px,0.8fr) minmax(80px,0.7fr) minmax(86px,0.7fr) minmax(92px,0.8fr) minmax(130px,1fr); }
.liste-marche.pool-head { padding-left: 18px; }
.liste-marche.pool-head .pool-head__token { grid-column: 1 / 3; }
.liste-marche.pool { align-items: center; }
.liste-marche .pool__nom { display: flex; flex-direction: column; gap: 5px; min-width: 0; grid-column: auto; }
.liste-marche .pool__nom > a { color: var(--text-loud); text-decoration: none; }
.liste-marche .pool__nom > a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.liste-marche .pool__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--text-quiet); font-size: 12px; }
.liste-marche__cellule { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.liste-marche__cellule > b { color: var(--text-loud); font: 500 14px var(--font-figure); }
.liste-marche__cellule > .figure { color: var(--text-plain); font-size: 13px; }
.liste-marche__gain b { color: var(--terminal-accent); font: 500 13px var(--font-figure); }
.liste-marche__gain .quiet { font-size: 12px; }
.liste-marche .pool__mobile-label { display: none; }

@media (max-width: 960px) {
  .liste-marche.pool-head { display: none; }
  .liste-marche.pool { grid-template-columns: 44px repeat(2, minmax(0,1fr)); grid-template-areas: "img nom nom" "mc mc vol" "tx tx courbe" "gain gain gain"; row-gap: 12px; }
  .liste-marche.pool > .pool__image { grid-area: img; width: 44px; height: 44px; }
  .liste-marche.pool > .pool__nom { grid-area: nom; }
  .liste-marche.pool > [data-cellule="mc"] { grid-area: mc; }
  .liste-marche.pool > [data-cellule="vol"] { grid-area: vol; }
  .liste-marche.pool > [data-cellule="tx"] { grid-area: tx; }
  .liste-marche.pool > [data-cellule="courbe"] { grid-area: courbe; }
  .liste-marche.pool > [data-cellule="gain"] { grid-area: gain; }
  .liste-marche .pool__mobile-label { display: block; color: var(--text-faint); font-size: 11px; }
}

/* ---- La page d un token ---------------------------------------------------- */
.coin-page .coin-tete { display: grid; grid-template-columns: 64px minmax(0,1fr) auto auto; align-items: center; gap: 14px 18px; padding-block: 6px 14px; }
.coin-page .coin-tete__image { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; border: 1px solid var(--edge-firm); background: var(--email-800); }
.coin-page .coin-tete h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -0.01em; }
.coin-tete__symbole { color: var(--text-quiet); font: 500 0.55em var(--font-figure); letter-spacing: 0; vertical-align: 0.2em; }
.coin-tete__faits { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0 0; color: var(--text-quiet); font-size: 12px; }
.coin-page .coin-tete__mint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0 0; font-size: 12px; color: var(--text-plain); }
.coin-page .coin-copier { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 3px 10px; border: 1px solid var(--frame-line); border-radius: var(--radius-control);
  background: transparent; color: var(--text-quiet); font: 500 11px var(--font-body); cursor: pointer; transition: color var(--dur-tap) var(--ease-settle), border-color var(--dur-tap) var(--ease-settle); }
.coin-page .coin-copier:hover { color: var(--text-loud); border-color: var(--edge-firm); }
.coin-page .coin-copier:active { transform: translateY(1px); }
.coin-tete__mc { text-align: right; padding-right: 6px; }
.coin-tete__mc .eyebrow { margin: 0; }
.coin-tete__valeur { margin: 2px 0 0; color: var(--text-loud); font: 500 clamp(1.6rem, 3.2vw, 2.25rem)/1.05 var(--font-figure); letter-spacing: -0.02em; }
.coin-tete__variation { margin: 4px 0 0; }
.coin-page .coin-tete__actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.coin-lien { color: var(--text-quiet); font-size: 12px; text-decoration: none; }
.coin-lien:hover { color: var(--terminal-accent); }
.coin-lien:focus-visible { outline: 2px solid var(--terminal-accent); outline-offset: 3px; border-radius: var(--radius-control); }

/* Le rang de statistiques : des cases de panneau, un filet entre chacune. */
.coin-stats { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); margin: 0 0 14px; border: 1px solid var(--edge-soft); border-radius: 12px;
  background: color-mix(in oklch, var(--email-950) 38%, transparent); overflow: hidden; }
.coin-stats > div { padding: 10px 14px; border-left: 1px solid var(--edge-soft); min-width: 0; }
.coin-stats > div:first-child { border-left: none; }
.coin-stats dt { color: var(--text-faint); font-size: 10px; letter-spacing: var(--tracking-micro); text-transform: uppercase; }
.coin-stats dd { margin: 5px 0 0; color: var(--text-loud); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.coin-disposition { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,360px); gap: 14px; align-items: start; }
.coin-principal { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.coin-principal .token-tabs { margin: 0; }
.coin-cote { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px; }
.coin-page .coin-cote > .panel, .coin-page .coin-graphe, .coin-page .coin-principal .token-view > .panel {
  margin: 0; padding: 16px; border: 1px solid var(--edge-soft); border-radius: 12px; box-shadow: none;
  background: linear-gradient(160deg, var(--surface-traverse, var(--email-850)), var(--email-900) 72%); }
.coin-page .coin-cote h2 { margin: 0; }

/* Le graphique : une barre d outils, la toile, sa source. */
.coin-graphe { padding: 12px 12px 10px; }
.coin-graphe__barre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.segments { display: inline-flex; padding: 2px; border: 1px solid var(--edge-soft); border-radius: var(--radius-card); background: color-mix(in oklch, var(--email-950) 45%, transparent); }
.segment { min-width: 38px; min-height: 30px; padding: 0 10px; border: none; border-radius: var(--radius-control); background: transparent; color: var(--text-quiet);
  font: 500 11px var(--font-figure); cursor: pointer; transition: color var(--dur-tap) var(--ease-settle), background-color var(--dur-tap) var(--ease-settle); }
.segment:hover { color: var(--text-loud); }
.segment[aria-pressed="true"] { color: var(--text-loud); background: var(--email-800); box-shadow: inset 0 -2px 0 var(--terminal-accent); }
.segment:focus-visible { outline: 2px solid var(--terminal-accent); outline-offset: 1px; }
.segment:active { transform: translateY(1px); }
.coin-graphe__lecture { flex: 1 1 auto; margin: 0; min-height: 1em; color: var(--text-quiet); font-size: 11px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-graphe__lecture[data-sens="hausse"] { color: var(--temoin-500); }
.coin-graphe__lecture[data-sens="baisse"] { color: var(--refus-500); }
.coin-page .coin-graph { position: relative; height: 420px; margin-top: 10px; }
.coin-page .coin-graph[data-etat="vide"]::after { content: "Waiting for the first trades"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--text-faint); font-size: 12px; pointer-events: none; }
.coin-graphe__source { margin: 8px 2px 0; font-size: 11px; }

/* Les echanges : un tableau serre, achat vert, vente rouge. */
.onglet-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 10px; }
.onglet-tete h2 { margin: 0; }
.onglet-tete .quiet { margin: 0; font-size: 12px; }
.table-defile { position: relative; overflow-x: auto; }  /* le .sr-only absolu du dernier titre debordait sinon de la page */
.table-marche { width: 100%; border-collapse: collapse; font-size: 12px; }
.table-marche th { padding: 8px 10px; border-bottom: 1px solid var(--edge-soft); color: var(--text-faint); font-weight: 500; font-size: 11px; text-align: left; white-space: nowrap; }
.table-marche td { padding: 9px 10px; border-bottom: 1px solid color-mix(in oklch, var(--craie) 6%, transparent); white-space: nowrap; }
.table-marche tbody tr:hover { background: var(--surface-hover); }
.table-marche a { color: var(--text-plain); text-decoration: none; }
.table-marche a:hover { color: var(--terminal-accent); }
.trade__type { font-weight: 600; }
.trade--achat .trade__type, .trade--achat td:nth-child(3) { color: var(--temoin-500); }
.trade--vente .trade__type, .trade--vente td:nth-child(3) { color: var(--refus-500); }
.trade__tx { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: var(--radius-pill); }

/* Les detenteurs : rang, adresse, part, un trait proportionnel. */
.detenteurs { list-style: none; margin: 0; padding: 0; }
.detenteur { display: grid; grid-template-columns: 28px minmax(0,1fr) minmax(60px,160px) 64px; align-items: center; gap: 10px; padding: 8px 4px;
  border-bottom: 1px solid color-mix(in oklch, var(--craie) 6%, transparent); font-size: 12px; }
.detenteur__rang { color: var(--text-faint); font-size: 11px; }
.detenteur__qui { display: flex; align-items: center; gap: 8px; min-width: 0; }
.detenteur__qui a { color: var(--text-plain); text-decoration: none; }
.detenteur__qui a:hover { color: var(--terminal-accent); }
.detenteur__barre { position: relative; height: 4px; border-radius: var(--radius-pill); overflow: hidden; background: color-mix(in oklch, var(--craie) 9%, transparent); }
.detenteur__barre i { position: absolute; inset: 0 auto 0 0; width: var(--part, 0%); background: color-mix(in oklch, var(--craie) 55%, transparent); }
.detenteur__pct { color: var(--text-loud); text-align: right; }

/* La courbe de liaison, dans la colonne d achat. */
.coin-courbe__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.coin-courbe__tete .figure { color: var(--text-loud); font-size: 18px; }
.coin-courbe__barre { position: relative; height: 6px; margin: 12px 0 10px; border-radius: var(--radius-pill); overflow: hidden; background: color-mix(in oklch, var(--craie) 10%, transparent); }
.coin-courbe__barre i { position: absolute; inset: 0 auto 0 0; width: var(--part, 0%); background: var(--terminal-accent);
  transition: width var(--dur-reveal) var(--ease-tole); }
.coin-courbe .quiet { margin: 0; font-size: 12px; line-height: 1.5; }

.coin-pool .coin-niveaux li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; }
.coin-pool .coin-niveaux li > .quiet { grid-column: 1 / -1; font-size: 11px; }
.coin-pool .coin-niveaux li > .quiet:empty { display: none; }
.coin-pool .coin-niveaux li > .figure { color: var(--terminal-accent); }

@media (max-width: 1100px) {
  /* Comme sur tout launchpad au telephone : le graphique, puis l achat, puis
   * les onglets. Le bloc principal s efface pour que ses enfants se rangent. */
  .coin-disposition { display: flex; flex-direction: column; gap: 12px; }
  .coin-principal { display: contents; }
  .coin-graphe { order: 1; }
  .coin-cote { order: 2; position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .coin-principal > .token-tabs { order: 3; }
  .coin-principal > .token-view { order: 4; }
  /* Des elements de flex ne retrecissent pas sous leur contenu : sans ceci,
   * le tableau des echanges elargissait toute la page au telephone. */
  .coin-disposition > *, .coin-principal > * { min-width: 0; max-width: 100%; }
  .coin-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .coin-stats > div:nth-child(4) { border-left: none; }
  .coin-stats > div:nth-child(n+4) { border-top: 1px solid var(--edge-soft); }
}
@media (max-width: 720px) {
  .coin-page .coin-tete { grid-template-columns: 52px minmax(0,1fr); }
  .coin-page .coin-tete__image { width: 52px; height: 52px; border-radius: 13px; }
  .coin-tete__mc { grid-column: 1 / -1; text-align: left; padding: 0; }
  .coin-page .coin-tete__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .coin-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .coin-stats > div:nth-child(odd) { border-left: none; }
  .coin-stats > div:nth-child(4) { border-left: 1px solid var(--edge-soft); }
  .coin-stats > div:nth-child(n+3) { border-top: 1px solid var(--edge-soft); }
  .coin-page .coin-graph { height: 320px; }
  .coin-graphe__lecture { flex-basis: 100%; text-align: left; }
  .detenteur { grid-template-columns: 22px minmax(0,1fr) 58px; }
  .detenteur__barre { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .coin-courbe__barre i { transition: none; }
}

/* ---- Les squelettes : la place de ce qui arrive ------------------------------
 * La page d un token s ecrit avant ses donnees ; chaque bloc garde sa taille
 * finale, pour que rien ne saute a l arrivee des chiffres. */
.squelette { display: inline-block; vertical-align: middle; border-radius: var(--radius-control);
  background: color-mix(in oklch, var(--craie) 8%, transparent); color: transparent; }
.squelette--titre { user-select: none; }
.squelette--ligne { width: min(30ch, 100%); height: 1.1em; }
.squelette--court { width: 16ch; height: 1.1em; }
.squelette--bouton { display: block; width: 96px; height: 36px; }
.coin-tete__image.squelette { display: block; width: 64px; height: 64px; border-radius: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .squelette { animation: squelette-souffle 1.1s var(--ease-tole) infinite alternate; }
  @keyframes squelette-souffle { to { opacity: 0.5; } }
}

/* La liste des tokens avant ses donnees : la hauteur d une rangee, pas un trou
 * qui s ouvre a l arrivee de la premiere. */
.liste-chargement { display: grid; place-items: center; min-height: 100px; margin: 0; color: var(--text-faint); font-size: 12px; }

/* ---- Le bandeau de l accueil : les tokens qui defilent -----------------------
 * Comme les terminaux et PayPad : la preuve que ca vit, sous la barre du haut.
 * Une piste repetee deux fois, deplacee de sa moitie : la boucle ne saute pas. */
.bandeau { position: relative; margin: 0 -18px; overflow: hidden; border-bottom: 1px solid var(--edge-soft);
  background: color-mix(in oklch, var(--email-950) 55%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bandeau__piste { display: flex; width: max-content; animation: bandeau-defile var(--duree, 40s) linear infinite; }
.bandeau:hover .bandeau__piste { animation-play-state: paused; }
.bandeau__double { display: flex; }
.bandeau__jeton { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 22px; color: var(--text-plain);
  font-size: 12px; text-decoration: none; white-space: nowrap; border-right: 1px solid color-mix(in oklch, var(--craie) 6%, transparent); }
.bandeau__jeton:hover b { color: var(--terminal-accent); }
.bandeau__jeton b { color: var(--text-loud); font: 500 12px var(--font-figure); }
.bandeau__jeton .figure { color: var(--text-quiet); font-size: 11px; }
.bandeau__image { width: 20px; height: 20px; border-radius: var(--radius-pill); object-fit: cover; }
@keyframes bandeau-defile { to { transform: translateX(-50%); } }
@media (max-width: 960px) { .bandeau { margin: 0 -16px; } }  /* la marge de .discovery y passe a 16 px */
@media (prefers-reduced-motion: reduce) {
  .bandeau__piste { animation: none; }
  .bandeau__double { display: none; }
}

/* ---- L accroche de l accueil : ce que fait le site, et ses chiffres ------------ */
.accroche { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 14px 28px; margin: 0 0 14px;
  padding: 16px 18px; border: 1px solid var(--frame-line); border-radius: var(--radius-card);
  background: linear-gradient(120deg, color-mix(in oklch, var(--terminal-accent) 7%, var(--email-900)), var(--email-900) 60%); }
.accroche h2 { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.25; letter-spacing: -0.01em; }
.accroche p { margin: 5px 0 0; max-width: 62ch; color: var(--text-quiet); font-size: 13px; line-height: 1.5; }
.accroche__chiffres { display: flex; margin: 0; border-left: 1px solid var(--edge-soft); }
.accroche__chiffres > div { padding: 2px 18px; border-right: 1px solid var(--edge-soft); }
.accroche__chiffres dt { color: var(--text-faint); font-size: 10px; letter-spacing: var(--tracking-micro); text-transform: uppercase; white-space: nowrap; }
.accroche__chiffres dd { margin: 4px 0 0; color: var(--text-loud); font-size: 16px; white-space: nowrap; }
.accroche__chiffres > div:nth-child(2) dd { color: var(--terminal-accent); }
.accroche__cta { white-space: nowrap; }
@media (max-width: 1080px) {
  .accroche { grid-template-columns: minmax(0,1fr) auto; }
  .accroche__chiffres { grid-column: 1 / -1; grid-row: 2; border-left: none; }
  .accroche__chiffres > div:first-child { padding-left: 0; }
}
@media (max-width: 640px) {
  .accroche { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 12px 14px; }
  .accroche h2 { font-size: 15px; }
  .accroche p { display: none; }
  .accroche__chiffres { grid-row: auto; justify-content: space-between; }
  .accroche__chiffres > div { padding: 0 10px; }
  .accroche__chiffres > div:first-child { padding-left: 0; }
  .accroche__chiffres > div:last-child { border-right: none; }
  .accroche__chiffres dd { font-size: 14px; }
  .accroche__cta { justify-self: stretch; text-align: center; }
}
/* Au telephone, l accueil defile comme une page. Il etait a la hauteur fixe de
 * l ecran, liste comprise : l accroche et le bandeau ajoutes au-dessus ont
 * ecrase la liste des tokens a 15 px sur un iPhone (Louis, 28/09/2026). */
@media (max-width: 960px) {
  .discovery-page { height: auto; min-height: 100dvh; overflow: visible; }
  .discovery-page > main, .discovery-workspace, .discovery-pane { min-height: auto; }
  .discovery-list { flex: none; overflow: visible; }
}
/* Ordinateur peu haut : l accroche perd sa phrase pour laisser la place aux listes. */
@media (min-width: 961px) and (max-height: 820px) {
  .accroche { padding-block: 10px; }
  .accroche p { display: none; }
}

/* ---- Gagner sur un token : quatre etapes dans l ordre -------------------------- */
.etapes__titre { margin: 16px 0 8px; color: var(--text-faint); font: 500 10px var(--font-body); letter-spacing: var(--tracking-micro); text-transform: uppercase; }
.etapes { list-style: none; margin: 0 0 12px; padding: 0; counter-reset: none; }
.etapes li { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px; padding: 0 0 12px; }
.etapes li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 2px; width: 1px; background: var(--edge-soft); }
.etapes__n { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--edge-firm); border-radius: var(--radius-pill);
  color: var(--terminal-accent); font-size: 11px; background: var(--email-900); }
.etapes b { display: block; color: var(--text-loud); font-size: 13px; font-weight: 600; line-height: 1.35; }
.etapes .quiet { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; }
/* L inscription a un clic depuis les etapes (28/09/2026). */
.etapes__action { width: 100%; margin: 0 0 14px; }

/* ---- Paresseux : ce qui est hors de l ecran attend son tour -------------------
 * Le navigateur saute la mise en page et la peinture des rangees hors de vue, et
 * garde leur place (contain-intrinsic-size) : le defilement ne saute pas. */
/* Seulement la ou une rangee repliee ne pousse rien de visible : dans les
 * panneaux a defilement de l accueil et au bas des onglets. Sur la page Tokens
 * et le pied de page, la taille estimee faisait sauter le pied (mesure). */
.discovery-row, .callout-token, .coin-paiement {
  content-visibility: auto; contain-intrinsic-size: auto 110px; }
.detenteur { content-visibility: auto; contain-intrinsic-size: auto 40px; }

/* ---- Le classement : deux listes cote a cote, des rangs, pas des cartes ------- */
.classement { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; align-items: start; }
.classement__bloc { margin: 0; padding: 16px; border: 1px solid var(--edge-soft); border-radius: var(--radius-card);
  background: linear-gradient(160deg, var(--surface-traverse, var(--email-850)), var(--email-900) 72%); }
.classement__liste { list-style: none; margin: 0; padding: 0; }
.rang-classement { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 11px 2px;
  border-bottom: 1px solid color-mix(in oklch, var(--craie) 6%, transparent); }
.rang-classement:last-child { border-bottom: none; }
.rang-classement__n { color: var(--text-faint); font-size: 12px; }
.rang-classement:nth-child(-n+3) .rang-classement__n { color: var(--terminal-accent); }
.rang-classement__qui { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rang-classement__qui a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--text-loud); text-decoration: none; font-size: 14px; }
.rang-classement__qui a:hover { color: var(--terminal-accent); }
.rang-classement__qui .quiet { font-size: 12px; }
.rang-classement__image { width: 28px; height: 28px; border-radius: var(--radius-control); object-fit: cover; background: var(--email-800);
  display: inline-grid; place-items: center; color: var(--text-quiet); font-size: 12px; }
.rang-classement__valeur { color: var(--terminal-accent); font-size: 14px; font-weight: 500; white-space: nowrap; }
@media (max-width: 860px) { .classement { grid-template-columns: minmax(0,1fr); } }

/* ---- La FAQ : question a gauche, reponse a droite, pas d accordeon ------------ */
.faq { margin: 0; border-top: 1px solid var(--edge-soft); }
.faq__item { display: grid; grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.6fr); gap: 8px 32px; padding: 18px 2px;
  border-bottom: 1px solid var(--edge-soft); }
.faq__item dt { color: var(--text-loud); font-size: 15px; font-weight: 600; line-height: 1.4; }
.faq__item dd { margin: 0; max-width: 64ch; color: var(--text-plain); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) { .faq__item { grid-template-columns: minmax(0,1fr); padding: 14px 2px; } }
