:root {
  --bg-void: #0b0d12;
  --bg-deep: #050608;
  --bg-panel: #151923;
  --bg-panel-2: #1c212e;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --gold: #ffc83d;
  --gold-deep: #f2a900;
  --pink: #ff5d9e;
  --orange: #ff8a3d;
  --sky: #6c8dff;
  --text-primary: #ffffff;
  --text-muted: #a6a6ad;
  --text-faint: #6b6b72;
  --success: #5ee49b;
  --font-display: 'Fredoka', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- fond : ciel de dusk pixelise, tres sombre ---------- */

.sky-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 38% at 85% -5%, rgba(255,203,61,0.10), transparent 60%),
    radial-gradient(60% 45% at 10% 105%, rgba(108,141,255,0.12), transparent 60%),
    linear-gradient(180deg, #0d0d10 0%, #0a0a0c 45%, var(--bg-deep) 100%);
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,10,0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.brand-mark {
  width: 22px;
  height: 22px;
  background: linear-gradient(155deg, var(--gold) 0%, var(--gold-deep) 60%, #a86a12 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover { background: var(--bg-panel); color: var(--text-primary); }
.nav-links a.active { color: #1a1204; background: var(--gold); }

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active { background: var(--bg-panel); color: var(--text-primary); }

.nav-dropdown-trigger .chevron { width: 13px; height: 13px; transition: transform 0.15s ease; }
.nav-dropdown.open .chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 170px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.55);
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }

.nav-dropdown-menu a {
  padding: 9px 12px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav-dropdown-menu a:hover { background: var(--bg-panel-2); color: var(--text-primary); }
.nav-dropdown-menu a.active { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Boutons pilule ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: #1a1204;
  box-shadow: 0 10px 24px -8px rgba(255,203,61,0.45);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }

.btn-gold-solid {
  background: var(--bg-panel-2);
  color: var(--gold);
  border-color: var(--line-strong);
}
.btn-gold-solid:hover { background: #262024; }

.btn-pink {
  background: transparent;
  color: var(--pink);
  border-color: rgba(255,93,158,0.4);
}
.btn-pink:hover { background: rgba(255,93,158,0.1); }

.btn-pink-solid {
  background: var(--bg-panel-2);
  color: var(--pink);
  border-color: var(--line-strong);
}
.btn-pink-solid:hover { background: #262024; }

.btn-orange {
  background: transparent;
  color: var(--orange);
  border-color: rgba(255,138,61,0.4);
}
.btn-orange:hover { background: rgba(255,138,61,0.1); }

.btn-orange-solid {
  background: var(--bg-panel-2);
  color: var(--orange);
  border-color: var(--line-strong);
}
.btn-orange-solid:hover { background: #262024; }

.btn-sky-solid {
  background: var(--bg-panel-2);
  color: #97a4ff;
  border-color: var(--line-strong);
}
.btn-sky-solid:hover { background: #262024; }

.btn-ghost {
  background: var(--bg-panel);
  color: var(--text-primary);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-panel-2); }

.btn-discord {
  background: transparent;
  color: #97a4ff;
  border-color: rgba(108,141,255,0.4);
}
.btn-discord:hover { background: rgba(108,141,255,0.1); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ---------- Hero deux colonnes (accueil) ---------- */

main { position: relative; overflow: hidden; }

.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 620px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 65% at 15% 5%, rgba(108,141,255,0.30), transparent 62%),
    radial-gradient(50% 60% at 85% 0%, rgba(255,200,61,0.38), transparent 60%),
    radial-gradient(45% 55% at 55% 25%, rgba(255,93,158,0.22), transparent 65%),
    radial-gradient(50% 55% at 30% 55%, rgba(255,138,61,0.26), transparent 65%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 35%, transparent 92%);
          mask-image: linear-gradient(180deg, black 0%, black 35%, transparent 92%);
}

.hero-split {
  position: relative;
  z-index: 1;
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.hero-logo span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.hero-tagline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero-split .lede {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 16px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Widget carte sombre generique (sidebar) ---------- */

.widget {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  padding: 20px;
}

.widget + .widget { margin-top: 14px; }

.ip-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,203,61,0.35);
  background: rgba(255,203,61,0.08);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.ip-pill:hover { background: rgba(255,203,61,0.14); }
.ip-pill svg { width: 16px; height: 16px; flex-shrink: 0; }

.pill-row { display: flex; gap: 10px; margin-top: 10px; }
.pill-row .btn { flex: 1; padding: 12px 16px; }

.widget-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.online-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}
.online-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); }
.online-badge.online .dot { background: var(--success); box-shadow: 0 0 6px var(--success); }

.member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.member-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--bg-panel-2), var(--bg-void));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-faint);
  flex-shrink: 0;
}

