/* ========================================
   ZONE 4000 - CSS STYLESHEET
   ======================================== */

:root {
  /* Light Mode Colors */
  --primary: #08f2fb;
  --primary-dark: #0ac9d9;
  --bg-light: #ffffff;
  --bg-light-secondary: #f5f5f7;
  --text-light: #1d1d1f;
  --text-light-secondary: #666667;
  --border-light: #d2d2d7;
  
  /* Dark Mode Colors (Default) */
  --primary-dark-mode: #08f2fb;
  --bg-dark: #0a0a0a;
  --bg-dark-secondary: #1a1a1a;
  --text-dark: #f5f5f7;
  --text-dark-secondary: #a1a1a6;
  --border-dark: #424245;
  
  /* Status Colors */
  --success: #34c759;
  --danger: #ff3b30;
  --warning: #ff9500;
  
  /* Current Active Colors */
  --bg: var(--bg-dark);
  --bg-secondary: var(--bg-dark-secondary);
  --text: var(--text-dark);
  --text-secondary: var(--text-dark-secondary);
  --border: var(--border-dark);
  --primary-active: var(--primary-dark-mode);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode */
[data-theme="light"] {
  --bg: var(--bg-light);
  --bg-secondary: var(--bg-light-secondary);
  --text: var(--text-light);
  --text-secondary: var(--text-light-secondary);
  --border: var(--border-light);
  --primary-active: var(--primary-dark);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: var(--transition);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  opacity: 0.95;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-logo:hover {
  color: var(--primary-active);
}

.nav-logo svg {
  color: var(--primary-active);
  stroke-linecap: round;
  stroke-linejoin: round;
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-active);
  background: rgba(8, 242, 251, 0.1);
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
  border-radius: 8px;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
  color: var(--primary-active);
}

.sun-icon {
  display: none;
}

[data-theme="light"] .sun-icon {
  display: block;
}

[data-theme="light"] .moon-icon {
  display: none;
}

.moon-icon {
  display: block;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 70px);
  position: relative; /* nécessaire pour le ::before */
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%); /* centre par rapport à l'écran */
  width: 100vw;                /* largeur totale de l'écran */
  height: 100%;                /* hauteur du hero seulement */
  background-image: url("img/background.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  opacity: 0.5;
  z-index: -1;                  /* derrière le contenu du hero */
}

.hero-content {
  display: contents;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--primary-active);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 500px;
}

.cta-button {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary-active);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(8, 242, 251, 0.3);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gta-grid {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 16px;
  animation: float 3s ease-in-out infinite;
}

.grid-item {
  width: 500px;
  height: 500px;
  background: none !important;
  border: none !important;
  animation: none !important;
  border-radius: 0; /* facultatif, enlève les coins arrondis */
  overflow: hidden; /* si tu veux que l’image ne déborde pas */
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.4s; }
.grid-item:nth-child(4) { animation-delay: 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}

.features h2 {
  font-size: 48px;
  margin-bottom: 60px;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  padding: 40px;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  border-color: var(--primary-active);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 243, 251, 0.062);
  border-radius: 12px;
  color: var(--primary-active);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

/* Cible uniquement le SVG de la deuxième feature */
.features-grid .feature-card:nth-child(2) .feature-icon svg {
  color: orange; /* couleur désirée */
  width: 48px;   /* ajuste la taille si besoin */
  height: 48px;
}

.icon-1 svg {
  color: #ce2c2c; /* rouge */
  width: 48px;
  height: 48px;
}


