/* Blue World · site officiel. Mise en page calquée sur la maquette de référence, couleurs et logo Blue World. */
:root {
  --bg: #03060c;
  --bg-2: #04070d;
  --panel: rgba(7, 11, 20, 0.88);
  --panel-2: rgba(9, 14, 26, 0.78);
  --text: #f1f5fb;
  --muted: rgba(200, 212, 232, 0.8);
  --muted-2: rgba(200, 212, 232, 0.62);
  --accent: #3d8bff;
  --accent-soft: #5aa2ff;
  --label: #8ec0ff;
  --ice: #cfe3ff;
  --line: rgba(61, 139, 255, 0.28);
  --line-strong: rgba(61, 139, 255, 0.45);
  --grad-title: linear-gradient(135deg, #e8f1ff, #3d8bff, #8ec0ff);
  --grad-btn: linear-gradient(135deg, #1d5fe0, #3d8bff, #a9cdff);
  --btn-text: #03122e;
  --discord: linear-gradient(135deg, #4752c4, #5865f2, #7289da);
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --wide: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.45; min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 8px; }
.container-wide { width: min(var(--wide), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ en-tête */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: 72px; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(3, 6, 12, 0.82); backdrop-filter: blur(14px); border-bottom-color: rgba(61, 139, 255, 0.14); }
.nav-inner { width: min(var(--wide), 100% - 32px); margin: 6px auto 0; height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand-mark { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(61, 139, 255, 0.3)); }
.nav-links { display: flex; gap: 2.4px; }
.nav-links a { font-family: var(--display); font-size: 12.48px; letter-spacing: 1.75px; text-transform: uppercase; color: #e4eef8; padding: 7.2px 11.2px; border-radius: 999px; position: relative; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { background: rgba(61, 139, 255, 0.1); color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.nav-cta { display: flex; gap: 7.2px; justify-content: flex-end; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7.2px; font-family: var(--display); font-weight: 600; text-transform: uppercase; white-space: nowrap; cursor: pointer; border: 0; transition: transform .2s, filter .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-icon { width: 17px; height: 17px; flex: none; }
.btn-discord { width: 172px; height: 44px; border-radius: 999px; background: var(--discord); color: #fff; font-size: 14.4px; letter-spacing: .864px; padding: 11.2px 13.6px; }
.btn-auth { width: 172px; height: 44px; border-radius: 999px; background: rgba(8, 18, 32, 0.88); border: 1px solid rgba(90, 150, 255, 0.45); color: #b9d4ff; font-size: 14.4px; letter-spacing: .864px; padding: 11.2px 13.6px; }
.btn-auth img { width: 22px; height: 22px; border-radius: 50%; }
.btn-primary { background: var(--grad-btn); color: var(--btn-text); border-radius: 999px; font-size: 16.8px; letter-spacing: 1.68px; padding: 16px 33.6px; min-width: 240px; height: 58px; box-shadow: 0 10px 30px rgba(61, 139, 255, 0.25); }
.btn-ghost { background: rgba(5, 9, 16, 0.6); color: #e8f1ff; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 16.8px; letter-spacing: 1.68px; padding: 16px 33.6px; min-width: 240px; height: 58px; }
.btn-ghost:hover { border-color: var(--accent-soft); }
.btn-sm { height: 45px; min-width: 0; padding: 12.48px 18.4px; border-radius: 10px; font-size: 14.4px; letter-spacing: 1.44px; background: var(--grad-btn); color: var(--btn-text); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(61, 139, 255, 0.18); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); }
.nav-mobile { display: none; }

/* ------------------------------------------------------------------ structure de page */
.page-shell { position: relative; min-height: 100vh; }
.page-body { padding: 26px 0 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
/* haut de l'accueil : animation au chargement (ne dépend pas du défilement) */
.rise { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; } .reveal { opacity: 1; transform: none; transition: none; } .marquee-track, .prop { animation: none !important; } }

.eyebrow { font-family: var(--display); font-size: 13.12px; font-weight: 600; letter-spacing: 2.89px; text-transform: uppercase; color: var(--accent-soft); margin: 13.12px 0; }
.section-title { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: 2.16px; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* bandeau de page */
.page-banner { position: relative; height: 378px; padding: 112px 0 44px; overflow: hidden; border-bottom: 1px solid rgba(61, 139, 255, 0.12); }
.page-banner-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--scene-pos, center 40%); filter: grayscale(1) sepia(.55) hue-rotate(178deg) saturate(2.4) contrast(1.08) brightness(.5); }
.page-banner-scene-overlay { position: absolute; inset: 0; background: radial-gradient(38% 55% at 50% 58%, rgba(3, 6, 12, 0.55), transparent 75%), linear-gradient(90deg, rgba(3, 6, 12, 0.9) 0%, rgba(4, 8, 16, 0.45) 34%, rgba(0, 0, 0, 0) 58%), linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(3, 6, 12, 0.92) 100%); }
.page-banner-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.page-banner-title { font-size: 72px; margin: 4px 0 10.4px; }
.page-banner-sub { color: var(--muted); font-size: 15px; }
.ped-art { position: absolute; z-index: 1; left: max(16px, calc(50% - 683px)); bottom: 0; width: 340px; height: 358px; object-fit: cover; object-position: center 12%; mix-blend-mode: lighten;
  filter: grayscale(1) sepia(.5) hue-rotate(178deg) saturate(2.2) brightness(1.25) contrast(1.15);
  -webkit-mask-image: radial-gradient(62% 70% at 50% 42%, #000 35%, transparent 78%); mask-image: radial-gradient(62% 70% at 50% 42%, #000 35%, transparent 78%); }

.back-home { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 14.4px; letter-spacing: 1.44px; text-transform: uppercase; color: var(--accent-soft); margin: 2px 0 20px; }
.back-home:hover { color: #fff; }

.motto { position: relative; background: #0a0f1a; border: 1px solid var(--line); border-radius: 14px; padding: 16px 21.6px; text-align: center; font-family: var(--display); font-size: 16.8px; letter-spacing: 2.016px; text-transform: uppercase; color: var(--ice); margin-bottom: 28px; }
.motto::before, .motto::after { content: "◆"; position: absolute; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 11px; }
.motto::before { left: 16px; } .motto::after { right: 16px; }

.note { display: flex; gap: 12px; align-items: flex-start; background: #0a0f1a; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 14px 18px; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.note-bang { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(61, 139, 255, 0.15); color: var(--accent-soft); font-family: var(--display); font-size: 15px; }
.note.center { justify-content: space-between; align-items: center; text-align: center; font-family: var(--display); letter-spacing: 1.6px; color: var(--ice); text-transform: uppercase; border-left-width: 1px; }

/* cartes « hub » (règlement, illégal, justice) */
.hub-list { display: grid; gap: 18px; }
.hub-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22.4px 24px; min-height: 132px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; isolation: isolate; transition: border-color .25s, transform .25s, box-shadow .25s; }
.hub-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--scene) var(--scene-pos, center) / cover; opacity: .45; filter: grayscale(1) sepia(.55) hue-rotate(178deg) saturate(2.2) contrast(1.06); transition: opacity .3s, transform .6s; }
.hub-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 6, 12, 0.92), rgba(3, 6, 12, 0.62) 40%, rgba(3, 6, 12, 0.3)); }
.hub-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(18, 70, 190, 0.2); }
.hub-card:hover::before { opacity: .6; transform: scale(1.03); }
.hub-icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-size: 21.6px; background: rgba(61, 139, 255, 0.12); border: 1px solid rgba(61, 139, 255, 0.4); color: var(--accent-soft); }
.hub-label { display: block; font-family: var(--display); font-size: 11.84px; font-weight: 600; letter-spacing: 2.13px; text-transform: uppercase; color: var(--label); margin-bottom: 3.2px; }
.hub-card h3 { font-family: var(--display); font-size: 30.4px; font-weight: 700; letter-spacing: 1.216px; line-height: 1.05; margin-bottom: 5.6px; }
.hub-card p { font-size: 14.72px; color: var(--muted); line-height: 1.45; max-width: 640px; }
.hub-go { pointer-events: none; }

/* encart de fin de page */
.page-end { padding: 40px 0 56px; }
.page-end-band { width: 298px; max-width: 100%; margin: 14px auto 0; background: var(--panel-2); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; }
.page-end-cta { padding: 21.6px 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.page-end-cta .eyebrow { margin: 0; }
.page-end-cta h2 { font-family: var(--display); font-size: 35.2px; font-weight: 700; letter-spacing: 1.408px; line-height: 1.05; background: linear-gradient(90deg, #f1f5fb, var(--accent-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: -8px; }

.footer { background: var(--bg-2); border-top: 1px solid rgba(61, 139, 255, 0.1); }
.footer-bottom { padding: 32px 0 40px; text-align: center; font-size: 13.6px; color: #8e97a8; }

/* ------------------------------------------------------------------ accueil */
.hero-home { position: relative; height: 100vh; min-height: 680px; overflow: hidden; display: grid; place-items: center; }
.hero-bg { position: absolute; inset: 0; background: url(../assets/scenes/city-left.jpg) center 35% / cover; filter: grayscale(1) sepia(.5) hue-rotate(178deg) saturate(2) brightness(.32) contrast(1.1); transform: scale(1.04); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(42% 38% at 50% 46%, rgba(61, 139, 255, 0.28), transparent 70%), linear-gradient(180deg, rgba(3, 6, 12, 0.7), rgba(3, 6, 12, 0.2) 40%, var(--bg) 100%); }
.hero-dust { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 12% 22%, rgba(140, 192, 255, .7), transparent 60%), radial-gradient(1.5px 1.5px at 72% 18%, rgba(140, 192, 255, .6), transparent 60%), radial-gradient(1px 1px at 33% 70%, rgba(140, 192, 255, .6), transparent 60%), radial-gradient(1.5px 1.5px at 86% 62%, rgba(140, 192, 255, .5), transparent 60%), radial-gradient(1px 1px at 52% 84%, rgba(140, 192, 255, .5), transparent 60%), radial-gradient(1px 1px at 18% 52%, rgba(140, 192, 255, .4), transparent 60%); opacity: .8; }
.hero-content { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 40px; }
.hero-logo { width: min(560px, 82vw); filter: drop-shadow(0 0 34px rgba(61, 139, 255, 0.45)); }
.hero-tagline { margin-top: 6px; font-family: var(--body); font-weight: 600; font-size: clamp(18px, 2.2vw, 27px); letter-spacing: 1px; text-transform: uppercase; color: #e8f1ff; }
.hero-tagline em { font-style: italic; font-weight: 700; color: var(--accent-soft); text-shadow: 0 0 18px rgba(61, 139, 255, .5); }
.hero-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 32px; color: var(--accent); font-size: 12px; }
.hero-divider::before, .hero-divider::after { content: ""; width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn-primary, .hero-actions .btn-ghost { min-width: 208px; }
.prop { position: absolute; z-index: 2; width: var(--w, 180px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(61, 139, 255, 0.22)); animation: float 7s ease-in-out infinite; animation-delay: var(--delay, 0s); pointer-events: none; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 4deg)); } }
.marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(3, 6, 12, 0.78); overflow: hidden; height: 40px; display: flex; align-items: center; }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; animation: marquee 40s linear infinite; font-family: var(--display); font-size: 13px; letter-spacing: 1.8px; color: #e8f1ff; }
.marquee-track span::before { content: "◆"; color: var(--accent); margin-right: 12px; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.start { padding: 90px 0 30px; }
.start-head { text-align: center; margin-bottom: 36px; }
.start-head h2 { font-size: 58px; }
.start-head p { color: var(--muted); font-size: 15.5px; margin-top: 12px; }
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.start-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; min-height: 216px; border: 1px solid rgba(61, 139, 255, 0.14); border-radius: 14px; background: var(--panel); transition: border-color .25s, transform .25s, background .25s; }
.start-card:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(10, 17, 32, 0.92); }
.start-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(61, 139, 255, 0.1); color: var(--accent-soft); margin-bottom: 6px; }
.start-icon svg { width: 18px; height: 18px; }
.start-card h3 { font-family: var(--display); font-size: 28px; letter-spacing: 1px; font-weight: 700; }
.start-card p { color: var(--muted); font-size: 14.4px; flex: 1; }
.start-more { font-family: var(--display); font-size: 13px; letter-spacing: 1.8px; color: var(--accent-soft); }
.join-band { margin: 18px 0 60px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 36px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(90deg, rgba(10, 17, 32, 0.95), rgba(7, 11, 20, 0.8)); }
.join-band h2 { font-family: var(--display); font-size: 40px; letter-spacing: 1.4px; line-height: 1; }
.join-band p { color: var(--muted); font-size: 14.4px; margin-top: 8px; }
.join-band .eyebrow { margin: 0 0 4px; }
.join-actions { display: flex; gap: 14px; }
.join-actions .btn { min-width: 210px; height: 54px; }

