.header-bg {
  position: relative;
  background: 
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('photo24.jpg') no-repeat;
  background-size: cover;
  background-position: top center; /* Ici on décale le focus vers le haut */
  color: white;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.organigramme {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.niveau {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

.membre {
  text-align: center;
  max-width: 240px;
  padding: 10px;
  flex: 1 1 220px;
}

.membre img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #007BFF;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.membre img:hover {
  transform: scale(1.05);
}

.membre h5 {
  margin: 10px 0 5px;
  font-weight: 600;
}

.membre span {
  display: block;
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

.membre p {
  font-size: 0.9rem;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .niveau {
    flex-direction: column;
    align-items: center;
  }

  .membre {
    max-width: 90%;
  }
}
