/* ==========================================================================
   Blox Fruits FR - bffr.fr/mentions-legalesnew
   Refonte des mentions légales dans l'ADN cinématique de la home /bffr et de
   /valuenew (dark violet, Archivo / Archivo Expanded, grain, marquee, drawer,
   loader, Lenis + GSAP). Page de contenu : hero, sommaire sticky, cartes
   d'information légale. Autonome. Couleurs hex/rgba directes (pas de color-mix).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
: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;
  --gold:      #F5C451;
  --gold-rgb:  245,196,81;
  --discord:   #5865F2;
  --green:     #3BE08A;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --maxw: 1320px;
}

/* --- 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 { 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) */
.lhero, .legal, footer { background-color: var(--bg); }
.legal, footer { margin-top: -1px; }
.legal { overflow: hidden; }

/* --- 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); }

/* Boutons */
.btn { display: inline-flex; align-items: 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; }
.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); }
.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; }

/* ==========================================================================
   UI FIXE (chrome partagé avec la home)
   ========================================================================== */
#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; border-radius: 20px; box-shadow: 0 0 60px rgba(var(--accent-rgb),.55); }
#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); }

/* 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); }

/* Orbes flous 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%); }

/* ==========================================================================
   HERO
   ========================================================================== */
.lhero { position: relative; min-height: 70vh; display: flex; align-items: center; overflow: hidden; padding: 18vh 0 12vh; }
.lhero__bg { position: absolute; inset: -6% -3%; z-index: 0; background: url('/bffr/assets/hero-banner.png') center 26% / cover no-repeat; will-change: transform; backface-visibility: hidden; transform: translateZ(0); }
.lhero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lhero__veil.a { background: linear-gradient(180deg, rgba(7,7,9,.55) 0%, rgba(7,7,9,.34) 30%, rgba(7,7,9,.66) 68%, rgba(7,7,9,.95) 92%, var(--bg) 100%); }
.lhero__veil.b { background: linear-gradient(100deg, rgba(7,7,9,.94) 0%, rgba(7,7,9,.78) 26%, rgba(7,7,9,.4) 52%, rgba(7,7,9,0) 72%); }
.lhero__content { position: relative; z-index: 3; width: 100%; }
.lhero__back { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 12px; border-radius: 99px; background: rgba(7,7,9,.5); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink-2); font-size: 13px; font-weight: 700; margin-bottom: 22px; transition: color .2s, border-color .2s, transform .2s; }
.lhero__back:hover { color: #fff; border-color: var(--accent); transform: translateX(-3px); }
.lhero__back svg { transition: transform .25s; }
.lhero__back:hover svg { transform: translateX(-2px); }
.lhero__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: 26px; }
.lhero__badge i { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 1.8s infinite; }
.lhero__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} }
.lhero h1 { margin: 0; font-size: clamp(2.7rem, 8.4vw, 6.6rem); line-height: .86; color: #fff; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.65); }
.lhero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.lhero__p { max-width: 560px; 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); }
.lhero__p strong { color: #fff; }
.lhero__p .hl { color: var(--accent); }
.lhero__meta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.lmeta { display: flex; flex-direction: column; gap: 6px; }
.lmeta__k { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.lmeta__v { font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 1.02rem; color: #fff; letter-spacing: -.01em; }
.lmeta__sep { width: 1px; height: 34px; background: rgba(255,255,255,.14); }
.ft-word { position: absolute; font-family: 'Great Vibes', cursive; font-weight: 400; line-height: 1; white-space: nowrap; pointer-events: none; }
.ft-word--legal { right: 6%; top: 16%; z-index: 2; font-size: clamp(3rem, 9vw, 8rem); color: #f1ecff; opacity: .82; text-shadow: 0 0 26px rgba(var(--accent-rgb),.85), 0 0 8px rgba(var(--accent-rgb),.6); transform: rotate(-8deg); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { position: relative; z-index: 2; margin: -1vh 0 0; padding: 18px 0; overflow: hidden; background: var(--bg); border-top: 1px solid rgba(var(--accent-rgb),.18); border-bottom: 1px solid rgba(var(--accent-rgb),.18); transform: rotate(-1.4deg); }
.marquee__track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; will-change: transform; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 900; font-size: clamp(1.05rem, 2vw, 1.5rem); letter-spacing: -.01em; text-transform: uppercase; color: #fff; }
.marquee i { color: var(--accent); font-size: .9rem; font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   LAYOUT LÉGAL (rail sommaire + articles)
   ========================================================================== */
.legal { position: relative; padding: 12vh 0 9vh; }
.legal__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 46px; align-items: start; }

/* SOMMAIRE (sticky desktop) */
.toc { position: sticky; top: 96px; }
.toc__card { padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(20,20,28,.86), rgba(12,12,18,.86)); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.toc__title { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.toc__nav { display: flex; flex-direction: column; gap: 2px; }
.toc__nav a { position: relative; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: background .25s, color .25s; }
.toc__nav a::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 99px; background: var(--accent); transform: translateY(-50%); transition: height .3s cubic-bezier(.2,.8,.2,1); }
.toc__i { font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; transition: color .25s; }
.toc__nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.toc__nav a.is-active { color: #fff; background: rgba(var(--accent-rgb),.1); }
.toc__nav a.is-active::before { height: 56%; }
.toc__nav a.is-active .toc__i { color: var(--accent); }
.toc__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.toc__foot > span { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.toc__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.toc__links a { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--ink-2); font-size: 12.5px; font-weight: 700; transition: border-color .2s, color .2s, background .2s; }
.toc__links a:hover { color: #fff; border-color: rgba(var(--accent-rgb),.5); background: rgba(var(--accent-rgb),.08); }

/* CORPS */
.legal__body { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.legal__intro { max-width: 680px; margin-bottom: 8px; }
.legal__intro .eyebrow { display: block; margin-bottom: 14px; }
.legal__intro h2 { margin: 0; font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.04; color: #fff; }
.legal__intro p { margin: 16px 0 0; font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); }

/* CARTE LÉGALE */
.lcard { --ac: var(--accent-rgb); position: relative; scroll-margin-top: 96px; padding: 28px; border-radius: 24px; background: linear-gradient(180deg, rgba(var(--ac),.06), rgba(255,255,255,.01) 42%, #0b0b11 100%); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.32); overflow: hidden; transition: border-color .4s, box-shadow .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
.lcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, rgba(var(--ac),0), rgba(var(--ac),.9), rgba(var(--ac),0)); opacity: .8; transition: opacity .4s; }
.lcard:hover { border-color: rgba(var(--ac),.4); box-shadow: 0 26px 60px rgba(0,0,0,.44), 0 0 40px rgba(var(--ac),.12); }
.lcard:hover::before { opacity: 1; }
.lcard[data-accent="teal"] { --ac: var(--teal-rgb); }
.lcard[data-accent="gold"] { --ac: var(--gold-rgb); }

.lcard__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.lcard__ic { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(var(--ac),.12); border: 1px solid rgba(var(--ac),.28); color: rgb(var(--ac)); }
.lcard__num { display: block; font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .14em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lcard__head h3 { margin: 4px 0 0; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.55rem); color: #fff; letter-spacing: -.015em; line-height: 1; }
.lcard__lead { margin: 0 0 16px; font-size: .96rem; color: var(--ink-2); }
.lcard__para { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }

/* Grille d'infos (dt/dd) */
.infogrid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inforow { display: flex; flex-direction: column; gap: 6px; padding: 15px 17px; border-radius: 15px; background: rgba(255,255,255,.028); border: 1px solid rgba(255,255,255,.055); transition: border-color .25s, background .25s; }
.inforow:hover { border-color: rgba(var(--ac),.28); background: rgba(var(--ac),.05); }
.inforow dt { font-size: 10.5px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-3); }
.inforow dd { margin: 0; font-weight: 700; font-size: 1rem; color: #fff; line-height: 1.4; word-break: break-word; }
.linkval { display: inline-flex; align-items: center; gap: 8px; color: rgb(var(--ac)); transition: color .2s; }
.linkval svg { opacity: .6; transition: opacity .2s, transform .2s; }
.linkval:hover { color: #fff; }
.linkval:hover svg { opacity: 1; transform: translateY(-1px); }

/* Listes */
.lcard__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lcard__list li { position: relative; padding-left: 28px; font-size: 1rem; line-height: 1.62; color: var(--ink-2); }
.lcard__list li::before { content: ''; position: absolute; left: 4px; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--ac)); box-shadow: 0 0 10px rgba(var(--ac),.7); }
.lcard__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 13px 22px; border-radius: 99px; background: rgba(var(--ac),.12); border: 1px solid rgba(var(--ac),.3); color: rgb(var(--ac)); font-weight: 800; font-size: 14px; transition: background .25s, border-color .25s, transform .2s; }
.lcard__cta:hover { background: rgba(var(--ac),.2); border-color: rgba(var(--ac),.55); transform: translateY(-2px); }
.lcard__cta svg { transition: transform .25s; }
.lcard__cta:hover svg { transform: translateX(3px); }

/* PAGES LIÉES */
.related { margin-top: 12px; padding-top: 26px; border-top: 1px solid var(--line); }
.related__title { margin: 0 0 18px; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.01em; }
.related__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.related__card { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.028); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.related__card:hover { border-color: rgba(var(--accent-rgb),.42); background: rgba(var(--accent-rgb),.06); transform: translateY(-3px); }
.related__ic { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.24); color: var(--accent); }
.related__card div { flex: 1; min-width: 0; }
.related__card b { display: block; font-weight: 800; font-size: 1rem; color: #fff; }
.related__card small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.related__arr { color: var(--ink-3); font-size: 1.15rem; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s, color .3s; }
.related__card:hover .related__arr { opacity: 1; transform: none; color: var(--accent); }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(16px); z-index: 250; max-width: min(92vw, 380px); 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); }

/* ==========================================================================
   MENU DE NAVIGATION (drawer) - identique home / valuenew
   ========================================================================== */
.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); 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; background: radial-gradient(115% 55% at 100% 0%, rgba(var(--accent-rgb),.13), rgba(255,255,255,0) 58%), linear-gradient(180deg, #0f0f17, #08080c); }
.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__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__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; }

@media (max-width: 768px) {
  .navtoggle { top: 16px; right: 16px; width: 44px; height: 44px; }
  .navmenu__panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: auto; max-height: 84vh; 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__item { padding: 9px 6px; margin: 0 -6px; }
  .navmenu__lbl { font-size: 1.02rem; }
  .navmenu__sub { font-size: 11px; }
  .navmenu__cat { margin: 13px 2px 5px; }
  .navmenu__foot { margin-top: 16px; }
}

/* ==========================================================================
   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); }
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: 1040px) {
  .legal__grid { grid-template-columns: 1fr; gap: 30px; }
  /* Sommaire -> ruban horizontal en haut du contenu */
  .toc { position: static; order: -1; }
  .toc__card { padding: 16px 18px; }
  .toc__nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .toc__nav a { padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 13px; }
  .toc__nav a::before { display: none; }
  .toc__nav a.is-active { border-color: rgba(var(--accent-rgb),.5); background: rgba(var(--accent-rgb),.1); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .brand { display: none; }
  .lhero { min-height: 78vh; padding: 20vh 0 9vh; }
  .lhero__bg { background-position: 60% 24%; }
  .ft-word--legal { font-size: clamp(2.4rem, 17vw, 4rem); top: 8%; right: 6%; opacity: .5; }
  .lhero__meta { gap: 16px; }
  .lmeta__sep { display: none; }
  .infogrid { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }
  .lcard { padding: 22px; border-radius: 20px; }
  .marquee { transform: rotate(-1.4deg) scale(1.04); }
  .fab .fab-txt { display: none; }
  .fab { padding: 13px; }
}

/* Accessibilité : repli SEULEMENT si le JS n'a pas armé force-motion. */
@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) .marquee__track, html:not(.force-motion) .lhero__badge i { animation: none !important; }
  html:not(.force-motion) #cursorRing { display: none !important; }
  html:not(.force-motion) .marquee { transform: none; }
}
