/* Atlas do Parlamento (PD-17): mapa interativo. Cores: os tons de petróleo do manual de marca. Sem estilo inline (CSP). */
.atlas .atlas-mapa { margin-top: 14px; }
.atlas-barra { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.atlas-camadas { display: inline-flex; border: 1px solid var(--linha); border-radius: 999px; overflow: hidden; }
.atlas-camadas button { font: 600 13px/1 var(--sans); padding: 8px 14px; border: 0; background: var(--branco); color: var(--tinta-2); cursor: pointer; }
.atlas-camadas button + button { border-left: 1px solid var(--linha); }
.atlas-camadas button.on { background: var(--petroleo); color: var(--branco); }
.atlas-busca { position: relative; flex: 1 1 180px; min-width: 0; }
.atlas-busca input { width: 100%; box-sizing: border-box; font: 14px var(--sans); padding: 8px 10px; border: 1px solid var(--linha); border-radius: var(--raio); background: var(--branco); color: var(--tinta); }
.atlas-busca input:focus { outline: 2px solid var(--petroleo-luz); outline-offset: 1px; }
.atlas-sug { position: absolute; z-index: 6; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px 0; list-style: none; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: 0 8px 22px rgba(20, 23, 28, .14); max-height: 280px; overflow: auto; }
.atlas-sug li { padding: 8px 12px; cursor: pointer; font-size: 14px; color: var(--tinta); }
.atlas-sug li small { display: block; color: var(--cinza); font-size: 12px; }
.atlas-sug li.on, .atlas-sug li:hover { background: var(--nevoa); }
.atlas-sug li.vazio { color: var(--cinza); cursor: default; background: none; }
.atlas-zoom { display: inline-flex; gap: 4px; }
.atlas-zoom button { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--linha); border-radius: var(--raio); background: var(--branco); font: 600 17px/1 var(--sans); color: var(--tinta); cursor: pointer; }
.atlas-zoom button.texto { font-size: 13px; }
.atlas-zoom button:hover, .atlas-camadas button:not(.on):hover { background: var(--nevoa); }
.atlas-palco { position: relative; border: 1px solid var(--linha); border-radius: var(--raio); background: var(--papel); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.atlas-palco.zoom { touch-action: none; cursor: grab; }
.atlas-palco.arrasta { cursor: grabbing; }
.atlas-svg { display: block; width: 100%; height: auto; max-height: 600px; }
.atlas-svg path.area { stroke: var(--branco); stroke-width: .5; vector-effect: non-scaling-stroke; transition: opacity .15s; cursor: pointer; }
.atlas-svg path.c0 { fill: #E1EEEE; }
.atlas-svg path.c1 { fill: #A9D2D6; }
.atlas-svg path.c2 { fill: #5FB0BD; }
.atlas-svg path.c3 { fill: #2A7488; }
.atlas-svg path.c4 { fill: #0F5257; }
.atlas-svg path.sd { fill: #ECEAE4; }
.atlas-svg .destaque { fill: none; stroke: var(--tinta); stroke-width: 2.2; vector-effect: non-scaling-stroke; pointer-events: none; }
.atlas-svg .moldura { fill: none; stroke: #C9C6BE; stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.atlas-svg text { font: 26px var(--sans); fill: #5B5A55; pointer-events: none; }
.atlas-svg text.pequeno { font-size: 19px; }
.atlas-svg.foco path.area { opacity: .14; }
.atlas-svg.foco[data-c="0"] path.c0, .atlas-svg.foco[data-c="1"] path.c1, .atlas-svg.foco[data-c="2"] path.c2,
.atlas-svg.foco[data-c="3"] path.c3, .atlas-svg.foco[data-c="4"] path.c4 { opacity: 1; }
.atlas-dica { position: absolute; z-index: 5; left: 0; top: 0; pointer-events: none; max-width: 250px; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: 0 8px 22px rgba(20, 23, 28, .16); padding: 10px 12px; font: 13px/1.4 var(--sans); color: var(--tinta); }
.atlas-dica strong { display: block; font-size: 15px; }
.atlas-dica .onde { display: block; color: var(--cinza); margin-bottom: 6px; }
.atlas-dica .linha { display: block; }
.atlas-dica .val { font-size: 17px; font-variant-numeric: tabular-nums; }
.atlas-dica small { display: block; color: var(--cinza); margin-top: 2px; }
.atlas-dica .sem { display: block; color: var(--cinza); }
.atlas-aviso { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(20, 23, 28, .8); color: var(--branco); padding: 9px 14px; border-radius: var(--raio); font: 14px var(--sans); pointer-events: none; opacity: 0; transition: opacity .2s; }
.atlas-aviso.on { opacity: 1; }
.atlas-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atlas-chave span.c0 { --k: #E1EEEE; }
.atlas-chave span.c1 { --k: #A9D2D6; }
.atlas-chave span.c2 { --k: #5FB0BD; }
.atlas-chave span.c3 { --k: #2A7488; }
.atlas-chave span.c4 { --k: #0F5257; }
.atlas.pronto .atlas-chave span[data-c] { cursor: pointer; border-radius: 4px; padding: 2px 4px; margin: -2px -4px; }
.atlas.pronto .atlas-chave span[data-c]:hover, .atlas-chave span.on { background: var(--nevoa); }
.atlas-chave span.on { font-weight: 700; }
.atlas.pronto .atlas-top li[data-k] { display: block; padding: 0; }
.atlas-top button.atlas-ir { display: grid; grid-template-columns: 1fr auto; gap: 12px; width: 100%; padding: 11px 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.atlas-top button.atlas-ir:hover { background: var(--nevoa); }
.atlas-top button.atlas-ir:focus-visible { outline: 2px solid var(--petroleo-luz); outline-offset: 2px; }
@media (max-width: 600px) {
  .atlas-busca { flex-basis: 100%; order: 3; }
  .atlas-svg { max-height: 460px; }
}
@media (prefers-reduced-motion: reduce) { .atlas-svg path.area, .atlas-aviso { transition: none; } }
