/* ================= 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;
}

.header-spacer {
  height: 160px; /* ajuste si besoin */
}

/* ================= 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-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;
}

.governance-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  font-size: 1.1rem;
  color: #555;
}

/* ================= 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;
  }
}

.link-underline {
  display: inline-block;
  font-weight: 600;
  color: var(--noir);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.link-underline:visited,
.link-underline:active {
  color: var(--noir);
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--jaune);
  transition: width 0.3s ease;
}

.link-underline:hover {
  color: var(--jaune);
}

.link-underline:hover::after {
  width: 100%;
}