/* ════════════════════════════════════════════════════════════════════
   Design system boutique. Sombre graphite / slate, monochrome pro
   (façon Polymarket / Stake). Boutons encadrés et tactiles. Accent froid
   discret injecté par page via --ac.
   ════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --ac: #8fa3bf;            /* accent froid, usages discrets seulement */
  --bg: #0e0f13;
  --bg2: #131419;
  --panel: #15171d;
  --panel2: #181a21;
  --line: #262a33;
  --line2: #1c1f27;
  --ink: #e9ebf1;
  --mut: #9298a5;
  --dim: #5e636e;
  /* Boutons */
  --btn: #1b1e26;
  --btn-h: #232732;
  --btn-b: #353b47;
  --btn-b-h: #454c5b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif; background: var(--bg); color: var(--ink);
  min-height: 100vh; line-height: 1.6; position: relative; overflow-x: hidden;
  font-size: 15px; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: "kern" 1, "liga" 1;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
/* Grain fin pour casser l'aplat */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'JetBrains Mono', monospace; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 22px 110px; }

/* ── Ticker marquee ── */
.ticker {
  border-bottom: 1px solid var(--line2); overflow: hidden; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--dim); background: var(--bg2);
}
.ticker .track { display: inline-block; padding: 10px 0; animation: marq 36s linear infinite; }
.ticker .track span { padding: 0 24px; }
.ticker .track span b { color: var(--mut); font-weight: 600; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Barre haute / wordmark ── */
.topbar { max-width: 900px; margin: 0 auto; padding: 22px 22px 0;
  display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.2px; font-size: 15px; color: var(--ink); }
.wordmark .mk { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center;
  background: var(--panel2); border: 1px solid var(--line); color: var(--ink);
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px; }
.topbar .nav { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--mut); display: flex; gap: 20px; align-items: center; }
.topbar .nav a:hover { color: var(--ink); }
.topbar .nav .dotlive::before { content: "●"; color: var(--ac); margin-right: 6px; font-size: 8px; vertical-align: middle; }

/* ── Label de section indexé ── */
.sec-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 2px; font-weight: 400;
  text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 11px; margin: 0 0 16px; }
.sec-label .n { color: var(--mut); font-weight: 600; }
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--line2); }

/* ── Boutons (encadrés, tactiles) ── */
.btn, .buy {
  display: inline-block; cursor: pointer; font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: .1px; color: var(--ink);
  background: var(--btn); border: 1px solid var(--btn-b); border-radius: 9px;
  padding: 13px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 1px 2px rgba(0,0,0,.4);
  transition: background .12s, border-color .12s, transform .06s, box-shadow .12s;
}
.buy:hover { background: var(--btn-h); border-color: var(--btn-b-h); }
.buy:active { transform: translateY(1px); background: #15181f;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.55); }
/* CTA principal : surface claire, contraste fort, toujours monochrome */
.buy.primary { background: #e9ebf1; color: #0e0f13; border-color: #e9ebf1; font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.6); }
.buy.primary:hover { background: #fff; border-color: #fff; }
.buy.primary:active { transform: translateY(1px); background: #d2d5dd;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.3); }
.buy.sm { padding: 9px 16px; font-size: 13px; border-radius: 8px; }

/* ── Landing ── */
.store-head { padding: 52px 0 8px; }
.store-kicker { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--mut); margin-bottom: 18px;
  display: inline-block; padding: 6px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.store-head h1 { font-size: 30px; font-weight: 700; letter-spacing: -.7px; line-height: 1.15; max-width: 640px; }
.store-head h1 em { font-style: normal; color: var(--mut); }
.store-head p { color: var(--mut); font-size: 16px; margin-top: 16px; max-width: 560px; line-height: 1.55; }
.rule { height: 1px; background: var(--line2); margin: 44px 0 34px; }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px; display: flex; flex-direction: column; position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,.02) inset, 0 12px 30px -24px rgba(0,0,0,.9);
  transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.pcard:hover { border-color: var(--btn-b-h); background: var(--panel2);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 22px 46px -28px rgba(0,0,0,.95); transform: translateY(-2px); }
.pcard .cat { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--mut); margin-bottom: 13px; }
.pcard h2 { font-size: 21px; font-weight: 700; letter-spacing: -.4px; }
.pcard .sub { color: var(--mut); font-size: 12.5px; margin-top: 6px; }
.pcard .line { color: #c1c5cf; font-size: 14px; margin: 16px 0 22px; flex: 1; line-height: 1.6; }
.pcard .row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--line2); }
.pcard .price { font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.pcard .actions { display: flex; gap: 10px; align-items: center; }
.link-more { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .3px; color: var(--mut); align-self: center; }
.link-more:hover { color: var(--ink); }

/* ── Lien « Détails » sous la carte produit ── */
.pcard-meta { display: flex; align-items: center; justify-content: flex-end; margin: 4px 0 16px; }

/* ── Vignette cockpit dans la carte produit ── */
.pcard-shot {
  display: block; position: relative; margin: 0 0 22px; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--line); background: #0b0c10; line-height: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.012);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.pcard-shot img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 8; object-fit: cover; object-position: top center;
  filter: saturate(1.02) contrast(1.02); transition: transform .35s ease; }
.pcard-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,12,16,0) 55%, rgba(11,12,16,.55) 100%); }
.pcard-shot-tag { position: absolute; left: 9px; bottom: 8px; z-index: 2;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink); padding: 3px 8px; border-radius: 999px;
  background: rgba(14,15,19,.7); border: 1px solid var(--line); backdrop-filter: blur(4px); }
.pcard:hover .pcard-shot { border-color: var(--btn-b-h); box-shadow: 0 8px 26px -16px rgba(0,0,0,.9); }
.pcard:hover .pcard-shot img { transform: scale(1.025); }

/* ── Encart cockpit page produit ── */
.dash-fig { margin: 22px 0 0; }
.dash-frame { position: relative; border: 1px solid var(--line); border-radius: 13px; overflow: hidden;
  background: #0b0c10;
  box-shadow: 0 1px 0 rgba(255,255,255,.02) inset, 0 30px 80px -50px rgba(0,0,0,.95);
}
.dash-frame::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: 13px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 16%, transparent), transparent 40%);
  mix-blend-mode: screen; opacity: .5; }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line2); background: var(--bg2); position: relative; z-index: 2; }
.dash-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-bar .r { background: #4a4d55; } .dash-bar .y { background: #5e636e; } .dash-bar .g { background: #767c89; }
.dash-frame img, .dash-frame video { width: 100%; height: auto; display: block; filter: saturate(1.03) contrast(1.02); }
.dash-fig figcaption { margin-top: 14px; color: var(--mut); font-size: 13px; line-height: 1.6; max-width: 660px; }

/* ── Page produit ── */
.product-head { padding: 40px 0 0; }
.badge { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--mut); margin-bottom: 18px; display: inline-block;
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
/* Badge « commande shell » : la casse d'origine fait partie du sens. */
.badge.raw { text-transform: none; letter-spacing: .8px; }
.back { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .5px; color: var(--mut); display: inline-block; }
.back:hover { color: var(--ink); }
h1.title { font-size: 32px; font-weight: 700; letter-spacing: -.8px; line-height: 1.1; }
h1.title .sub { display: block; font-size: 16px; font-weight: 500; color: var(--mut); margin-top: 13px; letter-spacing: 0; line-height: 1.45; }
.lede { color: #c1c5cf; font-size: 16px; margin: 22px 0 32px; max-width: 640px; line-height: 1.6; }

.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 12px; }
.price-tag { font-family: 'JetBrains Mono', monospace; font-size: 23px; font-weight: 700; letter-spacing: -.4px; }
.price-tag small { font-size: 12px; color: var(--dim); font-weight: 400; letter-spacing: 0; }
/* Ancrage barré : discret, gris, jamais un badge « solde » criard. */
.was { font-size: .62em; font-weight: 600; color: var(--dim); text-decoration: line-through;
  text-decoration-thickness: 1.5px; margin-right: 2px; letter-spacing: -.2px; }
.price .was { font-size: 13px; }
.price-note { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mut);
  letter-spacing: .2px; margin: -2px 0 12px; max-width: 520px; line-height: 1.5; }
