/* ============================================================
   FlashWorld FA — Design System (inspiré Cayo Garage)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:        #080808;
  --dark:         #0f0f0f;
  --surface:      #161616;
  --card:         #1a1a1a;
  --green:        rgb(130,201,30);
  --green-dim:    rgba(130,201,30,0.15);
  --green-border: rgba(130,201,30,0.25);
  --green-glow:   rgba(130,201,30,0.08);
  --white:        #f2f2f0;
  --gray:         #6b6b6b;
  --gray-mid:     #3a3a3a;
  --discord:      #5865F2;
  --sans: 'Barlow', sans-serif;
  --cond: 'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--black);
  background-image: url('https://images.unsplash.com/photo-1477959858617-5596e49b3e7d?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ═══════════════════════════════
   NAV
═══════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(8,8,8,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}

nav.solid {
  background: rgba(8,8,8,0.96);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: var(--cond);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
}

.nav-wordmark span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

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

.btn-nav-outline {
  padding: 7px 18px;
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-nav-outline:hover {
  border-color: var(--green-border);
  color: var(--green);
}

.btn-nav-green {
  padding: 7px 20px;
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #080808;
  background: var(--green);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-nav-green:hover { filter: brightness(1.1); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 201;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Barre d'annonce recrutement ─── */
.topbar-announce {
  width: 100%;
  background: var(--green);
  color: #080808;
  text-align: center;
  padding: 8px 20px;
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 201;
}

.topbar-announce span {
  opacity: 0.5;
  margin: 0 16px;
}

.topbar-link {
  color: #080808;
  text-decoration: none;
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.topbar-link:hover { opacity: 0.7; }


/* Le drawer mobile est masqué par défaut sur tous les écrans */
.nav-drawer { display: none; }

/* ═══════════════════════════════
   BUTTONS (global)
═══════════════════════════════ */
.btn-big-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #080808;
  background: var(--green);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-big-green:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 32px rgba(130,201,30,0.3);
}

.btn-big-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-big-outline:hover {
  border-color: var(--green-border);
  color: var(--green);
}

.btn-discord-big {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--discord);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-discord-big:hover { filter: brightness(1.1); }

.btn-sm-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #080808;
  background: var(--green);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-sm-green:hover { filter: brightness(1.1); }

.btn-sm-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--green-border);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-sm-outline:hover {
  background: var(--green-dim);
}

/* ═══════════════════════════════
   HERO — VIDEO FULLSCREEN
═══════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 140px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--black);
}

.hero-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(8,8,8,1)    0%,
      rgba(8,8,8,0.55) 30%,
      rgba(8,8,8,0.1)  60%,
      rgba(8,8,8,0.3)  100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content .hero-eyebrow,
.hero-content h1,
.hero-content .hero-sub,
.hero-content .hero-actions {
  animation: hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content .hero-eyebrow { animation-delay: 0.1s; }
.hero-content h1             { animation-delay: 0.25s; }
.hero-content .hero-sub      { animation-delay: 0.4s; }
.hero-content .hero-actions  { animation-delay: 0.55s; }

.hero-eyebrow {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--green);
  opacity: 0.5;
}

@keyframes hero-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero h1 {
  font-family: var(--cond);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 span { color: var(--green); }

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(242,242,240,0.6);
  letter-spacing: 0.3px;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-status {
  position: absolute;
  bottom: 32px;
  left: 48px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
}

/* Video switcher */
.video-switcher {
  position: absolute;
  bottom: 28px;
  right: 48px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.vid-pill {
  padding: 5px 14px;
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  background: rgba(8,8,8,0.6);
  backdrop-filter: blur(8px);
}

.vid-pill.active {
  background: var(--green);
  color: #080808;
  border-color: var(--green);
}

/* ═══════════════════════════════
   STATUS DOT
═══════════════════════════════ */
.status-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}

.status-dot.offline {
  background: #cc3300;
  animation: none;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ═══════════════════════════════
   STATS STRIP
═══════════════════════════════ */
.stats-strip {
  display: flex;
  align-items: stretch;
  background: rgba(8,8,8,0.82);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stat-block {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.stat-block:last-child { border-right: none; }
.stat-block:hover { background: rgba(255,255,255,0.02); }

.stat-val {
  font-family: var(--cond);
  font-size: 38px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}

/* ═══════════════════════════════
   SECTION BASE
═══════════════════════════════ */
.section {
  padding: 100px 80px;
}

.eyebrow {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--green);
}

.big-title {
  font-family: var(--cond);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.big-title span { color: var(--green); }

.section-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(242,242,240,0.55);
  line-height: 1.75;
  max-width: 440px;
}

/* ═══════════════════════════════
   VIDEOS SECTION
═══════════════════════════════ */
.videos-section {
  padding: 80px 80px;
  background: rgba(15,15,15,0.88);
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
}

.video-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  aspect-ratio: 16/9;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, transparent 100%);
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(242,242,240,0.7);
  z-index: 2;
  pointer-events: none;
}

