/* Cores das placas de rua: azul esmaltado + vermelho do painel publicitário */
:root { --placa-azul: #1d4f9c; --placa-azul-esc: #143a75; --placa-vermelho: #d6262b; }
.nav-placa { background: var(--placa-azul); }
.brand-tag { background: var(--placa-vermelho); padding: .05rem .4rem; border-radius: .2rem; font-size: .8em; }
.btn-placa { background: var(--placa-azul); color: #fff; border: 0; }
.btn-placa:hover, .btn-placa:focus-visible { background: var(--placa-azul-esc); color: #fff; }
.mapa { height: calc(100vh - 190px); min-height: 420px; }
.leaflet-popup-content { margin: .75rem; }
.popup-placa img { max-height: 140px; width: 100%; object-fit: cover; }
.legenda-calor { display: flex; align-items: center; gap: .4rem; color: #6c757d; }
.legenda-calor i { width: 120px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, blue, cyan, lime, yellow, red); }
.pix-qr { width: 220px; max-width: 100%; }
/* Stepper do workflow */
.stepper { display: flex; list-style: none; padding: 0; margin: 0; }
.stepper li { flex: 1; text-align: center; position: relative; font-size: .78rem; color: #6c757d; }
.stepper li::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: #dee2e6; z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.feito::before, .stepper li.atual::before { background: var(--placa-azul); }
.stepper .ponto { position: relative; z-index: 1; display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: #dee2e6; font-weight: 600; }
.stepper li.feito .ponto { background: var(--placa-azul); color: #fff; }
.stepper li.atual .ponto { background: var(--placa-vermelho); color: #fff; box-shadow: 0 0 0 4px rgba(214,38,43,.2); }
.stepper li.atual { color: #212529; font-weight: 600; }
.stepper .rotulo { display: block; margin-top: .3rem; }
@media (max-width: 575px) { .stepper .rotulo { font-size: .65rem; } }
/* Pins por tipo de mídia */
.pin-midia { background: none; border: 0; }
.pin-midia span { display: flex; width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.pin-midia i { transform: rotate(45deg); color: #fff; font-size: 15px; }
/* Área pública */
.hero { background: var(--placa-azul); color: #fff; }
.hero h1 { font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.hero .faixa { display: inline-block; background: var(--placa-vermelho); padding: .1rem .6rem; border-radius: .25rem; }
.mapa-home { height: 420px; }
.passo-num { width: 40px; height: 40px; border-radius: 50%; background: var(--placa-vermelho); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
/* Filtro por tipo de mídia */
.filtro-tipo { border: 1px solid var(--cor); color: var(--cor); background: #fff; }
.filtro-tipo.ativo { background: var(--cor); color: #fff; }
.filtro-tipo .badge { background: rgba(0,0,0,.15); color: inherit; }
.filtro-tipo:disabled { opacity: .45; }
.brand-logo { max-height: 40px; max-width: 200px; width: auto; background: #fff; border-radius: .3rem; padding: 2px 6px; vertical-align: middle; }
/* Tela cheia dos mapas */
.btn-tela-cheia { display: flex !important; align-items: center; justify-content: center; font-size: 15px; color: #333; }
.mapa-wrap:fullscreen, .mapa-wrap.mapa-cheio { background: #fff; padding: .5rem; display: flex; flex-direction: column; }
.mapa-wrap:fullscreen .mapa, .mapa-wrap.mapa-cheio .mapa { flex: 1; height: auto; min-height: 0; }
.mapa-cheio { position: fixed !important; inset: 0; z-index: 1050; width: 100% !important; height: 100% !important; margin: 0 !important; border-radius: 0 !important; }
.mapa-home:fullscreen { border: 0 !important; border-radius: 0 !important; }
.tag-patrocinado { position: absolute; top: 4px; left: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 3px; }
