/* Plan d'accès (include/plan.php) */
.plan {
  position: relative;
  height: 500px;
  background: #1a130a;
  border-top: 3px solid #d8a567;
  font-size: 16px; /* le body du site est en font-size: 0 */
}
.plan__carte {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a130a;
}
/* Fond OSM passé en sombre (inversé) avec une teinte chaude pour coller aux tons cuivre du site */
.plan .leaflet-tile-pane {
  filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) brightness(0.7) sepia(0.35);
}
.plan .leaflet-container {
  font-family: "Vollkorn", serif;
  background: #1a130a;
}
.plan .leaflet-control-zoom a {
  background: #332513;
  color: #d8a567;
  border-color: #4a3720;
}
.plan .leaflet-control-zoom a:hover {
  background: #d8a567;
  color: #332513;
}
.plan .leaflet-control-attribution {
  background: rgba(51, 37, 19, 0.85);
  color: #e8d9c4;
  font-size: 11px;
}
.plan .leaflet-control-attribution a {
  color: #d8a567;
}
/* Repère */
.plan__repere {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: #d8a567;
  border: 3px solid #332513;
  transform: rotate(-45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}
.plan__repere::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #332513;
}
/* Encart adresse */
.plan__fiche {
  position: absolute;
  z-index: 500;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 300px;
  padding: 24px 28px;
  background: #332513;
  color: #fff;
  border-left: 4px solid #d8a567;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.plan__nom {
  font-family: "Fondamento", cursive;
  font-size: 26px;
  color: #d8a567;
  line-height: 1.2;
}
.plan__adresse {
  margin: 8px 0 18px;
  font-family: "Vollkorn", serif;
  font-size: 17px;
}
.plan__bouton {
  display: inline-block;
  padding: 9px 22px;
  background: #d8a567;
  color: #332513;
  font-family: "Vollkorn", serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.plan__bouton:hover,
.plan__bouton:focus-visible {
  background: #fff;
}
@media (max-width: 700px) {
  .plan {
    height: auto;
  }
  .plan__carte {
    position: relative;
    height: 320px;
  }
  .plan__fiche {
    position: static;
    transform: none;
    max-width: none;
    border-left: 0;
    border-top: 0;
    box-shadow: none;
    text-align: center;
  }
}
