/* ================================================
   STYLE.CSS — CinéMotion FiveM
   
   COMMENT LIRE CE FICHIER :
   CSS = les "règles de style" qui disent au navigateur
   comment afficher chaque élément HTML.
   
   Format : selecteur { propriété: valeur; }
   Ex: .navbar { background: black; }
   => l'élément avec class="navbar" aura un fond noir
   
   Les :root définissent des variables globales
   qu'on réutilise partout avec var(--nom)
================================================ */

/* =============================================
   VARIABLES GLOBALES (comme des constantes en code)
   Changer une valeur ici = change partout sur le site
============================================= */
:root {
  /* Couleurs SFX — violet du logo + argent */
  --gold: #9b5fe0;          /* violet principal */
  --gold-light: #c084f5;    /* violet clair (hover) */
  --gold-dark: #6b35b0;     /* violet foncé */
  --accent-silver: #c8c8d8; /* argent pour les textes clés */

  --dark: #08080f;
  --dark-2: #0e0e1a;
  --dark-3: #131320;
  --dark-4: #1c1c2e;
  --text: #e8e4f0;
  --text-muted: #6a6480;
  --text-soft: #a89ec0;
  --border: rgba(155,95,224,0.15);
  --border-strong: rgba(155,95,224,0.4);

  /* Couleurs pour les tags de catégorie */
  --tag-trailer: #9b5fe0;
  --tag-photo: #4a9eca;
  --tag-com: #e05f9b;
}

/* =============================================
   RESET — neutralise les styles par défaut du navigateur
   Chaque navigateur a ses propres marges/paddings,
   ce reset uniformise tout.
============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* inclut les borders dans la taille totale */
}

/* =============================================
   BASE
   Les styles qui s'appliquent à tout le document
============================================= */
html {
  scroll-behavior: smooth; /* défilement fluide pour les ancres (#contact etc.) */
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden; /* empêche le scroll horizontal indésirable */
  line-height: 1.5;
}

a {
  text-decoration: none; /* retire le soulignement des liens */
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =============================================
   NAVBAR (barre de navigation)
   position: sticky = reste visible en haut même en scrollant
============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000; /* z-index = qui passe au-dessus, plus c'est grand mieux c'est */
  height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px); /* flou derrière la nav, effet "verre" */
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }

/* Logo image dans la navbar — taille réduite */
.nav-logo-img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(155,95,224,0.5));
  transition: filter 0.3s;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 14px rgba(155,95,224,0.9));
}

/* Logo dans le footer — un peu plus grand */
.footer-logo { display: flex; align-items: center; }
.footer-logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(155,95,224,0.4));
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

/* Pseudo-element ::after = crée un trait doré sous le lien actif
   C'est du CSS "pur" sans HTML supplémentaire */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* =============================================
   HERO (page d'accueil)
   min-height: 90vh = au moins 90% de la hauteur de l'écran
============================================= */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

/* Logo SFX en grand dans le hero */
.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 32px rgba(155,95,224,0.7));
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 32px rgba(155,95,224,0.7)); }
  50% { transform: translateY(-8px) scale(1.02); filter: drop-shadow(0 0 48px rgba(155,95,224,1)); }
}

/* Fond hero mis à jour — violet */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(155,95,224,0.08) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(155,95,224,0.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(155,95,224,0.04) 60px);
  animation: pulse 5s ease-in-out infinite alternate;
}
@keyframes pulse {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.hero-content {
  position: relative; /* nécessaire pour passer au-dessus du background */
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

/* Animation d'apparition (utilisée sur plusieurs éléments) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  padding: 6px 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(56px, 9vw, 110px); /* clamp(min, idéal, max) = responsive */
  letter-spacing: 6px;
  line-height: 0.93;
  margin-bottom: 24px;
  text-shadow: 0 0 80px rgba(201,168,76,0.1);
}

.hero-sub {
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--text-soft);
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =============================================
   EN-TÊTE DES PAGES INTERNES (portfolio, services)
============================================= */
.page-header {
  text-align: center;
  padding: 72px 40px 56px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(48px, 6vw, 72px);
  letter-spacing: 4px;
  margin: 12px 0 16px;
}
.page-header p {
  font-size: 15px;
  color: var(--text-soft);
  letter-spacing: 1px;
}

/* =============================================
   BOUTONS RÉUTILISABLES
   .btn-primary, .btn-outline, .btn-gold
============================================= */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid var(--border-strong);
  transition: border-color 0.2s, color 0.2s, transform 0.1s;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.btn-gold {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 12px 32px;
  border: 1px solid var(--gold);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-gold:hover { background: var(--gold); color: var(--dark); }

.full-width { width: 100%; text-align: center; }

/* =============================================
   COULEUR DORÉE (utilisée inline dans le HTML)
============================================= */
.gold { color: var(--gold); }

/* =============================================
   CONTENU PRINCIPAL
============================================= */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =============================================
   FEED — GRILLE DES ACTUS (page index)
============================================= */
.feed-section {
  padding: 72px 0;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.feed-header h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  letter-spacing: 3px;
}

/* Boutons de filtre */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--gold); border-color: var(--border); }
.filter-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* Grille principale — CSS Grid
   auto-fit + minmax = s'adapte automatiquement à la largeur */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px; /* gap = espace entre les cases de la grille */
  background: rgba(201,168,76,0.06);
}

