/* Import des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&family=Poppins:wght@400;600;700&display=swap');

/* Réinitialisation des styles de base pour tous les éléments */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Styles principaux du body */
body {
  background:
    radial-gradient(
      ellipse 1500px 1200px at 0% 15%,
      rgba(180, 0, 120, 0.6) 0%,
      rgba(140, 0, 100, 0.4) 25%,
      rgba(100, 0, 80, 0.25) 45%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 1600px 1400px at 100% 45%,
      rgba(30, 130, 220, 0.5) 0%,
      rgba(20, 110, 190, 0.35) 30%,
      rgba(15, 90, 160, 0.2) 50%,
      transparent 70%
    ),
    radial-gradient(
      circle 800px at 50% 100%,
      rgba(20, 60, 100, 0.2) 0%,
      rgba(15, 50, 85, 0.1) 40%,
      transparent 70%
    ),
    linear-gradient(
      to bottom right,
      #0a0e14 0%,
      #0f1419 15%,
      #141b24 30%,
      #18222e 45%,
      #1c2938 60%,
      #203042 75%,
      #24374c 90%,
      #283e56 100%
    );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  margin: 0;
  font-family: 'Raleway', sans-serif;
  color: #333;
}

/* Espacements */
.header-spacing {
  height: 80px;
}

.nosformateurs,
.présentation {
  padding-top: 30px;
  margin-top: 30px;
}

main {
  margin-top: 0;
  padding-top: 100px;
}

/* Listes */
ol {
  margin-left: 25px;
  margin-bottom: 25px;
}

ol li {
  padding: 8px 0;
  color: whitesmoke;
  font-size: 16px;
}

/* Titres */
.five h1 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: whitesmoke;
  text-transform: uppercase;
  word-spacing: 2px;
  letter-spacing: 3px;
}

.five a {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: whitesmoke;
  text-transform: uppercase;
  word-spacing: 1px;
  letter-spacing: 2px;
}

/* Désactive le défilement */
body.hidden-scrolling {
  overflow-y: hidden;
}

/* Conteneur */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

/* Listes et liens */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

/* ===== HEADER ===== */
.header {
  position: relative;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 999;
}


