/* ==========================================================================
   Blox Fruits FR - bffr.fr/cgvnew
   Conditions générales de vente (Prestige). Reprend l'ADN cinématique de la
   home /bffr, du board /valuenew et de /codesnew (dark violet, Archivo /
   Archivo Expanded, grain, marquee, drawer) appliqué à une page légale :
   hero + sommaire sticky avec scroll-spy + cartes d'articles colorées.
   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;
  --discord:   #5865F2;
  --green:     #3BE08A;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --maxw: 1320px;

  /* Couleurs par famille d'articles (pilote --tc sur chaque carte / entrée) */
  --c-violet: 167,139,255;   /* identité (vendeur, service) */
  --c-gold:   245,196,81;    /* argent (prix, paiement, facturation) */
  --c-teal:   46,233,205;    /* cycle de vie (activation, résiliation) */
  --c-blue:   84,208,255;    /* droit (rétractation, médiation, loi) */
  --c-green:  59,224,138;    /* remboursement */
}

/* --- 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; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* Sections : base opaque (anti micro-fente au scroll) */
.vhero, .board, footer { background-color: var(--bg); }
.board, footer { margin-top: -1px; }
.board { 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); }

/* ==========================================================================
   UI FIXE (chrome partagé avec la home / les autres pages "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; 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); }

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

/* 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
   ========================================================================== */