/* ═══════════════════════════════
   FEATURES GRID
═══════════════════════════════ */
.features-section { background: rgba(8,8,8,0.82); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 60px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}

.feat-card {
  background: var(--dark);
  padding: 0;
  transition: background 0.2s;
  overflow: hidden;
}

.feat-card:hover { background: var(--surface); }

.feat-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid rgba(130,201,30,0.08);
  flex-shrink: 0;
}

.feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55) saturate(1.15);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.feat-card:hover .feat-img img {
  transform: scale(1.06);
  filter: brightness(0.65) saturate(1.3);
}

.feat-card-body {
  padding: 28px 32px 32px;
}

.feat-num {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--green);
  margin-bottom: 20px;
  opacity: 0.8;
}

.feat-title {
  font-family: var(--cond);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  line-height: 1.1;
}

.feat-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(242,242,240,0.5);
  line-height: 1.7;
}

.feat-accent {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
}

/* ═══════════════════════════════
   MÉTIERS GRID (jobs page)
═══════════════════════════════ */
.metiers-section {
  padding: 80px 80px;
  background: rgba(8,8,8,0.82);
}

/* ─── Video Carousel ─── */
.vc-wrap { width: 100%; }

.vc-track {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}

.vc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.vc-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.vc-slide.leaving-left { opacity: 0; transform: translateX(-60px); pointer-events: none; }
.vc-slide.entering-left { transform: translateX(-60px); }

.vc-slide .video-card { position: absolute; inset: 0; border-radius: 6px; aspect-ratio: unset; }

.vc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.vc-num {
  width: 32px; height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--gray);
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.vc-num:hover { border-color: var(--green-border); color: var(--green); }
.vc-num.active { background: var(--green); color: #080808; border-color: var(--green); }

.vc-arrow {
  width: 32px; height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-arrow:hover { border-color: var(--green-border); color: var(--green); }

/* ─── Freeroam intro row ─── */
.freeroam-intro-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}

.freeroam-intro-text .eyebrow { margin-bottom: 12px; }
.freeroam-intro-text .big-title { margin-bottom: 0; }

.freeroam-intro-video .video-card {
  aspect-ratio: 16/9;
}

@media (max-width: 900px) {
  .freeroam-intro-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ─── Cards illégal style plein fond ─── */
.illegal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.illegal-card {
  position: relative;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--surface);
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.illegal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.illegal-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.illegal-card:hover .illegal-card-bg {
  transform: scale(1.06);
}

.illegal-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: var(--dark);
}

.illegal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.95) 0%,
    rgba(8,8,8,0.4) 50%,
    rgba(8,8,8,0.1) 100%
  );
  z-index: 1;
}

.illegal-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  z-index: 2;
}

.illegal-card-name {
  font-family: var(--cond);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.1;
}

.illegal-card-join {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(204,85,51,0.8);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .illegal-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .illegal-card { height: 160px; }
}

/* ─── Bannière Discord Légal ─── */
.legal-discord-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(130,201,30,0.07);
  border: 1px solid var(--green-border);
  border-radius: 6px;
  padding: 18px 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.ldb-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.ldb-content svg {
  width: 28px;
  height: 28px;
  fill: var(--green);
  flex-shrink: 0;
}

.ldb-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ldb-text strong {
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
}

.ldb-text span {
  font-size: 13px;
  font-weight: 300;
  color: rgba(242,242,240,0.55);
}

.ldb-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── Nouveau layout métiers par catégorie ─── */
.metier-category {
  margin-bottom: 52px;
}

.metier-cat-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.metier-cat-title span {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
}

.metier-cat-title::before,
.metier-cat-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(130,201,30,0.2);
}

.metier-cat-title::before { max-width: 24px; }

.metier-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}

.metier-pill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.metier-pill-card:hover {
  background: var(--surface);
  border-color: var(--green-border);
  color: var(--green);
}

.mpc-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.07);
}

.mpc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.mpc-logo--emoji { font-size: 18px; }

.mpc-name {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  flex: 1;
}

.metier-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 22px 12px 18px;
  background: var(--dark);
  text-decoration: none;
  color: var(--white);
  text-align: center;
  transition: background 0.2s, color 0.2s;
  min-height: 120px;
}

.metier-icon-card:hover {
  background: var(--surface);
  color: var(--green);
}

.mic-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.metier-icon-card:hover .mic-logo {
  border-color: var(--green-border);
  box-shadow: 0 0 14px rgba(130,201,30,0.15);
}