.header-main {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-radius: 15px; /* Augmentez la valeur pour plus d'arrondi */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.header .container {
  max-width: 100%;
  padding: 0;
}


.header .logo {
  padding: 0 20px;
}

.header .logo img {
  max-height: 45px;
  width: auto;
  display: block;
}

.header .menu > .menu-item > a {
  display: block;
  padding: 10px 5px;
  font-size: 14px;
  color: #000000;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.header .nav-menu {
  padding: 0 20px;
}

.header .menu > .menu-item {
  display: inline-block;
  margin-left: 35px;
  position: relative;
}



.header .menu > .menu-item > a .plus {
  display: inline-block;
  height: 10px;
  width: 10px;
  position: relative;
  margin-left: 6px;
  pointer-events: none;
}

.header .menu > .menu-item > a .plus:before,
.header .menu > .menu-item > a .plus:after {
  content: '';
  position: absolute;
  box-sizing: border-box;
  left: 50%;
  top: 50%;
  background-color: #000000;
  height: 2px;
  width: 100%;
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease;
}

.header .menu > .menu-item > a .plus:after {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.header .menu > .menu-item > .sub-menu {
  z-index: 100;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 260px;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ffffff;
  padding: 15px 0;
  border-top: 3px solid #e91e63;
  transform: translateY(15px);
  transition: all 0.5s ease;
  opacity: 0;
  visibility: hidden;
}

.header .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.header .menu > .menu-item:hover > a {
  color: #e91e63;
}

@media(min-width: 992px) {
  .header .menu > .menu-item-has-children:hover > .sub-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

.header .menu > .menu-item-has-children:hover > a .plus:after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.header .menu > .menu-item > .sub-menu > .menu-item {
  display: block;
}

.header .menu > .menu-item > .sub-menu > .menu-item > a {
  display: block;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  transition: color 0.3s ease;
  text-transform: capitalize;
}

/* Bouton hamburger */
.header .open-nav-menu {
  height: 40px;
  width: 45px;
  margin-right: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header .open-nav-menu span {
  display: block;
  height: 3px;
  width: 28px;
  background-color: #000000;
  position: relative;
}

.header .open-nav-menu span:before,
.header .open-nav-menu span:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  box-sizing: border-box;
}

.header .open-nav-menu span:before {
  top: -8px;
}

.header .open-nav-menu span:after {
  top: 8px;
}

.header .close-nav-menu {
  height: 45px;
  width: 45px;
  background-color: #000000;
  margin: 0 0 20px 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.header .close-nav-menu img {
  width: 18px;
}

.header .menu-overlay {
  position: fixed;
  z-index: 998;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease;
}

.header .menu-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* ===== SECTION HOME ===== */
.home-section {
  width: 100%;
  display: block;
  margin: 10px auto;
  padding: 10px 5px;
  flex: 1;
}

/* ===== FOOTER ===== */
/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: white;
  text-align: center;
  padding: 40px 0;
  width: 100%;
  margin-top: auto;
  border-top: 3px solid #e91e63;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer p {
  margin: 8px 0;
  font-size: 16px;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #e91e63;
}


/* Séparateur */
.separateur {
  height: 3px;
  width: 60%;
  background-color: #e91e63;
  margin: 50px auto;
  border: none;
}

/* ===== GALERIE PHOTO ===== */
.image-mosaic {
  column-count: 3;
  column-gap: 25px;
  width: 90%;
  margin: 40px auto;
  padding: 20px;
}

.mosaic-item {
  break-inside: avoid;
  margin-bottom: 25px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mosaic-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.mosaic-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Années */
.nosformateurs p {
  font-size: 2.2em;
  font-weight: 700;
  color: whitesmoke;
  margin: 50px 0 20px 0;
  padding: 15px 35px;
  background-color: rgba(0, 0, 0, 0.3);
  border-left: 6px solid #e91e63;
  display: inline-block;
}

.year-section {
  margin-bottom: 60px;
}

.year-title {
  font-size: 2em;
  font-weight: 700;
  color: whitesmoke;
  margin-bottom: 20px;
  padding: 12px 25px;
  background-color: rgba(0, 0, 0, 0.3);
  border-left: 5px solid #e91e63;
  display: inline-block;
}

/* Images responsives */
.responsive-image {
  display: block;
  margin: 30px auto;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  max-width: 35%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE ===== */
@media(max-width: 991px) {
  .header .nav-menu {
    position: fixed;
    right: -320px;
    width: 320px;
    height: 100%;
    top: 0;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }

  .header .nav-menu.open {
    right: 0px;
  }

  .header .menu > .menu-item {
    display: block;
    margin: 0;
  }

  .header .menu > .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header .menu > .menu-item > a {
    color: #ffffff;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
    transition: all 0.3s ease;
  }

  .header .menu > .menu-item > a:hover {
    background: rgba(233, 30, 99, 0.1);
    border-left: 3px solid #e91e63;
    padding-left: 23px;
  }

  .header .menu > .menu-item:first-child > a {
    border-top: 1px solid rgba(233, 30, 99, 0.2);
  }

  .header .menu > .menu-item > a .plus:before,
  .header .menu > .menu-item > a .plus:after {
    background-color: #e91e63;
  }

  .header .menu > .menu-item-has-children.active > a .plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .header .menu > .menu-item > .sub-menu {
    width: 100%;
    position: relative;
    opacity: 1;
    visibility: visible;
    border: none;
    background-color: transparent;
    box-shadow: none;
    transform: translateY(0px);
    padding: 0px;
    left: auto;
    top: auto;
    max-height: 0;
    overflow: hidden;
  }

  .header .menu > .menu-item > .sub-menu > .menu-item > a {
    padding: 14px 20px 14px 45px;
    color: #ffffff;
    border-bottom: 1px solid rgba(233, 30, 99, 0.15);
    background: rgba(233, 30, 99, 0.05);
    transition: all 0.3s ease;
  }

  .header .menu > .menu-item > .sub-menu > .menu-item > a:hover {
    background: rgba(233, 30, 99, 0.15);
  }

  .header .close-nav-menu {
    display: flex;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .header .close-nav-menu:hover {
    transform: scale(1.1);
  }

  .header .open-nav-menu {
    display: flex;
  }

  .responsive-image {
    max-width: 60%;
  }
}


@media (max-width: 768px) {
  .image-mosaic {
    column-count: 1;
    width: 95%;
  }

  .responsive-image {
    max-width: 85%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .image-mosaic {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .responsive-image {
    max-width: 95%;
  }

  .header-spacing {
    height: 60px;
  }

  main {
    padding-top: 80px;
  }

  .separateur {
    width: 80%;
    margin: 30px auto;
  }

  .nosformateurs p,
  .year-title {
    font-size: 1.5em;
    padding: 10px 20px;
  }
}