.member-row span { font-size: 13px; color: var(--text-muted); }

/* ---------- Sections generiques ---------- */

section { padding: 52px 0; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.01em;
}

.section-head.center { flex-direction: column; text-align: center; }
.section-head p { margin: 6px 0 0; color: var(--text-muted); font-weight: 400; text-transform: none; font-size: 14.5px; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.card h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.card p { margin: 0; color: var(--text-muted); font-size: 14px; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel-2);
  color: var(--gold);
}
.card-icon svg { width: 21px; height: 21px; }

/* ---------- page-hero (sous-pages) ---------- */

.page-hero { padding: 64px 0 40px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.08;
  text-wrap: balance;
}

.page-hero p.lede {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- Regles ---------- */

.rule-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.rule-list li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.rule-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255,203,61,0.12);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule-list strong { display: block; margin-bottom: 3px; font-size: 14.5px; }
.rule-list span { color: var(--text-muted); font-size: 13.5px; }

.rule-section {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  margin-bottom: 14px;
}

.rule-section h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-primary);
}

.rule-bullets {
  margin: 0;
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rule-bullets li {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.rule-note {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0 0 10px;
}

/* ---------- Boutique ---------- */

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.price-card.featured {
  border-color: rgba(255,203,61,0.45);
  background: linear-gradient(180deg, rgba(255,203,61,0.08), var(--bg-panel) 60%);
}

.price-card .badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,203,61,0.14);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 19px;
}

.price-card .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  margin: 10px 0 18px;
}
.price-card .amount span { font-size: 13px; color: var(--text-muted); font-weight: 500; text-transform: none; }

.price-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.price-card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text-muted); }
.price-card ul li svg { width: 16px; height: 16px; margin-top: 2px; color: var(--success); flex-shrink: 0; }

.currency-note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  font-size: 13.5px;
}

/* ---------- Equipe ---------- */

.staff-card { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-panel); text-align: center; }

.staff-avatar {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-panel-2), var(--bg-void));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  border: 1px solid var(--line);
}

.staff-card h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 15px; }
.staff-card .role { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.staff-card p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* ---------- Guide / etapes ---------- */

.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }

.step-list li { display: flex; gap: 18px; padding: 22px 4px; border-top: 1px solid var(--line); }
.step-list li:first-child { border-top: none; }

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,203,61,0.12);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 15.5px; }
.step-list p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- Callout placeholder ---------- */

.placeholder-note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  margin-top: 28px;
  border-radius: 14px;
  border: 1px dashed rgba(255,203,61,0.4);
  background: rgba(255,203,61,0.06);
  color: #ffe19a;
  font-size: 13px;
}

/* ---------- Footer ---------- */

footer { margin-top: 60px; border-top: 1px solid var(--line); padding: 40px 0 28px; }

.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }

.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.footer-links a:hover { background: var(--bg-panel); color: var(--text-primary); }

.footer-meta { margin-top: 26px; font-size: 12px; color: var(--text-faint); }

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .nav-actions .btn-discord { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }

  .nav-dropdown-trigger { width: 100%; justify-content: center; }
  .nav-dropdown-menu {
    position: static;
    margin-top: 4px;
    box-shadow: none;
    border: none;
    background: var(--bg-panel-2);
  }
  .nav-dropdown-menu a { text-align: center; }
}
