.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--azul);
  color: var(--branco);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

.botao:active {
  transform: scale(0.97);
}

.botao-bloco {
  width: 100%;
}

.botao-grande {
  min-height: 54px;
  font-size: 16px;
}

.botao-laranja {
  background: var(--laranja);
  box-shadow: 0 8px 18px rgba(224, 122, 18, 0.28);
}

.botao-laranja:hover {
  background: var(--laranja-escuro);
}

.botao-claro {
  background: var(--branco);
  color: var(--azul);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(4, 30, 62, 0.25);
}

.botao-contorno {
  background: var(--branco);
  color: var(--azul);
  border: 1.5px solid var(--borda);
}

.botao-contorno:hover {
  border-color: var(--azul);
}

.botao-sutil {
  min-height: 44px;
  padding: 10px 16px;
  background: var(--fundo);
  color: var(--azul);
  font-size: 14px;
  font-weight: 700;
}

.botao-sutil:hover {
  background: var(--azul-claro);
}

.botao-icone {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.botao-icone:active {
  transform: scale(0.94);
}

.botao-icone-claro {
  background: rgba(255, 255, 255, 0.16);
  color: var(--branco);
}

.botao-icone-claro:hover {
  background: rgba(255, 255, 255, 0.26);
}

.ponto-notificacao {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--azul);
  border-radius: 50%;
  background: var(--laranja-claro);
}

.cartao {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-c);
  background: var(--branco);
  box-shadow: var(--sombra-cartao);
}

.cartao-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--borda);
  border-radius: 999px;
  background: var(--branco);
  color: var(--texto-secundario);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.chip-selecionavel:hover {
  border-color: var(--azul);
  color: var(--azul);
}

.chip-selecionavel:active {
  transform: scale(0.96);
}

.chip-selecionavel.ativo {
  border-color: var(--azul);
  background: var(--azul);
  color: var(--branco);
}

.chip-perigo:hover {
  border-color: var(--alarme);
  color: var(--alarme);
}

.chip-perigo.ativo {
  border-color: var(--alarme);
  background: var(--alarme);
  color: var(--branco);
}

.chip-pontos {
  min-height: 32px;
  padding: 4px 12px;
  border-color: var(--azul-claro);
  background: var(--azul-claro);
  color: var(--azul);
  font-size: 12.5px;
}

.grupo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.selo-aberta {
  background: var(--alto-fundo);
  color: var(--alto);
}

.selo-verificacao {
  background: var(--medio-fundo);
  color: var(--medio);
}

.selo-resolvida {
  background: var(--baixo-fundo);
  color: var(--baixo);
}

.selo-offline {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fundo);
  color: var(--texto-secundario);
  font-size: 11.5px;
  font-weight: 700;
}

.bolinha {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.bolinha-aberta {
  background: var(--alto);
}

.bolinha-verificacao {
  background: var(--medio);
}

.bolinha-resolvida {
  background: var(--baixo);
}

.rotulo {
  font-size: 13px;
  font-weight: 700;
  color: var(--texto-secundario);
}

.campo-texto {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--borda);
  border-radius: var(--raio-p);
  background: var(--fundo);
  font-size: 15px;
  font-weight: 500;
  resize: vertical;
}

.campo-texto:focus {
  border-color: var(--azul);
  background: var(--branco);
  outline: none;
}

.campo-arquivo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.erro-campo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--alarme);
}

.campo-invalido {
  border-color: var(--alarme);
}

.barra {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--azul-claro);
}

.barra-preenchida {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--azul), var(--laranja-claro));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.esqueleto {
  border-radius: 12px;
  background: linear-gradient(100deg, var(--fundo) 20%, var(--azul-claro) 40%, var(--fundo) 60%);
  background-size: 300% 100%;
  animation: brilho 1.4s ease-in-out infinite;
}

.esqueleto-anel {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  flex: none;
}

.esqueleto-linha {
  height: 13px;
}

.esqueleto-textos {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

@keyframes brilho {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.barra-navegacao {
  position: sticky;
  bottom: 0;
  z-index: 600;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: var(--altura-nav);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--borda);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.item-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  border-radius: 14px;
  color: var(--texto-secundario);
  font-size: 11px;
  font-weight: 700;
  transition: color 0.16s ease, transform 0.14s ease;
}

.item-nav:active {
  transform: scale(0.94);
}

.item-nav .icone {
  width: 22px;
  height: 22px;
}

.item-nav.ativo {
  color: var(--azul);
}

.item-nav-central {
  align-self: center;
}

.botao-central {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-top: -26px;
  border: 4px solid var(--branco);
  border-radius: 50%;
  background: var(--laranja);
  color: var(--branco);
  box-shadow: 0 10px 20px rgba(224, 122, 18, 0.38);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.item-nav-central:hover .botao-central {
  background: var(--laranja-escuro);
}

.botao-central .icone {
  width: 28px;
  height: 28px;
  stroke-width: 2.6;
}

.area-toast {
  position: fixed;
  bottom: calc(var(--altura-nav) + 16px);
  left: 50%;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(360px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--raio-p);
  background: var(--texto);
  color: var(--branco);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--sombra-elevada);
  animation: sobe-toast 0.26s ease;
}

.toast-sucesso {
  background: var(--baixo);
}

.toast-erro {
  background: var(--alarme);
}

.toast-saindo {
  animation: sai-toast 0.26s ease forwards;
}

@keyframes sobe-toast {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sai-toast {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

.leaflet-container {
  font-family: var(--fonte-texto);
}

.leaflet-container .leaflet-control-attribution {
  font-size: 9.5px;
}

.marcador-foco {
  display: block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--branco);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(15, 27, 45, 0.4);
}

.marcador-aberta {
  background: var(--alto);
}

.marcador-verificacao {
  background: var(--medio);
}

.marcador-resolvida {
  background: var(--baixo);
}

.marcador-novo {
  background: var(--azul);
  animation: pulsa-marcador 1.6s ease-out infinite;
}

@keyframes pulsa-marcador {
  0% {
    box-shadow: 0 0 0 0 rgba(11, 79, 156, 0.45);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(11, 79, 156, 0);
  }
}
