/* ============================================================
   Pasterin — Design System
   Paleta extraída da logo: azul royal + laranja artesanal
   ============================================================ */

:root {
    --azul: #2b319e;
    --azul-hover: #232a8a;
    --azul-escuro: #1b2050;
    --azul-claro: #eef0fb;
    --azul-borda: #d7dbf5;
    --laranja: #f0a24b;
    --laranja-hover: #e2903a;
    --laranja-claro: #fdf3e5;

    --fundo: #f4f5fa;
    --branco: #ffffff;
    --texto: #232946;
    --texto-suave: #6b7191;
    --texto-fraco: #9aa0bd;
    --borda: #e6e8f2;

    --verde: #1f9d5b;
    --verde-claro: #e6f7ee;
    --vermelho: #d64545;
    --vermelho-claro: #fdecec;
    --ambar: #b97d14;
    --ambar-claro: #fdf3dd;
    --ciano: #0e7a8d;
    --ciano-claro: #e3f5f8;
    --roxo: #7b5ea7;
    --roxo-claro: #f0ebf8;

    --sombra: 0 4px 24px rgba(27, 32, 80, .07);
    --sombra-alta: 0 16px 48px rgba(27, 32, 80, .16);
    --raio: 14px;
    --raio-menor: 10px;
    --sidebar-largura: 250px;
    --fonte: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 15px; }

body {
    font-family: var(--fonte);
    background: var(--fundo);
    color: var(--texto);
    min-height: 100vh;
}

/* ── Layout base ─────────────────────────────────────────── */

.layout { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-largura);
    background: var(--branco);
    border-right: 1px solid var(--borda);
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    z-index: 60;
    transition: transform .25s ease;
}

.sidebar-logo {
    padding: 22px 18px 14px;
    text-align: center;
    border-bottom: 1px solid var(--borda);
}
.sidebar-logo img { max-width: 170px; display: block; margin: 0 auto; }

.sidebar-nav { flex: 1; padding: 14px 12px; overflow-y: auto; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--raio-menor);
    color: var(--texto-suave);
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    margin-bottom: 4px;
    transition: background .15s, color .15s;
}
.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-item:hover { background: var(--azul-claro); color: var(--azul); }
.nav-item.ativo {
    background: var(--azul);
    color: #fff;
    box-shadow: 0 6px 16px rgba(43, 49, 158, .28);
}

.sidebar-rodape {
    padding: 14px 18px;
    border-top: 1px solid var(--borda);
    font-size: .75rem;
    color: var(--texto-fraco);
    text-align: center;
}