.vhero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; padding: 16vh 0 12vh; }
.vhero__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); }
.vhero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.vhero__veil.a { background: linear-gradient(180deg, rgba(7,7,9,.5) 0%, rgba(7,7,9,.24) 30%, rgba(7,7,9,.62) 70%, rgba(7,7,9,.94) 92%, var(--bg) 100%); }
.vhero__veil.b { background: linear-gradient(100deg, rgba(7,7,9,.92) 0%, rgba(7,7,9,.74) 26%, rgba(7,7,9,.34) 50%, rgba(7,7,9,0) 70%); }
.vhero__fruit { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 28px 48px rgba(0,0,0,.6)); will-change: transform; }
.vhero__fruit.f1 { width: 178px; right: 9%; top: 18%; }
.vhero__fruit.f2 { width: 122px; right: 26%; bottom: 16%; }
.vhero__fruit.f3 { width: 92px; right: 6%; bottom: 18%; }
.vhero__content { position: relative; z-index: 3; width: 100%; }
.vhero__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; }
.vhero__badge i { width: 8px; height: 8px; border-radius: 99px; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.8s infinite; }
.vhero__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} }
.vhero h1 { margin: 0; font-size: clamp(2.5rem, 7.2vw, 6rem); line-height: .9; color: #fff; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.65); }
.vhero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.vhero__p { max-width: 580px; margin: 28px 0 0; font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.6; color: #D8D8E2; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.vhero__p strong { color: #fff; }
.vhero__p .hl { color: var(--accent); }
.vhero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.vhero__badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.vhero__badges span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(7,7,9,.42); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; color: #D7D7E0; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.vhero__badges i { width: 6px; height: 6px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.ft-word { position: absolute; font-family: 'Great Vibes', cursive; font-weight: 400; line-height: 1; white-space: nowrap; pointer-events: none; }
.ft-word--prestige { right: 5%; top: 12%; z-index: 2; font-size: clamp(3rem, 8vw, 6.5rem); color: #f4eeff; opacity: .92; text-shadow: 0 0 24px 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%); } }

/* ==========================================================================
   BOARD
   ========================================================================== */
.board { position: relative; padding: 12vh 0 14vh; }
.board > .wrap { position: relative; z-index: 1; }
.board__head { max-width: 760px; margin-bottom: 40px; }
.board__head .eyebrow { display: block; margin-bottom: 14px; }
.board__head h2 { margin: 0; font-size: clamp(1.8rem, 4.4vw, 3.2rem); line-height: 1.03; color: #fff; }
.board__head p { margin: 16px 0 0; font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); }
.board__head p strong { color: #fff; font-weight: 700; }

/* --- Layout : sommaire + cartes ----------------------------------------- */
.cgv-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 34px; align-items: start; }

/* ==========================================================================
   SOMMAIRE (sticky desktop, scroll-spy)
   ========================================================================== */
.toc { position: sticky; top: 96px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(20,20,28,.72), rgba(12,12,18,.72)); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.toc__title { margin: 0 0 14px; font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.toc__list { display: flex; flex-direction: column; gap: 2px; }
.toc__item { --tc: var(--c-violet); position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; color: var(--ink-2); font-weight: 600; font-size: .9rem; line-height: 1.2; transition: background .25s, color .25s; }
.toc__item::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 99px; background: rgb(var(--tc)); transform: translateY(-50%); transition: height .35s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 10px rgba(var(--tc),.7); }
.toc__n { flex: 0 0 auto; font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: .74rem; color: var(--ink-3); font-variant-numeric: tabular-nums; transition: color .25s; }
.toc__lbl { min-width: 0; }
.toc__item:hover { background: rgba(var(--tc),.09); color: #fff; }
.toc__item:hover .toc__n { color: rgb(var(--tc)); }
.toc__item.is-active { background: rgba(var(--tc),.12); color: #fff; }
.toc__item.is-active::before { height: 62%; }
.toc__item.is-active .toc__n { color: rgb(var(--tc)); }
.toc__cta { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 16px; padding: 12px; border-radius: 12px; background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.3); color: var(--accent); font-weight: 800; font-size: .86rem; transition: background .25s, border-color .25s, transform .2s; }
.toc__cta:hover { background: rgba(var(--accent-rgb),.2); border-color: rgba(var(--accent-rgb),.55); transform: translateY(-2px); }

/* ==========================================================================
   CARTES D'ARTICLES
   ========================================================================== */
.terms { display: flex; flex-direction: column; gap: 18px; }

.term-card { --tc: var(--c-violet); position: relative; scroll-margin-top: 92px; padding: 26px 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(var(--tc),.08), rgba(var(--tc),.015) 40%, #0c0c12 100%); border: 1px solid rgba(var(--tc),.28); overflow: hidden; transition: border-color .4s, box-shadow .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
.term-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, rgba(var(--tc),1), rgba(var(--tc),.3)); opacity: .85; }
.term-card:hover { transform: translateY(-4px); border-color: rgba(var(--tc),.6); box-shadow: 0 26px 54px rgba(0,0,0,.45), 0 0 42px rgba(var(--tc),.16); }

.term-card.c-violet { --tc: var(--c-violet); }
.term-card.c-gold   { --tc: var(--c-gold); }
.term-card.c-teal   { --tc: var(--c-teal); }
.term-card.c-blue   { --tc: var(--c-blue); }
.term-card.c-green  { --tc: var(--c-green); }

.term-card__head { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.term-card__ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(var(--tc),.24), rgba(255,255,255,.02) 70%); border: 1px solid rgba(var(--tc),.26); color: rgb(var(--tc)); }
.term-card__ic svg { width: 25px; height: 25px; }
.term-card__n { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--tc)); margin-bottom: 3px; }
.term-card__head h3 { margin: 0; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; color: #fff; line-height: 1.1; }

.term-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.term-card__list li { position: relative; padding-left: 24px; font-size: .98rem; line-height: 1.62; color: #C7C7D2; }
.term-card__list li::before { content: ''; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--tc)); box-shadow: 0 0 9px rgba(var(--tc),.7); }
.term-card__list li strong { color: #fff; font-weight: 700; }
.term-card__list a { color: rgb(var(--tc)); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(var(--tc),.35); transition: border-color .2s, color .2s; }
.term-card__list a:hover { border-color: rgb(var(--tc)); }
.term-card__list .mono { color: #fff; font-weight: 700; }

/* ==========================================================================
   BLOC CONTACT
   ========================================================================== */
.cgv-contact { display: flex; align-items: flex-start; gap: 20px; margin-top: 8px; padding: 30px; border-radius: 24px; background: radial-gradient(120% 120% at 0% 0%, rgba(var(--accent-rgb),.14), rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(20,20,28,.85), rgba(12,12,18,.85)); border: 1px solid var(--line-2); box-shadow: 0 24px 64px rgba(0,0,0,.4); }
.cgv-contact__ic { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(var(--accent-rgb),.16); border: 1px solid rgba(var(--accent-rgb),.32); color: var(--accent); }
.cgv-contact__ic svg { width: 28px; height: 28px; }
.cgv-contact__txt h3 { margin: 2px 0 0; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.01em; }
.cgv-contact__txt p { margin: 10px 0 0; font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 560px; }
.cgv-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.cgv-contact__actions .btn-accent { padding: 13px 24px; font-size: 14px; }
.cgv-contact__actions .btn-ghost { padding: 13px 22px; font-size: 14px; }

/* ==========================================================================
   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); 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__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); }
footer .copy { max-width: 780px; margin: 0 auto; font-size: 11px; color: #54545f; 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) {
  .cgv-layout { grid-template-columns: 1fr; gap: 20px; }
  /* Le sommaire passe en bandeau non-sticky au-dessus des cartes */
  .toc { position: static; top: auto; }
  .toc__list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .toc__item { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
  .toc__item::before { display: none; }
  .toc__item.is-active { border-color: rgba(var(--tc),.5); }
  .toc__cta { margin-top: 16px; }
}
@media (max-width: 960px) {
  .vhero__fruit.f2, .vhero__fruit.f3 { display: none; }
  .vhero__fruit.f1 { width: 142px; opacity: .85; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .navtoggle { top: 16px; right: 16px; width: 44px; height: 44px; }
  .brand { display: none; }
  .vhero { min-height: 86vh; padding: 18vh 0 10vh; }
  .vhero__bg { background-position: 62% 26%; }
  .vhero__fruit { display: none; }
  .ft-word--prestige { font-size: clamp(2.4rem, 15vw, 4rem); top: 9%; right: 7%; opacity: .72; }
  .term-card { padding: 22px 20px; }
  .term-card__head h3 { font-size: 1.08rem; }
  .cgv-contact { flex-direction: column; padding: 24px 20px; gap: 16px; }
  .cgv-contact__actions .btn { flex: 1; justify-content: center; }
  .marquee { transform: rotate(-1.4deg) scale(1.04); }
  .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__lbl { font-size: 1.08rem; }
  .navmenu__foot { margin-top: 16px; }
  .fab .fab-txt { display: none; }
  .fab { padding: 13px; }
}

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