/* ==========================================================================
   Blox Fruits FR - bffr.fr/contactnew
   Page de contact. Reprend l'ADN cinématique de la home /bffr et de /valuenew
   (dark violet, Archivo / Archivo Expanded, grain, drawer, curseur) appliqué à
   une page de contact VOLONTAIREMENT SOBRE : hero court, 3 canaux clairs, un
   formulaire simple, une FAQ repliée. Objectif : trouver son besoin d'un coup
   d'oeil. Autonome (aucune dépendance). Couleurs hex/rgba directes.
   ========================================================================== */

*, *::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;
  --discord-rgb: 88,101,242;
  --green:     #3BE08A;
  --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) */
.chero, .channels, .form-sec, .faq, footer { background-color: var(--bg); }
.channels, .form-sec, .faq, footer { margin-top: -1px; }
.channels, .form-sec, .faq { overflow: hidden; position: relative; }

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

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

/* ==========================================================================
   HERO (court : titre + une phrase + 2 boutons)
   ========================================================================== */
.chero { position: relative; min-height: 74vh; display: flex; align-items: center; overflow: hidden; padding: 18vh 0 12vh; }
.chero__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); }
.chero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chero__veil.a { background: linear-gradient(180deg, rgba(7,7,9,.45) 0%, rgba(7,7,9,.2) 30%, rgba(7,7,9,.6) 70%, rgba(7,7,9,.94) 92%, var(--bg) 100%); }
.chero__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%); }
.chero__fruit { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 28px 48px rgba(0,0,0,.6)); will-change: transform; }
.chero__fruit.f1 { width: 180px; right: 9%; top: 20%; }
.chero__fruit.f2 { width: 116px; right: 24%; bottom: 20%; }
.chero__content { position: relative; z-index: 3; width: 100%; }
.chero__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; }
.chero__badge i { width: 8px; height: 8px; border-radius: 99px; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.8s infinite; }
.chero__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} }
.chero 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); }
.chero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.chero__p { max-width: 520px; 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); }
.chero__p strong { color: #fff; }
.chero__p .hl { color: var(--accent); }
.chero__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--hello { right: 5%; top: 13%; 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); }

/* ==========================================================================
   CANAUX : 3 options claires et égales
   ========================================================================== */
