body {
  margin: 0;
  overflow-x: hidden;
  font-family: sans-serif;
  background-color: #1f1b3a; /* violet bleuté spatial */
  color: white;
  font-family: 'Roboto', sans-serif;

}

  
  
  
  /* Menu mobile */
  .nav__toggle,
  .nav__close {
    display: inline-flex;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
  }
  
  .nav__toggle img,
  .nav__close img {
    width: 2rem;
    height: auto;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: rgb(47, 35, 114);
    backdrop-filter: blur(16px);
    width: 80%;
    height: 100%;
    padding: 8rem 3.5rem 3.5rem;
    transition: right 0.4s;
    z-index: 1000;
    display: flex;
    flex-direction: column; /* S'assure que les éléments du menu sont en colonne */
  }
  
  .show-menu {
    right: 0;
  }
  
  .nav__list {
    display: flex;
    flex-direction: column; /* Menu en colonne pour mobile */
    row-gap: 3rem;
    list-style: none;
  }
  
  .nav__link {
    color: white;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.4s;
  }
  
  .nav__link:hover {
    color: #a084ff;
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  /* Desktop version */
  @media screen and (min-width: 768px) {
    .nav__menu {
      position: static;
      width: auto;
      height: auto;
      background-color: transparent;
      backdrop-filter: none;
      padding: 0;
      display: flex;
      flex-direction: row; /* Menu en ligne pour desktop */
      justify-content: center; /* Centrer les éléments */
    }
  
    .nav__list {
      flex-direction: row; /* Aligner les éléments en ligne pour le desktop */
      column-gap: 2rem;
    }
  
    .nav__toggle,
    .nav__close {
      display: none;
    }
  }

.le-saviez-vous {
    padding-left: 2rem;
    padding-right: 2rem;
}



/* Introduction */
.explicatif-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
  color: #d4def0;
}

.explicatif-intro h1 {
  font-size: 2.2em;
  margin-bottom: 12px;
  color: #aebeff;
  font-weight: 600;
}

.explicatif-intro p {
  font-size: 1.05em;
  line-height: 1.6;
  color: #b2bee1;
  margin: 0 auto;
}

/* Section principale */
.explicatif-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}


/* Bloc texte + image */
.explicatif-bloc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.015);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(88, 101, 242, 0.08);
  transition: box-shadow 0.3s ease;
}

.explicatif-bloc:hover {
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.2);
}

/* Image */
.explicatif-image img {
  width: 360px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.25);
  object-fit: cover;
}

/* Texte */
.explicatif-texte {
  flex: 1;
  color: #d8e2ff;
}

.explicatif-texte h2 {
  font-size: 1.9em;
  margin-bottom: 12px;
  color: #b0c5ff;
  font-weight: 500;
}

.explicatif-texte p {
  font-size: 1.05em;
  line-height: 1.7;
  color: #c3cdef;
  margin: 0;
}

/* Inversion alternée des blocs */
.explicatif-bloc:nth-child(even) {
  flex-direction: row-reverse;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .explicatif-bloc {
    flex-direction: column !important;
    text-align: center;
  }

  .explicatif-texte h2 {
    font-size: 1.6em;
  }

  .explicatif-texte p {
    font-size: 1em;
  }

  .explicatif-image img {
    width: 100%;
    height: auto;
  }
}




  /* footer */
.footer {
  background-color: #3e01429c;
  color: #f1f1f1;
  padding: 40px 20px;
  font-size: 14px;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-section h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
  color: #aaa;
}