/* Styles modernisés et responsifs */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  text-align: center;
  padding: 20px;
}

main {
  max-width: 800px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#accueil img {
  max-width: 200px;
  margin: 20px auto;
  display: block;
}

h1 {
  font-size: 24px;
  margin-top: 10px;
}

#présentation {
  background: #f9f9f9; /* 🎨 Fond légèrement gris pour distinguer la section */
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 🌟 Ombre douce */
  margin: 10px auto;
  max-width: 800px;
}

#présentation h2 {
  font-size: 28px; /* 🔥 Texte plus grand */
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase; /* 🏆 Titre en majuscules pour plus de prestance */
  letter-spacing: 1.5px;
}

#présentation p {
  font-size: 18px;
  line-height: 1.6;
  color: #555; /* 🎨 Texte légèrement assombri pour une meilleure lecture */
  max-width: 700px;
  margin: 0 auto;
}

/* 🌟 Ajout d'un séparateur sous le titre */
#présentation h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ff9800; /* 🟠 Ligne de séparation colorée */
  margin: 10px auto;
  border-radius: 2px;
}

.image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.image-container img {
  max-width: 100%;
  border-radius: 10px;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 80%;
  max-width: 500px;
}

.overlay h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 16px;
}

#contact {
  margin-top: 15px;
}

#contact a {
  display: inline-block;
  margin: 5px;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  border-radius: 5px;
  transition: 0.3s;
}

#contact a:first-of-type {
  background-color: #ff9800;
}

#contact a:last-of-type {
  background-color: #4caf50;
}

#contact a:hover {
  opacity: 0.8;
}

/* 📱 Adaptation mobile */
@media (max-width: 600px) {
  .main {
    height: 100%;
  }
  .overlay {
    width: 90%;
    padding: 8px;
  }

  .overlay h2 {
    font-size: 20px;
  }

  .overlay p {
    font-size: 14px;
  }

  #contact a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px;
  }
  #présentation {
    padding: 10px 15px;
  }

  #présentation h2 {
    font-size: 24px;
  }

  #présentation p {
    font-size: 16px;
  }
}
