.franchise-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.franchise-map-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

.franchise-map-wrapper svg path[id^="dep_"] {
  fill: #141414;
  stroke: #2B2F3A;
  stroke-width: 1;
  transition: fill 0.2s;
}

.franchise-map-wrapper svg path[id^="dep_"].veha-dept-highlighted,
.franchise-map-wrapper svg path[id^="dep_"].veha-dept-active {
  fill: #FFD400;
}

#corsica_separating_line {
  display: none;
}

.franchise-boost-point {
  fill: #FFD400;
  stroke: #0e1116;
  stroke-width: 2;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
  transform-box: fill-box;
  transform-origin: center;
}

.franchise-boost-link:hover .franchise-boost-point,
.franchise-boost-link:focus .franchise-boost-point {
  opacity: 1;
  transform: scale(1.3);
}

.veha-dept-label {
  font-size: 16px;
  font-family: sans-serif;
  fill: #6b7280;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}

.franchise-point {
  fill: #FFD400;
  stroke: #0e1116;
  stroke-width: 4;
  transition: transform 0.2s ease, filter 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.franchise-link:hover .franchise-point,
.franchise-link:focus .franchise-point {
  filter: drop-shadow(0 0 6px rgba(255, 212, 0, 0.6));
  transform: scale(1.08);
  cursor: pointer;
}

/* ─── Bulle latérale ─── */

.franchise-map-bubble {
  position: absolute;
  z-index: 20;
  max-width: 220px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #0e1116;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
  display: none;
}

.franchise-map-bubble.is-visible {
  display: block;
}

.veha-bubble-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.veha-bubble-depts {
  display: none;
  font-size: 11px;
  font-weight: 400;
  color: #FFD400;
  line-height: 1.5;
}

/* Flèche pointant à gauche (bulle à droite du point) */
.franchise-map-bubble::before {
  content: '';
  position: absolute;
  top: 12px;
  left: -7px;
  border: 7px solid transparent;
  border-left: none;
  border-right-color: #0e1116;
}

/* Flèche pointant à droite (bulle à gauche du point) */
.franchise-map-bubble.veha-bubble-flipped::before {
  left: auto;
  right: -7px;
  border-right: none;
  border-left-color: #0e1116;
}
