/* Seção Mapa (lista + mapa) - sobre.php
 * Título 60px, subtítulo 36px. Background 24% opacidade (beige).
 * Lista alinhada à identidade do projeto (filtros: Lexend, preto, beige).
 */
.section-sobre-map {
  width: 100%;
  background-color: rgba(211, 206, 185, 0.24);
}

.section-sobre-map-header {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 60px)
}

.section-sobre-map-title {
  font-family: var(--font-family-primary);
  font-size: clamp(32px, 8vw, var(--font-size-60));
  color: var(--color-black);
  margin: 0;
}

.section-sobre-map-subtitle {
  font-family: var(--font-family-secondary);
  font-size: clamp(24px, 6vw, var(--font-size-36));
  font-weight: 100;
  color: var(--color-black);
  margin: 0;
}

.section-sobre-map-inner {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  height: clamp(560px, 90vh, 1000px);
}

.section-sobre-map-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  color: var(--color-black);
  font-family: var(--font-family-secondary);
  background-color: rgba(211, 206, 185, 0.05);
}

.section-sobre-map-list-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.section-sobre-map-list-item:focus,
.section-sobre-map-list-item:active,
.section-sobre-map-list-item:visited {
  text-decoration: none;
  outline: none;
}

.section-sobre-map-list-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background-color: rgba(211, 206, 185, 0.40);
}

.section-sobre-map-list-item:hover,
.section-sobre-map-list-item.is-active {
  background-color: var(--color-text-hover);
  color: var(--color-white);
  text-decoration: none;
  outline: none;
}

.section-sobre-map-list-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  color: var(--color-black);
  border-radius: 50%;
  font-size: var(--font-size-12);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-sobre-map-list-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.section-sobre-map-list-name {
  font-size: var(--font-size-14);
  font-weight: 600;
}

.section-sobre-map-list-region {
  font-size: var(--font-size-12);
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-sobre-map-map {
  min-height: 400px;
  width: 100%;
  background: #e8e6e1;
}

.section-sobre-map .gm-style-iw,
.section-sobre-map .gm-style-iw-c {
  border-radius: 4px;
}

.sobre-map-tooltip {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  max-width: 260px;
  border-radius: 4px;
  overflow: hidden;
}

.sobre-map-tooltip-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-beige, #d3ceb9);
}

.sobre-map-tooltip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-map-tooltip-number {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black, #000);
  color: var(--color-white, #fff);
  border-radius: 50%;
  font-family: var(--font-family-secondary), sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.sobre-map-tooltip-body {
  position: relative;
  padding: 12px 36px 12px 12px;
  background: var(--color-white, #fff);
}

.sobre-map-tooltip-name {
  display: block;
  font-family: var(--font-family-primary), serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black, #000);
}

.sobre-map-tooltip-region {
  display: block;
  font-family: var(--font-family-secondary), sans-serif;
  font-size: 12px;
  color: var(--color-text-hover, #4a4a4a);
  margin-top: 4px;
}

.sobre-map-tooltip-link {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black, #000);
  text-decoration: none;
  transition: color 0.2s;
}

.sobre-map-tooltip-link:hover,
.sobre-map-tooltip-link:focus,
.sobre-map-tooltip-link:active,
.sobre-map-tooltip-link:visited {
  color: var(--color-text-hover, #4a4a4a);
  text-decoration: none;
  outline: none;
}

.sobre-map-tooltip-link::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}

/* Esconde o X do InfoWindow (tooltip fecha sozinho) */
.section-sobre-map .gm-style-iw + button,
.section-sobre-map .gm-ui-hover-effect {
  display: none !important;
}

@media (max-width: 900px) {
  .section-sobre-map-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 1fr;
  }

  .section-sobre-map-list {
    order: 2;
    max-height: 320px;
  }

  .section-sobre-map-map {
    order: 1;
    min-height: 280px;
  }
}
