/* --- Empèche les éléments de dépasser de la page --- */
* {
  box-sizing: border-box;
}

/* --- Bandeau principal pleine largeur --- */
.bandeau {
  width: 100%;
  margin: 0;
  padding: 0;
  background-size: cover; /* Adaptation à la largeur de l'écran */
}

/* --- Styles globaux --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #d0f0c0; /* Couleur de fond apaisante */
}

/* --- Barre de navigation --- */
.navbar {
  display: flex;
  align-items: center; /* Centrage vertical */
  background-color: #8B4513; /* Couleur marron */
  padding: 10px 20px;
  border-radius: 15px;
  width: calc(100% - 20px); /* Ajuste la largeur pour compenser le padding */
  margin: 0 auto; /* Centrer la barre */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Ombre élégante */
}

.navbar img {
  height: 40px;
  cursor: pointer; /* Ajout d'un effet clic sur le logo */
}

.navbar .links {
  margin-left: auto; /* Décalage des liens à droite */
  display: flex;
  gap: 15px; /* Espacement uniforme entre les liens */
}

.navbar a {
  color: white;
  text-decoration: none; /* Suppression du soulignement */
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s; /* Transition douce au survol */
}

.navbar a:hover {
  color: #FFD700; /* Couleur dorée au survol */
}

/* --- Conteneur principal --- */
.about-container {
  text-align: center; /* Centrage des textes */
  padding: 20px;
}

.about-container h1 {
  font-size: 24px; /* Taille principale du titre */
  color: #4B5320; /* Couleur vert foncé */
}

.about-container hr {
  width: 80%;
  margin: 10px auto;
  border: none;
  border-top: 2px solid #4B5320; /* Ligne fine et élégante */
}

.about-section {
  margin: 20px auto;
  width: 80%; /* Réduction automatique sur petits écrans */
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  color: #4B5320; /* Texte vert foncé */
  line-height: 1.5;
}

/* --- Section vidéo --- */
.video-container {
  display: flex;
  flex-direction: column; /* Aligne vidéo et audio en colonne */
  align-items: center;
  gap: 15px; /* Espacement entre les éléments */
}

video, audio {
  width: 80%;
  max-width: 800px;
  border-radius: 10px; /* Coins arrondis */
}

/* --- Footer --- */
.footer {
  text-align: center;
  background-color: #8B4513; /* Marron assorti à la navbar */
  color: white;
  padding: 10px;
  font-size: 12px;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* --- Surbrillance des textes importants --- */
.highlight {
  font-weight: bold;
  color: #2a7a4d; /* Vert accentué */
}

/* --- Responsivité pour les petits écrans --- */
@media (max-width: 600px) {
  .about-container h1 {
      font-size: 20px; /* Réduction de la taille du titre */
  }

  .about-section {
      width: 90%;
      font-size: 14px; /* Texte plus compact */
  }

  .navbar img {
      height: 35px; /* Logo réduit */
  }

  video, audio {
      width: 95%; /* Ajustement pour mobiles */
  }
}