/* ------------------------------------------------------------------ boutique / réseaux / liens */
.soon { min-height: calc(100vh - 140px); display: grid; place-items: center; position: relative; overflow: hidden; }
.soon .page-banner-scene { height: 380px; }
.soon-box { position: relative; z-index: 2; width: min(560px, 100% - 32px); text-align: center; padding: 38px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.soon-box h1 { font-family: var(--display); font-size: 40px; letter-spacing: 1.4px; margin: 4px 0 22px; }
.soon-box .btn { height: 48px; min-width: 0; font-size: 15px; }
.social-list { display: grid; gap: 18px; margin-bottom: 10px; }
.section-head { margin: 8px 0 24px; }
.section-head h2 { font-family: var(--display); font-size: 44px; letter-spacing: 1.4px; }
.section-head p { color: var(--muted); font-size: 14.6px; margin-top: 4px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.link-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid rgba(61, 139, 255, 0.16); border-radius: 14px; background: var(--panel); transition: border-color .25s, transform .25s; }
.link-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.link-card h3 { font-family: var(--display); font-size: 32px; letter-spacing: 1.2px; }
.link-card p { color: var(--muted); font-size: 14.4px; flex: 1; }
.discord-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 4px; }
.discord-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid rgba(88, 101, 242, 0.35); border-radius: 12px; background: rgba(88, 101, 242, 0.08); font-family: var(--display); font-size: 19px; letter-spacing: 1px; transition: background .2s; }
.discord-item:hover { background: rgba(88, 101, 242, 0.18); }
.discord-item svg { width: 22px; height: 22px; color: #8b95ff; }

/* ------------------------------------------------------------------ commandes */
.search-box { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 18px 20px; margin-bottom: 30px; }
.search-box label { display: block; font-family: var(--display); font-size: 15px; letter-spacing: 1.8px; color: var(--accent-soft); }
.search-box small { display: block; color: var(--muted-2); font-size: 13px; margin: 2px 0 10px; }
.search-field { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid rgba(61, 139, 255, 0.22); border-radius: 10px; background: #070b14; }
.search-field input { flex: 1; background: none; border: 0; outline: 0; font-size: 15px; }
.search-field svg { width: 18px; height: 18px; color: var(--muted-2); }
.group-head { display: flex; align-items: center; gap: 12px; margin: 30px 0 16px; }
.group-head h2 { font-family: var(--display); font-size: 30px; letter-spacing: 1.2px; }
.group-head .count { min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: rgba(61, 139, 255, 0.14); border: 1px solid var(--line); color: var(--accent-soft); font-family: var(--display); font-size: 14px; }
.group-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.cmd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cmd { display: grid; grid-template-columns: minmax(130px, auto) 1fr; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid rgba(61, 139, 255, 0.14); border-radius: 12px; background: var(--panel); }
.cmd code { font-family: var(--display); font-size: 17px; letter-spacing: 1px; color: var(--accent-soft); background: rgba(61, 139, 255, 0.08); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; justify-self: start; }
.cmd span { color: var(--muted); font-size: 14.2px; }
.empty { color: var(--muted-2); text-align: center; padding: 30px 0; }

/* ------------------------------------------------------------------ règles et textes */
.rule-list { display: grid; gap: 18px; }
.rule-card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 22.4px 24px; }
.rule-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rule-head .hub-icon { width: 38px; height: 38px; font-size: 17px; border-radius: 10px; }
.rule-card h2 { font-family: var(--display); font-size: 24.8px; letter-spacing: .99px; }
.rule-card p { color: var(--muted); font-size: 14.4px; margin: 10px 0; line-height: 1.55; }
.rule-card p:first-of-type { margin-top: 0; }
.rule-card ul { list-style: none; display: grid; gap: 7px; margin: 10px 0; }
.rule-card li { position: relative; padding-left: 18.4px; color: var(--muted); font-size: 14.4px; line-height: 1.55; }
.rule-card li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.rule-card strong { color: var(--label); font-weight: 600; }
.rule-card .nb { color: var(--label); font-size: 14.08px; font-weight: 600; margin-top: 12px; }
.lexicon-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.lexicon-item { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 18px 24px; border-bottom: 1px solid rgba(61, 139, 255, 0.1); }
.lexicon-item:last-child { border-bottom: 0; }
.lexicon-item dt { font-family: var(--display); font-size: 21px; letter-spacing: 1px; color: #e8f1ff; }
.lexicon-item dt small { display: block; font-size: 12px; letter-spacing: 1.8px; color: var(--label); }
.lexicon-item dd { color: var(--muted); font-size: 14.6px; line-height: 1.55; }

/* justice */
.jd-decor { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.jd-decor-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(61, 139, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(61, 139, 255, 0.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.jd-decor-glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(61, 139, 255, 0.12), transparent); }
.jd-marquee { position: relative; height: 42px; overflow: hidden; display: flex; align-items: center; border-block: 1px solid var(--line); background: rgba(3, 6, 12, 0.6); margin-bottom: 26px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stats-row.three { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 18px 20px; border: 1px solid rgba(61, 139, 255, 0.16); border-radius: 14px; background: var(--panel); }
.stat b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-family: var(--display); font-size: 13px; letter-spacing: 1.8px; color: var(--muted); }
.jd-section-head { display: flex; align-items: center; gap: 14px; margin: 36px 0 18px; }
.jd-section-head .hub-icon { width: 42px; height: 42px; font-size: 18px; }
.jd-section-head h2 { font-family: var(--display); font-size: 34px; letter-spacing: 1.3px; }
.jd-section-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.jd-rights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.jd-right-card, .jd-duty-card { position: relative; padding: 20px 22px; border: 1px solid rgba(61, 139, 255, 0.16); border-radius: 14px; background: var(--panel); }
.jd-right-num { position: absolute; top: 16px; right: 18px; font-family: var(--display); font-size: 28px; color: rgba(61, 139, 255, 0.35); }
.jd-right-card h3, .jd-duty-card h3 { font-family: var(--display); font-size: 22px; letter-spacing: 1px; padding-right: 40px; margin-bottom: 8px; }
.jd-right-card p, .jd-duty-card p { color: var(--muted); font-size: 14.2px; line-height: 1.55; }
.jd-right-examples { list-style: none; margin-top: 10px; display: grid; gap: 4px; }
.jd-right-examples li { font-size: 13.4px; color: var(--muted-2); padding-left: 14px; position: relative; }
.jd-right-examples li::before { content: "›"; position: absolute; left: 0; color: var(--accent); }
.jd-duties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jd-duty-importance { display: inline-block; margin-bottom: 10px; font-family: var(--display); font-size: 12px; letter-spacing: 1.6px; padding: 3px 10px; border-radius: 999px; background: rgba(61, 139, 255, 0.12); color: var(--label); }
.jd-amend-list { display: grid; gap: 10px; }
.jd-amend-item { border: 1px solid rgba(61, 139, 255, 0.14); border-radius: 12px; background: var(--panel); }
.jd-amend-item summary { cursor: pointer; list-style: none; padding: 16px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.jd-amend-item summary::-webkit-details-marker { display: none; }
.jd-amend-item summary b { font-family: var(--display); font-size: 21px; letter-spacing: 1px; font-weight: 400; }
.jd-amend-item summary small { display: block; color: var(--muted-2); font-size: 13px; }
.jd-amend-item summary::after { content: "+"; font-family: var(--display); font-size: 24px; color: var(--accent-soft); }
.jd-amend-item[open] summary::after { content: "–"; }
.jd-amend-item p { padding: 0 20px 18px; color: var(--muted); font-size: 14.2px; line-height: 1.55; }
.jd-defs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jd-def { padding: 18px; border: 1px solid rgba(61, 139, 255, 0.16); border-radius: 14px; background: var(--panel); }
.jd-def em { font-style: normal; font-family: var(--display); font-size: 26px; color: rgba(61, 139, 255, 0.45); }
.jd-def h3 { font-family: var(--display); font-size: 22px; letter-spacing: 1px; margin: 2px 0 8px; }
.jd-def p { color: var(--muted); font-size: 13.6px; line-height: 1.5; margin-top: 6px; }
.jd-def p b { color: var(--label); font-weight: 600; }
.penal-cat { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 12px; overflow: hidden; }
.penal-cat summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.penal-cat summary::-webkit-details-marker { display: none; }
.penal-cat summary b { font-family: var(--display); font-size: 25px; letter-spacing: 1.4px; font-weight: 400; }
.penal-cat summary span { color: var(--muted-2); font-size: 13.6px; }
.penal-cat summary::after { content: "+"; font-family: var(--display); font-size: 26px; color: var(--accent-soft); margin-left: 16px; }
.penal-cat[open] summary::after { content: "–"; }
.penal-table { width: 100%; border-collapse: collapse; }
.penal-table th { text-align: left; font-family: var(--display); font-size: 13px; letter-spacing: 1.6px; color: var(--label); font-weight: 400; padding: 10px 22px; border-top: 1px solid rgba(61, 139, 255, 0.12); }
.penal-table td { padding: 11px 22px; border-top: 1px solid rgba(61, 139, 255, 0.08); color: var(--muted); font-size: 14px; vertical-align: top; }
.penal-table td:first-child { color: var(--text); }
.penal-table td.num { white-space: nowrap; font-family: var(--display); font-size: 17px; letter-spacing: .6px; color: var(--accent-soft); }
.penal-table mark { background: rgba(61, 139, 255, 0.3); color: #fff; border-radius: 3px; }
.jd-alert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jd-alert-card { padding: 18px; border: 1px solid rgba(61, 139, 255, 0.16); border-radius: 14px; background: var(--panel); }
.jd-alert-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; letter-spacing: 1px; margin-bottom: 8px; }
.jd-alert-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 12px currentColor; background: currentColor; }
.jd-alert-card p { color: var(--muted); font-size: 13.8px; line-height: 1.5; }
.jd-panel { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.jd-panel-lead { color: var(--muted); font-size: 14.6px; line-height: 1.55; margin-bottom: 14px; }
.jd-rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jd-check-list { list-style: none; display: grid; gap: 7px; }
.jd-check-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.jd-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-soft); font-weight: 700; }
.jd-warning { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: rgba(61, 139, 255, 0.08); color: var(--ice); font-size: 14px; }

/* ------------------------------------------------------------------ catalogues */
.cat-hero-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px 28px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; isolation: isolate; transition: transform .3s, border-color .3s; }
.cat-hero-card img.bgveh { position: absolute; z-index: -2; right: -2%; top: 50%; width: 64%; transform: translateY(-50%); object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); transition: transform .5s; }
.cat-hero-card::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(70% 90% at 75% 60%, rgba(61, 139, 255, 0.22), transparent 70%), linear-gradient(135deg, #0a1428, #050913); }
.cat-hero-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 6, 12, 0.92) 0%, rgba(3, 6, 12, 0.55) 45%, rgba(3, 6, 12, 0) 75%); }
.cat-hero-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.cat-hero-card:hover img.bgveh { transform: translateY(-50%) scale(1.04); }
.cat-hero-card h2 { font-family: var(--display); font-size: 46px; letter-spacing: 1.6px; line-height: 1; }
.cat-hero-card p { color: var(--muted); max-width: 420px; font-size: 14.6px; margin: 8px 0 18px; }
.cat-hero-foot { display: flex; align-items: center; gap: 14px; }
.cat-count { font-family: var(--display); font-size: 14px; letter-spacing: 1.6px; color: var(--ice); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(3, 6, 12, 0.6); }
.cat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-toolbar .back-home { margin: 0; }
.cat-tools { display: flex; gap: 10px; }
.cat-search { width: 340px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(61, 139, 255, 0.22); background: #070b14; outline: 0; font-size: 14px; }
.cat-sort { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(61, 139, 255, 0.22); background: #070b14; font-family: var(--display); letter-spacing: 1px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(61, 139, 255, 0.16); background: rgba(7, 11, 20, 0.8); font-family: var(--display); font-size: 13px; letter-spacing: 1.2px; cursor: pointer; text-transform: uppercase; transition: border-color .2s, background .2s; }
.chip b { font-weight: 400; font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: rgba(61, 139, 255, 0.16); color: var(--accent-soft); }
.chip.on { border-color: var(--accent); background: rgba(61, 139, 255, 0.14); }
.cat-total { font-family: var(--display); font-size: 14px; letter-spacing: 1.6px; color: var(--muted); margin-bottom: 16px; }
.veh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.veh-grid.five { grid-template-columns: repeat(5, 1fr); }
.veh { display: flex; flex-direction: column; border: 1px solid rgba(61, 139, 255, 0.14); border-radius: 14px; background: var(--panel); overflow: hidden; transition: border-color .25s, transform .25s; }
.veh:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.veh-img { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(80% 90% at 50% 70%, rgba(61, 139, 255, 0.2), transparent 70%), linear-gradient(180deg, #0c1528, #070b14); display: grid; place-items: center; overflow: hidden; }
.veh-img img { width: 92%; height: 92%; object-fit: contain; transition: transform .4s; }
.veh:hover .veh-img img { transform: scale(1.05); }
.veh-img .noimg { font-family: var(--display); letter-spacing: 2px; color: var(--muted-2); font-size: 15px; }
.veh-price { position: absolute; top: 10px; right: 10px; padding: 5px 10px; border-radius: 8px; font-family: var(--display); font-size: 15px; letter-spacing: .8px; background: var(--grad-btn); color: var(--btn-text); }
.veh-body { padding: 14px 16px 16px; }
.veh-body h3 { font-family: var(--display); font-size: 21px; letter-spacing: 1px; line-height: 1.1; }
.veh-cat { font-family: var(--display); font-size: 12.5px; letter-spacing: 1.6px; color: var(--accent-soft); text-transform: uppercase; }
.veh-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.veh-specs span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(61, 139, 255, 0.14); color: var(--muted); font-size: 12.4px; }
.veh-specs svg { width: 12px; height: 12px; }
.veh-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.veh-row .p { font-family: var(--display); font-size: 16px; color: var(--accent-soft); }
.more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.veh-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center; }
.veh-detail-img { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(70% 80% at 50% 70%, rgba(61, 139, 255, 0.26), transparent 70%), linear-gradient(180deg, #0c1528, #060a12); display: grid; place-items: center; }
.veh-detail-img img { width: 90%; height: 90%; object-fit: contain; }
.veh-detail h2 { font-family: var(--display); font-size: 54px; letter-spacing: 1.6px; line-height: 1; }
.spec-table { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.spec-table div { display: flex; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid rgba(61, 139, 255, 0.1); color: var(--muted); font-size: 14.4px; }
.spec-table div:last-child { border-bottom: 0; }
.spec-table b { color: var(--text); font-weight: 600; }

/* illégal */
.illegal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.struct-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); position: relative; overflow: hidden; isolation: isolate; transition: border-color .25s, transform .25s; }
.struct-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scene) center / cover; opacity: .2; filter: grayscale(1) sepia(.55) hue-rotate(178deg) saturate(2); }
.struct-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.struct-card h3 { font-family: var(--display); font-size: 38px; letter-spacing: 1.4px; line-height: 1; }
.struct-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.struct-tags span { font-size: 12.6px; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(61, 139, 255, 0.16); background: rgba(3, 6, 12, 0.5); }
.struct-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

/* ------------------------------------------------------------------ formulaires et staff */
.gate { text-align: center; padding: 34px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.gate .note-bang { margin: 0 auto 12px; width: 34px; height: 34px; font-size: 20px; }
.gate h2 { font-family: var(--display); font-size: 32px; letter-spacing: 1.2px; }
.gate p { color: var(--muted); font-size: 14.6px; margin: 8px 0 22px; }
.btn-discord-lg { height: 52px; padding: 0 26px; border-radius: 999px; background: var(--discord); color: #fff; font-size: 16px; letter-spacing: 1.4px; }
.form { display: grid; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.form-who { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(61, 139, 255, 0.12); color: var(--muted); font-size: 14px; }
.form-who img { width: 36px; height: 36px; border-radius: 50%; }
.form-who b { color: var(--text); }
.form-who button { margin-left: auto; background: none; border: 0; color: var(--accent-soft); cursor: pointer; font-family: var(--display); letter-spacing: 1.2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--display); font-size: 14.5px; letter-spacing: 1.4px; color: var(--ice); }
.field label i { font-style: normal; color: var(--accent-soft); }
.field small { color: var(--muted-2); font-size: 12.6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(61, 139, 255, 0.22); background: #070b14; outline: 0; font-size: 14.6px; transition: border-color .2s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.form-msg { font-size: 14px; color: var(--muted); margin-right: auto; }
.form-msg.err { color: #ff8d8d; }
.form-msg.ok { color: #7ee2a8; }
.dossiers { margin-top: 26px; display: grid; gap: 10px; }
.dossier { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 18px; border: 1px solid rgba(61, 139, 255, 0.14); border-radius: 12px; background: var(--panel); }
.dossier b { font-family: var(--display); font-size: 18px; letter-spacing: 1px; font-weight: 400; }
.dossier small { color: var(--muted-2); font-size: 12.8px; }
.dossier p { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.badge { align-self: start; font-family: var(--display); font-size: 12.5px; letter-spacing: 1.4px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ice); }
.badge.attente { color: #ffd479; border-color: rgba(255, 212, 121, 0.4); }
.badge.accepte { color: #7ee2a8; border-color: rgba(126, 226, 168, 0.4); }
.badge.refuse { color: #ff8d8d; border-color: rgba(255, 141, 141, 0.4); }
.staff-layout { display: grid; grid-template-columns: 360px 1fr; gap: 18px; align-items: start; }
.staff-list { display: grid; gap: 8px; max-height: 70vh; overflow: auto; padding-right: 4px; }
.staff-item { text-align: left; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid rgba(61, 139, 255, 0.14); border-radius: 12px; background: var(--panel); cursor: pointer; }
.staff-item.on { border-color: var(--accent); background: rgba(61, 139, 255, 0.1); }
.staff-item b { font-family: var(--display); font-size: 17px; letter-spacing: .8px; font-weight: 400; display: flex; justify-content: space-between; gap: 8px; }
.staff-item small { color: var(--muted-2); font-size: 12.4px; }
.staff-detail { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.staff-detail h2 { font-family: var(--display); font-size: 32px; letter-spacing: 1.2px; }
.staff-fields { margin: 16px 0; display: grid; gap: 12px; }
.staff-fields div { display: grid; gap: 4px; }
.staff-fields dt { font-family: var(--display); font-size: 13.5px; letter-spacing: 1.4px; color: var(--label); }
.staff-fields dd { color: var(--text); font-size: 14.4px; white-space: pre-wrap; line-height: 1.5; }
.staff-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.staff-actions .btn { height: 44px; min-width: 0; padding: 0 22px; border-radius: 10px; font-size: 15px; }
.btn-ok { background: linear-gradient(135deg, #16a34a, #22c55e); color: #04150a; }
.btn-ko { background: linear-gradient(135deg, #b91c1c, #ef4444); color: #fff; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* ------------------------------------------------------------------ 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: 72px; }
.notfound h1 { font-size: 120px; }
.notfound p { color: var(--muted); margin: 8px 0 24px; }

/* ------------------------------------------------------------------ mobile */
@media (max-width: 1100px) {
  .veh-grid, .veh-grid.five { grid-template-columns: repeat(3, 1fr); }
  .jd-defs, .jd-alert-grid { grid-template-columns: repeat(2, 1fr); }
  .ped-art { opacity: .45; }
}
@media (max-width: 860px) {
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 10px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; grid-column: 3; }
  .nav-mobile.open { display: grid; gap: 6px; position: fixed; top: 72px; left: 0; right: 0; padding: 14px 16px 20px; background: rgba(3, 6, 12, 0.97); border-bottom: 1px solid var(--line); z-index: 59; }
  .nav-mobile a { font-family: var(--display); font-size: 20px; letter-spacing: 1.6px; padding: 10px 6px; border-bottom: 1px solid rgba(61, 139, 255, 0.1); }
  .nav-mobile .btn { margin-top: 8px; width: 100%; }
  .page-banner { height: 300px; padding-top: 96px; }
  .page-banner-title { font-size: 48px; }
  .ped-art { width: 220px; height: 260px; opacity: .3; }
  .start-grid, .cards-2, .illegal-grid, .discord-list, .jd-rights-grid, .jd-duties-grid, .jd-rules-grid, .stats-row, .stats-row.three { grid-template-columns: 1fr; }
  .start-head h2 { font-size: 42px; }
  .join-band { flex-direction: column; align-items: flex-start; }
  .join-actions { flex-direction: column; width: 100%; }
  .join-actions .btn { width: 100%; }
  .hub-card { grid-template-columns: auto 1fr; }
  .hub-card .hub-go { grid-column: 1 / -1; justify-self: start; }
  .cmd-grid { grid-template-columns: 1fr; }
  .cmd { grid-template-columns: 1fr; gap: 8px; }
  .lexicon-item { grid-template-columns: 1fr; gap: 6px; }
  .veh-grid, .veh-grid.five { grid-template-columns: repeat(2, 1fr); }
  .cat-search { width: 100%; }
  .cat-tools { width: 100%; }
  .cat-hero-card img.bgveh { width: 90%; opacity: .45; }
  .veh-detail { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .staff-layout { grid-template-columns: 1fr; }
  .prop { opacity: .3; width: calc(var(--w, 180px) * .5); }
  .penal-table th:nth-child(4), .penal-table td:nth-child(4) { display: none; }
}
@media (max-width: 520px) {
  .veh-grid, .veh-grid.five, .jd-defs, .jd-alert-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