.note { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--mut); letter-spacing: .2px; }
.note b { color: var(--ink); font-weight: 600; }

/* ── Badge édition limitée : petit, droit, inline à côté du nom ── */
.product-head { position: relative; }
h1.title .title-name { display: inline; }
.lim-badge {
  display: inline-flex; align-items: center; gap: 7px; vertical-align: middle;
  margin-left: 14px; transform: translateY(-3px);
  padding: 4px 10px 4px 9px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase; white-space: nowrap;
  color: #f08a8a;
  border: 1px solid rgba(219,64,64,.4); border-radius: 999px;
  background: rgba(219,64,64,.08);
}
.lim-badge .lim-dot {
  width: 5px; height: 5px; border-radius: 50%; background: #f25555;
  box-shadow: 0 0 0 3px rgba(242,85,85,.16);
}
.lim-badge .lim-sep { opacity: .45; }
.lim-badge .lim-sn { color: #c98a8a; letter-spacing: .4px; }
@media (max-width: 640px) {
  .lim-badge { margin-left: 0; margin-top: 12px; transform: none; display: inline-flex;
    white-space: normal; }
  h1.title .title-name { display: block; }
}


.pack { margin: 56px 0 0; padding: 32px 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.pack h2 { font-size: 21px; letter-spacing: -.4px; margin-bottom: 24px; font-weight: 700; max-width: 540px; line-height: 1.3; }
.pack-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 28px;
  background: var(--line2); border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.ps { background: var(--bg2); padding: 20px 8px; text-align: center; }
.ps b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.5px; }
.ps span { font-size: 10px; color: var(--dim); letter-spacing: .8px; text-transform: uppercase; margin-top: 9px; display: block; }
.pack-list { list-style: none; display: grid; gap: 11px; }
.pack-list li { font-size: 14px; color: #c1c5cf; padding-left: 26px; position: relative; line-height: 1.55; }
.pack-list li::before { content: "›"; position: absolute; left: 4px; color: var(--mut); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.pack-list li b { color: var(--ink); font-weight: 600; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 24px;
  transition: border-color .18s, background .18s; }
.card:hover { border-color: var(--btn-b-h); background: var(--panel2); }
.card { position: relative; }
.card h3 { font-size: 15px; margin-bottom: 8px; font-weight: 600; letter-spacing: -.2px; }
.card p { color: var(--mut); font-size: 13.5px; line-height: 1.55; }
.feat { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: color-mix(in srgb, var(--ac) 80%, var(--mut)); margin-bottom: 12px; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 8px; }
.feat::before { content: ""; width: 14px; height: 1px; background: var(--ac); opacity: .7; display: inline-block; }

/* ── Track record vérifiable : preuve on-chain tierce, sobre et sérieuse ── */
.proof-intro { color: var(--mut); font-size: 14.5px; line-height: 1.6; max-width: 640px; margin: 2px 0 18px; }
.proof-intro b { color: var(--ink); font-weight: 600; }
.proof-card { margin: 0; background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 13px; padding: 22px 24px; }
.proof-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.proof-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.proof-handle { font-weight: 600; font-size: 15px; letter-spacing: -.2px; }
.proof-addr { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--mut);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px;
  cursor: pointer; transition: border-color .15s, color .15s; }
.proof-addr:hover { border-color: var(--ac); color: var(--ink); }
.proof-addr.copied { color: #00c46a; border-color: #00c46a; }
.proof-ts { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--dim); }
.proof-ts.ok { color: var(--mut); }
.proof-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-metrics .pm b { display: block; font-size: 23px; font-weight: 700; letter-spacing: -.6px;
  font-variant-numeric: tabular-nums; }
.proof-metrics .pm span { display: block; margin-top: 5px; font-size: 11px; color: var(--mut);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .3px; }
.proof-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.proof-links { display: flex; gap: 10px; flex: none; }
.proof-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500;
  color: var(--mut); background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 12px; transition: border-color .15s, color .15s; }
.proof-links a:hover { border-color: var(--ac); color: var(--ink); }
.proof-links a svg { width: 14px; height: 14px; opacity: .85; }
.proof-note { margin: 0; color: var(--dim); font-size: 11.5px; line-height: 1.55; max-width: 420px; }
.proof-note b { color: var(--mut); font-weight: 600; }
@media (max-width: 640px) {
  .proof-metrics .pm b { font-size: 19px; }
  .proof-foot { flex-direction: column; gap: 14px; }
}

.layers { margin: 22px 0 0; }
.layer-row { display: flex; justify-content: space-between; align-items: center;
  padding: 15px 17px; background: var(--panel); border: 1px solid var(--line);
  border-left: 2px solid var(--btn-b); border-radius: 8px; margin-bottom: 8px; font-size: 14px;
  transition: border-color .15s, background .15s; }
.layer-row:hover { background: var(--panel2); border-left-color: var(--ac); }
.layer-row .v { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--mut); letter-spacing: .3px; }

.disclaimer { margin-top: 52px; padding: 20px 22px; background: var(--bg2);
  border: 1px solid var(--line); border-left: 2px solid var(--dim); border-radius: 9px; font-size: 13px; color: var(--mut); line-height: 1.6; }
.disclaimer strong { color: var(--ink); }
footer { color: var(--dim); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 1px;
  margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line2); }

