* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #c5c5ee;
  background-color: #272729;
}

/* 🌟 Bandeau principal */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../Image/bandeau_ObsJ.jpg") center/cover no-repeat;
  color: white;
  padding: 8em 1em;
}

.hero img {
  max-width: 25%;
  border-radius: 10px;
}

.hero-text {
  flex: 1;
  padding: 2em;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1em;
}

.cta-button {
  background-color: #8caeed;
  color: #272729;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.cta-button:hover {
  background-color: #6a92d4;
}

/* 🏗️ Sections informatives */
.info-section {
  padding: 1em 1em;
  text-align: center;
}

.info-section.dark {
  background: #1b1b1d;
}

.info-section h3 {
  margin-bottom: 1em;
}

.info-section p {
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
  text-align: center;
}

.grid div {
  padding: 2.5em 1.5em 0em 1.5em;
  background: #3a2b85;
  color: white;
  border-radius: 10px;
  transition: 0.3s;
  align-items: center;
}

#presentation div {
  padding: 1em 1.5em 0em 1.5em;
  background: #3e2870;
  color: white;
  text-align: justify;
}

.grid div:hover {
  background: #2a1f65;
}

.grid img {
  width: 100%;
  border-radius: 8px;
}

/* 🗺️ Carte interactive */
#map-container {
  text-align: center;
  padding: 2rem;
  background: #1b1b1d;
  color: white;
}

#map {
  width: 25vw;
  aspect-ratio: 1;
  border-radius: 10px;
  margin-top: 1rem;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .hero {
      flex-direction: column;
      text-align: center;
  }
  .hero img {
      max-width: 80%;
  }
  #map {
    width: 83vw;
  }
}