body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}


nav {
  display: flex;
  align-items: center;
  background: #003366;
  padding: 10px 20px;
  gap: 20px; /* espace entre éléments */
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Boutons langue */
.lang-switch {
  display: flex;
  gap: 8px;
  flex-shrink: 0; /* les rend fixes */
}

.lang-switch button {
  padding: 5px 12px;
  background: #002244;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.lang-switch button:hover {
  background: #0050aa;
}

/* Barre verticale */
.nav-separator {
  width: 2px;
  height: 26px;
  background: white;
  opacity: 0.7;
  flex-shrink: 0; /* ne bouge pas */
   margin-left: 24px; /* <-- espace entre boutons et barre */
  margin-right: 12px; /* optionnel, espace avant les liens */
}

/* Liens du menu */
.nav-links {
  display: flex;
  gap: 20px;
  flex-grow: 1; /* prend tout l’espace restant */
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}


.intro {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 20px auto;
  background: #003366;
  color: white;  
  padding: 25px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.intro a {
  color: #ffffff;   /* couleur blanche */
  text-decoration: underline; /* ou none pour enlever le soulignement */
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.intro-text h1 {
  margin: 0;
  font-size: 1.8em;
}

.intro-text p {
  margin: 5px 0;
}

.container {
  max-width: 900px;
  margin: 20px auto;
  background: #fff;
  padding: 25px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #003366;
  border-bottom: 2px solid #003366;
  padding-bottom: 4px;
}

ol, ul {
  margin-left: 20px;
}

footer {
  text-align: center;
  padding: 15px 0;
  background-color: #e4e4e4;
  color: #333;
  margin-top: 30px;
}