/* Couleurs spécifiques */
.icon-1 svg { stroke: #ce2c2c; } /* rouge */
.icon-2 svg { stroke: #d8983f; } /* Orange */
.icon-3 svg { stroke: #3daf59; } /* Vert */


.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
  background: var(--bg-secondary);
  border-radius: 20px;
  text-align: center;
  margin-bottom: 100px;
}

.cta-section h2 {
  font-size: 44px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-section p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-button-large {
  padding: 14px 48px;
  background: var(--primary-active);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cta-button-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(8, 242, 251, 0.4);
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ========================================
   METIERS SECTION
   ======================================== */

.metiers-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.metiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.metier-card {
  padding: 32px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.metier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-active);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.metier-card:hover {
  border-color: var(--primary-active);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.metier-card:hover::before {
  transform: scaleX(1);
}

.metier-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 242, 251, 0.1);
  border-radius: 12px;
  color: var(--primary-active);
  transition: var(--transition);
}

.metier-card:hover .metier-icon {
  background: rgba(8, 242, 251, 0.2);
  transform: scale(1.1);
}

.metier-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.metier-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.metier-details {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.metier-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(8, 242, 251, 0.1);
  color: var(--primary-active);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.metier-badge.legal-badge {
  background: rgba(52, 199, 89, 0.1);
  color: var(--success);
}

/* ========================================
   STAFF SECTION
   ======================================== */

.staff-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}


.staff-card {
  padding: 32px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.staff-card:hover {
  border-color: var(--primary-active);
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.staff-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary-active);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  overflow: hidden;
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* s’assure que l’image remplisse le cercle sans déformation */
  border-radius: 50%; /* pour garder le cercle */
  display: block;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(8, 242, 251, 0.1), rgba(8, 242, 251, 0.05));
}

.staff-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.staff-rank {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.founder-rank {
  background: linear-gradient(135deg, #d00000, #ff5151);
  color: #000;
}

.cofounder-rank {
  background: linear-gradient(135deg, #ff4646, #f88e8e);
  color: #000;
}

.admin-rank {
  background: linear-gradient(135deg, #3c71da, #aac5fc);
  color: #000;
}

.moderator-rank {
  background: linear-gradient(135deg, #ff6500, #fda062);
  color: #000;
}

.helper-rank {
  background: linear-gradient(135deg, #fdba65, #fcc986);
  color: #000;
}

.respstaff-rank {
  background: linear-gradient(135deg, #ff6c6c, #ffb8b8);
  color: #000;
}

.staff-role {
  font-size: 13px;
  color: var(--text-secondary);
}

.hierarchy-section {
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 60px 40px;
  text-align: center;
}

.hierarchy-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 700;
}

.hierarchy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.hierarchy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.hierarchy-badge {
  font-size: 32px;
}

.founder-badge { color: #ffd700; }
.admin-badge { color: var(--danger); }
.moderator-badge { color: var(--primary-active); }
.helper-badge { color: var(--success); }

.hierarchy-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ========================================
   ILLEGAL PAGE
   ======================================== */

.illegal-page {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
}

.illegal-header {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 120px 40px; /* garde un espace aéré autour du texte */
    text-align: center;
}

.illegal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg-illegal.jpg') center/cover no-repeat;
    transform: scale(1.2); /* étire pour le flou */
    filter: blur(4px) brightness(0.3) contrast(1.2); /* flou + sombre */
    z-index: 0;
    pointer-events: none;
}

.illegal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(48, 0, 0, 0.4); /* overlay rouge sombre */
    z-index: 0;
    pointer-events: none;
}

.illegal-content {
    position: relative;
    z-index: 1; /* texte au-dessus des overlays */
}

.illegal-header h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
}

.illegal-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.illegal-warning {
    font-size: 16px;
    font-weight: 700;
}

.illegal-activities {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.illegal-activities h2 {
  font-size: 42px;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 700;
}

.illegal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.illegal-card {
    display: flex;             /* active flex */
    flex-direction: column;    /* empile verticalement */
    align-items: center;       /* centre horizontalement */
    text-align: center;        /* centre le texte */
    padding: 32px;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 59, 48, 0.3);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.illegal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 48, 0.1), transparent);
  transition: var(--transition);
}

.illegal-card:hover::before {
  left: 100%;
}

.illegal-card:hover {
  border-color: var(--danger);
  box-shadow: 0 0 25px rgba(255, 59, 48, 0.2);
  transform: translateY(-8px);
}

.illegal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 59, 48, 0.1);
  border-radius: 12px;
  color: var(--danger);
  transition: var(--transition);
}

.illegal-icon svg {
    width: 55px;   /* nouvelle largeur */
    height: 55px;  /* nouvelle hauteur */
}


.illegal-card:hover .illegal-icon {
  background: rgba(255, 59, 48, 0.2);
  transform: scale(1.1);
}

.illegal-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.illegal-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.illegal-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 59, 48, 0.15);
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.illegal-warning-section {
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 60px 40px;
}

.warning-box {
  padding: 40px;
  background: rgba(255, 59, 48, 0.05);
  border: 2px solid var(--danger);
  border-radius: 16px;
  text-align: center;
}

.warning-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--danger);
}

