/* =====================================================================
   Portal de Transporte Municipal de Palmares — estilos
   Identidade: verde #008037 · azul #124D91 · amarelo #FFC107
   ===================================================================== */

:root {
    --ptm-verde: #008037;
    --ptm-verde-escuro: #006a2e;
    --ptm-azul: #124D91;
    --ptm-azul-escuro: #0d3a6e;
    --ptm-amarelo: #FFC107;
    --ptm-cinza: #F4F6F9;
    --ptm-texto: #1f2933;
    --ptm-raio: .75rem;
    --ptm-sombra: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --ptm-sombra-hover: 0 8px 24px rgba(16, 24, 40, .12);
    --sidebar-largura: 260px;
    --sidebar-recolhida: 72px;

    --bs-primary: var(--ptm-azul);
    --bs-primary-rgb: 18, 77, 145;
    --bs-success: var(--ptm-verde);
    --bs-success-rgb: 0, 128, 55;
    --bs-link-color: var(--ptm-azul);
    --bs-link-color-rgb: 18, 77, 145;
    --bs-link-hover-color: var(--ptm-azul-escuro);
    --bs-body-color: var(--ptm-texto);
    --bs-border-radius: .5rem;
}

/* Escala de fonte controlada pela barra de acessibilidade */
html { font-size: 16px; }
html.fonte-1 { font-size: 17.6px; }
html.fonte-2 { font-size: 19.2px; }
html.fonte-3 { font-size: 21px; }
html.fonte--1 { font-size: 14.4px; }

body { background: var(--ptm-cinza); color: var(--ptm-texto); }

/* Ícone de moto (o Bootstrap Icons não tem moto, só patinete): usa a mesma cor e tamanho dos outros ícones */
.bi-moto::before {
    content: "" !important; display: inline-block; width: 1.4em; height: 1em; vertical-align: -.125em;
    background-color: currentColor;
    -webkit-mask: url("../img/icone-moto.svg") no-repeat center / contain;
    mask: url("../img/icone-moto.svg") no-repeat center / contain;
}
/* Ícone "Cadastro de transportador": capacete + volante (mesmo método do ícone de moto) */
.bi-capacete-direcao::before {
    content: "" !important; display: inline-block; width: 1.6em; height: 1em; vertical-align: -.125em;
    background-color: currentColor;
    -webkit-mask: url("../img/icone-capacete-direcao.svg") no-repeat center / contain;
    mask: url("../img/icone-capacete-direcao.svg") no-repeat center / contain;
}

.btn-primary {
    --bs-btn-bg: var(--ptm-azul); --bs-btn-border-color: var(--ptm-azul);
    --bs-btn-hover-bg: var(--ptm-azul-escuro); --bs-btn-hover-border-color: var(--ptm-azul-escuro);
    --bs-btn-active-bg: var(--ptm-azul-escuro); --bs-btn-disabled-bg: var(--ptm-azul); --bs-btn-disabled-border-color: var(--ptm-azul);
}
.btn-success {
    --bs-btn-bg: var(--ptm-verde); --bs-btn-border-color: var(--ptm-verde);
    --bs-btn-hover-bg: var(--ptm-verde-escuro); --bs-btn-hover-border-color: var(--ptm-verde-escuro);
}
.btn-outline-primary {
    --bs-btn-color: var(--ptm-azul); --bs-btn-border-color: var(--ptm-azul);
    --bs-btn-hover-bg: var(--ptm-azul); --bs-btn-hover-border-color: var(--ptm-azul);
    --bs-btn-active-bg: var(--ptm-azul);
}
.text-bg-primary { background-color: var(--ptm-azul) !important; }
.text-bg-success { background-color: var(--ptm-verde) !important; }
.page-item.active .page-link { background: var(--ptm-azul); border-color: var(--ptm-azul); }
.page-link { color: var(--ptm-azul); }
.form-check-input:checked { background-color: var(--ptm-verde); border-color: var(--ptm-verde); }

