/* =========================
   Police générale et fond
   ========================= */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #a0e9fd, #fef9e7);
  color: #333;
}

/* =========================
   Header
   ========================= */
header {
  padding: 25px 20px;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #ddd;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #224d9d;
}

/* Espacement entre titre et boutons */
.view-switch {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Boutons switch */
.view-switch button {
  padding: 10px 25px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-switch button:hover {
  background: rgba(0,119,255,0.2);
}

.view-switch .active {
  background: rgba(240, 236, 222, 0.85);
  color: #224d9d;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* =========================
   Vue
   ========================= */
.view {
  display: none;
  padding: 25px 20px;
}

.view.visible {
  display: block;
}

/* =========================
   Zones et items
   ========================= */
#listContainer .zone-block,
.item,
.intro {
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 18px 20px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.item {
  background: rgba(240, 236, 222, 0.85);
}

.item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* =========================
   Lien "Voir sur la carte"
   ========================= */
.item a {
  display: inline-block;
  font-size: 0.85rem;
  color: #0077ff;
  text-decoration: none;
  margin-top: 5px;
  cursor: pointer;
  transition: color 0.2s;
}

.item a:hover {
  color: #004a99;
  text-decoration: underline;
}

/* =========================
   Catégories en badge
   ========================= */
.item-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 10px;
  margin-bottom: 8px;
  color: white;
}

.Plages⛱️ { background-color: #4fc3f7; }
.Boireetmanger🍽️ { background-color: #ff8a65; }
.Nature🌿 { background-color: #81c784; }
.SPA🧖 { background-color: #ba68c8; }
.Randonnées🥾 { background-color: #ffb74d; }
.Excursions🛥️ { background-color: #4dd0e1; }
.Sports🏄 { background-color: #4db6ac; }
.Hébergement🏨 { background-color: #f06292; }
.Aventure🧗 { background-color: #ff7043; }
.Routesetpanoramas🛣️ { background-color: #aed581; }
.Culture🎭 { background-color: #9575cd; }
.Villes🏙️ { background-color: #ba68c8; }

/* =========================
   Titres et descriptions
   ========================= */
.item h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.item p,
.item small {
  margin: 0 0 8px 0;
  line-height: 1.5;
}

/* =========================
   Carte
   ========================= */
#map {
  height: 80vh;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
