/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= VARIABLES ================= */
:root {
  --jaune: #f7c600;
  --noir: #111;
  --blanc: #fff;
}

/* ================= GLOBAL ================= */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--blanc);
  color: var(--noir);
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--noir);
  padding: 20px 40px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 40px;
  background-color: rgba(17,17,17,0.95);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= LOGO ================= */
.logo img {
  height: 60px;
  transition: height 0.3s ease;
}

.header.scrolled .logo img {
  height: 45px;
}

/* ================= NAVIGATION ================= */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  position: relative;
}

.menu > li > a {
  color: var(--blanc);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 5px;
  display: block;
  transition: color 0.3s;
}

/* hover liens principaux */
.menu > li > a:hover {
  color: var(--jaune);
}

/* ================= SOUS-MENUS ================= */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--noir);
  list-style: none;
  min-width: 180px;
  display: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.submenu li a {
  color: var(--blanc);
  padding: 12px 15px;
  font-size: 14px;
  display: block;
  text-decoration: none;
}

/* hover sous-menu */
.submenu li a:hover {
  background-color: var(--jaune);
  color: var(--noir);
}

/* affichage desktop */
.dropdown:hover .submenu {
  display: block;
}

/* ================= BURGER ================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: var(--jaune);
}

/* ================= TITRE PAGE ================= */
h1 {
  margin-top: 140px;
  margin-bottom: 80px;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--noir);
}

h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: var(--jaune);
  margin: 20px auto 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: var(--noir);
    display: none;
    flex-direction: column;
  }

  .nav.active {
    display: flex;
  }

  .menu {
    flex-direction: column;
    gap: 0;
  }

  .menu > li > a {
    padding: 15px;
    border-top: 1px solid #222;
  }

  .submenu {
    position: static;
    display: none;
    box-shadow: none;
  }

  .dropdown.open .submenu {
    display: block;
  }
}

@media (max-width: 500px) {
  .header {
    padding: 10px 20px;
  }

  .logo img {
    height: 45px;
  }
}

.equipe-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 120px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
}

.membre {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  align-items: center;
}

.membre img {
  width: 140px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #eee;
}

.membre h3 {
  margin: 5px 0;
}

.membre strong {
  color: #f7c600;
}

.tel {
  font-weight: 600;
  margin-top: 5px;
}

.membre:not(:last-child) {
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
}

/* CONTAINER GLOBAL */
.governance {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 30px 80px;
  font-family: 'Montserrat', sans-serif;
}

/* HEADER */
.governance-header {
  margin-bottom: 60px;
}

.governance-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
}

.governance-header p {
  margin-top: 10px;
  color: #666;
  font-size: 1.05rem;
}

/* SECTIONS */
.governance-section {
  margin-top: 70px;
}

.governance-section h2,
.governance-office h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 25px;
  border-left: 6px solid var(--jaune);
  padding-left: 15px;
}

.governance-office {
  margin-bottom: 80px;
}

.governance-office,
.governance-section {
  background: linear-gradient(
    to right,
    rgba(247,198,0,0.06),
    transparent
  );
  padding: 40px 30px;
  border-radius: 16px;
}


/* GRID MEMBRES */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  align-items: start; /* ⬅️ LIGNE MANQUANTE */
}

/* CARTE MEMBRE */
.member-card {
  background: #fff;
  padding: 22px 24px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  height: fit-content;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* CARTES IMPORTANTES */
.member-card.highlight {
  border-top: 5px solid var(--jaune);
}

/* ROLE */
.member-card .role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
}

/* NOM */
.member-card h3 {
  margin: 8px 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
}

/* CONTACT */
.member-card .contact {
  font-size: 0.95rem;
  color: var(--texte);
}

/* TAG */
.member-card .tag {
  margin-top: 10px;
  font-size: 0.75rem;
  display: inline-block;
  background: var(--jaune);
  padding: 5px 10px;
  border-radius: 50px;
  font-weight: 600;
}

/* LISTE MEMBRES SIMPLE MAIS DENSE */
.member-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.member-list span {
  background: var(--gris);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .governance {
    padding: 100px 20px 60px;
  }

  .governance-header h1 {
    font-size: 2.1rem;
  }
}

.governance-subtitle {
  max-width: 800px;
  margin: 10px auto 60px;
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  font-weight: 500;
  line-height: 1.6;
}

.member-photo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.member-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--noir);
}

.office-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.office-box {
  background: var(--gris);
  padding: 25px 30px;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.office-box a {
  color: var(--jaune);
  font-weight: 600;
  text-decoration: none;
}

.office-box a:hover {
  text-decoration: underline;
}

.office-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .office-layout {
    grid-template-columns: 1fr;
  }

  .office-banner img {
    height: 180px;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    rgba(0,0,0,0.03) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  pointer-events: none;
  z-index: -1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
  .training-schedule {
    padding: 60px 20px;
  }
}

.social-icons {
  display: flex;
  gap: 15px;          /* espace entre les icônes */
  justify-content: center; /* centré horizontalement */
  margin-top: 20px;   /* ou à ajuster selon l'emplacement */
}

.social-icons a img {
  width: 32px;        /* taille des icônes */
  height: 32px;
  transition: transform 0.3s, opacity 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2); /* léger zoom au survol */
  opacity: 0.8;          /* effet visuel */
}

@media (max-width: 500px) {
  .social-icons a img {
    width: 24px;
    height: 24px;
  }
}

/* ================= ESPACEMENT PROFILS STAFF ================= */

.member-card p {
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* espace après le nom */
.member-card h3 {
  margin-bottom: 12px;
}

/* espace entre rôle / tel / description */
.member-card p + p {
  margin-top: 10px;
}

/* description longue plus lisible */
.member-card p:last-child {
  margin-top: 14px;
}

/* optionnel : aérer encore plus les cartes */
.member-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.member-card p strong {
  display: inline-block;
  margin-bottom: 4px;
}