.mic-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.mic-logo--emoji { font-size: 28px; }

.mic-name {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.metier-row-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--dark);
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s, color 0.2s;
}

.metier-row-card:hover {
  background: var(--surface);
  color: var(--green);
}

.mrc-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.07);
}

.mrc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.mrc-logo--emoji { font-size: 22px; }

.mrc-name {
  flex: 1;
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.mrc-action {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.6;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.mrc-arrow {
  font-family: var(--cond);
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.metier-row-card:hover .mrc-arrow,
.metier-row-card:hover .mrc-action { opacity: 1; }

a.feat-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mdc-emoji-banner {
  width: 100%;
  height: 100px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  border-bottom: 1px solid rgba(130,201,30,0.08);
  transition: background 0.3s;
}

a.feat-card:hover .mdc-emoji-banner {
  background: rgba(130,201,30,0.06);
}

.metier-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.metier-link-card:hover {
  background: var(--surface);
  color: var(--green);
}

.metier-link-card--no-link {
  opacity: 0.4;
  cursor: default;
}

.mlc-emoji {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

.mlc-name {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.metiers-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-pill {
  padding: 6px 18px;
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gray);
  background: transparent;
}

.filter-pill:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }
.filter-pill.active { background: var(--green); color: #080808; border-color: var(--green); }

.metiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}

.metier-card {
  background: var(--dark);
  padding: 32px 28px;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metier-card:hover { background: var(--surface); }

.metier-num {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--green);
  opacity: 0.8;
}

.metier-tag {
  display: inline-block;
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  width: fit-content;
}

.tag-legal   { background: var(--green-dim);           color: var(--green); border: 1px solid var(--green-border); }
.tag-illegal { background: rgba(204,85,51,0.12);        color: #e06040;      border: 1px solid rgba(204,85,51,0.25); }
.tag-urgence { background: rgba(255,152,0,0.1);         color: #FFA726;      border: 1px solid rgba(255,152,0,0.25); }
.tag-gouv    { background: rgba(33,150,243,0.1);        color: #42A5F5;      border: 1px solid rgba(33,150,243,0.25); }
.tag-indep   { background: rgba(156,39,176,0.1);        color: #CE93D8;      border: 1px solid rgba(156,39,176,0.25); }

.metier-title {
  font-family: var(--cond);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-top: 4px;
}

.metier-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(242,242,240,0.5);
  line-height: 1.7;
  flex: 1;
}

.metier-cta {
  margin-top: 12px;
}

/* ═══════════════════════════════
   FAQ ACCORDION
═══════════════════════════════ */
.faq-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.faq-col {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: var(--dark);
  border: none;
  color: var(--white);
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.faq-q:hover { background: var(--surface); color: var(--green); }

.faq-q[aria-expanded="true"] {
  background: var(--surface);
  color: var(--green);
}

.faq-icon {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(242,242,240,0.6);
  line-height: 1.75;
  background: var(--surface);
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-a.open {
  max-height: 200px;
  padding: 18px 28px 22px;
}

/* ═══════════════════════════════
   STEPS (rejoindre page)
═══════════════════════════════ */
.steps-section { background: var(--black); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 60px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  counter-reset: step;
}

.step-card {
  background: var(--dark);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.step-card:hover { background: var(--surface); }

.step-num {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--green);
  margin-bottom: 20px;
  opacity: 0.8;
}

.step-title {
  font-family: var(--cond);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  line-height: 1.1;
}

.step-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(242,242,240,0.5);
  line-height: 1.7;
}

/* ═══════════════════════════════
   RÈGLEMENT (iframe)
═══════════════════════════════ */
.reglement-wrap {
  height: 100vh;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
}

.reglement-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 48px;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.reglement-topbar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.reglement-topbar-info svg {
  width: 14px; height: 14px;
  fill: var(--green);
}

.reglement-iframe {
  flex: 1;
  border: none;
  width: 100%;
  background: var(--black);
}

/* ═══════════════════════════════
   SERVER ADDRESS BOX
═══════════════════════════════ */
.server-addr {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 10px 20px;
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 32px;
}

/* ═══════════════════════════════
   CHECK LIST
═══════════════════════════════ */
.check-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(242,242,240,0.6);
  line-height: 1.6;
}

.check-icon {
  width: 18px; height: 18px;
  border: 1px solid var(--green-border);
  background: var(--green-dim);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-icon::after {
  content: '';
  width: 5px; height: 3px;
  border-left: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg) translateY(-0.5px);
}

/* ═══════════════════════════════
   CTA SECTION
═══════════════════════════════ */
.cta-section {
  position: relative;
  text-align: center;
  padding: 120px 80px;
  background: rgba(8,8,8,0.82);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(130,201,30,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section .big-title {
  font-size: clamp(48px, 7vw, 96px);
  position: relative;
}

.cta-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(242,242,240,0.5);
  max-width: 420px;
  margin: 16px auto 44px;
  line-height: 1.7;
  position: relative;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}

/* ═══════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════ */
.page-hero {
  padding: calc(64px + 80px) 80px 72px;
  background: rgba(8,8,8,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.page-hero--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.65);
  z-index: 0;
}

.page-hero--img .eyebrow,
.page-hero--img h1,
.page-hero--img .section-desc {
  position: relative;
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 80px;
  width: 300px; height: 250px;
  background: radial-gradient(ellipse, rgba(130,201,30,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ═══════════════════════════════
   SOCIALS ROW
═══════════════════════════════ */
.socials-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray);
  transition: all 0.2s;
  text-decoration: none;
}

.social-btn:hover {
  color: var(--green);
  border-color: var(--green-border);
  background: var(--green-glow);
}

.social-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  background: rgba(15,15,15,0.92);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 80px 36px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-wordmark {
  font-family: var(--cond);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1;
}

.footer-wordmark span { color: var(--green); }

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  margin-top: 10px;
  max-width: 240px;
  line-height: 1.6;
}

.footer-group-title {
  font-family: var(--cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links-col a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(242,242,240,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy { font-size: 12px; color: var(--gray); }

.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
}

/* ═══════════════════════════════
   SCROLL REVEAL
═══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.on { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid,
  .metiers-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid   { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 900px) {
  nav { padding: 0 20px; }

  .nav-links,
  .nav-right { display: none; }

  .nav-right.mobile-open { display: flex; }

  .nav-toggle { display: flex; }

  /* Mobile nav drawer */
  .nav-drawer {
    display: block;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 24px 20px 32px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 199;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
  }

  .nav-drawer ul a {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.2s;
  }

  .nav-drawer ul a:hover { color: var(--white); }

  .nav-drawer-btns {
    display: flex;
    gap: 10px;
  }

  .section,
  .page-hero,
  .cta-section     { padding: 72px 24px; }
  .videos-section,
  .metiers-section { padding: 72px 24px; }

  .videos-grid    { grid-template-columns: 1fr; }
  .features-grid,
  .metiers-grid   { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .faq-list       { grid-template-columns: 1fr; }

  .hero-status  { left: 20px; }
  .video-switcher { right: 20px; }
  .hero { padding-bottom: 100px; }

  footer { padding: 40px 24px 28px; }
  .footer-top { flex-direction: column; }

  .reglement-topbar { padding: 12px 20px; flex-direction: column; align-items: flex-start; }

  /* Illegal grid */
  .illegal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .illegal-card { height: 160px; }

  /* Legal discord banner */
  .legal-discord-banner { flex-direction: column; gap: 14px; }
  .ldb-btn { width: 100%; text-align: center; justify-content: center; }

  /* Metier links grid */
  .metier-links-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  /* Freeroam intro */
  .freeroam-intro-row { grid-template-columns: 1fr; gap: 32px; }
  .freeroam-discord-row { grid-template-columns: 1fr; }

  /* Page hero avec boutons */
  .page-hero .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-hero .hero-actions .btn-big-green,
  .page-hero .hero-actions .btn-discord-big { width: 100%; justify-content: center; }

  /* Feat-header sur petits écrans */
  .feat-header { flex-wrap: wrap; gap: 6px; }

  /* Stats strip */
  .stats-strip { flex-wrap: wrap; }
  .stat-block { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }

  /* Big title plus petit */
  .big-title { font-size: clamp(28px, 8vw, 56px); }

  /* Sections padding réduit */
  .metier-category { margin-bottom: 36px; }
}

@media (max-width: 600px) {
  .illegal-grid { grid-template-columns: 1fr 1fr; }
  .illegal-card { height: 140px; }
  .illegal-card-name { font-size: 15px; }

  .metier-links-grid { grid-template-columns: 1fr 1fr; }

  .stat-block { flex: 1 1 100%; }

  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn-big-green,
  .hero-actions .btn-big-outline,
  .hero-actions .btn-discord-big { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-big-green,
  .hero-actions .btn-big-outline,
  .hero-actions .btn-discord-big { width: 100%; max-width: 300px; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn-big-green,
  .cta-btns .btn-big-outline,
  .cta-btns .btn-discord-big { width: 100%; max-width: 300px; justify-content: center; }

  .illegal-grid { grid-template-columns: 1fr; }
  .illegal-card { height: 180px; }

  .freeroam-discord-btn { padding: 14px 16px; gap: 12px; }

  footer { padding: 32px 16px 24px; }

  .section,
  .page-hero,
  .cta-section,
  .videos-section,
  .metiers-section { padding: 48px 16px; }
}
