/* ==========================================================================
   Blox Fruits FR - bffr.fr/onyx
   Boutique de la monnaie premium Onyx (gemme noire à reflets violets).
   Reprend l'ADN cinématique de la famille "new" (/bffr, /contact, /valuenew) :
   dark violet, Archivo / Archivo Expanded, grain, drawer, curseur, orbes.
   Autonome (aucune dépendance CSS). Couleurs hex/rgba directes.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
/* [hidden] doit TOUJOURS gagner (audit 2026-07-04 : des display:* le neutralisaient,
   exposant le formulaire de trade et des boîtes vides aux visiteurs non connectés). */
[hidden] { display: none !important; }

/* Affichage type Robux : base barrée + bonus offert (le gros chiffre = total). */
.pack__base s { color: rgba(255,255,255,.38); text-decoration: line-through; font-weight: 600; }
.pack__base .pack__more { color: #7ee2a8; font-style: normal; font-weight: 800; }

/* Bloc cadeau de la modale de paiement */
.pm-gift { margin: 14px 0 2px; }
.pm-gift .consent--gift { margin-bottom: 8px; }
.pm-gift-fields input { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; font: inherit; font-weight: 700; letter-spacing: .04em; padding: 12px 14px; outline: none; }
.pm-gift-fields input:focus { border-color: #A78BFF; box-shadow: 0 0 0 3px rgba(167,139,255,.18); }
.pm-gift-fields .pm-hint { margin-top: 8px; }
:root {
  --bg:        #070709;
  --bg-2:      #0E0E14;
  --bg-3:      #13131b;
  --card:      #0D0D13;
  --ink:       #F2F2F6;
  --ink-2:     #9C9CAB;
  --ink-3:     #80808E;
  --accent:    #A78BFF;
  --accent-2:  #6C4DF0;
  --accent-rgb: 167,139,255;
  --teal:      #2EE9CD;
  --teal-rgb:  46,233,205;
  --discord:   #5865F2;
  --discord-rgb: 88,101,242;
  --green:     #3BE08A;
  --green-rgb: 59,224,138;
  --red:       #FF7676;
  --red-rgb:   255,118,118;
  --gold:      #F5C451;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --maxw: 1200px;
}

/* --- Lenis (smooth-scroll) ---------------------------------------------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); overscroll-behavior-y: none; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: #23232f; border-radius: 99px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.display { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 900; letter-spacing: -.03em; line-height: 1; }

/* Sections : base opaque (anti micro-fente au scroll) */
.ohero, .packs, .trades, .ledger, .faq, .adminsec, footer { background-color: var(--bg); }
.packs, .trades, .ledger, .faq, .adminsec, footer { margin-top: -1px; }
.packs, .trades, .ledger, .faq, .adminsec { overflow: hidden; position: relative; }
.packs > .wrap, .trades > .wrap, .ledger > .wrap { position: relative; z-index: 1; }

/* En-têtes de section */
.sec-head { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head h2 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.02; color: #fff; }
.sec-head p { margin: 16px auto 0; max-width: 520px; font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }

/* --- Reveals (cachés seulement si le moteur est armé) ------------------- */
.has-motion .reveal { opacity: 0; transform: translateY(42px); }
.line { display: block; }
.line > span { display: inline-block; }
.has-motion .line > span { opacity: 0; transform: translateY(40px); }

/* ==========================================================================
   UI FIXE (chrome partagé avec la home / famille new)
   ========================================================================== */
#loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 38%, #101019, #070709 70%); }
#loader .li-logo { width: 88px; height: 88px; filter: drop-shadow(0 0 34px rgba(var(--accent-rgb),.65)); }
#loader .li-name { margin-top: 22px; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 900; font-size: 1.05rem; letter-spacing: .08em; color: #fff; }
#loader .li-bar { margin-top: 22px; width: 148px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
#loader .li-bar > i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 12px var(--accent); animation: liLoad 1.25s cubic-bezier(.5,0,.2,1) .1s forwards; }
@keyframes liLoad { to { width: 100%; } }
#loader.hide { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }

#grain { position: fixed; inset: -50%; z-index: 96; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 140px; animation: grain 1.1s steps(3) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 30%{transform:translate(-3%,2%)} 60%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }

#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 90; background: linear-gradient(90deg, transparent, var(--accent)); box-shadow: 0 0 14px var(--accent); pointer-events: none; transform-origin: left; }

.brand { position: fixed; top: 22px; left: 26px; z-index: 80; display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.brand b { font-weight: 900; font-size: 15px; color: #fff; letter-spacing: -.02em; display: block; line-height: 1; }
.brand small { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; display: block; }

.fab { position: fixed; bottom: 26px; right: 26px; z-index: 85; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 99px; overflow: hidden; background: var(--discord); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 12px 34px rgba(88,101,242,.5), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .25s cubic-bezier(.34,1.5,.6,1), box-shadow .25s; }
.fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 44px rgba(88,101,242,.65); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; border: 0; cursor: pointer; position: relative; overflow: hidden; }
.btn svg { flex: 0 0 auto; }
.btn-accent { padding: 15px 28px; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: 15px; box-shadow: 0 14px 34px rgba(var(--accent-rgb),.35); transition: transform .25s, opacity .25s; }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { padding: 15px 26px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: 15px; transition: background .25s, border-color .25s; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--accent); }
.btn-small { padding: 12px 20px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.shine { position: absolute; top: 0; left: 0; width: 160%; height: 100%; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(-130%); z-index: 3; }

.minibtn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: 12.5px; transition: color .2s, border-color .2s, background .2s; }
.minibtn:hover { color: #fff; border-color: rgba(var(--accent-rgb),.5); background: rgba(var(--accent-rgb),.08); }

/* Curseur (desktop souris) */
#cursorRing { position: fixed; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(var(--accent-rgb), .5); pointer-events: none; z-index: 200; transform: translate(-50%, -50%); will-change: transform, width, height; transition: width .25s, height .25s, border-color .25s, background .25s, opacity .3s; opacity: 0; }
#cursorRing.show { opacity: 1; }
#cursorRing.hot { width: 56px; height: 56px; border-color: var(--accent); background: rgba(var(--accent-rgb), .07); }

/* Orbe flou d'ambiance */
.orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(64px); opacity: .5; will-change: transform; }
.orb.violet { background: radial-gradient(circle, rgba(var(--accent-rgb),.5), transparent 70%); }
.orb.teal { background: radial-gradient(circle, rgba(var(--teal-rgb),.32), transparent 70%); }

/* Pills / états */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pill--ok { background: rgba(var(--green-rgb),.12); border: 1px solid rgba(var(--green-rgb),.3); color: #7ef0b0; }
.pill--warn { background: rgba(245,196,81,.12); border: 1px solid rgba(245,196,81,.3); color: #f5d68a; }
.pill--err { background: rgba(var(--red-rgb),.12); border: 1px solid rgba(var(--red-rgb),.32); color: #ff9d9d; }
.pill--info { background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.3); color: #c8b6ff; }

/* Skeletons + états vides */
.skel { display: inline-block; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.045) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.045) 75%); background-size: 200% 100%; animation: skel 1.3s ease infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.empty { padding: 26px 20px; border: 1px dashed var(--line-2); border-radius: 16px; text-align: center; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.empty--soft { border: 0; padding: 16px 6px; }
.err-box { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(var(--red-rgb),.3); background: rgba(var(--red-rgb),.07); color: #ffb1b1; font-size: .95rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

/* Icône Onyx inline */
.oi { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; filter: drop-shadow(0 2px 6px rgba(var(--accent-rgb),.4)); }

/* ==========================================================================
   HERO
   ========================================================================== */
.ohero { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; padding: 17vh 0 11vh; }
.ohero__bg { position: absolute; inset: -6% -3%; z-index: 0; background: url('/bffr/assets/hero-banner.png') center 30% / cover no-repeat; will-change: transform; backface-visibility: hidden; transform: translateZ(0); }
.ohero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ohero__veil.a { background: linear-gradient(180deg, rgba(7,7,9,.62) 0%, rgba(7,7,9,.36) 30%, rgba(7,7,9,.7) 70%, rgba(7,7,9,.95) 92%, var(--bg) 100%); }
.ohero__veil.b { background: linear-gradient(100deg, rgba(7,7,9,.94) 0%, rgba(7,7,9,.78) 26%, rgba(7,7,9,.4) 50%, rgba(7,7,9,.1) 70%), radial-gradient(60% 52% at 76% 44%, rgba(var(--accent-rgb),.16), transparent 70%); }
.ohero__gem { position: absolute; z-index: 2; width: min(390px, 34vw); right: 7%; top: 50%; margin-top: -190px; pointer-events: none; filter: drop-shadow(0 34px 60px rgba(0,0,0,.7)) drop-shadow(0 0 44px rgba(var(--accent-rgb),.35)); animation: gemFloat 7s ease-in-out infinite alternate; will-change: transform; }
@keyframes gemFloat { from { transform: translateY(-12px) rotate(-2deg); } to { transform: translateY(14px) rotate(2.5deg); } }
.ohero__content { position: relative; z-index: 3; width: 100%; }
.ohero__badge { display: inline-flex; align-items: center; gap: 11px; padding: 8px 16px; border-radius: 99px; background: rgba(7,7,9,.5); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 28px; }
.ohero__badge i { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 1.8s infinite; }
.ohero__badge span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #D7D7E0; }
@keyframes pulse { 0%,100%{opacity:.45} 50%{opacity:1} }
.ohero h1 { margin: 0; font-size: clamp(2.8rem, 8.6vw, 7rem); line-height: .86; color: #fff; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.65); }
.ohero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.ohero__p { max-width: 540px; margin: 28px 0 0; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.6; color: #D8D8E2; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.ohero__p strong { color: #fff; }
.ohero__p .hl { color: var(--accent); }
.ohero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.ft-word { position: absolute; font-family: 'Great Vibes', cursive; font-weight: 400; line-height: 1; white-space: nowrap; pointer-events: none; }
.ft-word--gem { right: 5%; top: 11%; z-index: 2; font-size: clamp(3rem, 8vw, 7rem); color: #efeaff; opacity: .92; text-shadow: 0 0 24px rgba(var(--accent-rgb),.8), 0 0 8px rgba(var(--accent-rgb),.55); transform: rotate(-8deg); }

/* Solde / connexion (chip de session sous les CTA) */
.sess { margin-top: 30px; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding: 16px 22px; border-radius: 18px; background: rgba(10,10,15,.62); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 48px rgba(0,0,0,.4); }
.sess__ic { width: 42px; height: 42px; filter: drop-shadow(0 4px 14px rgba(var(--accent-rgb),.45)); }
.sess__col { display: flex; flex-direction: column; gap: 2px; }
.sess__lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sess__bal { font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 900; font-size: 1.5rem; color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.sess__bal small { font-size: .8rem; font-weight: 700; color: var(--accent); margin-left: 6px; letter-spacing: .02em; }
.sess__sub { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.sess__actions { display: flex; align-items: center; gap: 10px; }
.sess__note { font-size: 12.5px; color: var(--ink-2); font-weight: 600; max-width: 250px; line-height: 1.4; }

/* ==========================================================================
   PACKS
   ========================================================================== */
.packs { padding: 12vh 0 8vh; }
.packs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 24px; border-radius: 22px; background: linear-gradient(165deg, #14121e, #0C0C12); border: 1px solid var(--line); overflow: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .4s; }
.pack::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(64% 46% at 82% -6%, rgba(var(--accent-rgb),.14), transparent 70%); }
.pack:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb),.55); box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.pack > * { position: relative; z-index: 1; }
.pack--crown { border-color: rgba(var(--accent-rgb),.55); background: linear-gradient(160deg, rgba(var(--accent-rgb),.15), #0D0B14 62%); box-shadow: 0 0 46px rgba(var(--accent-rgb),.14); }
.pack--crown:hover { box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 52px rgba(var(--accent-rgb),.26); }
.pack__flag { position: absolute; top: 18px; right: 18px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: linear-gradient(135deg, var(--accent), #c3b0ff); color: #0b0b10; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 8px 22px rgba(var(--accent-rgb),.4); }
.pack__head { display: flex; align-items: center; gap: 12px; padding-right: 118px; }
.pack--crown .pack__head { padding-right: 128px; }
.pack__name { margin: 0; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.16rem; letter-spacing: -.01em; color: #fff; }
.pack__price { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: #fff; font-weight: 800; font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pack__total { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.pack__total img { width: 34px; height: 34px; filter: drop-shadow(0 4px 12px rgba(var(--accent-rgb),.45)); }
.pack__total b { font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 900; font-size: clamp(1.9rem, 2.6vw, 2.4rem); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.pack__total span { font-size: .95rem; font-weight: 700; color: var(--ink-2); align-self: flex-end; padding-bottom: 3px; }
.pack__base { margin: 0; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.pack__base em { font-style: normal; color: var(--teal); font-weight: 800; }
.pack__first { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 13px; border-radius: 12px; background: rgba(var(--green-rgb),.09); border: 1px solid rgba(var(--green-rgb),.28); color: #8df2ba; font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.pack__first svg { flex: 0 0 auto; }
.pack__buy { margin-top: auto; width: 100%; padding: 14px 20px; font-size: 14.5px; }
.pack--skel { min-height: 264px; justify-content: space-between; }
.packs__legal { max-width: 700px; margin: 30px auto 0; text-align: center; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* ==========================================================================
   CROSSTRADE
   ========================================================================== */
.trades { padding: 11vh 0 9vh; }
.t-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.t-stat { display: flex; flex-direction: column; gap: 3px; padding: 12px 18px; border-radius: 14px; background: linear-gradient(165deg, #12121a, #0C0C12); border: 1px solid var(--line); }
.t-stat span { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.t-stat b { font-size: 15px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.t-stat b i { font-style: normal; color: var(--accent); }

.t-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.t-board { border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(165deg, #12121a, #0C0C12); padding: 22px; }
.t-board__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.t-board__head h3 { margin: 0; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.12rem; color: #fff; }
.offers { display: flex; flex-direction: column; gap: 10px; }

.offer { display: grid; grid-template-columns: 1.25fr 1fr 1fr auto; gap: 8px 16px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .25s, background .25s, transform .25s; }
.offer:hover { border-color: rgba(var(--accent-rgb),.4); background: rgba(var(--accent-rgb),.05); transform: translateY(-1px); }
.offer--mine { border-color: rgba(var(--accent-rgb),.32); background: rgba(var(--accent-rgb),.05); }
.offer__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.offer__who b { font-weight: 800; font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer__who span { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.offer__amt { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer__amt img { width: 19px; height: 19px; }
.offer__amt small { font-weight: 700; color: var(--ink-2); font-size: 11.5px; }
.offer__deal { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.offer__deal b { font-weight: 800; font-size: 13.5px; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer__deal span { font-size: 11.5px; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.offer__deal .far { color: #f5d68a; }
.offer__act { display: flex; align-items: center; gap: 8px; justify-self: end; }
.offer__btn { padding: 9px 16px; border-radius: 99px; background: rgba(var(--accent-rgb),.14); border: 1px solid rgba(var(--accent-rgb),.36); color: #d3c5ff; font-weight: 800; font-size: 12.5px; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.offer__btn:hover { background: var(--accent); color: #0b0b10; border-color: transparent; transform: translateY(-1px); }

.t-side { display: flex; flex-direction: column; gap: 18px; }
.t-card { border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(165deg, #12121a, #0C0C12); padding: 22px; }
.t-card h3 { margin: 0 0 14px; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.08rem; color: #fff; }
.t-card form { display: flex; flex-direction: column; gap: 14px; }
.t-teaser { margin: 0 0 14px; font-size: .93rem; line-height: 1.55; color: var(--ink-2); }
.t-rate { margin: -4px 0 0; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.t-rate .mid { color: var(--ink-3); font-weight: 600; }
.t-rules { margin: 2px 0 0; font-size: 12px; line-height: 1.55; color: var(--ink-3); }

.myoffer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.myoffer + .myoffer { margin-top: 8px; }
.myoffer__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.myoffer__txt b { font-size: 13.5px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.myoffer__txt span { font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.myoffer__cancel { padding: 8px 13px; border-radius: 99px; background: rgba(var(--red-rgb),.1); border: 1px solid rgba(var(--red-rgb),.3); color: #ff9d9d; font-weight: 800; font-size: 12px; transition: background .2s, color .2s, transform .15s; white-space: nowrap; }
.myoffer__cancel:hover { background: rgba(var(--red-rgb),.2); transform: translateY(-1px); }
.myoffer__cancel.arm { background: var(--red); color: #17070a; border-color: transparent; }

/* Champs (repris du form contact) */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-left: 2px; }
.field input, .field select { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line); outline: none; color: #fff; background: rgba(255,255,255,.05); font-size: 14.5px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { border-color: rgba(var(--accent-rgb),.55); background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.1); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%239C9CAB' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field select option { background: #14141c; color: #fff; }

/* ==========================================================================
   HISTORIQUE
   ========================================================================== */
.ledger { padding: 10vh 0 8vh; }
.ledger-card { max-width: 820px; margin: 0 auto; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20,20,28,.86), rgba(12,12,18,.86)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 66px rgba(0,0,0,.42); padding: 24px; }
.ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.ledger-bal { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.ledger-bal img { width: 22px; height: 22px; }
.ledger-bal small { font-weight: 700; color: var(--ink-2); font-size: 12px; }
.lrow { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 13px 10px; border-top: 1px solid rgba(255,255,255,.055); }
.lrow:first-child { border-top: 0; }
.lrow__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.045); border: 1px solid var(--line); color: var(--ink-2); }
.lrow--pos .lrow__ic { background: rgba(var(--green-rgb),.09); border-color: rgba(var(--green-rgb),.26); color: #7ef0b0; }
.lrow--neg .lrow__ic { background: rgba(var(--red-rgb),.08); border-color: rgba(var(--red-rgb),.24); color: #ff9d9d; }
.lrow__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lrow__txt b { font-weight: 800; font-size: 14px; color: #fff; }
.lrow__txt span { font-size: 11.5px; color: var(--ink-3); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow__num { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lrow__amt { font-weight: 900; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lrow--pos .lrow__amt { color: #7ef0b0; }
.lrow--neg .lrow__amt { color: #ff9d9d; }
.lrow__after { font-size: 11px; color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ==========================================================================
   FAQ (repris de /contact)
   ========================================================================== */
.faq { padding: 4vh 0 13vh; }
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(165deg, #121219, #0C0C12); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item[open] { border-color: rgba(var(--accent-rgb),.4); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: #fff; line-height: 1.25; }
.faq-item[open] .faq-q { color: var(--accent); }
.faq-plus { position: relative; flex: 0 0 auto; width: 22px; height: 22px; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--ink-2); border-radius: 2px; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s, opacity .3s; }
.faq-plus::before { width: 14px; height: 2.4px; transform: translate(-50%, -50%); }
.faq-plus::after { width: 2.4px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item[open] .faq-plus::before { background: var(--accent); }
.faq-a { padding: 0 22px 22px; }
.faq-a p { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--ink-2); }
.faq-a strong { color: #fff; }
.faq-a a { color: var(--accent); font-weight: 700; transition: color .2s; }
.faq-a a:hover { color: #c3b0ff; }
.has-motion .faq-item[open] .faq-a { animation: faqIn .4s cubic-bezier(.2,.8,.2,1); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   ADMIN
   ========================================================================== */
.adminsec { padding: 4vh 0 12vh; }
.a-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.a-card { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(165deg, #12121a, #0C0C12); padding: 22px; display: flex; flex-direction: column; gap: 13px; }
.a-card--wide { grid-column: 1 / -1; }
.a-card h3 { margin: 0; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.05rem; color: #fff; }
.a-card h3.a-sub { margin-top: 10px; }
.a-card form { display: flex; flex-direction: column; gap: 13px; }
.a-desc { margin: -4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.a-row { display: flex; flex-wrap: wrap; gap: 10px; }
.a-row--end { justify-content: flex-end; margin-top: 4px; }
.a-totals { display: flex; flex-wrap: wrap; gap: 10px; }
.a-total { display: flex; flex-direction: column; gap: 3px; padding: 11px 16px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.03); min-width: 130px; }
.a-total span { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.a-total b { font-size: 16px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.a-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 4px; border-top: 1px solid rgba(255,255,255,.055); font-size: 12.5px; color: var(--ink-2); }
.a-line:first-child { border-top: 0; }
.a-line b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.a-line code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 11.5px; color: var(--ink-3); background: rgba(255,255,255,.04); padding: 2px 7px; border-radius: 7px; }
#aReconOut { display: flex; flex-direction: column; gap: 8px; }
#aReconOut .recon-issue { padding: 10px 13px; border-radius: 12px; border: 1px solid rgba(245,196,81,.3); background: rgba(245,196,81,.07); color: #f5d68a; font-size: 12.5px; line-height: 1.5; }
#aReconOut .recon-ok { padding: 10px 13px; border-radius: 12px; border: 1px solid rgba(var(--green-rgb),.3); background: rgba(var(--green-rgb),.08); color: #7ef0b0; font-size: 13px; font-weight: 700; }

/* ==========================================================================
   MODALS (paiement + accepter une offre)
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(4,4,7,.68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; cursor: pointer; }
.modal.open .modal__scrim { opacity: 1; }
.modal__panel { position: relative; width: min(540px, 100%); max-height: min(88vh, 860px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(120% 60% at 50% -10%, rgba(var(--accent-rgb),.12), rgba(255,255,255,0) 55%), linear-gradient(180deg, #12111b, #0B0B10); box-shadow: 0 40px 100px rgba(0,0,0,.65); padding: 24px; display: flex; flex-direction: column; gap: 16px; transform: translateY(26px) scale(.97); opacity: 0; transition: transform .4s cubic-bezier(.16,.84,.24,1), opacity .35s; }
.modal.open .modal__panel { transform: none; opacity: 1; }
.modal__head { display: flex; align-items: flex-start; gap: 14px; }
.modal__gem { width: 40px; height: 40px; flex: 0 0 auto; filter: drop-shadow(0 4px 14px rgba(var(--accent-rgb),.5)); }
.modal__titles { flex: 1; min-width: 0; }
.modal__titles h3 { margin: 0; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; letter-spacing: -.01em; }
.modal__titles p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.modal__close { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .2s, border-color .2s; }
.modal__close:hover { background: rgba(255,255,255,.1); border-color: var(--accent); }

.pm-recap { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); padding: 6px 16px; }
.pm-recap .r-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.055); font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.pm-recap .r-line:first-child { border-top: 0; }
.pm-recap .r-line b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.pm-recap .r-line.r-total b { font-family: 'Archivo Expanded','Archivo',sans-serif; font-size: 1.15rem; }
.pm-recap .r-line.r-first { color: #8df2ba; }
.pm-recap .r-line.r-first b { color: #8df2ba; }

.consent { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(var(--accent-rgb),.3); background: rgba(var(--accent-rgb),.06); cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent span { font-size: 12.5px; line-height: 1.5; color: #d9d3ef; font-weight: 600; }
.pm-hint { margin: -6px 0 0; font-size: 11.5px; color: var(--ink-3); font-weight: 600; text-align: center; }

.pm-methods { display: flex; flex-direction: column; gap: 10px; transition: opacity .3s, filter .3s; }
.pm-methods.is-locked { opacity: .42; pointer-events: none; filter: saturate(.55); }
.pm-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 18px; border-radius: 14px; background: var(--accent); color: #0b0b10; font-weight: 800; font-size: 14.5px; border: 0; transition: transform .2s, box-shadow .2s; box-shadow: 0 12px 30px rgba(var(--accent-rgb),.3); }
.pm-btn:hover { transform: translateY(-2px); }
.pm-btn--ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: #fff; box-shadow: none; }
.pm-btn--ghost:hover { border-color: var(--accent); }
.pm-paypal { border-radius: 14px; overflow: hidden; min-height: 46px; }
.pm-wait { margin: 0; padding: 12px; text-align: center; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }

.pm-crypto__lbl { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.coinchips { display: flex; flex-wrap: wrap; gap: 8px; }
.coinchip { padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink-2); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; transition: color .2s, border-color .2s, background .2s, transform .15s; }
.coinchip:hover { color: #fff; border-color: var(--line-2); transform: translateY(-1px); }
.coinchip.is-active { color: #0b0b10; background: linear-gradient(135deg, var(--accent), #c3b0ff); border-color: transparent; box-shadow: 0 10px 26px rgba(var(--accent-rgb),.34); }
.crypto-order { margin-top: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.crypto-order .co-grid { display: flex; gap: 16px; align-items: flex-start; }
.crypto-order .co-qr { flex: 0 0 auto; width: 132px; height: 132px; border-radius: 14px; background: #fff; padding: 8px; }
.crypto-order .co-qr img { width: 100%; height: 100%; object-fit: contain; }
.crypto-order .co-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.crypto-order .co-amt { font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 900; font-size: 1.05rem; color: #fff; word-break: break-all; }
.crypto-order .co-amt small { display: block; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.crypto-order .co-addr { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.crypto-order .co-addr code { flex: 1; min-width: 0; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 11px; color: #d9d3ef; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crypto-order .co-addr button { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--ink-2); transition: color .2s, border-color .2s; }
.crypto-order .co-addr button:hover { color: var(--accent); border-color: rgba(var(--accent-rgb),.5); }
.crypto-order .co-status { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.crypto-order .co-status i { width: 9px; height: 9px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 1.6s infinite; flex: 0 0 auto; }
.crypto-order.is-paid .co-status i { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.crypto-order.is-ok .co-status { color: #7ef0b0; }
.crypto-order.is-ok .co-status i { background: var(--green); box-shadow: 0 0 10px var(--green); animation: none; }
.crypto-order .co-exp { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }

.pm-legal { margin: 0; font-size: 11px; line-height: 1.55; color: var(--ink-3); text-align: center; }

.acc-warn { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(245,196,81,.36); background: rgba(245,196,81,.09); color: #f5d68a; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.acc-warn svg { flex: 0 0 auto; margin-top: 1px; }
.acc-note { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--ink-3); }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(16px); z-index: 320; max-width: min(92vw, 420px); padding: 13px 20px; border-radius: 14px; border: 1px solid rgba(var(--accent-rgb),.3); background: rgba(13,13,19,.96); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-err { border-color: rgba(var(--red-rgb),.44); }
.toast.is-ok { border-color: rgba(var(--green-rgb),.44); }

/* ==========================================================================
   MENU DE NAVIGATION (drawer)
   ========================================================================== */
.navtoggle { position: fixed; top: 22px; right: 26px; z-index: 130; width: 46px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: rgba(13,13,19,.5); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: background .25s, border-color .25s, opacity .3s ease, transform .3s ease; }
.navtoggle.open { opacity: 0; pointer-events: none; transform: scale(.85); }
.navtoggle:hover { background: rgba(13,13,19,.85); border-color: var(--accent); }
.navtoggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.navtoggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle.open span:nth-child(2) { opacity: 0; }
.navtoggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navmenu { position: fixed; inset: 0; z-index: 125; visibility: hidden; }
.navmenu.open { visibility: visible; }
.navmenu__scrim { position: absolute; inset: 0; background: rgba(5,5,8,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s; cursor: pointer; }
.navmenu.open .navmenu__scrim { opacity: 1; }
.navmenu__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 86vw); background: radial-gradient(115% 55% at 100% 0%, rgba(var(--accent-rgb),.13), rgba(255,255,255,0) 58%), linear-gradient(180deg, #0f0f17, #08080c); border-left: 1px solid rgba(255,255,255,.08); box-shadow: -30px 0 80px rgba(0,0,0,.55); display: flex; flex-direction: column; padding: 28px 34px 26px; transform: translateX(100%); transition: transform .55s cubic-bezier(.16,.84,.2,1); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.navmenu.open .navmenu__panel { transform: none; }
.navmenu__grab { display: none; }
.navmenu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.navmenu__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.navmenu__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.navmenu__close:hover { background: rgba(255,255,255,.1); border-color: var(--accent); }
.navmenu__list { display: flex; flex-direction: column; margin: 0; padding: 0; flex: 1 0 auto; }
.navmenu__group { display: flex; flex-direction: column; }
.navmenu__cat { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgb(var(--cat, 167 139 255)); margin: 18px 2px 7px; }
.navmenu__cat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--cat)); box-shadow: 0 0 10px rgba(var(--cat), .85); flex-shrink: 0; }
.navmenu__group:first-child .navmenu__cat { margin-top: 2px; }
.navmenu__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 15px; margin: 0 -15px; border-radius: 13px; text-decoration: none; transition: background .3s ease; }
.navmenu__item::after { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 99px; background: rgb(var(--cat)); transform: translateY(-50%); transition: height .35s cubic-bezier(.2,.8,.2,1); }
.navmenu__ic { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(var(--cat), .12); border: 1px solid rgba(var(--cat), .22); color: rgb(var(--cat)); transition: background .3s, border-color .3s, color .3s, transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.navmenu__ic svg { width: 20px; height: 20px; }
.navmenu__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.navmenu__item:hover .navmenu__ic { background: rgb(var(--cat)); border-color: transparent; color: #0a0a10; transform: translateY(-2px) rotate(-5deg); box-shadow: 0 10px 22px rgba(var(--cat), .42); }
.navmenu__item--active .navmenu__ic { background: rgb(var(--cat)); border-color: transparent; color: #0a0a10; box-shadow: 0 8px 18px rgba(var(--cat), .35); }
.navmenu__lbl { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: 1.08rem; color: #fff; letter-spacing: -.01em; line-height: 1.12; transition: transform .4s cubic-bezier(.2,.8,.2,1), color .3s; }
.navmenu__sub { font-size: 11.5px; font-weight: 500; color: var(--ink-2); letter-spacing: .005em; line-height: 1.2; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.navmenu__arr { color: rgb(var(--cat)); font-size: 1.15rem; opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .35s; }
.navmenu__item:hover { background: rgba(var(--cat), .1); }
.navmenu__item:hover::after { height: 58%; }
.navmenu__item:hover .navmenu__lbl { transform: translateX(10px); color: rgb(var(--cat)); }
.navmenu__item:hover .navmenu__sub { transform: translateX(10px); }
.navmenu__item:hover .navmenu__arr { opacity: 1; transform: none; }
.navmenu__item--prestige .navmenu__lbl { background: linear-gradient(92deg, #fff, rgb(var(--cat))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.navmenu__item--active::after { height: 56%; }
.navmenu__item--active .navmenu__lbl { color: rgb(var(--cat)); }
.navmenu__foot { margin-top: 24px; flex-shrink: 0; }
.navmenu__disc { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; border-radius: 13px; background: var(--discord); color: #fff; font-weight: 800; font-size: 14.5px; letter-spacing: .01em; text-decoration: none; box-shadow: 0 10px 26px rgba(88,101,242,.3); transition: transform .2s, box-shadow .2s, filter .2s; }
.navmenu__disc svg { flex-shrink: 0; }
.navmenu__disc:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(88,101,242,.42); filter: brightness(1.06); }
.navmenu__socials { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 14px; }
.navmenu__socials a { color: var(--ink-2); font-size: 12px; font-weight: 600; text-decoration: none; transition: color .2s; }
.navmenu__socials a:hover { color: #fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { padding: 60px 32px 50px; text-align: center; }
footer .f-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 22px; }
footer .f-brand img { width: 36px; height: 36px; border-radius: 10px; }
footer .f-brand b { font-weight: 900; color: #fff; letter-spacing: -.02em; }
footer .f-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
footer .f-links a { color: var(--ink-2); font-size: 13px; font-weight: 600; transition: color .2s; }
footer .f-links a:hover { color: #fff; }
.f-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; margin-bottom: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); }
.f-legal span { color: var(--ink-3); font-size: 12px; }
.f-legal a { color: var(--ink-2); font-size: 12px; font-weight: 600; transition: color .2s; }
.f-legal a:hover { color: var(--accent); }
.f-onyx { max-width: 700px; margin: 0 auto 12px; font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.6; }
footer .copy { max-width: 760px; margin: 0 auto; font-size: 11px; color: #6d6d78; line-height: 1.6; }

/* Voile de transition de page */
.pageveil { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #12121d, #070709 70%); opacity: 0; pointer-events: none; transition: opacity .42s ease; }
.pageveil.show { opacity: 1; pointer-events: auto; }
.pageveil img { width: 64px; height: 64px; border-radius: 16px; transform: scale(.7); opacity: 0; transition: transform .5s cubic-bezier(.2,.9,.2,1) .08s, opacity .5s .08s; box-shadow: 0 0 50px rgba(var(--accent-rgb), .4); }
.pageveil.show img { transform: scale(1); opacity: 1; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .packs__grid { grid-template-columns: repeat(2, 1fr); }
  .t-layout { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .ohero__gem { width: min(280px, 34vw); right: 3%; opacity: .9; margin-top: -140px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .navtoggle { top: 16px; right: 16px; width: 44px; height: 44px; }
  .brand { display: none; }
  .ohero { min-height: 84vh; padding: 19vh 0 10vh; }
  .ohero__bg { background-position: 62% 26%; }
  .ohero__gem { width: 168px; right: -5%; top: auto; bottom: 4%; margin-top: 0; opacity: .8; }
  .ft-word--gem { font-size: clamp(2.2rem, 15vw, 3.6rem); top: 8%; right: 7%; opacity: .55; }
  .sess { width: 100%; padding: 14px 16px; }
  .packs__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pack__head { padding-right: 0; flex-wrap: wrap; }
  .pack__flag { position: static; align-self: flex-start; margin-bottom: -4px; }
  .offer { grid-template-columns: 1fr auto; grid-template-areas: "who act" "amt act" "deal act"; }
  .offer__who { grid-area: who; }
  .offer__amt { grid-area: amt; }
  .offer__deal { grid-area: deal; }
  .offer__act { grid-area: act; align-self: center; }
  .a-grid { grid-template-columns: 1fr; }
  .crypto-order .co-grid { flex-direction: column; align-items: center; }
  .crypto-order .co-info { width: 100%; }
  .ledger-card { padding: 18px 14px; }
  .modal { padding: 12px; align-items: flex-end; }
  .modal__panel { border-radius: 22px 22px 16px 16px; max-height: 92vh; }
  .fab .fab-txt { display: none; }
  .fab { padding: 13px; }
  /* Bottom sheet pour le menu */
  .navmenu__panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: auto; max-height: 78vh; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); border-radius: 22px 22px 0 0; box-shadow: 0 -30px 80px rgba(0,0,0,.6); padding: 12px 22px 24px; transform: translateY(100%); transition: transform .5s cubic-bezier(.16,.84,.2,1); }
  .navmenu.open .navmenu__panel { transform: none; }
  .navmenu__grab { display: block; width: 44px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.22); margin: 0 auto 12px; cursor: pointer; }
  .navmenu__head { margin-bottom: 14px; }
  .navmenu__cat { margin: 13px 2px 5px; }
  .navmenu__foot { margin-top: 16px; }
}
@media (max-width: 420px) {
  .t-stats { gap: 8px; }
  .t-stat { padding: 10px 13px; }
}

/* Accessibilité : repli SEULEMENT si le JS n'a pas armé force-motion (sinon on
   garde les animations, comme la home). Dégradation gracieuse, jamais en usage
   normal. */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .reveal, html:not(.force-motion) .line > span { opacity: 1 !important; transform: none !important; }
  html:not(.force-motion) #grain, html:not(.force-motion) .ohero__badge i, html:not(.force-motion) .ohero__gem { animation: none !important; }
  html:not(.force-motion) #cursorRing { display: none !important; }
}