/* ── Feed terminal (optionnel par produit) ── */
.term-feed { margin: 36px 0 0; border: 1px solid var(--line); border-radius: 12px; background: #0b0c10; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line2); background: var(--bg2); }
.term-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.term-bar .r { background: #4a4d55; } .term-bar .y { background: #5e636e; } .term-bar .g { background: #767c89; }
.term-bar .ttl { margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--dim); }
.feed { padding: 15px 16px; overflow-x: auto; position: relative;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.95; }
.feed .ln { white-space: nowrap; }
.term-cap { margin: 12px 2px 0; color: var(--dim); font-size: 12px; line-height: 1.55; }
.feed .t { color: #6b7280; } .feed .edge { color: var(--ink); font-weight: 600; }
.feed .hit { color: #8fa3bf; } .feed .ok { color: #8a909d; } .feed .warn { color: #b9a06a; } .feed .pos { color: var(--ink); font-weight: 600; }

/* ── Widget assistant ── */
#nx-bubble { position: fixed; right: 24px; bottom: 24px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 14px; cursor: pointer;
  background: var(--panel2); color: var(--ink); border: 1px solid var(--btn-b);
  box-shadow: 0 8px 24px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  transition: background .14s, border-color .14s, transform .08s; }
#nx-bubble:hover { background: var(--btn-h); border-color: var(--btn-b-h); }
#nx-bubble:active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(0,0,0,.5); }
#nx-bubble svg { width: 24px; height: 24px; }
#nx-panel { position: fixed; right: 24px; bottom: 92px; z-index: 9999;
  width: 372px; max-width: calc(100vw - 32px); height: 544px; max-height: calc(100vh - 130px);
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: none; flex-direction: column; box-shadow: 0 40px 90px rgba(0,0,0,.65); }
#nx-panel.open { display: flex; animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nx-head { padding: 16px 18px; border-bottom: 1px solid var(--line2); display: flex; align-items: center; gap: 11px; }
.nx-head .av { width: 30px; height: 30px; border-radius: 8px;
  background: var(--panel2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--ink); font-weight: 700; font-size: 13px; }
.nx-head .nm { font-weight: 600; font-size: 14px; letter-spacing: -.1px; }
.nx-head .st { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mut); letter-spacing: .3px; }
.nx-head .st::before { content: "● "; color: var(--ac); font-size: 8px; }
.nx-head .x { margin-left: auto; background: none; border: none; color: var(--dim); font-size: 22px; cursor: pointer; line-height: 1; }
.nx-head .x:hover { color: var(--ink); }
.nx-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.nx-msg { font-size: 14px; line-height: 1.5; max-width: 86%; padding: 10px 13px; border-radius: 12px; white-space: pre-wrap; word-wrap: break-word; }
.nx-msg.bot { background: var(--bg2); color: #dde0e7; align-self: flex-start; border: 1px solid var(--line2); border-bottom-left-radius: 4px; }
.nx-msg.me { background: var(--panel2); color: var(--ink); align-self: flex-end; border: 1px solid var(--line); border-bottom-right-radius: 4px; }
.nx-typing { align-self: flex-start; color: var(--dim); font-size: 13px; font-style: italic; }
.nx-chips { display: flex; gap: 7px; flex-wrap: wrap; padding: 0 16px 11px; }
.nx-chip { font-size: 12px; color: #c1c5cf; background: var(--bg2); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 12px; cursor: pointer; transition: border-color .14s, background .14s; }
.nx-chip:hover { border-color: var(--btn-b-h); background: var(--panel2); }
.nx-in { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line2); }
.nx-in input { flex: 1; background: var(--bg2); border: 1px solid var(--line); border-radius: 9px;
  color: var(--ink); padding: 11px 13px; font-family: inherit; font-size: 14px; outline: none; transition: border-color .14s; }
.nx-in input:focus { border-color: var(--btn-b-h); }
.nx-in button { background: var(--btn); color: var(--ink); border: 1px solid var(--btn-b); border-radius: 9px;
  padding: 0 16px; font-weight: 600; cursor: pointer; transition: background .12s, transform .06s; }
.nx-in button:hover { background: var(--btn-h); }
.nx-in button:active { transform: translateY(1px); }
.nx-in button:disabled { opacity: .5; cursor: default; }

@media (max-width: 720px) {
  .product-grid, .grid { grid-template-columns: 1fr; }
  h1.title, .store-head h1 { font-size: 26px; letter-spacing: -.5px; }
  .pack { padding: 26px 20px; }
  .pack-stats { grid-template-columns: repeat(2, 1fr); }
  .topbar .nav { display: none; }
}

/* ── Mobile : lecture centrée, aérée, cibles tactiles confortables ── */
@media (max-width: 620px) {
  .wrap { padding: 0 18px 90px; }
  .store-head { padding: 34px 0 4px; text-align: center; }
  .store-head h1, .store-head p { margin-left: auto; margin-right: auto; }
  .store-head h1 { font-size: 27px; }
  .store-head p { font-size: 15.5px; }
  .store-kicker { display: inline-block; }

  /* Labels de section : filet équilibré des deux côtés, centrés */
  .sec-label { justify-content: center; text-align: center; letter-spacing: 1.4px; }
  .sec-label::before { content: ""; flex: 1; height: 1px; background: var(--line2); }

  /* CTA principal + panier sur la même ligne ; prix propre en dessous */
  .cta-row { flex-wrap: wrap; align-items: stretch; gap: 12px; }
  .cta-row .buy.primary { flex: 1 1 0; width: auto; text-align: center; padding: 15px 16px; }
  .cta-row .ic.add { width: 54px; height: auto; flex: none; border-radius: 12px; }
  .cta-row .price-tag { flex-basis: 100%; font-size: 20px; line-height: 1.3; margin-top: 2px; }
  .cta-row .price-tag small { display: block; margin-top: 5px; line-height: 1.5; }

  /* Carte produit : plus d'air, prix/actions empilés proprement */
  .pcard { padding: 24px 20px; }
  .pcard .row { flex-direction: column; align-items: stretch; gap: 14px; }
  .pcard .actions { justify-content: space-between; }
  .pcard .actions .buy { flex: 1; text-align: center; }

}

/* ════════════════════════════════════════════════════════════════════
   SHELL MARKETPLACE — header collant (verre), recherche ⌘K, panier,
   profil. Pensé comme l'ossature d'une place de marché de créateurs.
   ════════════════════════════════════════════════════════════════════ */
@property --ba { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.shell { position: sticky; top: 0; z-index: 600;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line2); transition: border-color .2s, box-shadow .2s; }
.shell.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 34px rgba(0,0,0,.45); }
.shell-in { max-width: 980px; margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; gap: 16px; }
.shell .wordmark { font-size: 15px; flex-shrink: 0; }

/* Barre de commande centrale (faux champ → ouvre la palette) */
.cmd { flex: 1; max-width: 440px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 12px 0 14px; cursor: text;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 11px;
  color: var(--dim); font-size: 13.5px; transition: border-color .15s, background .15s; }
.cmd:hover { border-color: var(--btn-b); background: var(--panel); }
.cmd svg { width: 15px; height: 15px; color: var(--mut); flex-shrink: 0; }
.cmd span { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd kbd { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--mut);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; background: var(--panel); letter-spacing: .5px; }

.shell-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.ic { position: relative; width: 39px; height: 39px; display: grid; place-items: center; cursor: pointer;
  background: var(--btn); border: 1px solid var(--btn-b); border-radius: 10px; color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: background .12s, border-color .12s, transform .06s; }
.ic:hover { background: var(--btn-h); border-color: var(--btn-b-h); }
.ic:active { transform: translateY(1px); }
.ic svg { width: 18px; height: 18px; }
.ic.s-search { display: none; }
.ic .badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--ac); color: #0b0c12; font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700; display: none; align-items: center; justify-content: center;
  border: 2px solid var(--bg); }
.ic .badge.show { display: flex; }
.ic .av-img { width: 24px; height: 24px; border-radius: 7px; object-fit: cover; }

/* Voile partagé (palette + tiroir + menu) */
.scrim { position: fixed; inset: 0; z-index: 900; background: rgba(5,6,9,.62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* ── Palette de recherche (⌘K) ── */
.pal { position: fixed; z-index: 950; left: 50%; top: 86px; transform: translateX(-50%) translateY(-8px) scale(.98);
  width: min(640px, calc(100vw - 28px)); background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 44px 110px rgba(0,0,0,.72); overflow: hidden;
  opacity: 0; pointer-events: none; transition: opacity .16s, transform .16s; }
.pal.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 17px 19px; border-bottom: 1px solid var(--line2); }
.pal-in svg { width: 18px; height: 18px; color: var(--mut); flex-shrink: 0; }
.pal-in input { flex: 1; background: none; border: none; color: var(--ink); font-size: 16.5px;
  outline: none; font-family: inherit; }
.pal-in input::placeholder { color: var(--dim); }
.pal-in .esc { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mut);
  border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px; }
.pal-res { max-height: 52vh; overflow-y: auto; padding: 7px; }
.pal-sec { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dim); padding: 13px 12px 7px; }
.pal-row { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 11px; cursor: pointer;
  border: 1px solid transparent; }
.pal-row.sel, .pal-row:hover { background: var(--panel2); border-color: var(--line); }
.pal-row .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--bg2); border: 1px solid var(--line);
  display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 14px;
  color: var(--mut); flex-shrink: 0; overflow: hidden; }
.pal-row .ico img { width: 100%; height: 100%; object-fit: cover; }
.pal-row .meta { flex: 1; min-width: 0; }
.pal-row .meta b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.2px; }
.pal-row .meta span { font-size: 11.5px; color: var(--mut); }
.pal-row .pr { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; color: var(--mut); }
.pal-row.disabled { opacity: .5; cursor: default; }
.pal-row .soon { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px; }
.pal-empty { padding: 34px 18px; text-align: center; color: var(--dim); font-size: 14px; }
.pal-foot { display: flex; gap: 18px; padding: 11px 18px; border-top: 1px solid var(--line2);
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--dim); }
.pal-foot b { color: var(--mut); font-weight: 600; }

/* ── Tiroir panier ── */
.drawer { position: fixed; z-index: 950; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(420px, 100vw);
  background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: -30px 0 80px rgba(0,0,0,.5); }
.drawer.open { transform: none; }
.drawer-h { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line2); }
.dh-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--btn); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); }
.dh-ic svg { width: 17px; height: 17px; }
.dh-t { min-width: 0; }
.dh-t b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.3px; line-height: 1.2; }
.dh-t .cnt { display: block; margin-top: 2px; font-size: 11.5px; color: var(--mut); }
.drawer-h .x { margin-left: auto; width: 36px; height: 36px; flex: none; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; color: var(--mut); display: grid; place-items: center; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.drawer-h .x svg { width: 15px; height: 15px; }
.drawer-h .x:hover { background: var(--btn-h); color: var(--ink); border-color: var(--btn-b); }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .15s; animation: ciIn .28s cubic-bezier(.2,.8,.2,1) both; }
.cart-item:hover { border-color: var(--btn-b); }
@keyframes ciIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ci-thumb { width: 76px; height: 50px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); background: #0b0c10;
  display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--mut); }
