.mapafull-page,
.mapafull-page * {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body.mapafull-standalone {
  margin: 0;
  color: #1f2933;
  background: #ffffff;
}

.mapafull-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #1f2933;
  background: #ffffff;
  overflow-x: hidden;
  container-type: inline-size;
}

body.mapafull-standalone .mapafull-page {
  width: min(1380px, 96vw);
}

.mapafull-header {
  text-align: center;
  margin-bottom: 24px;
}

.mapafull-header h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  color: #111111;
}

.mapafull-header p {
  margin: 12px 0 0;
  font-size: 20px;
  color: #4b5563;
}

.mapafull-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.mapafull-page .map-card {
  position: relative;
  min-width: 0;
  width: 100%;
}

.mapafull-page .map-area {
  position: relative;
  width: 100%;
  min-height: 720px;
  background-color: rgb(249, 249, 249);
  border-radius:6px;
  overflow: hidden;
}

.mapafull-page #mapa svg {
  width: 100%;
  height: 720px;
  display: block;
}

.mapafull-page .loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6b7280;
  font-size: 18px;
  padding: 20px;
}

.mapafull-page .municipio {
  fill: #d1d5db;
  stroke: #ffffff;
  stroke-width: 1.1;
  cursor: default;
  transition: fill 0.15s ease, stroke 0.15s ease, filter 0.15s ease;
}

.mapafull-page .municipio-ativo {
  fill: #00984f;
  stroke: #ffffff;
  stroke-width: 1.4;
  cursor: pointer;
}

.mapafull-page .municipio-ativo:hover,
.mapafull-page .municipio-ativo.hover,
.mapafull-page .municipio-ativo.selecionado {
  fill: #f2c94c;
  stroke: #111827;
  stroke-width: 2.2;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.28));
}

.mapafull-page .label-municipio {
  fill: #111111;
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 4px;
  stroke-linejoin: round;
  pointer-events: none;
}

.mapafull-page .label-municipio.label-hover,
.mapafull-page .label-municipio.label-selecionado {
  font-size: 14px;
  fill: #111111;
}

.mapafull-page .map-footer {
  margin-top: 8px;
  font-size: 18px;
  color: #6b7280;
}

.mapafull-page .map-footer strong {
  color: #4b5563;
}

.mapafull-page .info-panel {
  margin-top: 20px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.mapafull-page .select-label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #374151;
}

.mapafull-page .select-wrap {
  position: relative;
}

.mapafull-page .select-wrap::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-4.35 7-11a7 7 0 1 0-14 0c0 6.65 7 11 7 11Z' stroke='%2300984f' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' stroke='%2300984f' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.mapafull-page .select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 24px;
  top: 44%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #6b7280;
  pointer-events: none;
}

.mapafull-page #municipioSelect {
  width: 100%;
  min-height: 70px;
  padding: 0 58px 0 68px;
  border: 1px solid #d9dde3;
  border-radius: 10px;
  background: #ffffff;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  appearance: none;
  cursor: pointer;
}

.mapafull-page .info-content {
  margin-top: 30px;
  border-left: 3px solid #e5202e;
  padding-left: 28px;
  min-height: 120px;
}

.mapafull-page .info-content h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #111827;
}

.mapafull-page .info-content .site {
  margin: 0 0 18px;
  font-size: 18px;
  color: #6b7280;
}

.mapafull-page .info-content h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #00984f;
}

.mapafull-page .info-content p {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  color: #374151;
}

.mapafull-page .info-content ul {
  margin: 10px 0 0;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.5;
}

.mapafull-page .quantidade-sedes {
  margin: -2px 0 18px;
  color: #6b7280;
  font-size: 16px;
}

.mapafull-page .sede-lista {
  display: grid;
  gap: 22px;
}

.mapafull-page .sede-item {
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.mapafull-page .sede-cabecalho {
  margin-bottom: 12px;
}

.mapafull-page .sede-numero {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f2c94c;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mapafull-page .texto-sede p:last-child,
.mapafull-page .texto-sede ul:last-child,
.mapafull-page .texto-sede ol:last-child {
  margin-bottom: 0;
}

.mapafull-page .endereco-sede {
  margin: 16px 0 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 16px;
}

.mapafull-page .mapa-localizacao {
  width: 100%;
  height: 280px;
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d1d5db;
}

.mapafull-page .link-rota {
  display: inline-block;
  margin-top: 10px;
  color: #00984f;
  font-weight: 700;
  text-decoration: none;
}

.mapafull-page .link-rota:hover {
  text-decoration: underline;
}

.mapafull-page .info-content.empty {
  color: #6b7280;
}

@container (min-width: 1120px) {
  .mapafull-layout {
    grid-template-columns: minmax(560px, 1fr) minmax(360px, 510px);
    gap: 38px;
  }
}

@media (min-width: 1120px) {
  body.mapafull-standalone .mapafull-layout {
    grid-template-columns: minmax(560px, 1fr) 510px;
    gap: 38px;
  }
}

@media (max-width: 1050px) {
  .mapafull-page .map-area {
    min-height: 560px;
  }

  .mapafull-page #mapa svg {
    height: 560px;
  }

  .mapafull-page .info-panel {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .mapafull-header h1 {
    font-size: 34px;
  }

  .mapafull-header p {
    font-size: 16px;
  }

  .mapafull-page .map-area {
    min-height: 460px;
  }

  .mapafull-page #mapa svg {
    height: 460px;
  }

  .mapafull-page #municipioSelect {
    min-height: 58px;
    font-size: 17px;
    padding-left: 56px;
  }

  .mapafull-page .info-content {
    padding-left: 18px;
  }
}
