/* Général */
body {
  font-family: "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

main {
  padding: 1em;
  max-width: 960px;
  margin: auto;
}

h1, h2 {
  color: #004080;
  text-align: center;
  margin-top: 1em;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
}

/* Navigation */
nav ul {
  display: flex;
  justify-content: center;
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

nav a {
  text-decoration: none;
  color: #004080;
  font-weight: bold;
  padding: 0.5em 1em;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav a:hover,
nav a[aria-current="page"] {
  background: #e6f2ff;
}

/* Carte */
#map {
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Événements */
#evenements {
  list-style: none;
  padding: 0;
  margin-top: 2em;
}

#evenements li {
  background: #ffffff;
  border-left: 6px solid #004080;
  padding: 1em;
  margin-bottom: 1em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 6px;
  transition: background 0.3s ease;
}

#evenements li:hover {
  background: #f0f8ff;
}

#evenements li strong {
  display: block;
  font-size: 1.1em;
  color: #004080;
  margin-bottom: 0.3em;
}

#evenements li::before {
  content: "🚴 ";
  font-size: 1.2em;
  margin-right: 0.3em;
}

/* Liens */
a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

a:hover,
a:focus {
  text-decoration: underline;
  outline: none;
}

/* Météo */
span.meteo {
  display: block;
  margin-top: 0.5em;
  padding: 0.5em;
  background: #fefefe;
  border: 1px dashed #ccc;
  border-radius: 4px;
  font-style: italic;
  color: #333;
}

span.meteo::before {
  content: "🌤️ ";
  font-size: 1.2em;
  margin-right: 0.3em;
}

span.meteo .desc {
  font-weight: normal;
  color: #333;
}

span.meteo .temp {
  font-weight: bold;
  color: #d9534f;
  margin-left: 0.5em;
}

span.meteo .vent {
  color: #5bc0de;
  margin-left: 0.5em;
}

/* Parcours */
.parcours-item {
  background: #fff;
  border-left: 6px solid #28a745;
  padding: 1em;
  margin: 1em auto;
  max-width: 700px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 6px;
}

.parcours-item h3 {
  margin-top: 0;
  color: #28a745;
}

.parcours-item a {
  display: inline-block;
  margin-top: 0.5em;
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

.parcours-item a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 2em 1em;
  background: #004080;
  color: #fff;
  margin-top: 3em;
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .parcours-item,
  #evenements li {
    margin-left: 1em;
    margin-right: 1em;
  }
}
