/* 🌌 Mise en page globale */
body {
  margin: 0;
  padding: 2rem;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  background: #121212;
  color: #f4f4f4;
  text-align: center;
}

/* 💡 Titre principal */
h1 {
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 
    0 0 5px #03e9f4,
    0 0 10px #03e9f4,
    0 0 20px #03e9f4;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* 📝 Sous-titre d’intro */
.hub-subtitle {
  color: #aaa;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* 🎯 Grille responsive des cartes */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* 🧱 Carte membre */
.card {
  background: #1a1a1a;
  border-radius: 10px;
  border: 1px solid #00e6ff33;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-color: #00e6ff;
}
.card img {
  max-width: 90px;
  height: 90px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 2px solid #00e6ff55;
}
.card .nom {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #fff;
}
.card .role {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 0.8rem;
}
.card a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: #00e6ff;
  color: #121212;
  transition: background 0.3s;
}
.card a:hover {
  background: #00cde0;
}

/* 🧩 Filtres métiers */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}
.filters button {
  padding: 0.8rem 1.5rem;
  border: 1px solid #00e6ff55;
  background: #1a1a1a;
  color: #00e6ff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filters button:hover {
  background: #00e6ff;
  color: #000;
  border-color: #00e6ff;
}

/* ↩ Bouton de retour */
.return-btn {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.return-btn button {
  border: none;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 600;
  background: #00e6ff;
  color: #121212;
  transition: background 0.3s;
}
.return-btn button:hover {
  background: #00cde0;
}

/* 📱 Responsive tablet */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  .hub-subtitle {
    font-size: 1rem;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }
  .filters button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* 📱 Responsive mobile */
@media (max-width: 480px) {
  body {
    padding: 1rem;
  }
  h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
  }
  .card img {
    max-width: 70px;
    height: 70px;
  }
  .card .nom {
    font-size: 1rem;
  }
  .card .role {
    font-size: 0.85rem;
  }
}
.filters button.active {
  background: #00e6ff;
  color: #000;
  box-shadow: 0 0 6px #00e6ff99;
}
.card.elite {
  position: relative;
  border: 2px solid gold;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.card.elite::before {
  content: "ELITE";
  position: absolute;
  top: -10px;
  right: -10px;
  background: gold;
  color: #121212;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 0 5px gold;
  z-index: 10;
}
.filters button.elite-btn {
  background: gold;
  color: #121212;
  box-shadow: 0 0 6px gold;
  border-color: gold;
  font-weight: 700;
}

.filters button.elite-btn.active {
  background: gold;
  color: #121212;
  box-shadow: 0 0 10px gold;
  border-color: gold;
}