.warning-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 14px;
}

.warning-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.warning-list li {
  color: var(--text-secondary);
  font-size: 14px;
  padding-left: 24px;
  position: relative;
}

.warning-list li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
}

.warning-footer {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 13px;
}

/* ========================================
   REGLEMENT PAGE
   ======================================== */

.parchment-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: center;
}

.parchment {
  width: 100%;
  max-width: 700px;
  background: linear-gradient(135deg, #f4e8d0 0%, #e8dcc4 100%);
  border: 2px solid #8b7355;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.parchment::before,
.parchment::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    #d4c5b0 0px,
    #d4c5b0 2px,
    transparent 2px,
    transparent 4px
  );
}

.parchment::before { left: 0; border-bottom: 2px solid #8b7355; }
.parchment::after {
  bottom: 0;
  top: auto;
  border-top: 2px solid #8b7355;
}

.parchment-content {
  padding: 60px 40px;
  color: #3d2817;
  font-size: 14px;
  line-height: 1.8;
  font-family: 'Georgia', serif;
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #8b7355 #e8dcc4;
}

.parchment-content::-webkit-scrollbar {
  width: 8px;
}

.parchment-content::-webkit-scrollbar-track {
  background: #e8dcc4;
  border-radius: 10px;
}

.parchment-content::-webkit-scrollbar-thumb {
  background: #8b7355;
  border-radius: 10px;
}

.parchment-seal {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.parchment-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  border-bottom: 2px solid #8b7355;
  padding-bottom: 15px;
  letter-spacing: 2px;
}

.parchment-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #5c3d2e;
}

.parchment-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.rules-list {
  list-style: none;
  padding-left: 20px;
  margin: 15px 0;
}

.rules-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.rules-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: #8b7355;
}

.parchment-signature {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #8b7355;
  font-style: italic;
  font-size: 13px;
}

/* ========================================
   FAQ & SUPPORT
   ======================================== */

.faq-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.faq-section h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.faq-item {
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-active);
  box-shadow: var(--shadow-md);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-active);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.support-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: var(--bg-secondary);
  border-radius: 16px;
}

.support-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.support-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

.support-button {
  padding: 12px 32px;
  background: var(--primary-active);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.support-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(8, 242, 251, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  margin-top: 100px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 40px 20px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-active);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 20px;
  }
  
  .hero-text h1 {
    font-size: 42px;
  }
  
  .features,
  .metiers-section,
  .staff-section,
  .parchment-container {
    padding: 40px 20px;
  }
  
  .features h2,
  .illegal-activities h2,
  .faq-section h2 {
    font-size: 32px;
  }
  
  .page-header h1 {
    font-size: 36px;
  }
  
  .illegal-header h1 {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .nav-logo span {
    display: none;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .features-grid,
  .metiers-grid,
  .staff-grid,
  .illegal-grid {
    grid-template-columns: 1fr;
  }
}

.scroll-anim {
    will-change: transform;
}

/* ========================================
   BOUTON DISCORD
   ======================================== */

.discord-3d-button {
  --button-height: 48px;
  --button-width: 180px;
  --shadow-color: rgba(50, 50, 50, 0.4); /* couleur plus discrète pour l'ombre */
  --bg-color: #2f3136; /* gris très foncé Discord-like */
  --bg-hover: #40444b; /* gris légèrement plus clair au hover */
  --text-color: #ffffff;
  --border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-height);
  width: var(--button-width);
  background: var(--bg-color);
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 0 var(--shadow-color);
  perspective: 1000px;
}

.discord-3d-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--shadow-color);
}

.discord-3d-button:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 10px rgb(8, 242, 251);
}

/* ========================================
   illégal
   ======================================== */