/* Badge de notificação no menu (novas solicitações) */
.badge-menu {
    margin-left: auto;
    background: var(--laranja);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    min-width: 21px;
    height: 21px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.nav-item.ativo .badge-menu { background: #fff; color: var(--laranja-hover); }

/* Usuário logado + sair */
.sidebar-usuario {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid var(--borda);
}
.usuario-avatar {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--azul);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.usuario-info { flex: 1; min-width: 0; }
.usuario-nome {
    font-size: .84rem; font-weight: 700; color: var(--azul-escuro);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.usuario-email {
    font-size: .7rem; color: var(--texto-fraco);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.botao-sair {
    width: 34px; height: 34px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--texto-fraco);
    transition: all .15s;
    flex-shrink: 0;
}
.botao-sair svg { width: 18px; height: 18px; }
.botao-sair:hover { background: var(--vermelho-claro); color: var(--vermelho); }

.conteudo {
    flex: 1;
    margin-left: var(--sidebar-largura);
    padding: 26px 32px 60px;
    min-width: 0;
}

/* ── Topbar ──────────────────────────────────────────────── */

.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.topo h1 { font-size: 1.5rem; color: var(--azul-escuro); font-weight: 700; }
.topo .subtitulo { color: var(--texto-suave); font-size: .9rem; margin-top: 3px; }
.topo-acoes { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.botao-menu {
    display: none;
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: var(--raio-menor);
    padding: 9px 11px;
    cursor: pointer;
    color: var(--azul);
}

/* ── Cartões ─────────────────────────────────────────────── */

.cartao {
    background: var(--branco);
    border-radius: var(--raio);
    box-shadow: var(--sombra);
    padding: 22px;
    margin-bottom: 22px;
}
.cartao-cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.cartao-cabecalho h2 { font-size: 1.05rem; color: var(--azul-escuro); font-weight: 700; }
.cartao-cabecalho .descricao { color: var(--texto-fraco); font-size: .82rem; margin-top: 2px; }

/* KPIs */
.kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.kpi {
    background: var(--branco);
    border-radius: var(--raio);
    box-shadow: var(--sombra);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
}
.kpi-icone {
    width: 48px; height: 48px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.kpi-icone svg { width: 24px; height: 24px; }
.kpi-icone.azul    { background: var(--azul-claro);    color: var(--azul); }
.kpi-icone.laranja { background: var(--laranja-claro); color: var(--laranja-hover); }
.kpi-icone.verde   { background: var(--verde-claro);   color: var(--verde); }
.kpi-icone.ciano   { background: var(--ciano-claro);   color: var(--ciano); }
.kpi-icone.vermelho{ background: var(--vermelho-claro);color: var(--vermelho); }
.kpi-rotulo { font-size: .8rem; color: var(--texto-suave); font-weight: 500; }
.kpi-valor  { font-size: 1.35rem; font-weight: 700; color: var(--azul-escuro); line-height: 1.25; }
.kpi-extra  { font-size: .75rem; color: var(--texto-fraco); margin-top: 2px; }

/* Grades auxiliares */
.grade-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grade-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .grade-2, .grade-3 { grid-template-columns: 1fr; } }

/* ── Botões ──────────────────────────────────────────────── */

.botao {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: var(--raio-menor);
    padding: 10px 18px;
    font-size: .9rem;
    font-weight: 600;
    font-family: var(--fonte);
    cursor: pointer;
    text-decoration: none;
    transition: transform .1s, box-shadow .2s, background .15s;
    white-space: nowrap;
}
.botao svg { width: 17px; height: 17px; }
.botao:hover { transform: translateY(-1px); }
.botao:active { transform: translateY(0); }
.botao:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.botao.primario { background: var(--azul); color: #fff; box-shadow: 0 6px 16px rgba(43, 49, 158, .25); }
.botao.primario:hover { background: var(--azul-hover); }
.botao.laranja { background: var(--laranja); color: #fff; box-shadow: 0 6px 16px rgba(240, 162, 75, .3); }
.botao.laranja:hover { background: var(--laranja-hover); }
.botao.contorno { background: var(--branco); color: var(--azul); border: 1.5px solid var(--azul-borda); }
.botao.contorno:hover { border-color: var(--azul); background: var(--azul-claro); }
.botao.perigo { background: var(--vermelho); color: #fff; }
.botao.fantasma { background: transparent; color: var(--texto-suave); }
.botao.fantasma:hover { background: var(--azul-claro); color: var(--azul); }
.botao.pequeno { padding: 6px 12px; font-size: .8rem; }
.botao.icone { padding: 8px; }

/* ── Formulários ─────────────────────────────────────────── */

.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo label { font-size: .82rem; font-weight: 600; color: var(--texto-suave); }
.campo label .obrigatorio { color: var(--vermelho); }

.campo input, .campo select, .campo textarea, .filtros input, .filtros select {
    font-family: var(--fonte);
    font-size: .92rem;
    color: var(--texto);
    background: var(--branco);
    border: 1.5px solid var(--borda);
    border-radius: var(--raio-menor);
    padding: 10px 13px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}
.campo input:focus, .campo select:focus, .campo textarea:focus,
.filtros input:focus, .filtros select:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(43, 49, 158, .12);
}
.campo textarea { resize: vertical; min-height: 74px; }
.campo .ajuda { font-size: .75rem; color: var(--texto-fraco); }

/* Checkbox com rótulo dentro de formulários (a regra `.campo input` estica inputs) */
.campo .campo-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid var(--borda);
    border-radius: var(--raio-menor);
    background: var(--branco);
    cursor: pointer;
    font-size: .92rem;
    font-weight: 400;
    color: var(--texto);
}
.campo .campo-check:hover { border-color: var(--azul-borda); }
.campo .campo-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex: none;
    padding: 0;
    margin: 0;
    accent-color: var(--azul);
    box-shadow: none;
    cursor: pointer;
}

.linha-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.linha-campos-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .linha-campos, .linha-campos-3 { grid-template-columns: 1fr; } }

/* Filtros de listagem */
.filtros {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.filtros .filtro { display: flex; flex-direction: column; gap: 5px; }
.filtros .filtro > span { font-size: .75rem; font-weight: 600; color: var(--texto-fraco); }
.filtros input, .filtros select { width: auto; min-width: 140px; padding: 9px 12px; font-size: .87rem; }
.filtros input[type="date"] { min-width: 130px; }

/* ── Tabelas ─────────────────────────────────────────────── */

.tabela-envelope { overflow-x: auto; border-radius: var(--raio-menor); }
table.tabela { width: 100%; border-collapse: collapse; font-size: .89rem; }
.tabela thead th {
    text-align: left;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--texto-fraco);
    font-weight: 700;
    padding: 10px 12px;
    border-bottom: 2px solid var(--borda);
    white-space: nowrap;
}
.tabela tbody td { padding: 12px; border-bottom: 1px solid var(--borda); vertical-align: middle; }
.tabela tbody tr { transition: background .12s; }
.tabela tbody tr:hover { background: var(--azul-claro); }
.tabela .num { text-align: right; font-variant-numeric: tabular-nums; }
.tabela .centro { text-align: center; }
.tabela .acoes { text-align: right; white-space: nowrap; }
.tabela .principal { font-weight: 600; color: var(--azul-escuro); }
.tabela .secundario { font-size: .78rem; color: var(--texto-fraco); }
.tabela-vazia { text-align: center; padding: 42px 16px !important; color: var(--texto-fraco); }

/* Botão de ação em linha da tabela */
.acao-linha {
    background: none; border: none; cursor: pointer;
    padding: 6px; border-radius: 8px; color: var(--texto-fraco);
    transition: background .12s, color .12s;
}
.acao-linha svg { width: 17px; height: 17px; display: block; }
.acao-linha:hover { background: var(--azul-claro); color: var(--azul); }
.acao-linha.perigo:hover { background: var(--vermelho-claro); color: var(--vermelho); }

/* ── Chips / etiquetas ───────────────────────────────────── */

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.pendente  { background: var(--ambar-claro);   color: var(--ambar); }
.chip.faturado  { background: var(--roxo-claro);    color: var(--roxo); }
.chip.pago      { background: var(--verde-claro);   color: var(--verde); }
.chip.separacao { background: var(--azul-claro);    color: var(--azul); }
.chip.entregue  { background: var(--ciano-claro);   color: var(--ciano); }
.chip.cancelado { background: var(--vermelho-claro); color: var(--vermelho); }
.chip.neutro    { background: var(--fundo);         color: var(--texto-suave); }
.chip.b2b       { background: var(--azul-claro);    color: var(--azul); }
.chip.b2c       { background: var(--laranja-claro); color: var(--laranja-hover); }
.chip.ok        { background: var(--verde-claro);   color: var(--verde); }
.chip.atencao   { background: var(--ambar-claro);   color: var(--ambar); }
.chip.critico   { background: var(--vermelho-claro); color: var(--vermelho); }
.chip.info      { background: var(--ciano-claro);   color: var(--ciano); }
.chip.sem-ponto::before { display: none; }
button.chip-botao { border: none; cursor: pointer; font-family: inherit; }
button.chip-botao:hover { filter: brightness(.96); }

/* ── Paginação ───────────────────────────────────────────── */

.paginacao {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.paginacao .info { font-size: .82rem; color: var(--texto-fraco); }
.paginacao .paginas { display: flex; gap: 6px; }
.paginacao button {
    min-width: 34px; height: 34px;
    border: 1.5px solid var(--borda);
    background: var(--branco);
    border-radius: 9px;
    font-family: var(--fonte);
    font-size: .85rem;
    font-weight: 600;
    color: var(--texto-suave);
    cursor: pointer;
    transition: all .12s;
}
.paginacao button:hover:not(:disabled) { border-color: var(--azul); color: var(--azul); }
.paginacao button.atual { background: var(--azul); border-color: var(--azul); color: #fff; }
.paginacao button:disabled { opacity: .4; cursor: not-allowed; }

/* ── Abas ────────────────────────────────────────────────── */

.abas {
    display: flex;
    gap: 6px;
    background: var(--branco);
    border-radius: var(--raio-menor);
    padding: 5px;
    box-shadow: var(--sombra);
    margin-bottom: 20px;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
}
.abas button {
    border: none;
    background: transparent;
    font-family: var(--fonte);
    font-size: .88rem;
    font-weight: 600;
    color: var(--texto-suave);
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.abas button:hover { color: var(--azul); }
.abas button.ativa { background: var(--azul); color: #fff; box-shadow: 0 4px 12px rgba(43, 49, 158, .25); }

/* ── Modais ──────────────────────────────────────────────── */

.modal-fundo {
    position: fixed; inset: 0;
    background: rgba(27, 32, 80, .45);
    backdrop-filter: blur(3px);
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
    animation: aparecer .18s ease;
}
.modal-caixa {
    background: var(--branco);
    border-radius: 18px;
    box-shadow: var(--sombra-alta);
    width: 100%;
    max-width: 560px;
    animation: subir .22s ease;
}
.modal-caixa.larga { max-width: 860px; }
.modal-caixa.estreita { max-width: 420px; }
.modal-cabecalho {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 0;
}
.modal-cabecalho h3 { font-size: 1.1rem; color: var(--azul-escuro); }
.modal-fechar {
    background: var(--fundo); border: none; border-radius: 9px;
    width: 34px; height: 34px; cursor: pointer; color: var(--texto-suave);
    font-size: 1.05rem; line-height: 1;
    transition: all .12s;
}
.modal-fechar:hover { background: var(--vermelho-claro); color: var(--vermelho); }
.modal-corpo { padding: 18px 24px; }
.modal-rodape {
    display: flex; justify-content: flex-end; gap: 10px;
    padding: 0 24px 22px;
    flex-wrap: wrap;
}

@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── Toasts ──────────────────────────────────────────────── */

.toasts {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
}
.toast {
    background: var(--branco);
    border-radius: 12px;
    box-shadow: var(--sombra-alta);
    padding: 14px 18px 14px 14px;
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: .88rem;
    border-left: 4px solid var(--azul);
    animation: deslizar .25s ease;
}
.toast.ok    { border-left-color: var(--verde); }
.toast.erro  { border-left-color: var(--vermelho); }
.toast.aviso { border-left-color: var(--laranja); }
.toast .toast-icone { flex-shrink: 0; margin-top: 1px; }
.toast .toast-icone svg { width: 19px; height: 19px; }
.toast.ok .toast-icone    { color: var(--verde); }
.toast.erro .toast-icone  { color: var(--vermelho); }
.toast.aviso .toast-icone { color: var(--laranja-hover); }
.toast.info .toast-icone  { color: var(--azul); }
.toast.saindo { animation: sumir .25s ease forwards; }

@keyframes deslizar { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes sumir { to { opacity: 0; transform: translateX(30px); } }

/* ── Autocomplete ────────────────────────────────────────── */

.autocomplete-envelope { position: relative; }
.autocomplete-lista {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: var(--branco);
    border-radius: var(--raio-menor);
    box-shadow: var(--sombra-alta);
    border: 1px solid var(--borda);
    z-index: 90;
    max-height: 300px;
    overflow-y: auto;
}
.autocomplete-item {
    padding: 11px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: background .1s;
    border-bottom: 1px solid var(--fundo);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.focado { background: var(--azul-claro); }
.autocomplete-item .ac-nome { font-weight: 600; color: var(--azul-escuro); font-size: .9rem; }
.autocomplete-item .ac-detalhe { font-size: .76rem; color: var(--texto-fraco); }
.autocomplete-item .ac-direita { text-align: right; flex-shrink: 0; }
.autocomplete-vazio { padding: 14px; text-align: center; color: var(--texto-fraco); font-size: .85rem; }

/* ── Lista de lançamento (entradas/saídas/itens do pedido) ── */

.lista-lancamento { border: 1.5px dashed var(--azul-borda); border-radius: var(--raio-menor); min-height: 90px; }
.lista-lancamento .lancamento-vazio {
    padding: 30px 16px; text-align: center; color: var(--texto-fraco); font-size: .85rem;
}
.lancamento-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--fundo);
}
.lancamento-item:last-child { border-bottom: none; }
.lancamento-item .li-info { flex: 1; min-width: 0; }
.lancamento-item .li-nome { font-weight: 600; color: var(--azul-escuro); font-size: .9rem; }
.lancamento-item .li-detalhe { font-size: .76rem; color: var(--texto-fraco); }
.lancamento-item .li-qtd {
    background: var(--azul-claro);
    color: var(--azul);
    font-weight: 700;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: .87rem;
    white-space: nowrap;
}
.lancamento-item .li-valor { font-weight: 700; color: var(--azul-escuro); white-space: nowrap; font-size: .9rem; }

/* ── Barras de progresso / medidores ─────────────────────── */

.medidor { background: var(--fundo); border-radius: 999px; height: 8px; overflow: hidden; min-width: 70px; }
.medidor > span { display: block; height: 100%; border-radius: 999px; background: var(--verde); transition: width .3s; }
.medidor > span.atencao { background: var(--laranja); }
.medidor > span.critico { background: var(--vermelho); }

/* ── Listas simples (dashboard) ──────────────────────────── */

.lista-simples { list-style: none; }
.lista-simples li {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--fundo);
    font-size: .89rem;
}
.lista-simples li:last-child { border-bottom: none; }
.lista-simples .nome { color: var(--texto); font-weight: 500; }
.lista-simples .valor { font-weight: 700; color: var(--azul-escuro); white-space: nowrap; }

/* Posição no ranking */
.posicao {
    width: 26px; height: 26px; border-radius: 8px;
    background: var(--azul-claro); color: var(--azul);
    font-size: .76rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Estados de carregamento ─────────────────────────────── */

.carregando { display: flex; align-items: center; justify-content: center; padding: 44px; color: var(--texto-fraco); gap: 10px; font-size: .88rem; }
.girador {
    width: 22px; height: 22px;
    border: 3px solid var(--azul-claro);
    border-top-color: var(--azul);
    border-radius: 50%;
    animation: girar .7s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

/* ── Gráficos ────────────────────────────────────────────── */

.grafico-envelope { position: relative; height: 290px; }
.grafico-envelope.baixo { height: 230px; }

/* ── Impressão (resumo de produção) ──────────────────────── */

@media print {
    .sidebar, .topo-acoes, .filtros, .abas, .botao, .paginacao, .toasts, .nao-imprimir { display: none !important; }
    .conteudo { margin-left: 0; padding: 0; }
    .cartao { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
    body { background: #fff; }
}

/* ── Responsivo ──────────────────────────────────────────── */

@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); box-shadow: none; }
    .sidebar.aberta { transform: none; box-shadow: var(--sombra-alta); }
    .conteudo { margin-left: 0; padding: 18px 16px 48px; }
    .botao-menu { display: inline-flex; }
}

.fundo-sidebar {
    display: none;
    position: fixed; inset: 0;
    background: rgba(27, 32, 80, .35);
    z-index: 55;
}
.fundo-sidebar.visivel { display: block; }

/* utilidades */
.texto-suave { color: var(--texto-suave); }
.texto-fraco { color: var(--texto-fraco); }
.texto-direita { text-align: right; }
.texto-centro { text-align: center; }
.negrito { font-weight: 700; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.escondido { display: none !important; }