.ci-thumb.light { background: #f4f4f1; }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.ci-info { min-width: 0; }
.ci-name { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.2px; color: var(--ink); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-name:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--btn-b-h); }
.ci-cat { display: block; margin-top: 2px; font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-lic { display: block; margin-top: 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .3px; color: var(--dim); }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ci-pr { font-family: 'JetBrains Mono', monospace; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.ci-rm { width: 28px; height: 28px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--dim);
  display: grid; place-items: center; cursor: pointer; transition: color .12s, background .12s, border-color .12s; }
.ci-rm svg { width: 14px; height: 14px; }
.ci-rm:hover { color: #e39a9a; background: rgba(227,154,154,.07); border-color: rgba(227,154,154,.22); }
.cart-empty { margin: auto; width: 100%; text-align: center; padding: 28px 18px; }
.cart-empty .ce-ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--bg2); display: grid; place-items: center; color: var(--mut); }
.cart-empty .ce-ic svg { width: 26px; height: 26px; }
.cart-empty b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.2px; color: var(--ink); }
.cart-empty p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--mut); }
.cart-empty .buy { display: inline-flex; margin-top: 18px; }
.cart-teaser { margin-top: 22px; font-size: 12px; color: var(--mut); border: 1px dashed var(--line);
  border-radius: 12px; padding: 13px 14px; line-height: 1.55; text-align: left; }
.drawer-foot { border-top: 1px solid var(--line2); }
.drawer-foot.on { padding: 16px 18px 20px; background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0)); }
.drawer-foot .cf-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12.5px; color: var(--mut); }
.drawer-foot .cf-row span:last-child { color: #c1c5cf; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.drawer-foot .tot { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.drawer-foot .tot span { color: var(--ink); font-size: 14px; font-weight: 600; }
.drawer-foot .tot b { font-family: 'JetBrains Mono', monospace; font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.drawer-foot .buy { width: 100%; text-align: center; display: block; }
.drawer-foot .cf-alt { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 10px; padding: 9px;
  border-radius: 10px; font-size: 12.5px; color: var(--mut); text-decoration: none; transition: color .12s, background .12s; }
.drawer-foot .cf-alt svg { width: 15px; height: 15px; }
.drawer-foot .cf-alt:hover { color: var(--ink); background: var(--btn); }
.drawer-foot .secure { margin-top: 12px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .3px; color: var(--dim); }
.drawer-foot .secure span { display: inline-flex; align-items: center; gap: 6px; }
.drawer-foot .secure svg { width: 12px; height: 12px; }

/* ── Menu profil ── */
.menu { position: fixed; z-index: 950; top: 60px; right: 18px; width: 256px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: 0 30px 70px rgba(0,0,0,.6); opacity: 0; pointer-events: none; transform: translateY(-8px) scale(.97);
  transform-origin: top right; transition: opacity .15s, transform .15s; }
.menu.open { opacity: 1; pointer-events: auto; transform: none; }
.menu .mh { display: flex; align-items: center; gap: 11px; padding: 12px 12px 14px; border-bottom: 1px solid var(--line2); margin-bottom: 7px; }
.menu .mh img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); }
.menu .mh b { font-size: 14px; display: block; }
.menu .mh span { font-size: 11px; color: var(--mut); }
.menu a, .menu button.mi { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: 9px; color: #c1c5cf; font-size: 13.5px; background: none; border: none; cursor: pointer;
  font-family: inherit; text-align: left; transition: background .12s, color .12s; }
.menu a:hover, .menu button.mi:hover { background: var(--panel2); color: var(--ink); }
.menu .mi svg, .menu a svg { width: 16px; height: 16px; color: var(--mut); flex-shrink: 0; }
.menu .mi .soon { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--dim); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; }

@keyframes pulse { 0%,100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }

/* Bouton « ajouter au panier » dans les cartes / CTA */
.ic.add { width: 38px; height: 38px; }
.pcard .row { flex-wrap: wrap; row-gap: 12px; }
.pcard .actions { flex-wrap: wrap; }
.cta-row .ic.add { width: 44px; height: 44px; }

/* Pied de page enrichi (liens externes) */
footer .foot-links { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 16px; }
footer .foot-links a { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none;
  color: var(--mut); }
footer .foot-links a:hover { color: var(--ink); }
footer .foot-legal { font-family: 'JetBrains Mono', monospace; }

@media (max-width: 760px) {
  .cmd { display: none; }
  .ic.s-search { display: grid; }
  .shell-in { gap: 10px; }
}

/* ════════════════════════════════════════════════════════════════════
   Espace membre (/compte) + auth dans le menu profil.
   ════════════════════════════════════════════════════════════════════ */