.channels { padding: 13vh 0 9vh; }
.channels > .wrap { position: relative; z-index: 1; }
.channels__head { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.channels__head .eyebrow { display: block; margin-bottom: 14px; }
.channels__head h2 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.02; color: #fff; }
.channels__head p { margin: 16px auto 0; max-width: 480px; font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }

.channels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ch-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: linear-gradient(165deg, #131320, #0C0C12); border: 1px solid var(--line); overflow: hidden; min-height: 236px; transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .4s; }
.ch-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb),.55); box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.ch-discord { background: linear-gradient(160deg, rgba(var(--discord-rgb),.2), #0E0C16 64%); border-color: rgba(var(--discord-rgb),.4); }
.ch-discord:hover { border-color: rgba(var(--discord-rgb),.7); box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 44px rgba(var(--discord-rgb),.22); }
.ch-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; position: relative; z-index: 1; }
.ch-ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(150deg, var(--accent), var(--accent-2)); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(var(--accent-rgb),.3); flex-shrink: 0; }
.ch-ic--discord { background: var(--discord); box-shadow: 0 10px 26px rgba(var(--discord-rgb),.5); }
.ch-tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 99px; background: rgba(var(--discord-rgb),.16); border: 1px solid rgba(var(--discord-rgb),.34); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #b9c0ff; }
.ch-card h3 { margin: 0 0 9px; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 800; font-size: 1.34rem; letter-spacing: -.01em; color: #fff; position: relative; z-index: 1; }
.ch-card p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-2); position: relative; z-index: 1; }
.ch-go { position: relative; z-index: 1; margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #c3caff; transition: gap .3s; }
.ch-card:hover .ch-go { gap: 12px; }

/* Email : bouton copier */
.ch-mailbtn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: #fff; font-weight: 700; font-size: 14px; transition: border-color .2s, background .2s, transform .15s; position: relative; z-index: 1; }
.ch-mailbtn:hover { border-color: rgba(var(--accent-rgb),.5); background: rgba(var(--accent-rgb),.08); transform: translateY(-1px); }
.ch-mailbtn > span { font-variant-numeric: tabular-nums; }
.ch-mailbtn > svg { color: var(--ink-3); transition: color .2s; }
.ch-mailbtn:hover > svg { color: var(--accent); }

/* Réseaux : chips */
.ch-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; position: relative; z-index: 1; }
.ch-socials a { padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: 13px; transition: color .2s, border-color .2s, background .2s, transform .15s; }
.ch-socials a:hover { color: #fff; border-color: rgba(var(--accent-rgb),.5); background: rgba(var(--accent-rgb),.08); transform: translateY(-1px); }

/* ==========================================================================
   FORMULAIRE (1 colonne, centré)
   ========================================================================== */
.form-sec { padding: 11vh 0; }
.form-sec > .wrap { position: relative; z-index: 1; }
.form-head { max-width: 640px; margin: 0 auto 30px; text-align: center; }
.form-head .eyebrow { display: block; margin-bottom: 14px; }
.form-head h2 { margin: 0; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.02; color: #fff; }
.form-head p { margin: 16px auto 0; max-width: 480px; font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }
.form-head p strong { color: #fff; }

/* Carte formulaire (verre dépoli, comme la toolbar de /valuenew) */
.form-card { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 24px; background: linear-gradient(180deg, rgba(20,20,28,.86), rgba(12,12,18,.86)); border: 1px solid var(--line); box-shadow: 0 24px 66px rgba(0,0,0,.42); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field__label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-left: 2px; }
.form-card input, .form-card textarea { width: 100%; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line); outline: none; color: #fff; background: rgba(255,255,255,.05); font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--ink-3); }
.form-card input:focus, .form-card textarea: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); }
.form-card textarea { min-height: 150px; resize: vertical; line-height: 1.55; }

/* Sujet : chips segmentées (comme les category-chips de /valuenew) */
.topics { display: flex; flex-wrap: wrap; gap: 9px; }
.topic { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--ink-2); font-weight: 700; font-size: 13.5px; transition: color .2s, border-color .2s, background .2s, transform .15s, box-shadow .2s; }
.topic:hover { color: #fff; border-color: var(--line-2); transform: translateY(-1px); }
.topic.is-active { color: #0b0b10; background: linear-gradient(135deg, var(--accent), #c3b0ff); border-color: transparent; box-shadow: 0 10px 26px rgba(var(--accent-rgb),.34); }

.form-send { align-self: flex-start; margin-top: 2px; padding: 16px 30px; }
.form-ok { display: none; align-items: center; gap: 11px; padding: 14px 16px; border-radius: 13px; background: rgba(59,224,138,.1); border: 1px solid rgba(59,224,138,.3); color: #7ef0b0; font-size: 14px; font-weight: 600; line-height: 1.45; }
.form-ok.show { display: flex; }
.form-ok svg { flex: 0 0 auto; }

/* ==========================================================================
   FAQ (repliée : chacun ouvre juste ce qu'il veut)
   ========================================================================== */
.faq { padding: 2vh 0 15vh; }
.faq__head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.faq__head .eyebrow { display: block; margin-bottom: 14px; }
.faq__head h2 { margin: 0; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.02; color: #fff; }
.faq__head p { margin: 16px auto 0; max-width: 520px; font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }
.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 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; } }

/* ==========================================================================
   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)
   ========================================================================== */
.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); }
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: 900px) {
  .channels__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .ch-card { min-height: 0; }
}
@media (max-width: 960px) {
  .chero__fruit.f2 { display: none; }
  .chero__fruit.f1 { width: 148px; opacity: .85; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .navtoggle { top: 16px; right: 16px; width: 44px; height: 44px; }
  .brand { display: none; }
  .chero { min-height: 80vh; padding: 20vh 0 10vh; }
  .chero__bg { background-position: 62% 26%; }
  .chero__fruit { display: none; }
  .ft-word--hello { font-size: clamp(2.2rem, 15vw, 3.6rem); top: 8%; right: 7%; opacity: .55; }
  .form-card { padding: 22px; border-radius: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .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) {
  .topic { flex: 1; text-align: center; justify-content: center; }
}

/* 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) .chero__badge i { animation: none !important; }
  html:not(.force-motion) #cursorRing { display: none !important; }
}
