:root {
  --primary-color: #6a0dad;
  --accent-color: #ffc107;
  --background: #fdfaf4;
  --card-bg: #ffffff;
  --text: #333;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0,0,0,0.05);
  --font: "Segoe UI", sans-serif;
}

/* === BASE === */
body {
  background: var(--background);
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* === CONTAINER GLOBAL === */
.infos-membre {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 120px auto 40px;
  padding: 0 20px;
}

/* === COLONNE GAUCHE === */
.infos-membre .left {
  flex: 0 0 300px;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  
}

.infos-membre .left img {
  width: 100%;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
  margin-bottom: 20px;
}

.infos-membre .left p {
  margin-bottom: 1rem;
}
.infos-membre .left strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.infos-membre .left a {
  color: var(--primary-color);
  text-decoration: none;
}
.infos-membre .left a:hover {
  text-decoration: underline;
}

/* === COLONNE DROITE === */
.infos-membre .right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.infos-membre h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* === ONGLET === */
.onglets-membre ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  border-bottom: 2px solid #ccc;
  gap: 0.5rem;
}
.onglets-membre ul li {
  padding: 10px 16px;
  background: #f1f1f1;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.onglets-membre ul li.active {
  background: var(--card-bg);
  border: 2px solid #ccc;
  border-bottom: none;
  font-weight: bold;
}
.onglets-membre ul li:hover {
  background: #e9e9e9;
}

/* === CONTENU ONGLET === */
.onglets-membre .tab-content {
  display: none;
  background: var(--card-bg);
  border: 2px solid #ccc;
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.5rem;
}
.onglets-membre .tab-content.active {
  display: block;
}

.onglets-membre .tab-content ul {
  margin-left: 1.2rem;
}
.onglets-membre .tab-content li {
  margin-bottom: 0.5rem;
}

/* === BIOGRAPHIE === */
.member-bio {
  font-size: 1rem;
}

/* === PROJETS === */
.toggle-projet {
  cursor: pointer;
  color: var(--primary-color);
  font-weight: 500;
}
.projet-content {
  display: none;
  margin-top: 6px;
  padding-left: 15px;
  border-left: 3px solid var(--accent-color);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .infos-membre {
    flex-direction: column;
    padding: 0 10px;
  }
  .infos-membre .left {
    width: 100%;
  }
}