/* OPM Carte Zone — bloc « zone d'intervention » avec carte SVG (v2, contrastée) */

/* Le bloc vit aussi sur les pages hors design v2 (contact, notre histoire) :
   on y redéfinit les variables, le titre et le bouton pour garder le même look. */
.opm-zone-sec{
  --mv-acc:#C96A00;
  --mv-acc-2:#A85700;
  --mv-bleu:#1257AD;
  --mv-filet:#E7DDD0;
}
.opm-zone-sec .mv-eyebrow{
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
  color:#C96A00;
  margin:0 0 10px;
}
.opm-zone-sec .mv-tete h2{
  font-family:'Bricolage Grotesque',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-weight:800;
  font-size:clamp(28px,3.4vw,48px);
  line-height:1.05;
  letter-spacing:-.02em;
  margin:10px 0 18px;
  color:#0D1218;
}
.opm-zone-sec .mv-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:17px 32px;
  border-radius:999px;
  background:#C96A00;
  color:#FFFFFF !important;
  font-weight:800;
  font-size:16px;
  line-height:1.2;
  text-decoration:none;
}
.opm-zone-sec .mv-cta:hover,
.opm-zone-sec .mv-cta:focus{background:#A85700}

/* Les deux colonnes finissent à la même hauteur : le texte se cale sur
   la carte, titre en haut, bouton en bas. */
.opm-zone{
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(26px,3.4vw,48px);
  align-items:stretch;
}
/* La carte reste lisible sans écraser la section. */
.opm-zone-carte{max-width:500px}
.opm-zone-carte{display:flex;flex-direction:column;justify-content:center}
.opm-zone-col{display:flex;flex-direction:column;justify-content:center}
/* Quand il y a les communes, le texte se cale sur la carte : titre en haut,
   bouton en bas, mêmes bords que le panneau de gauche. */
.opm-zone-col:has(.opm-zone-villes){justify-content:space-between}

.opm-zone-col .opm-zone-villes{margin-top:16px}

/* Le cadre est un panneau de carte, légèrement teinté : il se remplit
   quand la colonne de texte est plus haute, sans laisser de blanc vide. */
.opm-zone-carte{
  background:linear-gradient(180deg,#FCFCFB 0%,#F4F4F2 100%);
  border:1px solid #E3E3DF;
  border-radius:24px;
  padding:clamp(8px,1.4vw,16px);
  box-shadow:0 26px 60px -34px rgba(11,46,90,.55), 0 2px 6px rgba(11,46,90,.06);
}

.opm-zone-svg{
  display:block;
  width:100%;
  height:auto;
  flex:1 1 auto;
  min-height:0;
  font-family:'Hanken Grotesk',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

/* Légende de la carte : elle occupe le bas du panneau et dit
   ce que valent les points et le cercle. */
.opm-zone-legende{
  display:flex;
  flex-wrap:wrap;
  gap:6px 22px;
  margin:14px 0 6px;
  padding:0 8px;
  list-style:none;
}
.opm-zone-legende li{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0;
  font-size:.86rem;
  color:#5A6672;
}
.opm-zone-pt{width:11px;height:11px;border-radius:50%;background:#E07404;border:2px solid #FFFFFF;box-shadow:0 0 0 1px rgba(11,46,90,.25)}
.opm-zone-tr{width:22px;height:0;border-top:3px dashed #0E4585}
.opm-zone-dep{width:13px;height:13px;border-radius:50%;background:#FFFFFF;border:3px solid #0E4585}

.opm-zone-col>p:first-child{margin-top:0}
.opm-zone-col .mv-tete{margin-bottom:18px}
.opm-zone-col .mv-tete h2{margin-top:6px}


.opm-zone-groupe{
  margin:18px 0 9px;
  font-weight:700;
  color:#0D1218;
}
.opm-zone-col>.opm-zone-groupe:first-child{margin-top:0}

.opm-zone-villes{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}
.opm-zone-villes li{margin:0;padding:0}
.opm-zone-villes li>span,
.opm-zone-villes li>a{
  display:inline-block;
  padding:6px 13px;
  font-size:.9rem;
  border:1px solid #DCE5F0;
  border-radius:999px;
  background:#FFFFFF;
  color:#1B2229;
  font-size:.95rem;
  line-height:1.2;
  text-decoration:none;
}
/* Les communes qui ont leur page portent une flèche : on voit
   tout de suite lesquelles se cliquent. */
.opm-zone-villes li>a{
  color:#0E4585;
  font-weight:700;
  border-color:#B9D0EA;
}
.opm-zone-villes li>a::after{
  content:"\2192";
  display:inline-block;
  margin-left:8px;
  transition:transform .16s ease;
}
.opm-zone-villes li>a:hover,
.opm-zone-villes li>a:focus{
  background:#0E4585;
  border-color:#0E4585;
  color:#FFFFFF;
}
.opm-zone-villes li>a:hover::after,
.opm-zone-villes li>a:focus::after{transform:translateX(3px)}

.opm-zone-plus{
  margin:14px 0 0;
  padding-left:14px;
  border-left:3px solid #C25E06;
  font-size:.96rem;
  line-height:1.55;
}
.opm-zone-note{
  margin:16px 0 0;
  color:#5A6672;
  font-size:.96rem;
}
.opm-zone-note a{color:#0E4585;font-weight:700}

/* Le bouton garde sa largeur de bouton : dans une colonne en flex,
   il s'étirait sur toute la largeur. */
.opm-zone-col .mv-cta{
  margin-top:20px;
  align-self:flex-start;
  width:auto;
}

/* ---------- Trajet depuis notre adresse ---------- */
.opm-trajet{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(26px,3.4vw,48px);
  align-items:stretch;
}
.opm-trajet-carte{display:flex;flex-direction:column;justify-content:center}
.opm-trajet-col{justify-content:space-between}
.opm-trajet-carte{
  background:linear-gradient(180deg,#FCFCFB 0%,#F4F4F2 100%);
  border:1px solid #E3E3DF;
  border-radius:24px;
  padding:clamp(10px,1.4vw,18px);
  box-shadow:0 26px 60px -34px rgba(11,46,90,.5);
}
.opm-trajet-svg{display:block;width:100%;height:auto;font-family:'Hanken Grotesk',system-ui,sans-serif}
.opm-trajet-col{display:flex;flex-direction:column}
.opm-trajet-chiffres{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:6px 14px;
  margin:0 0 14px;
}
.opm-trajet-chiffres b{
  font-family:'Bricolage Grotesque',system-ui,sans-serif;
  font-size:clamp(34px,3.4vw,46px);
  line-height:1;
  color:var(--sec-lien,#0E4585);
}
.opm-trajet-chiffres span{font-size:1rem;color:var(--sec-faible,#5A6672)}
.opm-trajet-chiffres span strong{color:var(--sec-titre,#0D1218)}
.opm-trajet-liens{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 0;
  padding:0;
  list-style:none;
}
.opm-trajet-liens li{margin:0}
.opm-trajet-liens a{
  display:inline-block;
  padding:8px 15px;
  border:1px solid #B9D0EA;
  border-radius:999px;
  background:#FFFFFF;
  color:#0E4585;
  font-weight:700;
  font-size:.95rem;
  text-decoration:none;
}
.opm-trajet-liens a::after{content:" \2197";font-weight:800}
.opm-trajet-liens a:hover,
.opm-trajet-liens a:focus{background:#0E4585;border-color:#0E4585;color:#FFFFFF}
.opm-trajet-col .mv-cta{align-self:flex-start;width:auto;margin-top:22px}

@media (max-width:900px){
  .opm-zone{grid-template-columns:1fr;gap:28px}
  .opm-zone-carte{order:-1}
  .opm-trajet{grid-template-columns:1fr;gap:26px}
  .opm-trajet-carte{order:-1}
}

/* Sur petit écran la carte est deux fois plus petite : on grossit les noms
   de villes et on retire les libellés décoratifs des rivières. */
@media (max-width:640px){
  .opm-zone-svg .opm-carte-villes text{font-size:21px}
  .opm-zone-svg .opm-carte-eau{display:none}
  .opm-zone-svg .opm-carte-metro{font-size:17px}
  .opm-zone-svg .opm-carte-lyon{font-size:26px}
}

/* ---------- Carte Leaflet (02/10/2026), couleurs d'AMB et Brumath ---------- */
.opm-zone-carte{max-width:none;background:#FFFFFF;border:1px solid #DCD3C2;border-radius:22px;box-shadow:none}
.opm-zone-leaflet{flex:1 1 auto;width:100%;min-height:clamp(320px,36vw,520px);border-radius:16px;overflow:hidden;background:#E6F1F1;z-index:0}
.opm-zone-leaflet .leaflet-tile-pane{filter:saturate(1.25) contrast(1.04)}
.opm-zone-leaflet .leaflet-control-attribution{font-size:9px;line-height:1.4;padding:0 5px;background:rgba(255,255,255,.6);color:#888}
.opm-zone-leaflet .leaflet-control-attribution a{color:inherit;text-decoration:none}
.opm-zone-leaflet .leaflet-control-zoom a{color:#15191A}
.opm-carte-pt i{display:block;width:14px;height:14px;border-radius:50%;background:#E8823A;border:2px solid #FFFFFF;box-sizing:border-box}
.opm-carte-pt--page i{cursor:pointer}
.opm-carte-depot{display:flex;align-items:center;justify-content:center}
.opm-carte-depot span{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:50%;background:#15191A;color:#FFFFFF;font-family:'Excon',sans-serif;font-weight:800;font-size:13px;line-height:1;text-align:center;box-sizing:border-box}
.opm-zone-leaflet .leaflet-popup-content-wrapper{border-radius:12px}
.opm-zone-leaflet .leaflet-popup-content{margin:10px 14px;font-family:'Switzer',sans-serif;font-weight:600;font-size:14px}
.opm-zone-leaflet .leaflet-popup-content a{color:#1F6E7A;text-decoration:none}
.opm-zone-pt{background:#1F6E7A;box-shadow:none}
.opm-zone-tr{border-top:3px dotted #1F6E7A}
.opm-zone-dep{background:#E8823A;border:2px solid #FFFFFF;outline:1px solid #DCD3C2}
.opm-zone-legende li{color:#56625F}
/* Même rendu que la carte de HK Service (05/10/2026) : boutons de zoom arrondis
   en bas à droite, étiquettes des communes dans la police du site. */
.opm-zone-leaflet .leaflet-bar{border:0 !important;border-radius:12px;overflow:hidden}
.opm-zone-leaflet .leaflet-bar a{width:36px;height:36px;line-height:36px;font-size:20px}
.opm-zone-leaflet .leaflet-tooltip{font-family:'Switzer',sans-serif;font-size:13px;font-weight:700;color:#15191A;border:1px solid #DCD3C2;border-radius:8px}

/* Carte sans cadre blanc autour (05/10/2026) : la carte seule, coins arrondis. */
.opm-zone-sec .opm-zone-carte,
.opm-mv .opm-zone-sec .opm-zone-carte{padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.opm-zone-sec .opm-zone-leaflet{border-radius:22px}