.card { border: 0; border-radius: var(--ptm-raio); box-shadow: var(--ptm-sombra); }
.card-header { border-bottom: 1px solid #eef0f4; border-top-left-radius: var(--ptm-raio) !important; border-top-right-radius: var(--ptm-raio) !important; }
.table > :not(caption) > * > * { padding-top: .65rem; padding-bottom: .65rem; }
.min-w-0 { min-width: 0; }

/* Foco visível para navegação por teclado */
:focus-visible { outline: 3px solid var(--ptm-amarelo) !important; outline-offset: 2px; }
#conteudo:focus { outline: none; }

/* Barra de acessibilidade ------------------------------------------------ */
.barra-acessibilidade { background: var(--ptm-azul-escuro); color: #fff; padding: .25rem 0; }
.barra-acessibilidade a { color: #fff; text-decoration: none; }
.barra-acessibilidade a:hover { text-decoration: underline; }
/* Celular: a barra sai da tela, mas continua no código para leitores de tela e reaparece
   quando recebe o foco pelo teclado (atalhos de acessibilidade exigidos pelo eMAG). */
@media (max-width: 767.98px) {
    .barra-acessibilidade:not(:focus-within) {
        position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
        margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important; border: 0 !important;
    }
}
.btn-acess { color: #fff; border: 1px solid rgba(255,255,255,.35); padding: .1rem .5rem; line-height: 1.4; }
.btn-acess:hover, .btn-acess[aria-pressed="true"] { background: rgba(255,255,255,.15); color: #fff; }

/* Marca ------------------------------------------------------------------ */
.marca-logo { height: 48px; width: auto; }
.marca-icone {
    width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--ptm-verde), var(--ptm-azul)); color: #fff; font-size: 1.5rem;
    box-shadow: inset 0 -3px 0 var(--ptm-amarelo);
}
.marca-orgao { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }
.marca-nome { font-size: 1.05rem; }

/* Portal público --------------------------------------------------------- */
.cabecalho-portal { background: #fff; box-shadow: var(--ptm-sombra); position: relative; z-index: 10; }
.cabecalho-portal .marca { color: var(--ptm-azul-escuro); }
.menu-portal { background: var(--ptm-verde); padding-top: 0; padding-bottom: 0; }
.menu-portal .nav-link { color: rgba(255,255,255,.92); padding: .8rem .85rem !important; font-weight: 500; border-bottom: 3px solid transparent; }
.menu-portal .nav-link:hover { color: #fff; background: rgba(0,0,0,.08); }
.menu-portal .nav-link.active { color: #fff; border-bottom-color: var(--ptm-amarelo); background: rgba(0,0,0,.12); }

.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(255,193,7,.25), transparent 40%),
        linear-gradient(120deg, var(--ptm-azul) 0%, var(--ptm-azul-escuro) 45%, var(--ptm-verde) 100%);
    color: #fff; padding: 4rem 0 6.5rem; position: relative; overflow: hidden;
}
.hero .lead { opacity: .92; }
.hero-selo { background: rgba(255,255,255,.15); font-weight: 500; padding: .5em .9em; }
.hero-busca .form-control:focus { box-shadow: none; }
.hero-ilustracao { position: relative; height: 260px; }
.hero-ilustracao .hi {
    position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 24px;
    background: rgba(255,255,255,.12); backdrop-filter: blur(2px); border: 1px solid rgba(255,255,255,.2);
}
.hi-1 { width: 150px; height: 150px; font-size: 4.5rem; top: 0; left: 18%; }
.hi-2 { width: 110px; height: 110px; font-size: 3.2rem; top: 40px; right: 4%; color: var(--ptm-amarelo); }
.hi-3 { width: 100px; height: 100px; font-size: 3rem; bottom: 0; left: 0; }
.hi-4 { width: 120px; height: 120px; font-size: 3.4rem; bottom: 10px; left: 45%; }

.categorias-home { margin-top: -4rem; position: relative; z-index: 2; }

/* "Onde você está?" (página inicial e /perto-de-mim) */
.card-local { border: 0; border-top: 4px solid var(--ptm-amarelo) !important; }
.icone-perto {
    flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(18, 77, 145, .1); color: var(--ptm-azul); font-size: 1.5rem;
}
.mapa-perto { height: 460px; width: 100%; z-index: 0; position: sticky; top: 1rem; }
.card-perto { border-left: 4px solid var(--cor-item) !important; }
.card-perto .codigo-linha { background: var(--cor-item); color: #fff; }
.card-perto .icone-item { color: var(--cor-item); }
@media (max-width: 991.98px) { .mapa-perto { height: 320px; position: relative; top: 0; } }
/* Quadros coloridos das categorias (cor definida no cadastro da categoria) */
.card-categoria {
    transition: transform .15s ease, box-shadow .15s ease; color: #fff;
    background: linear-gradient(160deg, color-mix(in srgb, var(--cor-categoria) 80%, white), var(--cor-categoria) 55%, color-mix(in srgb, var(--cor-categoria) 80%, black));
    box-shadow: 0 6px 16px color-mix(in srgb, var(--cor-categoria) 35%, transparent);
}
.card-categoria:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--cor-categoria) 45%, transparent); }
.card-categoria .card-body { padding: 1.5rem 1rem; }
.icone-categoria { display: block; font-size: 2.6rem; line-height: 1; margin-bottom: .6rem; color: #fff; }
.nome-categoria { font-size: 1.15rem; font-weight: 700; margin-bottom: .15rem; color: #fff; }
.sub-categoria { font-size: .85rem; opacity: .92; }
.titulo-secao { position: relative; padding-left: .85rem; }
.titulo-secao::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 2px; background: var(--ptm-verde); }

.card-servico { color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
.card-servico .card-body { display: flex; gap: 1rem; }
.card-servico:hover { box-shadow: var(--ptm-sombra-hover); transform: translateY(-2px); }
.icone-servico {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0,128,55,.09); color: var(--ptm-verde); font-size: 1.4rem;
}
.icone-servico:has(.contador-servico) { gap: .3rem; }
@media (max-width: 767.98px) {
    /* Carro + moto + número cabem no quadro do celular */
    .card-servico .icone-servico:has(.contador-servico) { font-size: 1.55rem; flex-wrap: wrap; justify-content: center; gap: .15rem .3rem; }
}
.contador-servico {
    font-size: 1rem; font-weight: 800; line-height: 1; color: #fff; background: var(--ptm-verde);
    border-radius: 999px; padding: .2rem .5rem; box-shadow: 0 2px 6px rgba(0,128,55,.3);
}
@media (min-width: 768px) {
    .icone-servico:has(.contador-servico) { width: auto; flex-basis: auto; padding: 0 .5rem; }
    .contador-servico { font-size: .85rem; }
}
.card-noticia { border-left: 4px solid var(--ptm-amarelo) !important; }

.rodape-portal { background: var(--ptm-azul-escuro); color: #fff; }
.rodape-portal .marca { color: #fff; }
.rodape-portal a { color: #fff; opacity: .85; text-decoration: none; }
.rodape-portal a:hover { opacity: 1; text-decoration: underline; }
.rodape-faixa { background: rgba(0,0,0,.2); }
.texto-legivel { max-width: 860px; line-height: 1.7; }
.erro-icone { width: 96px; height: 96px; border-radius: 50%; background: rgba(18,77,145,.08); color: var(--ptm-azul); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }

/* Consulta pública de linhas ------------------------------------------------ */
.card-linha { transition: box-shadow .15s ease, transform .15s ease; }
.card-linha:hover { box-shadow: var(--ptm-sombra-hover); transform: translateY(-2px); }
.codigo-linha { display: inline-block; background: var(--cor-categoria, var(--ptm-azul)); color: #fff; font-weight: 700; border-radius: .4rem; padding: .15rem .55rem; letter-spacing: .02em; }
.card-linha .codigo-linha {
    background: linear-gradient(180deg, #1a62b5, var(--ptm-azul)); min-width: 3.4rem; text-align: center; padding: .45rem .6rem; font-size: 1.05rem;
    box-shadow: 0 2px 6px rgba(18,77,145,.3); flex: 0 0 auto;
}
.titulo-linha { font-weight: 700; color: var(--ptm-texto); }
.titulo-linha .seta-dupla { font-weight: 400; color: #64748b; }
/* Código da linha com o ícone do tipo (ônibus/van) em cima */
.codigo-com-icone { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem; line-height: 1.1; }
.codigo-com-icone .bi { font-size: 1.35em; }
/* Linhas de vans: código em marrom (lista e página da linha) */
.codigo-linha.codigo-vans { background: linear-gradient(180deg, #8d5a32, #6b3f1f); box-shadow: 0 2px 6px rgba(107,63,31,.35); }
.info-linha li { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; color: #334155; }
.info-linha .bi { color: var(--ptm-verde); }
.info-linha .bi-currency-dollar {
    background: var(--ptm-verde); color: #fff; border-radius: 50%; width: 1.15em; height: 1.15em; font-size: .75rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.seta-linha { color: #64748b; font-size: 1.1rem; }
.abas-categorias { gap: .5rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.abas-categorias::-webkit-scrollbar { display: none; }
.abas-categorias .nav-link { white-space: nowrap; background: #e9edf2; color: #334155; border-radius: .6rem; padding: .5rem 1rem; font-weight: 500; }
.abas-categorias .nav-link:hover { background: #dde3ea; }
.abas-categorias .nav-link.active { background: var(--ptm-verde); color: #fff; box-shadow: 0 3px 8px rgba(0,128,55,.3); }
.abas-categorias .contagem { font-size: .8em; opacity: .75; }
.btn-mapa-linhas { border-radius: .8rem; padding-top: .85rem; padding-bottom: .85rem; box-shadow: 0 6px 14px rgba(0,128,55,.3); }
.icone-qr { width: 34px; height: 34px; border-radius: 8px; background: var(--ptm-azul); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.card-consulta-veiculo .h6 { color: var(--ptm-azul-escuro); font-weight: 700; }

/* Táxis e mototáxis */
.icone-profissional {
    flex: 0 0 auto; width: 3.2rem; height: 3.2rem; border-radius: .7rem; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #fff; background: var(--cor-categoria, var(--ptm-azul)); box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.placa {
    display: inline-block; font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .06em;
    border: 1px solid #94a3b8; border-top: 4px solid #1d4ed8; border-radius: .3rem; padding: 0 .4rem; background: #fff; color: #111;
}
.foto-veiculo { display: block; overflow: hidden; border-top-left-radius: var(--ptm-raio); border-top-right-radius: var(--ptm-raio); background: #e9edf2; }
.foto-veiculo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .2s ease; }
.foto-veiculo:hover img { transform: scale(1.03); }
.foto-profissional {
    width: 3.6rem; height: 3.6rem; border-radius: 50%; object-fit: cover; display: block;
    border: 3px solid var(--cor-categoria, var(--ptm-azul)); box-shadow: 0 2px 6px rgba(0,0,0,.18); background: #e9edf2;
}
.lista-pontos li + li { border-top: 1px solid #eef0f4; margin-top: .6rem; padding-top: .6rem; }
.card-dica { background: #f0f9f3; }

/* Autocadastro de transportador */
.form-cadastro legend.card-header { width: 100%; float: none; display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; font-weight: 600; }
.passo {
    width: 1.7rem; height: 1.7rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    background: var(--ptm-verde); color: #fff; font-size: .85rem; font-weight: 700;
}
.opcao-categoria {
    display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .9rem .5rem; border: 2px solid #dde3ea;
    border-radius: .8rem; background: #fff; color: var(--ptm-texto); font-weight: 600;
}
.opcao-categoria .bi { font-size: 2rem; color: var(--cor-categoria); }
.opcao-categoria:hover { border-color: var(--cor-categoria); }
.btn-check:checked + .opcao-categoria { border-color: var(--cor-categoria); background: color-mix(in srgb, var(--cor-categoria) 10%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cor-categoria) 25%, transparent); }
.opcao-empresa { text-decoration: none; justify-content: center; }
.opcao-empresa small { font-size: .72rem; color: #475569; line-height: 1.2; }
.btn-check:focus-visible + .opcao-categoria { outline: 3px solid var(--ptm-amarelo); outline-offset: 2px; }
.campo-isca { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.protocolo-destaque { background: #f0f9f3; border: 2px dashed var(--ptm-verde); border-radius: .8rem; padding: 1rem; }
.protocolo-numero { font-size: 1.9rem; font-weight: 800; letter-spacing: .05em; color: var(--ptm-verde-escuro); font-family: ui-monospace, Consolas, monospace; }
/* Quadros das 4 fotos do veículo no cadastro */
.foto-veiculo-campo { display: block; cursor: pointer; margin: 0; }
.foto-veiculo-previa {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; aspect-ratio: 4 / 3;
    border: 2px dashed #b8c4d0; border-radius: .7rem; background: #f8fafc; color: #64748b; overflow: hidden; transition: border-color .15s;
}
.foto-veiculo-previa .bi { font-size: 1.8rem; color: var(--ptm-verde); }
.foto-veiculo-previa img { width: 100%; height: 100%; object-fit: cover; }
.foto-veiculo-campo:hover .foto-veiculo-previa { border-color: var(--ptm-verde); }
.foto-veiculo-campo.com-foto .foto-veiculo-previa { border-style: solid; border-color: var(--ptm-verde); }
.foto-veiculo-campo.com-erro .foto-veiculo-previa { border-color: #dc3545; background: #fff5f5; }
.foto-veiculo-rotulo { display: block; text-align: center; font-size: .85rem; font-weight: 600; margin-top: .3rem; }
.foto-veiculo-campo:has(input:focus-visible) .foto-veiculo-previa { outline: 3px solid var(--ptm-amarelo); outline-offset: 2px; }
.doc-miniatura { max-width: 100%; max-height: 180px; border-radius: .4rem; border: 1px solid #dde3ea; object-fit: contain; background: #f4f6f9; }
.doc-miniatura-link { position: relative; display: inline-block !important; cursor: zoom-in; }
.doc-miniatura-link:hover .doc-miniatura { filter: brightness(.85); }
.doc-miniatura-lupa {
    position: absolute; right: .4rem; bottom: .4rem; width: 2rem; height: 2rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55); color: #fff; pointer-events: none;
}

/* Fotos (ou iniciais) de transportadores: tabela do ponto e lista de seleção */
.col-avatar { width: 3rem; }
.avatar-transportador, .select2-avatar {
    width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; flex: none; background: #e9eef5;
}
.avatar-iniciais {
    display: inline-flex; align-items: center; justify-content: center;
    background: #e3ecf7; color: var(--ptm-azul, #124D91); font-weight: 700; font-size: .8rem; line-height: 1;
}
.select2-avatar-sm { width: 1.4rem; height: 1.4rem; font-size: .6rem; }
.select2-com-foto { display: inline-flex; align-items: center; gap: .5rem; vertical-align: middle; }
.select2-results__option--highlighted .avatar-iniciais { background: #fff; }

/* Resumo em modal nas listagens do painel */
.link-resumo { cursor: zoom-in; }
.link-resumo:hover { text-decoration: underline !important; }
.resumo-foto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; border: 1px solid #dde3ea; background: #f4f6f9; }
.resumo-sem-foto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; color: #8a96a3; }
.resumo-sem-foto .bi { font-size: 2.5rem; line-height: 1; }
.resumo-grupo { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ptm-azul, #124D91);
    border-bottom: 1px solid #e3e8ee; padding-bottom: .25rem; margin: .25rem 0 .5rem; }

/* Seleção em lote (autocadastros) */
.col-selecao { width: 2.5rem; }
.lote-lista { max-height: 14rem; overflow-y: auto; padding-left: 1.1rem; }

/* Modal de visualização ampliada de documentos e fotos */
.doc-modal-corpo { position: relative; background: #1f2328; }
.doc-modal-palco {
    height: calc(100vh - 11rem); min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
@media (max-width: 991.98px) { .doc-modal-palco { height: calc(100dvh - 7.5rem); } }
.doc-modal-palco-rolavel { overflow: auto; display: block; text-align: center; }
.doc-modal-palco-rolavel .doc-modal-img { margin: 1rem auto; }
.doc-modal-img { display: block; max-width: none; transition: transform .2s ease; user-select: none; }
.doc-modal-img-ajustada { max-width: 100%; max-height: 100%; object-fit: contain; }
.doc-modal-pdf { width: 100%; height: 100%; border: 0; background: #fff; }
.doc-modal-nav {
    position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; border-radius: 50%;
    background: rgba(255, 255, 255, .85); color: #1f2328; font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.doc-modal-nav:hover, .doc-modal-nav:focus-visible { background: #fff; color: #000; }
.doc-modal-anterior { left: .75rem; }
.doc-modal-proximo { right: .75rem; }

/* Botões "Pontos de parada" */
.btn-ponto {
    display: flex; align-items: center; gap: .5rem; height: 100%; padding: .6rem .75rem; text-align: left; line-height: 1.15;
    background: #fff; border: 1px solid #d7e3dc; border-radius: .7rem; color: var(--ptm-verde-escuro); font-weight: 600; font-size: .9rem;
    box-shadow: var(--ptm-sombra);
}
.btn-ponto > .bi, .btn-ponto .icone-duplo { font-size: 1.35rem; flex: 0 0 auto; }
.btn-ponto:hover { background: #f0f9f3; border-color: var(--ptm-verde); color: var(--ptm-verde-escuro); }
.btn-ponto.ativo { background: var(--ptm-verde); border-color: var(--ptm-verde); color: #fff; }
/* Ícone de ponto de embarque: dois veículos em fila (o de trás menor e mais claro) */
.icone-duplo { display: inline-flex; align-items: flex-end; flex: 0 0 auto; line-height: 1; }
.icone-duplo .bi:first-child { transform: scale(.78); transform-origin: bottom right; opacity: .6; }
.icone-duplo .bi + .bi { margin-left: -.18em; }
.icone-profissional-ponto { width: auto; min-width: 3.2rem; padding: 0 .5rem; font-size: 1.35rem; }
.btn-ponto-unico .icone-duplo { font-size: 1.55rem; }
.marcador-ponto {
    display: inline-flex; align-items: center; justify-content: center; padding: .2rem .4rem; border-radius: 999px;
    background: var(--cor-marcador, var(--ptm-azul)); color: #fff; font-size: 15px; border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.35); white-space: nowrap;
}
.btn-ponto-unico { padding: .75rem 1rem; font-size: 1rem; gap: .75rem; }
.btn-linhas-pontos { display: flex; align-items: center; text-align: left; padding: .75rem 1rem; border-radius: .7rem; font-weight: 600; box-shadow: 0 4px 12px rgba(18,77,145,.25); }
.btn-linhas-pontos .bi:first-child { font-size: 1.3rem; }
.btn-ponto-unico small { font-size: .78rem; }

/* Seletor Lista / Mapa dos pontos */
.seletor-ver { display: inline-flex; background: #e9edf2; border-radius: .7rem; padding: .2rem; gap: .2rem; }
.seletor-ver a {
    display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .9rem; border-radius: .55rem;
    color: #334155; text-decoration: none; font-weight: 600; font-size: .9rem;
}
.seletor-ver a:hover { background: #dde3ea; }
.seletor-ver a.ativo { background: var(--ptm-verde); color: #fff; box-shadow: 0 3px 8px rgba(0,128,55,.3); }
.mapa-pontos { height: 520px; width: 100%; z-index: 0; }
.btn-google-maps { background: #fff; color: #1a73e8; border: 1px solid #c6dafc; font-weight: 600; }
.btn-google-maps:hover { background: #e8f0fe; color: #174ea6; border-color: #1a73e8; }
@media (max-width: 767.98px) { .mapa-pontos { height: 60vh; min-height: 340px; } }
.codigo-linha-lg { font-size: 1.35rem; padding: .35rem .8rem; }
.grade-horarios { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; }
.grade-horarios .horario { border: 1px solid #dde3ea; border-radius: .5rem; padding: .4rem .5rem; text-align: center; display: flex; flex-direction: column; line-height: 1.2; }
.grade-horarios .horario strong { font-size: 1.05rem; }
.grade-horarios .horario.passou { opacity: .45; }
.grade-horarios .horario.proxima { border-color: var(--ptm-verde); background: rgba(0,128,55,.08); box-shadow: 0 0 0 2px rgba(0,128,55,.25); }
.mapa-linha-publica { height: 420px; width: 100%; z-index: 0; }
.titulo-sentido { padding-left: .5rem; border-left: 4px solid var(--ptm-azul); }
.titulo-sentido.sentido-volta { border-left-color: var(--ptm-verde); }
.titulo-sentido.sentido-circular { border-left-color: #6D28D9; }
.abas-sentido .nav-link { font-weight: 600; }
.abas-sentido .nav-link.active { border-bottom-color: transparent; }
.legenda-aba:empty { display: none; }
.cor-sentido { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .3rem; vertical-align: -1px; }
.legenda-mapa { background: #fff; padding: .35rem .6rem; border-radius: .4rem; box-shadow: 0 1px 4px rgba(0,0,0,.25); font-size: .8rem; display: flex; gap: .75rem; }
.legenda-mapa i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .3rem; vertical-align: -1px; }

/* Título do hero com destaque e ícone */
.hero-titulo-bloco { display: flex; align-items: center; gap: .9rem; }
.hero-destaque {
    display: inline-block; background: var(--ptm-amarelo); color: var(--ptm-azul-escuro); padding: 0 .4em; border-radius: .3em;
    transform: rotate(-1.5deg); box-shadow: 0 3px 0 rgba(0,0,0,.15); text-shadow: none;
}
.hero-icone {
    flex: 0 0 auto; width: 72px; height: 72px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--ptm-azul); color: #fff; font-size: 2.4rem; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

/* Barra de título das páginas internas (celular) */
.barra-pagina {
    display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; margin-bottom: 1rem; color: #fff;
    background: linear-gradient(100deg, var(--ptm-azul) 0%, var(--ptm-azul) 55%, var(--ptm-verde) 100%);
}
.barra-voltar { color: #fff; font-size: 1.5rem; line-height: 1; }
.barra-voltar:hover { color: var(--ptm-amarelo); }
.barra-titulo { font-size: 1.3rem; font-weight: 600; }

/* Botão do menu (celular e tablet) */
.btn-hamburguer { font-size: 2.1rem; line-height: 1; padding: 0 .3rem; color: var(--ptm-azul-escuro); border: 0; }
.btn-hamburguer:hover, .btn-hamburguer:focus { color: var(--ptm-verde); }

/* Barra de navegação inferior (celular) */
.nav-inferior {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: flex; justify-content: space-around; align-items: center; gap: .2rem;
    background: #fff; padding: .4rem .4rem calc(.4rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(16,24,40,.12);
    border-top-left-radius: 1rem; border-top-right-radius: 1rem;
}
.nav-inferior a {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .45rem .2rem; border-radius: .9rem;
    color: #334155; text-decoration: none; font-size: .75rem; font-weight: 500; white-space: nowrap;
}
.nav-inferior a .bi { font-size: 1.35rem; line-height: 1; }
.nav-inferior a.ativo { background: linear-gradient(180deg, #0a9442, var(--ptm-verde-escuro)); color: #fff; box-shadow: 0 4px 10px rgba(0,128,55,.35); }

@media (max-width: 991.98px) {
    /* O menu verde só aparece aberto pelo botão do cabeçalho */
    .menu-portal:not(:has(.show, .collapsing)) { display: none; }
    .menu-portal .navbar-collapse { padding-bottom: .5rem; }
}

@media (max-width: 767.98px) {
    body.portal { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
    .cabecalho-portal > .container-fluid { padding-top: .6rem !important; padding-bottom: .6rem !important; }
    .migalhas { display: none; }
    .rodape-portal { margin-top: 2rem !important; }

    /* Hero */
    .hero {
        padding: 1.5rem 0 4.25rem;
        background:
            radial-gradient(circle at 90% 8%, rgba(255,193,7,.22), transparent 35%),
            linear-gradient(155deg, var(--ptm-verde) 0%, #0a6b3a 45%, var(--ptm-azul) 100%);
    }
    .hero h1 { font-size: 1.8rem; line-height: 1.12; font-weight: 800 !important; text-shadow: 0 2px 4px rgba(0,0,0,.2); }
    .hero .lead { font-size: 1rem; margin-bottom: .75rem !important; }
    .hero .row { --bs-gutter-y: .5rem; }

    /* Busca de linha (acima das categorias) */
    .busca-linha-celular .input-group { border-radius: .7rem; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
    .busca-linha-celular .input-group-text, .busca-linha-celular .form-control { border: 0; }
    .busca-linha-celular .form-control { padding-top: .7rem; padding-bottom: .7rem; padding-left: 0; }
    .busca-linha-celular .form-control:focus { box-shadow: none; }

    /* Categorias: 4 por linha */
    .categorias-home { margin-top: -3rem; }
    .card-categoria { border-radius: .9rem; }
    .card-categoria .card-body { padding: .8rem .15rem .7rem; }
    .icone-categoria { font-size: 2rem; margin-bottom: .35rem; }
    .nome-categoria { font-size: .88rem; }
    .sub-categoria { font-size: .6rem; line-height: 1.2; }

    /* Serviços: 4 por linha, ícone em cima */
    .cabecalho-servicos { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); margin: 0 !important; }
    .card-servico { border: 1px solid #e6eaef; border-radius: .9rem; }
    .card-servico .card-body { flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: .8rem .2rem; }
    .card-servico .icone-servico { background: transparent; width: auto; height: auto; flex: 0 0 auto; font-size: 2.1rem; }
    .card-servico h3 { font-size: .76rem; font-weight: 600; line-height: 1.15; margin: 0 !important; }

    /* Linhas */
    .pagina-linhas .cabecalho-linhas { display: none; }
    .form-busca-linhas { box-shadow: none; background: transparent; }
    .form-busca-linhas > .card-body { padding: 0; }
    .form-busca-linhas .input-group { box-shadow: var(--ptm-sombra); border-radius: .6rem; }
    .form-busca-linhas .input-group .form-control { border-left: 0; }
    .card-linha { border: 1px solid #e6eaef; }
    .card-linha .card-body { padding: .9rem; }
    .card-linha .codigo-linha { min-width: 4.6rem; font-size: .95rem; }
}

/* Indicadores ----------------------------------------------------------- */
.card-indicador { border-left: 4px solid var(--cor, var(--ptm-azul)) !important; }
.card-indicador.cor-azul { --cor: var(--ptm-azul); }
.card-indicador.cor-verde { --cor: var(--ptm-verde); }
.card-indicador.cor-amarelo { --cor: #d39e00; }
.card-indicador.cor-vermelho { --cor: #dc3545; }
.card-indicador.cor-cinza { --cor: #64748b; }
/* Grade que acomoda de 3 a 7 cartões sem deixar um sozinho esticado */
.resumo-listagem { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: .5rem; margin-left: 0; margin-right: 0; }
.resumo-listagem > div { width: auto; max-width: none; padding: 0; margin: 0; }
.resumo-listagem .card-body { gap: .6rem !important; padding-left: .75rem; padding-right: .75rem; }
.resumo-listagem .indicador-icone { flex-basis: 36px; width: 36px; height: 36px; font-size: 1.1rem; }
.resumo-listagem .card-indicador { transition: box-shadow .15s ease, transform .15s ease; }
.resumo-listagem .card-indicador:hover { box-shadow: var(--ptm-sombra-hover); transform: translateY(-2px); }
.resumo-listagem .card-indicador.selecionado { box-shadow: 0 0 0 2px var(--cor), var(--ptm-sombra); background: color-mix(in srgb, var(--cor) 6%, white); }
.indicador-icone {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--cor); background: color-mix(in srgb, var(--cor) 12%, white);
}
.indicador-valor { font-size: 1.45rem; font-weight: 700; line-height: 1.1; }

/* Veículos por tipo (página inicial) */
.card-frota { border-top: 4px solid var(--cor-categoria) !important; transition: box-shadow .15s ease, transform .15s ease; }
.card-frota:hover { box-shadow: var(--ptm-sombra-hover); transform: translateY(-2px); }
.frota-icone {
    width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    color: #fff; background: var(--cor-categoria); font-size: 1.1rem;
}
.frota-barra { height: 6px; background: #e9edf2; }
.frota-barra .progress-bar { background: var(--ptm-verde); }
.frota-operacao { color: var(--ptm-verde-escuro); }
.frota-operacao .bi { font-size: .55rem; vertical-align: .15em; }

/* Página "Frota em operação" */
.resumo-frota { color: #fff; background: linear-gradient(120deg, var(--ptm-verde) 0%, #0a6b3a 50%, var(--ptm-azul) 100%); }
.resumo-numero { font-size: 3rem; font-weight: 800; line-height: 1; margin: .2rem 0; }
.resumo-numero-sm { font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
.barra-situacoes { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: #e9edf2; }
.barra-situacoes span { display: block; height: 100%; }
.lista-situacoes li { display: flex; align-items: center; padding: .15rem 0; }
.lista-situacoes .ponto-cor { margin-right: .5rem; }
.grafico-box { position: relative; height: 260px; }
.ponto-cor { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .5rem; }

/* Autenticação ------------------------------------------------------------ */
.tela-auth { background: linear-gradient(135deg, var(--ptm-azul) 0%, var(--ptm-verde) 100%); min-height: 100vh; }
.auth-wrapper { min-height: calc(100vh - 40px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 460px; overflow: hidden; }
.auth-topo { padding: 1.5rem; background: #fff; border-bottom: 4px solid var(--ptm-amarelo); }
.auth-topo .marca { color: var(--ptm-azul-escuro); text-align: left; }
.tela-auth .auth-wrapper > p, .tela-auth .auth-wrapper > p a { color: #fff !important; }
.codigo-otp { letter-spacing: .5em; font-family: var(--bs-font-monospace); font-weight: 600; }
.qrcode-box { padding: .75rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; min-width: 200px; min-height: 200px; }
.qrcode-box svg { width: 200px; height: 200px; display: block; }

/* Painel administrativo ---------------------------------------------------- */
.painel-wrapper { display: flex; min-height: calc(100vh - 34px); }
.sidebar {
    width: var(--sidebar-largura); flex: 0 0 var(--sidebar-largura); background: #fff; border-right: 1px solid #e7eaf0;
    display: flex; flex-direction: column; transition: width .2s ease, flex-basis .2s ease, transform .2s ease;
    position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 1040;
}
.sidebar-topo { padding: 1rem 1rem; border-bottom: 1px solid #eef0f4; }
.sidebar-topo .marca { color: var(--ptm-azul-escuro); }
.sidebar-grupo { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #8a94a6; padding: 1rem 1.25rem .35rem; font-weight: 600; }
.sidebar .nav-link {
    display: flex; align-items: center; gap: .75rem; color: #3e4c59; padding: .55rem 1.25rem; margin: 1px .5rem; border-radius: .5rem; font-size: .925rem;
}
.sidebar .nav-link i { font-size: 1.1rem; width: 1.25rem; text-align: center; }
.sidebar .nav-link:hover { background: var(--ptm-cinza); color: var(--ptm-azul); }
.sidebar .nav-link.active { background: rgba(0,128,55,.1); color: var(--ptm-verde); font-weight: 600; box-shadow: inset 3px 0 0 var(--ptm-verde); }
.sidebar .nav-link.disabled { color: #a0a9b8; }
.sidebar .badge { font-size: .65rem; font-weight: 500; }

body.sidebar-recolhida .sidebar { width: var(--sidebar-recolhida); flex-basis: var(--sidebar-recolhida); }
body.sidebar-recolhida .sidebar .rotulo,
body.sidebar-recolhida .sidebar .sidebar-grupo,
body.sidebar-recolhida .sidebar .marca-texto { display: none !important; }
body.sidebar-recolhida .sidebar .nav-link { justify-content: center; padding-left: 0; padding-right: 0; }

.painel-conteudo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
    background: #fff; border-bottom: 1px solid #e7eaf0; padding: .5rem 1.25rem; display: flex; align-items: center; gap: 1rem;
    position: sticky; top: 0; z-index: 1020;
}
.avatar {
    width: 36px; height: 36px; border-radius: 50%; background: var(--ptm-azul); color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: .85rem;
}
.painel-main { padding: 1.5rem; flex: 1; }
.painel-rodape { padding: 1rem 1.5rem; border-top: 1px solid #e7eaf0; background: #fff; }
.titulo-pagina { color: var(--ptm-azul-escuro); font-weight: 600; }
.tabela-permissoes th[scope="row"] { white-space: nowrap; }
.sidebar-backdrop { display: none; }

@media (max-width: 991.98px) {
    .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); box-shadow: var(--ptm-sombra-hover); }
    body.sidebar-aberta .sidebar { transform: translateX(0); }
    body.sidebar-aberta .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1030; }
    body.sidebar-recolhida .sidebar { width: var(--sidebar-largura); }
    body.sidebar-recolhida .sidebar .rotulo, body.sidebar-recolhida .sidebar .sidebar-grupo, body.sidebar-recolhida .sidebar .marca-texto { display: initial !important; }
    .painel-main { padding: 1rem; }
    .hero { padding: 2.5rem 0 5.5rem; }
}

/* Cadastros --------------------------------------------------------------- */
.col-marcar { width: 2.5rem; }
.col-marcar .form-check-input { width: 1.2em; height: 1.2em; cursor: pointer; }
[data-form-lote] tbody tr { cursor: pointer; }
.barra-lote { position: sticky; top: .5rem; z-index: 5; }
fieldset.card > legend.card-header { width: 100%; float: none; padding: .75rem 1rem; }
.mapa-seletor { height: 340px; width: 100%; z-index: 0; }
.foto-previa { width: 96px; height: 96px; object-fit: cover; }
.dados-registro dd { word-break: break-word; }
.historico .list-group-item { padding: .75rem 1rem; }
.select2-container--bootstrap-5 .select2-selection { min-height: calc(1.5em + .75rem + 2px); }
.is-invalid + .select2-container .select2-selection { border-color: var(--bs-form-invalid-border-color); }

/* Editor de trajeto -------------------------------------------------------- */
.mapa-trajeto { height: 460px; }
.vertice-trajeto { background: #fff; border: 3px solid var(--ptm-azul); border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.4); cursor: move; }
.vertice-trajeto.inicio { border-color: var(--ptm-verde); background: #d1fadf; }
.vertice-trajeto.fim { border-color: #dc3545; background: #fee4e2; }
.vertice-meio { background: var(--ptm-azul); border: 2px solid #fff; border-radius: 50%; opacity: .55; cursor: copy; }
.vertice-meio:hover { opacity: 1; }
.ajuda-trajeto li { margin-bottom: .1rem; }

/* Tela cheia dos mapas (Fullscreen API ou simulação por CSS) */
.controle-tela-cheia { display: flex !important; align-items: center; justify-content: center; font-size: 1rem; color: #333; }
.em-tela-cheia { background: #fff; }
.trajeto-editor.em-tela-cheia { display: flex; flex-direction: column; padding: .75rem; }
.trajeto-editor.em-tela-cheia .mapa-trajeto { flex: 1 1 auto; height: auto !important; min-height: 0; }
.trajeto-editor.em-tela-cheia .trajeto-barra { flex: 0 0 auto; }
.mapa-seletor.em-tela-cheia { height: 100% !important; width: 100% !important; border-radius: 0 !important; }
.pseudo-tela-cheia { position: fixed !important; inset: 0 !important; z-index: 2000 !important; width: 100vw !important; height: 100vh !important; margin: 0 !important; }
body.mapa-expandido { overflow: hidden; }

/* Operação, QR Codes e impressão ------------------------------------------ */
.mapa-gps { height: 560px; width: 100%; z-index: 0; }
.qrcode-box svg { max-width: 100%; height: auto; }
.card .qrcode-box { min-width: 160px; min-height: 160px; }
.card .qrcode-box svg { width: 160px; height: 160px; }
body.impressao { background: #fff; }
.barra-impressao { background: var(--ptm-cinza); border-bottom: 1px solid #e5e7eb; }
.documento-oficial { max-width: 820px; border: 1px solid #d0d5dd; border-radius: .5rem; padding: 2rem; }
.documento-oficial .qrcode-box svg { width: 170px; height: 170px; }
.folha-qr { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.etiqueta-qr { border: 1px dashed #98a2b3; border-radius: .5rem; padding: .75rem; text-align: center; break-inside: avoid; }
.etiqueta-qr .qrcode-box { border: 0; min-width: 0; min-height: 0; padding: 0; }
.etiqueta-qr .qrcode-box svg { width: 150px; height: 150px; }
@media print {
    .documento-oficial { border: 0; padding: 0; }
    .folha-qr { grid-template-columns: repeat(3, 1fr); }
}

/* Manual de ajuda ----------------------------------------------------------- */
.manual-ajuda .ajuda-secao { scroll-margin-top: 80px; }
.manual-ajuda .ajuda-secao h3.h6 { margin-top: 1rem; color: var(--ptm-azul-escuro); }
.manual-ajuda .ajuda-secao h3.h6:first-child { margin-top: 0; }
.manual-ajuda ol.passos li, .manual-ajuda ul li { margin-bottom: .35rem; }
.manual-ajuda .caminho-menu { background: rgba(0,128,55,.08); color: var(--ptm-verde-escuro); padding: .05rem .35rem; border-radius: .25rem; font-weight: 600; white-space: nowrap; }
.manual-ajuda #ajuda-indice a { color: var(--ptm-texto); border-left: 3px solid transparent; }
.manual-ajuda #ajuda-indice a:hover { background: var(--ptm-cinza); }
.manual-ajuda #ajuda-indice a.active { border-left-color: var(--ptm-verde); background: rgba(0,128,55,.06); font-weight: 600; }
.manual-ajuda .faq dt { margin-top: .75rem; }
.manual-ajuda .faq dd { margin-bottom: 0; color: #475569; }
@media print { .manual-ajuda .accordion-collapse { display: block !important; } .manual-ajuda .col-lg-9 { width: 100%; } }

/* Alto contraste ---------------------------------------------------------- */
html.alto-contraste body,
html.alto-contraste .card, html.alto-contraste .card-header, html.alto-contraste .sidebar, html.alto-contraste .topbar,
html.alto-contraste .cabecalho-portal, html.alto-contraste .painel-rodape, html.alto-contraste .auth-topo,
html.alto-contraste .table, html.alto-contraste .table > :not(caption) > * > *, html.alto-contraste .form-control,
html.alto-contraste .form-select, html.alto-contraste .input-group-text, html.alto-contraste .dropdown-menu,
html.alto-contraste .modal-content, html.alto-contraste .list-group-item, html.alto-contraste .breadcrumb {
    background: #000 !important; color: #fff !important; border-color: #fff !important;
}
html.alto-contraste .hero, html.alto-contraste .menu-portal, html.alto-contraste .rodape-portal,
html.alto-contraste .card-categoria, html.alto-contraste .barra-pagina, html.alto-contraste .nav-inferior,
html.alto-contraste .barra-acessibilidade, html.alto-contraste .tela-auth { background: #000 !important; }
html.alto-contraste a, html.alto-contraste .nav-link, html.alto-contraste .btn-link { color: #ff0 !important; }
html.alto-contraste .text-muted, html.alto-contraste .form-text, html.alto-contraste .small { color: #fff !important; }
html.alto-contraste .btn { background: #000 !important; color: #ff0 !important; border: 2px solid #ff0 !important; }
html.alto-contraste .badge, html.alto-contraste .alert { background: #000 !important; color: #fff !important; border: 1px solid #fff !important; }
html.alto-contraste .icone-categoria, html.alto-contraste .icone-servico, html.alto-contraste .indicador-icone,
html.alto-contraste .marca-icone, html.alto-contraste .erro-icone, html.alto-contraste .hi { background: #000 !important; color: #ff0 !important; border: 1px solid #ff0; }
html.alto-contraste img { filter: grayscale(1) contrast(1.2); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
    .sidebar, .topbar, .barra-acessibilidade, .menu-portal, .rodape-portal, .painel-rodape, .btn, form[role="search"] { display: none !important; }
    body, .card { background: #fff !important; box-shadow: none !important; }
    .painel-main { padding: 0; }
}
