.mapa {
  position: relative;
  overflow: hidden;
  background: #F3EEE5;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.mapa.arrastando { cursor: grabbing; }

.mapa-palco {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.mapa-palco.animando { transition: transform .5s var(--suave), width .5s var(--suave), height .5s var(--suave); }
.mapa.arrastando .mapa-palco { transition: none; }

.mapa-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }

.mapa-rua {
  fill: #9C9180;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  paint-order: stroke;
  stroke: #FFFFFF;
  stroke-width: 3px;
}

.mapa-agua text {
  fill: #6F969D;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .06em;
  text-anchor: middle;
}

.mapa-lugar text {
  fill: #8E8572;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #F3EEE5;
  stroke-width: 4px;
}

.mapa-bairro {
  position: absolute;
  transform: translate(-50%, -50%);
  color: #6B6457;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 3px #F6F2EA, 0 0 6px #F6F2EA, 0 0 10px #F6F2EA;
  pointer-events: none;
  transition: opacity .2s;
}

.mapa-bairro.escondido { opacity: 0; }

.pino {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  min-height: 28px;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: var(--branco);
  color: var(--tinta);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px rgba(20, 24, 31, .1), 0 3px 10px rgba(20, 24, 31, .18);
  transform: translate(-50%, calc(-100% - 7px));
  cursor: pointer;
  transition: background-color .18s var(--suave), color .18s var(--suave), transform .18s var(--suave);
}

.pino small { font-size: 11px; font-weight: 600; opacity: .7; }

.pino::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: inherit;
  border-radius: 0 0 3px 0;
  transform: rotate(45deg) scale(.8);
  box-shadow: 2px 2px 3px rgba(20, 24, 31, .08);
  z-index: -1;
}

.pino::before { content: ''; position: absolute; inset: -7px -2px; }

.pino.favorito { box-shadow: 0 0 0 2px var(--terracota), 0 3px 10px rgba(20, 24, 31, .18); }

.pino:hover, .pino.destacado, .pino:focus-visible {
  z-index: 3;
  background: var(--tinta);
  color: #fff;
  transform: translate(-50%, calc(-100% - 7px)) scale(1.08);
}

.pino.selecionado {
  z-index: 4;
  background: var(--terracota-forte);
  color: #fff;
  transform: translate(-50%, calc(-100% - 7px)) scale(1.1);
}

.marcador {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  transform: translate(-50%, -100%);
  cursor: default;
}

.marcador svg { width: 44px; height: 44px; fill: var(--terracota-forte); filter: drop-shadow(0 4px 6px rgba(20, 24, 31, .25)); }

.marcador::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 116px;
  height: 116px;
  margin: -58px 0 0 -58px;
  border-radius: 50%;
  background: rgba(217, 88, 43, .14);
  border: 2px solid rgba(217, 88, 43, .35);
  z-index: -1;
}

.mapa-zoom {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: grid;
  border-radius: 12px;
  background: var(--branco);
  box-shadow: var(--sombra-alta);
  overflow: hidden;
}

.mapa-zoom .botao-icone { border-radius: 0; }
.mapa-zoom .botao-icone + .botao-icone { border-top: 1px solid var(--linha); }
.mapa-zoom .ico { width: 18px; height: 18px; }