/* Les cards normales */
.feed-card {
  background: var(--dark-2);
  transition: background 0.2s;
  overflow: hidden;
}
.feed-card:hover { background: #14141e; }

/* Une card "large" prend 2 colonnes */
.card-large {
  grid-column: span 2;
}

/* Média de la card (thumbnail vidéo ou image) */
.card-media {
  width: 100%;
  aspect-ratio: 16/9; /* ratio cinéma, comme une vidéo */
  overflow: hidden;
}

/* Placeholder en attendant les vraies images */
.media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: filter 0.3s;
}
.media-placeholder:hover { filter: brightness(1.1); }

.trailer-thumb { background: linear-gradient(135deg, #0e0818, #1a0d2e, #110820); }
.photo-thumb   { background: linear-gradient(135deg, #080d1a, #0d1828, #050d1a); }
.com-thumb     { background: linear-gradient(135deg, #180824, #2a1040, #140620); }

.play-btn {
  font-size: 28px;
  color: rgba(201,168,76,0.8);
  transition: transform 0.2s, color 0.2s;
}
.media-placeholder:hover .play-btn {
  transform: scale(1.2);
  color: var(--gold);
}

/* Tags colorés par catégorie */
.card-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
}
.tag-trailer { background: var(--gold); color: white; }
.tag-photo   { background: #4a9eca; color: white; }
.tag-com     { background: #e05f9b; color: white; }

/* Corps de la card */
.card-body {
  padding: 24px;
}
.card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}
.card-date, .card-server {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.card-server { color: var(--gold); }

.feed-card h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.feed-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing 0.2s;
}
.card-link:hover { letter-spacing: 4px; }

/* Animation "hidden → visible" pour le filtre JS
   Le JS ajoute/retire la classe .hidden sur les cards */
.feed-card.hidden {
  display: none;
}

/* =============================================
   BARRE DE STATS
============================================= */
.stats-band {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 -40px;
}
.stat-item {
  padding: 32px 56px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 44px;
  color: var(--gold);
  letter-spacing: 2px;
}
.stat-lbl {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =============================================
   PORTFOLIO — TRAILERS
============================================= */
.portfolio-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.portfolio-section:last-child { border-bottom: none; }

.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title-bar h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 3px;
}
.section-count {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin: -16px 0 32px;
  letter-spacing: 0.5px;
}

.trailers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.trailer-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.trailer-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

/* Placeholder pour les vidéos
   aspect-ratio: 16/9 = format widescreen */
.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0e0818, #1a0d2e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}
.video-placeholder:hover { background: linear-gradient(135deg, #180d28, #2a1548); }
.play-icon {
  font-size: 36px;
  color: rgba(201,168,76,0.6);
  transition: transform 0.2s, color 0.2s;
}
.video-placeholder:hover .play-icon { transform: scale(1.15); color: var(--gold); }
.video-duration {
  position: absolute;
  bottom: 10px; right: 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0,0,0,0.7);
  padding: 2px 8px;
  letter-spacing: 1px;
}

.trailer-info { padding: 16px 20px; }
.trailer-info h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px; letter-spacing: 2px;
  margin-bottom: 4px;
}
.trailer-info p { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }

/* =============================================
   GALERIE PHOTOS (grille avec grandes/petites)
============================================= */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}

.photo-item {
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
/* La grande photo prend 2 colonnes ET 2 lignes */
.photo-large  { grid-column: span 2; grid-row: span 2; }
.photo-wide   { grid-column: span 2; }

.photo-placeholder {
  width: 100%;
  min-height: 180px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: filter 0.3s;
}
.photo-placeholder.dark { background: linear-gradient(160deg, #050d1a, #0d1828, #060c14); }
.photo-placeholder.mid  { background: linear-gradient(160deg, #0d1010, #141e20, #0a1414); }
.photo-placeholder:not(.dark):not(.mid) { background: linear-gradient(160deg, #0f0a04, #1a1204, #120e02); }

.photo-item:hover .photo-placeholder { filter: brightness(1.2); }

.photo-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
}

/* =============================================
   GRILLE COM (communication visuelle)
============================================= */
.com-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.com-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.com-card:hover { border-color: var(--border-strong); }

.com-preview {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.com-banner { background: linear-gradient(90deg, #100a1a, #1a1028); aspect-ratio: 16/4; height: auto; min-height: 80px; width: 100%; }
.com-thumb-yt    { background: linear-gradient(135deg, #1a0808, #280d0d); aspect-ratio: 16/9; height: auto; }
.com-announcement{ background: linear-gradient(135deg, #080d1a, #0d1828); }

.com-card p {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 1px;
}

/* =============================================
   LIGHTBOX (fenêtre zoom photo)
   display: none = cachée par défaut
   Le JS la passe à display: flex quand on clique
============================================= */
.lightbox {
  display: none;
  position: fixed; /* fixed = par-dessus tout, même quand on scroll */
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 90%;
}
.lightbox-close {
  position: absolute;
  top: -44px; right: 0;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  width: 36px; height: 36px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

.lightbox-photo-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* =============================================
   CTA BAND (bande d'appel à l'action)
============================================= */
.cta-band {
  text-align: center;
  padding: 80px 40px;
}
.cta-band h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 44px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 36px;
}

/* =============================================
   SERVICES / TARIFS
============================================= */
.pricing-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(201,168,76,0.06);
  margin-top: 16px;
}
.pricing-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Card de prix normale */
.pricing-card {
  background: var(--dark-2);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.2s;
}
.pricing-card:hover { background: #14141e; }

/* Card mise en avant (featured) */
.pricing-featured {
  background: var(--dark-3);
  border-top: 2px solid var(--gold);
}

.pricing-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 16px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'Bebas Neue', cursive;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 64px;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}
.pricing-price span {
  font-size: 32px;
  color: var(--gold-dark);
}
.pricing-delay {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: -16px;
}

/* Liste des features avec ✓ */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-soft);
  letter-spacing: 0.5px;
}

/* Offre sur mesure */
.custom-offer {
  margin-top: 2px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-top: none;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.custom-offer h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.custom-offer p { font-size: 13px; color: var(--text-soft); }

/* =============================================
   CONTACT / DISCORD
============================================= */
.contact-section {
  padding: 72px 0;
}

.contact-box {
  background: var(--dark-3);
  border: 1px solid var(--border);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
}
/* Trait doré en haut */
.contact-box::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-box h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 48px;
  letter-spacing: 4px;
  margin: 12px 0 16px;
}
.contact-box p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Bouton Discord bleu */
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #5865F2;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 44px;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
  margin-bottom: 28px;
}
.discord-btn:hover { background: #4752C4; transform: translateY(-2px); }

.discord-tag {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 40px;
}
.discord-tag-value {
  font-weight: 700;
  color: var(--gold);
  margin-left: 8px;
}

.contact-infos {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 1px;
}
.ci-icon { font-size: 16px; }

/* =============================================
   FOOTER
============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--dark);
  margin-top: 0;
}

.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* =============================================
   RESPONSIVE — s'adapte aux petits écrans
   @media = "si l'écran fait moins de X pixels"
============================================= */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; } /* cache les liens sur mobile */
  .hero h1 { font-size: 48px; }
  .card-large { grid-column: span 1; } /* les grandes cards redeviennent normales */
  .pricing-grid { grid-template-columns: 1fr; } /* les tarifs s'empilent */
  .pricing-grid-2,
  .pricing-grid-3 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-large { grid-column: span 1; grid-row: span 1; }
  .contact-box { padding: 40px 24px; }
  .stats-band { margin: 0; }
  .stat-item { padding: 24px 28px; }
  .main-content { padding: 0 20px; }
  .footer { padding: 32px 20px; flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
.custom-video-wrapper {

  position: relative;

  cursor: pointer;

}

.custom-play-btn {

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  width: 70px;

  height: 70px;

  background: rgba(155, 95, 224, 0.85);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 24px;

  color: white;

  transition: all 0.2s;

  pointer-events: none;

}

.custom-video-wrapper:hover .custom-play-btn {

  background: rgba(155, 95, 224, 1);

  transform: translate(-50%, -50%) scale(1.1);

}

.custom-video-wrapper.playing .custom-play-btn {

  display: none;

}
.photo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.photo-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.photo-slider .slide.active {
  opacity: 1;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(155, 95, 224, 0.7);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-prev:hover,
.slider-next:hover { background: rgba(155, 95, 224, 1); }

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dot.active { background: var(--gold); }
.photo-server-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 12px;
  z-index: 2;
}
.server-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.server-modal.open { display: flex; }

.server-modal-box {
  background: var(--dark-3);
  border: 1px solid var(--border-strong);
  padding: 48px;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.server-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 16px;
  transition: border-color 0.2s;
}
.server-modal-close:hover { border-color: var(--gold); color: var(--gold); }

.server-modal-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}

.server-modal-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 32px;
  line-height: 1.6;
}

.server-modal-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.server-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.2s;
}

.cfx-link {
  background: var(--gold);
  color: white;
}
.cfx-link:hover { background: var(--gold-light); }

.discord-link {
  background: #5865F2;
  color: white;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}
.discord-link:hover { background: #4752C4; }

.boutique-link {
  border: 1px solid var(--border-strong);
  color: var(--gold);
}
.boutique-link:hover { background: var(--dark-4); }
/* =============================================
   LOADING SCREEN
   position: fixed = couvre tout l'écran
   z-index: 99999 = par dessus absolument tout
============================================= */
.loader {
  position: fixed;
  inset: 0;
  background: #08080f;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}

/* Quand le JS ajoute la classe "hidden",
   le loader devient invisible puis disparaît */
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  animation: loaderPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(155, 95, 224, 0.8));
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 24px rgba(155,95,224,0.8)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 48px rgba(155,95,224,1)); }
}

.loader-bar-wrapper {
  width: 200px;
  height: 2px;
  background: rgba(155, 95, 224, 0.2);
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.05s linear;
}

.loader-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 13px;
  letter-spacing: 6px;
  color: rgba(155, 95, 224, 0.6);
  text-transform: uppercase;
}
/* =============================================
   CURSEUR PERSONNALISÉ
   cursor: none = cache le curseur par défaut
   sur tout le site
============================================= */
* {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999999;
  will-change: transform;
}

.cursor-ring {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: -6px;
  margin-top: -6px;
  transition: transform 0.1s ease;
}

.cursor-dot {
  display: none;
}

.cursor-ring.hovered {
  transform: scale(2.5);
  background: rgba(155, 95, 224, 0.5);
}

/* Traînée */
.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 999998;
  border-radius: 50%;
  background: rgba(155, 95, 224, 0.4);
  transform: translate(-50%, -50%);
  transition: none;
}
/* =============================================
   EFFETS HOVER AMÉLIORÉS
============================================= */

/* Cartes du feed — glow violet au survol */
.feed-card:hover {
  background: #14141e;
  box-shadow: 0 0 40px rgba(155, 95, 224, 0.4);
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.trailer-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 40px rgba(155, 95, 224, 0.4);
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.com-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 40px rgba(155, 95, 224, 0.4);
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.photo-item:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
  z-index: 2;
  box-shadow: 0 0 40px rgba(155, 95, 224, 0.4);
}

.pricing-card:hover {
  box-shadow: 0 0 50px rgba(155, 95, 224, 0.4);
  transform: translateY(-12px);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(155, 95, 224, 0.7);
}

.btn-outline:hover {
  box-shadow: 0 0 30px rgba(155, 95, 224, 0.5);
}
/* =============================================
   FOOTER AMÉLIORÉ
============================================= */
.footer-new {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 48px 32px;
  margin-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-logo-img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(155,95,224,0.4));
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-social:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-new { padding: 40px 20px 24px; }
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 52px;
}

.stat-card {
  padding: 22px 20px;
  text-align: center;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg, 12px);
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.stat-val {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}