.acct { max-width: 680px; padding-top: 40px; padding-bottom: 80px; }
.acct-title { font-size: 30px; font-weight: 800; letter-spacing: -.8px; margin: 14px 0 6px; color: var(--ink); }
.acct-lead { color: var(--mut); font-size: 14px; margin: 0 0 22px; max-width: 520px; }
.acct-card { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  background: linear-gradient(180deg, var(--panel2), var(--panel)); overflow: hidden; }
.acct-loading { color: var(--mut); font-size: 13px; }
.acct-h { font-size: 18px; font-weight: 700; margin: 0 0 6px; position: relative; }
.acct-p { color: var(--mut); font-size: 13.5px; line-height: 1.6; margin: 0 0 16px; position: relative; }
.acct-p a { color: #9cc2ff; }
.acct-form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.acct-form input { flex: 1; min-width: 220px; background: rgba(8,11,20,.7); border: 1px solid var(--line2);
  border-radius: 11px; padding: 13px 15px; color: var(--ink); font-size: 14px; outline: none; transition: border-color .15s; }
.acct-form input:focus { border-color: #2f80ff; }
.acct-msg { color: #ff7a7a; font-size: 12.5px; margin-top: 10px; min-height: 16px; position: relative; }
.acct-note { font-size: 12.5px; padding: 9px 12px; border-radius: 9px; margin: 0 0 16px; position: relative; }
.acct-note.ok { background: rgba(43,208,122,.12); border: 1px solid rgba(43,208,122,.35); color: #7fe3b0; }
.acct-note.err { background: rgba(255,80,80,.1); border: 1px solid rgba(255,80,80,.32); color: #ff9b9b; }
.acct-sent { text-align: center; padding: 14px 0; position: relative; }
.acct-sent-ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  font-size: 24px; background: rgba(45,128,255,.16); border: 1px solid rgba(80,140,255,.4); color: #9cc2ff; animation: pulse 3s ease-in-out infinite; }
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 22px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line2); position: relative; }
.acct-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: #6f86ad; }
.acct-email { font-size: 15px; font-weight: 600; color: var(--ink); word-break: break-all; }
.acct-logout { font-size: 12.5px; color: var(--mut); border: 1px solid var(--line2); border-radius: 9px; padding: 8px 13px; white-space: nowrap; }
.acct-logout:hover { color: var(--ink); border-color: var(--line); }
.acct-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.acct-orders li { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(8,11,20,.55); border: 1px solid var(--line2); border-radius: 12px; padding: 13px 15px; }
.ao-l { display: flex; flex-direction: column; gap: 3px; }
.ao-l b { font-size: 14px; }
.ao-l span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mut); }
.ao-resend { background: rgba(40,90,200,.14); border: 1px solid rgba(80,140,255,.35); color: #9cc2ff;
  font-size: 12.5px; font-weight: 600; border-radius: 9px; padding: 9px 14px; white-space: nowrap; transition: background .15s; }
.ao-resend:hover:not(:disabled) { background: rgba(40,90,200,.26); }
.ao-resend:disabled { opacity: .7; cursor: default; }

/* Menu profil : avatar initiale + déconnexion */
.menu .mh-av { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(180deg, #2f8fff, #1d6cff); }
.menu .mh-mail { font-size: 13px; word-break: break-all; line-height: 1.25; }
.menu .mi-out { border-top: 1px solid var(--line2); margin-top: 5px; color: var(--mut); }
.menu .mi-out:hover { color: var(--ink); }

/* ── Espace membre : états enrichis (loading, validation, skeleton, resend) ── */
.acct-boot { display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: 13px; }
.acct-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(156,194,255,.35);
  border-top-color: #9cc2ff; border-radius: 50%; vertical-align: -2px; margin-right: 8px; animation: acct-rot .7s linear infinite; }
@keyframes acct-rot { to { transform: rotate(360deg); } }

/* champ email + coche de validité */
.acct-field { position: relative; flex: 1; min-width: 220px; display: flex; }
.acct-field input { width: 100%; min-width: 0; padding-right: 38px; }
.acct-valid { position: absolute; right: 13px; top: 50%; transform: translateY(-50%) scale(.6);
  color: #2bd07a; font-size: 14px; font-weight: 800; opacity: 0; transition: opacity .15s, transform .15s; }
.acct-field.valid .acct-valid { opacity: 1; transform: translateY(-50%) scale(1); }
.acct-field.valid input { border-color: rgba(43,208,122,.5); }
.acct-field.invalid input { border-color: #ff6b6b; }
.acct-form button { align-self: stretch; }

/* secousse sur erreur */
@keyframes acct-shake { 10%,90%{transform:translateX(-1px)} 20%,80%{transform:translateX(2px)}
  30%,50%,70%{transform:translateX(-4px)} 40%,60%{transform:translateX(4px)} }
.shake { animation: acct-shake .4s both; }

/* vue "email envoyé" */
.acct-open { display: inline-block; margin: 4px 0 18px; }
.acct-sent-actions { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.acct-textbtn { background: none; border: none; color: #9cc2ff; font-size: 12.5px; font-weight: 600;
  cursor: pointer; padding: 4px 2px; border-radius: 6px; }
.acct-textbtn:hover:not(:disabled) { text-decoration: underline; }
.acct-textbtn:disabled { color: var(--mut); cursor: default; }
.acct-dot { color: var(--line); }

/* état vide / erreur des achats */
.acct-empty { text-align: center; padding: 18px 0 6px; }
.acct-empty-ic { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; color: #6f86ad; background: rgba(8,11,20,.55); border: 1px solid var(--line2); }
.acct-empty .buy { display: inline-block; margin-top: 4px; }

/* skeleton de chargement des achats */
.acct-sk { pointer-events: none; }
.sk { display: block; height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%);
  background-size: 400% 100%; animation: acct-shim 1.3s ease infinite; }
.sk-l { width: 42%; } .sk-r { width: 92px; height: 30px; border-radius: 9px; }
@keyframes acct-shim { 0%{background-position:100% 0} 100%{background-position:0 0} }

/* états du bouton "renvoyer le lien" */
.ao-resend.done { background: rgba(43,208,122,.16); border-color: rgba(43,208,122,.45); color: #7fe3b0; }
.ao-resend.failed { background: rgba(255,80,80,.12); border-color: rgba(255,90,90,.45); color: #ff9b9b; }

/* accessibilité AAA : anneaux de focus visibles partout */
.acct-card a:focus-visible, .acct-card button:focus-visible, .acct-field input:focus-visible {
  outline: 2px solid #6fb0ff; outline-offset: 2px; }
.acct-field input:focus { border-color: #2f80ff; box-shadow: 0 0 0 3px rgba(47,128,255,.18); }
.acct-h[tabindex]:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .acct-spin, .sk, .shake, .acct-sent-ic { animation: none !important; }
}

/* ── Le Coffre : header membre + cartes-licence ── */
.acct-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acct-av { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: #fff; background: linear-gradient(180deg, #2f8fff, #1d6cff);
  box-shadow: 0 6px 18px rgba(47,128,255,.28); }
.acct-vault-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; position: relative; }
.acct-vault-h .acct-h { margin: 0; }
.acct-vault-tag { font-size: 12px; color: var(--mut); }

.acct-vaults { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; position: relative; }
.vault { background: linear-gradient(180deg, rgba(20,24,33,.7), rgba(8,11,20,.5));
  border: 1px solid var(--line2); border-radius: 14px; padding: 16px 16px 14px; }
.vault-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vault-meta { min-width: 0; }
.vault-name { display: flex; align-items: center; gap: 9px; }
.vault-name b { font-size: 15.5px; font-weight: 700; }
.vault-ver { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .8px; color: #9cc2ff;
  border: 1px solid rgba(80,140,255,.32); border-radius: 5px; padding: 2px 6px; }
.vault-sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mut); margin-top: 5px;
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.vault-serial { color: #e2c98a; letter-spacing: .5px; }
.vault-dot { opacity: .4; }
.vault-seal { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: #62d69a; border: 1px solid rgba(43,208,122,.4); background: rgba(43,208,122,.08);
  border-radius: 999px; padding: 4px 10px 4px 8px; }
.vault-seal svg { width: 13px; height: 13px; }
.vault-update { margin: 12px 0 13px; font-size: 12.5px; color: #7fe3b0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vault-update span { color: var(--mut); }
.vault-incl { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--dim); border: 1px solid var(--line2); border-radius: 5px; padding: 2px 7px; }
.vault-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vault-dl { display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 150px; justify-content: center;
  background: #e9ebf1; color: #0e0f13; font-size: 13px; font-weight: 700; border-radius: 10px; padding: 11px 16px;
  transition: transform .15s, box-shadow .15s; }
.vault-dl:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.vault-dl svg { width: 16px; height: 16px; }
.vault-mail { background: rgba(40,90,200,.12); border: 1px solid rgba(80,140,255,.3); color: #9cc2ff;
  font-size: 12.5px; font-weight: 600; border-radius: 10px; padding: 11px 16px; white-space: nowrap; transition: background .15s; }
.vault-mail:hover:not(:disabled) { background: rgba(40,90,200,.24); }
.vault-mail:disabled { opacity: .7; cursor: default; }
.vault-mail.done { background: rgba(43,208,122,.16); border-color: rgba(43,208,122,.45); color: #7fe3b0; }
.vault-mail.failed { background: rgba(255,80,80,.12); border-color: rgba(255,90,90,.45); color: #ff9b9b; }

/* ── Menu profil : mini-Coffre + sections ── */
.menu .m-label { display: flex; align-items: center; gap: 7px; padding: 9px 12px 5px; margin-top: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); }
.menu .m-label svg { width: 13px; height: 13px; }
.menu .m-vault { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 4px; }
.menu .m-vrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px;
  border-radius: 8px; background: rgba(8,11,20,.4); }
.menu .m-vname { font-size: 12.5px; color: #c1c5cf; display: flex; align-items: center; gap: 7px; min-width: 0; }
.menu .m-vname i { font-family: 'JetBrains Mono', monospace; font-style: normal; font-size: 9px; letter-spacing: .6px;
  color: #9cc2ff; border: 1px solid rgba(80,140,255,.3); border-radius: 4px; padding: 1px 5px; }
.menu .m-dl { width: auto; padding: 5px; border-radius: 7px; color: var(--mut); flex: 0 0 auto; }
.menu .m-dl:hover { color: var(--ink); background: var(--panel2); }
.menu .m-dl svg { width: 15px; height: 15px; }
.menu .m-vempty { font-size: 12px; color: var(--mut); padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
.menu .m-vempty a { padding: 0; color: #9cc2ff; font-size: 12px; }
.menu .m-vempty a:hover { background: none; text-decoration: underline; }
.menu .m-vskel { height: 30px; }
.menu .m-sk { display: block; width: 100%; height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%);
  background-size: 400% 100%; animation: acct-shim 1.3s ease infinite; }
.menu .m-primary { background: rgba(40,90,200,.12); color: #cdd9f2; font-weight: 600; margin-top: 4px; }
.menu .m-primary svg { color: #9cc2ff; }
.menu .m-primary:hover { background: rgba(40,90,200,.22); }
.menu .mh-guest { background: linear-gradient(180deg, #1b2230, #141a25); border: 1px solid var(--line2); color: #8fa3bf; }
.menu .mh-guest svg { width: 19px; height: 19px; }

@media (max-width: 640px) {
  .vault-actions { flex-direction: column; }
  .vault-dl, .vault-mail { flex: none; width: 100%; }
  .acct-vault-tag { width: 100%; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Créateur · Contact · Légal · USDC — composants partagés
   ───────────────────────────────────────────────────────────────────────── */

/* icônes inline dans badge / liens */
.badge svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }

/* lien de paiement alternatif (USDC) sous la CTA produit */
.alt-pay { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .2px; color: var(--mut);
  border: 1px solid var(--line2); border-radius: 9px; padding: 9px 13px; transition: color .15s, border-color .15s, background .15s; }
.alt-pay:hover { color: var(--ink); border-color: var(--btn-b); background: var(--panel2); }
/* pile de coins couleur (logos autonomes, fill de marque) */
.alt-pay-coins { display: inline-flex; align-items: center; }
.alt-pay-coins svg { width: 18px; height: 18px; border-radius: 50%; }
.alt-pay-coins svg + svg { margin-left: -6px; }
.badge .alt-pay-coins svg { width: 15px; height: 15px; }
.badge .alt-pay-coins svg + svg { margin-left: -5px; }

/* ── Formulaires (créateur, USDC) ── */
.form-block { margin-top: 0; }
.form-title { font-size: 21px; letter-spacing: -.4px; margin: 16px 0 8px; font-weight: 700; }
.form-sub { color: var(--mut); font-size: 13.5px; line-height: 1.6; max-width: 620px; margin: 0 0 22px; }
.form { display: grid; gap: 15px; max-width: 620px; }
.form .fld { display: grid; gap: 7px; }
.form label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .4px;
  text-transform: uppercase; color: var(--mut); }
.form input, .form textarea, .form select {
  background: rgba(8,11,20,.7); border: 1px solid var(--line2); border-radius: 11px;
  padding: 13px 15px; color: var(--ink); font-size: 14px; outline: none; width: 100%;
  font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; line-height: 1.55; min-height: 120px; }
.form select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239298a5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: #2f80ff; box-shadow: 0 0 0 3px rgba(47,128,255,.16); }
.form .req { color: #ff8f8f; }
.form .opt { color: var(--dim); text-transform: none; letter-spacing: 0; }
.form .buy.primary { justify-self: start; margin-top: 4px; }

/* case à cocher */
.chk { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #c1c5cf; line-height: 1.5;
  text-transform: none; letter-spacing: 0; font-family: inherit; cursor: pointer; }
.chk input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; accent-color: #2f80ff; cursor: pointer; }
.chk a { color: #9cc2ff; }

/* champ fichier (pièce d'identité) */
.filebox { display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: rgba(8,11,20,.7); border: 1px dashed var(--btn-b); border-radius: 11px; padding: 14px 15px;
  text-transform: none; letter-spacing: 0; transition: border-color .15s, background .15s; }
.filebox:hover { border-color: var(--btn-b-h); background: var(--panel2); }
.filebox:focus-within { border-color: #2f80ff; box-shadow: 0 0 0 3px rgba(47,128,255,.16); }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.filebox-ic { width: 22px; height: 22px; flex: 0 0 22px; color: var(--mut); }
.filebox-ic svg { width: 22px; height: 22px; }
.filebox-txt { font-size: 13px; color: var(--mut); word-break: break-word; }

/* messages + secousse */
.form-msg { min-height: 16px; font-size: 12.5px; }
.form-msg.err { color: #ff9b9b; }
.form-msg.ok { color: #7fe3b0; }

/* confirmation post-envoi */
.form-sent { text-align: center; padding: 18px 0; }
.form-sent-ic { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  font-size: 24px; color: #7fe3b0; background: rgba(43,208,122,.12); border: 1px solid rgba(43,208,122,.4); }
.form-sent h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.form-sent p { color: var(--mut); font-size: 13.5px; line-height: 1.6; max-width: 460px; margin: 0 auto; }
.form-sent b { color: var(--ink); }

/* ── Répartition 85/15 (créateur) ── */
.split-card { margin-top: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.split-bar { display: flex; height: 46px; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); }
.split-you, .split-us { display: flex; align-items: center; justify-content: center; font-weight: 800;
  font-family: 'JetBrains Mono', monospace; font-size: 15px; letter-spacing: -.3px; }
.split-you { background: linear-gradient(180deg, #2f8fff, #1d6cff); color: #fff; }
.split-us { background: var(--btn); color: var(--mut); }
.split-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.sl { display: flex; flex-direction: column; gap: 4px; }
.sl b { font-size: 14px; }
.sl span { color: var(--mut); font-size: 12.5px; line-height: 1.5; }

/* ── FAQ ── */
.faq-block { margin: 24px 0 34px; }
.faq-h { font-size: 21px; margin: 0 0 16px; letter-spacing: -0.01em; }
.faq-row summary h3 { font: inherit; color: inherit; margin: 0; letter-spacing: inherit; }
.faq-row { border: 1px solid var(--line2); border-radius: 11px; padding: 0; margin-bottom: 10px;
  background: var(--panel); overflow: hidden; }
.faq-row summary { list-style: none; cursor: pointer; padding: 16px 18px; font-size: 14.5px; font-weight: 600;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary::after { content: "+"; font-family: 'JetBrains Mono', monospace; color: var(--mut); font-weight: 400; font-size: 18px; flex: 0 0 auto; }
.faq-row[open] summary::after { content: "−"; }
.faq-row[open] summary { border-bottom: 1px solid var(--line2); }
.faq-row p { padding: 14px 18px 17px; color: var(--mut); font-size: 13.5px; line-height: 1.62; margin: 0; }

/* ── Contact ── */
.contact-grid { grid-template-columns: 1fr 1fr; }
.contact-card { display: flex; flex-direction: column; gap: 8px; }
.contact-card h3 { color: var(--ink); }
.contact-card:hover { border-color: var(--btn-b-h); }

/* ── Légal ── */
.legal-banner { margin: 24px 0 8px; padding: 13px 16px; border-radius: 11px; font-size: 12.5px; line-height: 1.55;
  color: #e2c98a; background: rgba(226,201,138,.07); border: 1px solid rgba(226,201,138,.3); }
.legal-banner b { color: #f0dca6; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.legal-nav a { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .3px; color: var(--mut);
  border: 1px solid var(--line2); border-radius: 8px; padding: 7px 12px; transition: color .15s, border-color .15s; }
.legal-nav a:hover { color: var(--ink); border-color: var(--btn-b); }
.legal-sec { margin-top: 40px; scroll-margin-top: 80px; }
.legal-body { margin-top: 14px; }
.legal-body p { color: #c1c5cf; font-size: 14px; line-height: 1.7; margin: 0 0 14px; max-width: 680px; }
.legal-body b { color: var(--ink); }

/* ── USDC (Polygon) ── */
.usdt-items { display: grid; gap: 9px; }
.usdt-item { display: flex; align-items: center; gap: 12px; cursor: pointer; text-transform: none; letter-spacing: 0;
  background: rgba(8,11,20,.7); border: 1px solid var(--line2); border-radius: 11px; padding: 13px 15px; transition: border-color .15s, background .15s; }
.usdt-item:hover { border-color: var(--btn-b); background: var(--panel2); }
.usdt-item input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: #2775ca; cursor: pointer; }
.usdt-item-n { font-size: 14px; color: var(--ink); font-weight: 600; }
.usdt-item-p { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--mut); }
.usdt-net-info { font-size: 13px; line-height: 1.6; color: var(--mut); background: rgba(39,117,202,.08);
  border: 1px solid rgba(39,117,202,.28); border-radius: 11px; padding: 12px 15px; }
.usdt-net-info b { color: #7fb0ec; }
.usdt-total { font-family: 'JetBrains Mono', monospace; font-size: 15px; color: var(--ink); }
.usdt-total b { font-size: 19px; }
.usdt-total small { color: var(--dim); font-size: 11px; margin-left: 6px; }

.usdt-pay .usdt-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px 20px; margin-top: 20px; }
.usdt-row { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line2); }
.usdt-row:last-of-type { border-bottom: none; }
.usdt-row > span { font-size: 12.5px; color: var(--mut); flex: 0 0 auto; }
.usdt-row > b { font-size: 14px; text-align: right; word-break: break-all; }
.usdt-copy { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; cursor: pointer;
  color: var(--ink); font-size: 14px; font-family: inherit; text-align: right; max-width: 70%; transition: color .15s; }
.usdt-copy.mono b { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; word-break: break-all; }
.usdt-copy svg { width: 15px; height: 15px; color: var(--mut); flex: 0 0 auto; }
.usdt-copy:hover { color: #26a17b; }
.usdt-copy.copied { color: #26a17b; }
.usdt-copy.copied::after { content: " copié ✓"; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #26a17b; }
.usdt-hint { font-size: 12px; color: var(--mut); line-height: 1.55; margin: 14px 0 0; }
.usdt-warn { font-size: 12.5px; color: #e2c98a; line-height: 1.6; margin: 12px 0 18px;
  background: rgba(226,201,138,.06); border: 1px solid rgba(226,201,138,.28); border-radius: 10px; padding: 12px 14px; }
.usdt-warn b { color: #f0dca6; }
.usdt-claim-h { font-size: 16px; font-weight: 700; margin: 8px 0 16px; }
.usdt-copy em { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--mut); }

/* ── Choix du moyen de paiement (coins couleur) ── */
.asset-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.asset-opt { position: relative; display: flex; align-items: center; gap: 11px; cursor: pointer;
  text-transform: none; letter-spacing: 0; background: rgba(8,11,20,.7); border: 1px solid var(--line2);
  border-radius: 12px; padding: 13px 14px; transition: border-color .15s, background .15s, box-shadow .15s; }
.asset-opt:hover { border-color: var(--btn-b); background: var(--panel2); }
.asset-opt input { position: absolute; opacity: 0; pointer-events: none; }
.asset-logo { display: inline-flex; flex: 0 0 auto; }
.asset-logo svg { width: 30px; height: 30px; }
.asset-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.asset-meta b { font-size: 14px; color: var(--ink); font-weight: 700; }
.asset-meta small { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .4px;
  text-transform: uppercase; color: var(--dim); }
.asset-check { width: 16px; height: 16px; flex: 0 0 16px; margin-left: auto; border-radius: 50%;
  border: 1.5px solid var(--btn-b); transition: border-color .15s, background .15s; }
.asset-opt input:checked ~ .asset-check { border-color: #2f80ff; background:
  radial-gradient(circle at center, #2f80ff 0 4.5px, transparent 5.5px); }
.asset-opt.asset-usdc input:checked ~ .asset-check { border-color: #2775ca; background: radial-gradient(circle at center, #2775ca 0 4.5px, transparent 5.5px); }
.asset-opt.asset-usdt input:checked ~ .asset-check { border-color: #26a17b; background: radial-gradient(circle at center, #26a17b 0 4.5px, transparent 5.5px); }
.asset-opt:has(input:checked) { border-color: color-mix(in srgb, var(--btn-b-h) 70%, #2f80ff);
  box-shadow: 0 0 0 3px rgba(47,128,255,.12); }
.asset-opt.asset-usdc:has(input:checked) { box-shadow: 0 0 0 3px rgba(39,117,202,.15); border-color: #2775ca; }
.asset-opt.asset-usdt:has(input:checked) { box-shadow: 0 0 0 3px rgba(38,161,123,.15); border-color: #26a17b; }
.asset-opt.is-soon { cursor: not-allowed; opacity: .5; }
.asset-opt.is-soon:hover { border-color: var(--line2); background: rgba(8,11,20,.7); }
.asset-opt.is-soon .asset-logo svg { filter: grayscale(.35); }
.asset-soon { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--dim); border: 1px solid var(--line2); border-radius: 999px; padding: 3px 7px; }

/* ── Statut de détection on-chain en direct ── */
.usdt-status { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.usdt-status-ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 17px; color: var(--mut); background: rgba(255,255,255,.04); border: 1px solid var(--line2); }
.usdt-status.is-ok .usdt-status-ic { color: #7fe3b0; background: rgba(43,208,122,.12); border-color: rgba(43,208,122,.4); }
.usdt-status.is-err .usdt-status-ic { color: #e2c98a; background: rgba(226,201,138,.1); border-color: rgba(226,201,138,.35); }
.usdt-status-tx { display: flex; flex-direction: column; gap: 4px; }
.usdt-status-tx b { font-size: 14px; color: var(--ink); font-weight: 700; }
.usdt-status-tx span { font-size: 12.5px; color: var(--mut); line-height: 1.55; }
.usdt-status-tx b[style], .usdt-status-tx span b { color: var(--ink); font-weight: 600; }
.spin { width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--line); border-top-color: #7fb0ff;
  display: inline-block; animation: usdt-spin .8s linear infinite; }
@keyframes usdt-spin { to { transform: rotate(360deg); } }
.usdt-fallback { font-size: 12px; color: var(--dim); line-height: 1.55; margin: 16px 0 0; }
.usdt-fallback a { color: var(--mut); text-decoration: underline; text-underline-offset: 2px; }
.usdt-fallback a:hover { color: var(--ink); }

/* focus-visible (AAA) sur les nouveaux éléments interactifs */
.faq-row summary:focus-visible, .usdt-copy:focus-visible, .legal-nav a:focus-visible,
.alt-pay:focus-visible, .contact-card:focus-visible, .usdt-item:focus-within,
.asset-opt:focus-within, .form .buy:focus-visible {
  outline: 2px solid #6fb0ff; outline-offset: 2px; }

@media (max-width: 640px) {
  .contact-grid, .split-legend { grid-template-columns: 1fr; }
  .asset-picker { grid-template-columns: 1fr; }
  .usdt-copy { max-width: 60%; }
}

/* ── Explorateur de code (aperçu verrouillé) ── */
.ce-sec { margin-top: 64px; }
.ce-intro { color: var(--mut); font-size: 14px; margin: -6px 0 18px; max-width: 640px; }
.ce {
  display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; background: var(--panel);
  font-family: 'JetBrains Mono', monospace;
}
.ce-side { border-right: 1px solid var(--line2); background: var(--bg2); display: flex; flex-direction: column; min-width: 0; }
.ce-side-h {
  padding: 10px 14px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dim); border-bottom: 1px solid var(--line2); font-weight: 600;
}
.ce-tree { overflow-y: auto; max-height: 480px; padding: 6px 0; flex: 1; }
.ce-dir-h {
  display: flex; align-items: center; gap: 7px; width: 100%; text-align: left;
  background: none; border: 0; color: var(--mut); font: inherit; font-size: 12px;
  padding: 4px 14px; cursor: pointer;
}
.ce-dir-h:hover { color: var(--ink); }
.ce-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; flex: none; }
.ce-dir-h[aria-expanded="true"] .ce-caret { transform: rotate(45deg); }
.ce-dir-b { padding-left: 13px; }
.ce-file {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  background: none; border: 0; border-left: 2px solid transparent; color: var(--mut);
  font: inherit; font-size: 12px; padding: 4px 14px 4px 19px; cursor: pointer; text-align: left; min-width: 0;
}
.ce-file:hover { color: var(--ink); background: var(--panel2); }
.ce-file.on { color: var(--ink); background: var(--panel2); border-left-color: var(--ac); }
.ce-file-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ce-file-m { color: var(--dim); font-size: 10.5px; flex: none; }
.ce-side-f { padding: 9px 14px; font-size: 10.5px; color: var(--dim); border-top: 1px solid var(--line2); }
.ce-pane { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.ce-pane-h {
  display: flex; align-items: baseline; gap: 12px; padding: 10px 16px;
  border-bottom: 1px solid var(--line2); background: var(--bg2);
}
.ce-pane-t { font-size: 12px; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ce-pane-m { font-size: 10.5px; color: var(--dim); flex: none; margin-left: auto; }
.ce-pane-scroll { overflow: hidden; max-height: 480px; position: relative; }
.ce-codewrap { display: flex; filter: blur(3.2px); user-select: none; pointer-events: none; }
.ce-gutter {
  display: flex; flex-direction: column; padding: 14px 0 18px; text-align: right;
  color: var(--dim); font-size: 11.5px; line-height: 1.55; min-width: 44px;
  border-right: 1px solid var(--line2); background: var(--bg2); flex: none;
}
.ce-gutter span { padding: 0 10px; }
.ce-code {
  margin: 0; padding: 14px 16px 18px; font-size: 11.5px; line-height: 1.55;
  white-space: pre; overflow: hidden; color: var(--mut); flex: 1; min-width: 0;
}
.ce-tc { color: #566072; }
.ce-tp { color: var(--dim); }
.ce-t1 { color: #9fb4d4; }
.ce-t2 { color: #b0a3c9; }
.ce-t3 { color: #8fb8a8; }
.ce-t4 { color: #c9b08f; }
.ce-more { padding: 8px 16px 14px; font-size: 11px; color: var(--dim); filter: blur(1.5px); }
.ce-bin { color: var(--dim); font-size: 12px; }
.ce-lock {
  position: absolute; inset: 41px 0 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(14,15,19,.15), rgba(14,15,19,.72) 78%);
}
.ce-lock-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 22px 26px; max-width: 320px; border: 1px solid var(--btn-b); border-radius: 10px;
  background: rgba(19,20,25,.92); font-family: 'Hanken Grotesk', system-ui, sans-serif;
}
.ce-lock-card svg { width: 26px; height: 26px; color: var(--mut); }
.ce-lock-card b { font-size: 14.5px; letter-spacing: -.01em; }
.ce-lock-card span { font-size: 12.5px; color: var(--mut); line-height: 1.5; }
.ce-cta { margin-top: 6px; font-size: 13px; }
@media (max-width: 640px) {
  .ce { grid-template-columns: 1fr; }
  .ce-side { border-right: 0; border-bottom: 1px solid var(--line2); }
  .ce-tree { max-height: 200px; }
  .ce-pane-scroll { max-height: 340px; }
}

/* ── Renvoi croisé entre fiches produit ── */
.xsell-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.xsell-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 7px; text-decoration: none;
  color: inherit; transition: border-color .18s, background .18s, transform .18s; }
.xsell-card:hover { border-color: var(--btn-b-h); background: var(--panel2); transform: translateY(-2px); }
.xsell-cat { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--dim); }
.xsell-n { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.xsell-s { color: var(--mut); font-size: 13.5px; }
.xsell-l { color: var(--mut); font-size: 13px; line-height: 1.6; margin-top: 4px; }
.xsell-f { display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line2); }
.xsell-p { font-family: 'JetBrains Mono', monospace; font-size: 17px; font-weight: 600; }
.xsell-go { font-size: 13px; color: var(--mut); }
.xsell-card:hover .xsell-go { color: var(--ink); }

/* ════════════════════════════════════════════════════════════════════
   REFONTE 11/2026 — accueil, cartes produit, étapes, résultats mesurés,
   pied de page. Même design system : graphite, Hanken Grotesk + JetBrains
   Mono, filets fins, aucun élément qui clignote ou prétend être « en direct ».
   ════════════════════════════════════════════════════════════════════ */

/* Accueil : intro compacte + trois engagements vérifiables */
.store-head { padding: 56px 0 4px; }
.store-head h1 { font-size: 32px; letter-spacing: -.8px; max-width: 690px; }
.store-head p { font-size: 15.5px; max-width: 610px; }
.store-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 48px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.store-facts li { padding: 16px 18px 17px; display: flex; flex-direction: column; gap: 4px; }
.store-facts li + li { border-left: 1px solid var(--line2); }
.store-facts b { font-size: 14px; font-weight: 600; letter-spacing: -.1px; }
.store-facts span { font-size: 12.5px; color: var(--mut); line-height: 1.45; }

/* Cartes produit : en-tête catégorie + version, vrais chiffres, actions groupées */
.pcard { padding: 24px 24px 22px; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pcard .pcard-top .cat { margin: 0; }
.pcard .ver { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .5px; color: var(--mut);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pcard h2 a { color: inherit; transition: color .15s; }
.pcard h2 a:hover { color: #fff; }
.pcard .pcard-shot { margin: 18px 0 0; }
.pcard .line { margin: 18px 0 14px; }
.pcard-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 18px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mut); letter-spacing: .2px; }
.pcard-facts b { color: var(--ink); font-weight: 600; }
.pcard .price { line-height: 1.15; }
.pcard .price small { display: block; margin-top: 3px; font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--dim); }
.pcard .actions .link-more { margin-right: 2px; }

/* Comment ça se passe : trois étapes */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.steps .step-n { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: var(--mut);
  width: 24px; height: 24px; display: grid; place-items: center; margin-bottom: 6px;
  border: 1px solid var(--line); border-radius: 7px; background: var(--bg2); }
.steps b { font-size: 14.5px; font-weight: 600; letter-spacing: -.1px; }
.steps li > span:last-child { font-size: 13px; color: var(--mut); line-height: 1.55; }

/* Résultats mesurés : les vrais chiffres du moteur, leurs limites à côté */
.track-intro { color: var(--mut); font-size: 14.5px; line-height: 1.6; max-width: 660px; margin: 2px 0 18px; }
.track-intro b { color: var(--ink); font-weight: 600; }
.track-card { margin: 0; background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 13px; padding: 4px 24px 20px; }
.track-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--line); }
.track-metrics .tm b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.track-metrics .tm span { display: block; margin-top: 5px; font-size: 11px; line-height: 1.4; color: var(--mut);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .3px; }
.track-metrics .tm.pos b { color: #5cc893; }
.track-metrics .tm.neg b { color: #de7d74; }
.track-foot { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.track-chip { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .4px; color: var(--mut);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.track-note { margin: 0; color: var(--dim); font-size: 12px; line-height: 1.62; max-width: 700px; }

/* Pied de page : marque, navigation, mention légale */
footer .foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px 32px;
  flex-wrap: wrap; margin-bottom: 20px; }
footer .foot-mark { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: -.2px; text-transform: none; color: var(--ink); }
footer .foot-mark span { color: var(--dim); }
footer .foot-top .foot-links { gap: 10px 20px; margin: 0; justify-content: flex-end; max-width: 640px; }

@media (max-width: 760px) {
  .store-head { padding-top: 38px; }
  .store-head h1 { font-size: 26px; }
  .store-facts { grid-template-columns: 1fr; margin-bottom: 38px; }
  .store-facts li + li { border-left: 0; border-top: 1px solid var(--line2); }
  .steps { grid-template-columns: 1fr; }
  .track-metrics { grid-template-columns: 1fr 1fr; }
  .track-metrics .tm b { font-size: 20px; }
  footer .foot-top .foot-links { justify-content: flex-start; }
}
/* Vignette d'un cockpit clair (Quorum) : pas de voile sombre, juste un fondu discret en pied */
.pcard-shot.light { background: #f4f4f1; }
.pcard-shot.light::after { background: linear-gradient(180deg, rgba(11,12,16,0) 72%, rgba(11,12,16,.28) 100%); }
.pcard-shot.light img { filter: none; }

/* JevLocal — famille Cercle Jev (08/11/2026) */
.logo-jl { height: 30px; width: auto; display: block; }
.retour-cj { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--dim, #8a8f98); text-decoration: none; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.retour-cj:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.bandeau-jevarb { text-align: center; font-size: 13.5px; padding: 9px 14px; color: #c9d6ff; background: linear-gradient(90deg, rgba(5,99,252,.22), rgba(5,99,252,.08)); border-bottom: 1px solid rgba(47,123,255,.25); }
.bandeau-jevarb a { color: #fff; text-decoration: none; }
.bandeau-jevarb a b { color: #7fb0ff; }
@media (max-width: 640px) { .retour-cj span { display: none; } .logo-jl { height: 24px; } .bandeau-jevarb { font-size: 12.5px; } }
