/* Identidade Vizi+ (mesma da página de apresentação): azul do logo #0265CB + azul-noite */
:root {
  --azul: #0265cb;
  --azul-vivo: #2f8cff;
  --azul-escuro: #01408a;
  --azul-menu-1: #0a2453;
  --azul-menu-2: #061633;
  --azul-claro: #e7f1ff;
  --noite: #061633;
  --tinta: #0b1b38;
  --cinza: #5f6f8c;
  --borda: #e3eaf6;
  --fundo: #f4f7fc;
  --verde: #16a34a;
  --menu-largura: 268px;
  --raio: 18px;
}

body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--fundo); color: var(--tinta); }
a { color: var(--azul); }
.text-vizi { color: var(--tinta); font-weight: 700; letter-spacing: -.01em; }
h3.text-vizi { font-size: 1.55rem; }

/* ---------- Menu lateral ---------- */
.sidebar {
  background: linear-gradient(180deg, var(--azul-menu-1) 0%, var(--azul-menu-2) 100%);
  color: #fff; display: flex; flex-direction: column;
}
@media (min-width: 992px) {
  .sidebar { position: fixed; inset: 0 auto 0 0; width: var(--menu-largura); z-index: 1030; }
  .area-principal { margin-left: var(--menu-largura); }
}
@media (max-width: 991.98px) {
  .sidebar.offcanvas-lg { width: var(--menu-largura); background: linear-gradient(180deg, var(--azul-menu-1), var(--azul-menu-2)); }
}
.sidebar-marca { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14); }
.marca-icone { width: 38px; height: 38px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; color: #fff; }
.marca-icone.grande { width: 56px; height: 56px; font-size: 1.6rem; border-radius: 16px; }
.marca-icone:has(img) { background: #fff; border-color: #fff; padding: 4px; }
.marca-icone img { width: 100%; height: 100%; object-fit: contain; }
.logo-publico { width: 52px; height: 64px; object-fit: contain; margin: 0 auto; }

/* Login: apresentação com foto + formulário */
.login-split { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; }
.login-arte { position: relative; color: #fff; padding: 3rem 3.2rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: linear-gradient(150deg, rgba(6, 22, 51, .9), rgba(2, 101, 203, .78)), var(--foto) center / cover no-repeat; }
.login-arte .marca-login { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.6rem; }
.login-arte .marca-login img { width: 38px; height: 46px; object-fit: contain; }
.login-arte h1 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; max-width: 560px; }
.login-arte p { color: #d3e2fb; font-size: 1.05rem; max-width: 520px; }
.login-itens { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.4rem; }
.login-itens span { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; padding: .45rem .85rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: .92rem; }
.login-arte .marca-dagua { position: absolute; right: -90px; bottom: -110px; width: 380px; opacity: .08; pointer-events: none; }
.login-painel { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; background: linear-gradient(180deg, #fff, #f5f8fd); }
.login-card { width: 100%; max-width: 420px; }
.login-card .logo-login { width: 60px; height: 74px; object-fit: contain; }
.cadastro-split { grid-template-columns: .85fr 1.15fr; }
.cadastro-split .login-arte { position: sticky; top: 0; height: 100vh; }
.cadastro-split .login-painel { align-items: flex-start; padding-top: 3rem; padding-bottom: 3rem; }
.cadastro-card { max-width: 680px; }
@media (max-width: 991.98px) { .cadastro-split { grid-template-columns: 1fr; } .cadastro-split .login-arte { position: relative; height: auto; } }
@media (max-width: 991.98px) {
  .login-split { grid-template-columns: 1fr; }
  .login-arte { padding: 2rem 1.4rem; min-height: 280px; }
  .login-arte .marca-dagua { display: none; }
}
.marca-nome { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.sidebar-nav { padding: 1.25rem .5rem; flex: 1; overflow-y: auto; }
.sidebar-link { display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; margin-bottom: .2rem;
  color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: 999px;
  border: 1px solid transparent; transition: background .15s; }
.sidebar-link i { font-size: 1.1rem; opacity: .9; }
.sidebar-link:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.sidebar-link.ativo { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .38); color: #fff; }
.sidebar-contador { margin-left: auto; min-width: 24px; height: 24px; padding: 0 .4rem; border-radius: 999px;
  background: rgba(10, 30, 90, .45); font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.sidebar-sep { height: 1px; background: rgba(255, 255, 255, .14); margin: .6rem .5rem .9rem; }
.sidebar-rodape { padding: .75rem .5rem 1rem; border-top: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Topo ---------- */
.topo { height: 68px; background: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.75rem; position: sticky; top: 0; z-index: 1020; }
.topo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--azul) 0%, #22c55e 100%); opacity: .85; }
.trilha { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; color: var(--cinza); }
.trilha a { color: var(--cinza); text-decoration: none; }
.trilha i { font-size: .75rem; }
.trilha strong { color: var(--tinta); font-weight: 700; }
.pill-portal { align-items: center; gap: .35rem; padding: .2rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
  color: var(--verde); background: #ecfdf3; border: 1px solid #a7f3c4; }
.pill-portal i { font-size: .4rem; }
.link-perfil { font-weight: 700; text-decoration: none; padding-right: 1rem; border-right: 1px solid var(--borda); }
.usuario { display: flex; align-items: center; gap: .6rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--azul-escuro); color: #fff; font-weight: 800;
  font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #dbe6fb; }
.usuario-nome { font-weight: 700; font-size: .9rem; }
.usuario-papel { color: var(--verde); font-size: .75rem; font-weight: 600; text-align: center; }

/* ---------- Conteúdo ---------- */
.conteudo { padding: 2rem 2.25rem 3rem; max-width: 1500px; }
.sem-menu { background: linear-gradient(160deg, var(--azul-menu-1) 0%, var(--azul-escuro) 100%); min-height: 100vh; }
.conteudo-publico { padding: 3rem 1rem; }
@media (max-width: 575.98px) { .conteudo { padding: 1.25rem 1rem 2rem; } .topo { padding: 0 1rem; } }

.card { border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.card > .card-header:first-child { border-radius: var(--raio) var(--raio) 0 0; }
.card > .card-footer:last-child { border-radius: 0 0 var(--raio) var(--raio); }
.card-header { background: #fff; font-weight: 700; padding: .9rem 1.25rem; border-bottom-color: var(--borda); }
.card > .table, .card .table-responsive > .table { margin-bottom: 0; }
.table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cinza); font-weight: 700; }
.table > :not(caption) > * > * { padding-left: 1rem; padding-right: 1rem; }
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary { background: var(--azul); border-color: var(--azul); }
.btn-primary:hover { background: var(--azul-escuro); border-color: var(--azul-escuro); }
.form-control, .form-select { border-radius: 10px; border-color: #d6deeb; }
.form-label { font-weight: 600; font-size: .85rem; color: #344256; }
.badge { font-weight: 600; }
.alert { border-radius: 14px; }

/* Pendências centrais */
.pendencias summary { list-style: none; cursor: pointer; color: var(--azul-escuro); font-weight: 700; font-size: 1.15rem; }
.pendencias summary::-webkit-details-marker { display: none; }
.pendencias summary .seta { display: inline-block; transition: transform .15s; font-size: .8rem; }
.pendencias[open] summary .seta { transform: rotate(90deg); }
.pendencia { padding: .85rem 0; border-top: 1px solid var(--borda); }
.pendencia a { color: var(--tinta); font-weight: 600; text-decoration: none; }
.pendencia a:hover { color: var(--azul); }

/* Agente — cartões de ação */
.agente { background: #eef3fb; border-radius: var(--raio); padding: 1.75rem 1.25rem; }
.agente-icone { width: 46px; height: 46px; border-radius: 50%; background: var(--azul); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.2rem; }
.sobretitulo { font-size: .72rem; letter-spacing: .12em; font-weight: 700; color: var(--cinza); text-transform: uppercase; }
.acao-card { position: relative; display: block; overflow: hidden; background: #fff; border: 1px solid var(--borda);
  border-radius: 22px; padding: 1.6rem 1.6rem 1.4rem; margin-bottom: 1rem; text-decoration: none; color: var(--tinta);
  box-shadow: 0 2px 6px rgba(16, 24, 40, .05); transition: box-shadow .15s, transform .15s; }
.acao-card:hover { box-shadow: 0 8px 22px rgba(21, 101, 232, .12); transform: translateY(-1px); color: var(--tinta); }
.acao-icone { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #d5dff0; background: #f6f9ff; color: var(--azul-escuro);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.acao-titulo { font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.acao-texto { color: #8a96a8; font-size: .95rem; margin-bottom: .75rem; }
.acao-link { color: var(--azul); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.acao-fundo { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 6.5rem; color: #eef2f8; pointer-events: none; }

/* Canal Vizi+ */
.canal { background: linear-gradient(180deg, var(--azul-menu-1) 0%, var(--azul-escuro) 100%); border-radius: var(--raio);
  padding: 1.25rem; color: #fff; height: 100%; }
.canal-titulo { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.canal-item { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  padding: 1rem; margin-top: .85rem; }
.canal-item .sobretitulo { color: rgba(255, 255, 255, .7); font-size: .65rem; }
.canal-item h6 { font-weight: 700; margin: .2rem 0; }
.canal-item p { font-size: .82rem; color: rgba(255, 255, 255, .82); margin: 0; }
.canal-icone { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .95); color: var(--azul); flex-shrink: 0; }
.canal-btn { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  font-size: .75rem; font-weight: 700; padding: .25rem .8rem; text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; }
.canal-btn:hover { background: rgba(255, 255, 255, .26); color: #fff; }

/* Componentes já existentes */
.linha-dinamica { background: #fafbfe; border: 1px dashed #d5dcea; border-radius: 12px; padding: .75rem; margin-bottom: .5rem; }
.oferta-card.vencedora { border: 2px solid var(--verde); }
.thread { max-height: 420px; overflow-y: auto; }
.msg { border-radius: 14px; padding: .55rem .8rem; margin-bottom: .5rem; max-width: 85%; }
.msg.condominio { background: var(--azul-claro); margin-left: auto; }
.msg.empresa { background: #fff; border: 1px solid var(--borda); }
.msg .meta { font-size: .72rem; color: var(--cinza); }
.valor-grande { font-size: 1.6rem; font-weight: 800; color: var(--azul-escuro); letter-spacing: -.02em; }
.etapas { display: flex; gap: .3rem; flex-wrap: wrap; }
.etapas .etapa { flex: 1; min-width: 110px; text-align: center; font-size: .75rem; font-weight: 600; padding: .45rem; border-radius: 999px;
  background: #e6ebf3; color: var(--cinza); }
.etapas .etapa.feita { background: #dcfce7; color: #166534; }
.etapas .etapa.atual { background: var(--azul); color: #fff; }
.nao-informado { color: #9aa3b2; font-style: italic; }
/* Formalização: trilha de passos e histórico */
.trilha-form { list-style: none; padding: 0; margin: 0; }
.trilha-form li { display: flex; gap: .75rem; position: relative; padding-bottom: .9rem; color: #9aa3b2; }
.trilha-form li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 2px; width: 2px; background: #e3e8f0; }
.trilha-form li.feita:not(:last-child)::before { background: #86efac; }
.trilha-form .marca { flex: 0 0 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #eef1f6; color: #9aa3b2; }
.trilha-form li.feita { color: inherit; }
.trilha-form li.feita .marca { background: #dcfce7; color: #166534; }
.trilha-form li.atual { color: inherit; }
.trilha-form li.atual .marca { background: var(--azul); color: #fff; }
.historico-form { list-style: none; padding: 0; margin: 0; }
.historico-form li { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid #eef1f6; }
.historico-form li:last-child { border-bottom: 0; }
.historico-form li > i { font-size: 1.05rem; color: var(--azul); margin-top: .15rem; }
.historico-form li.h-assinatura > i { color: #16a34a; }
.historico-form li.h-cancelamento > i { color: #dc3545; }
.historico-form .obs { background: #f6f8fb; border-radius: 8px; padding: .35rem .6rem; margin-top: .25rem; white-space: pre-line; }
.cond-card { border-radius: 20px; }
.cond-card .cond-icone { width: 44px; height: 44px; border-radius: 12px; background: var(--azul-claro); color: var(--azul-escuro);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.linha-clicavel { cursor: pointer; }

/* ---------- Assistentes (diagnóstico e proposta) ---------- */
.link-voltar { font-size: .9rem; font-weight: 500; text-decoration: none; }
.cabecalho-foco { border-radius: 24px; box-shadow: 0 2px 8px rgba(16, 24, 40, .06); }
.cabecalho-foco .card-body { padding: 1.75rem 1.5rem; }
.btn-circulo { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--borda); color: var(--cinza);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.btn-circulo:hover { color: var(--azul); }
.titulo-foco { color: #0b63ce; font-weight: 700; font-size: 1.35rem; }
.chip-foco { background: #f1f4f9; border: 1px solid var(--borda); border-radius: 8px; padding: .2rem .6rem;
  font-size: .78rem; font-weight: 600; color: var(--cinza); }

.wizard { max-width: 840px; }
.wizard-titulo { font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; }
.link-pular { color: #3a4556; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.wizard-progresso { display: flex; gap: 6px; }
.wizard-progresso span { flex: 1; height: 4px; border-radius: 4px; background: #e6ebf3; transition: background .2s; }
.wizard-progresso span.feito { background: #4f8ff0; }
.wizard-passo { border-radius: 24px; box-shadow: 0 2px 10px rgba(16, 24, 40, .06); }
.wizard-pergunta { font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.opcao { display: flex; align-items: center; gap: .9rem; border: 1px solid var(--borda); border-radius: 22px;
  padding: .9rem 1.1rem; margin-bottom: .65rem; font-weight: 600; color: #2b3647; cursor: pointer; transition: all .12s; }
.opcao:hover { border-color: #b9cbec; }
.opcao input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin: 0;
  border: 2px solid #c5d0e0; border-radius: 50%; background: #fff; transition: all .12s; }
.opcao.multipla input { border-radius: 6px; }
.opcao input:checked { border-color: var(--azul); background: var(--azul); box-shadow: inset 0 0 0 4px #fff; }
.opcao.multipla input:checked { box-shadow: inset 0 0 0 3px #fff; }
.opcao:has(input:checked) { border-color: var(--azul); background: #f3f7ff; }
.wizard-voltar { color: #4b5768; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.btn-wizard { background: var(--azul); color: #fff; border-radius: 999px; padding: .7rem 1.6rem; font-weight: 700; font-size: 1.05rem; }
.btn-wizard:hover { background: var(--azul-escuro); color: #fff; }
.btn.btn-wizard:disabled { background-color: #eef1f6; color: #94a0b4; border-color: transparent; opacity: 1; }
.diag-item { padding: .6rem 0; border-top: 1px solid var(--borda); }
.diag-item:first-child { border-top: 0; }
.diag-pergunta { font-size: .8rem; color: var(--cinza); font-weight: 600; }

/* ---------- Análise do diagnóstico (IA) ---------- */
.processando { padding: 2.5rem 1.5rem 2rem; }
.logo-vplus { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1565e8, #2f8cff); color: #fff; font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(21, 101, 232, .3); }
.etapas-ia { max-width: 520px; }
.etapa-ia { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 18px; margin-bottom: .7rem;
  font-weight: 600; color: #c9d1dd; background: #fafbfd; transition: all .25s; }
.etapa-ia-icone { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #e3e8f0; display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0; }
.etapa-ia-icone i { display: none; color: #fff; font-size: .95rem; }
.etapa-ia.feita { background: #edf4ff; color: #1d4ed8; }
.etapa-ia.feita .etapa-ia-icone { background: #1d5ff0; border-color: #1d5ff0; }
.etapa-ia.feita .etapa-ia-icone i { display: inline; }
.etapa-ia.ativa { color: #4b5768; background: #f7f9fc; }
.etapa-ia.ativa .etapa-ia-icone { border-color: #b9d3fb; border-top-color: #3b82f6; animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.processando .progress { background: #e8f0fe; border-radius: 6px; }
.processando .progress-bar { background: #2f6fed; transition: width .4s; }

.perfil-destaque { background: #f3f8ff; border: 1px solid #d6e5fb; border-radius: 18px; padding: 1.25rem 1.25rem 1rem; }
.perfil-nome { color: #1d4ed8; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; margin-bottom: .35rem; }
.perfil-mini .perfil-nome { font-size: 1.15rem; }
.perfil-tile { border: 1px solid var(--borda); border-radius: 16px; padding: .85rem 1rem; }
.perfil-tile .sobretitulo { font-size: .68rem; margin-bottom: .15rem; }
.lista-check { list-style: none; padding: 0; margin: 0 0 .75rem; }
.lista-check li { display: flex; gap: .6rem; margin-bottom: .45rem; }
.lista-check i { color: #93b4ef; margin-top: .1rem; }
.ponto-atencao { background: #f6f8fb; border-radius: 14px; padding: .8rem 1rem; font-size: .85rem; color: #4b5768; margin-bottom: .5rem; }
.ponto-atencao i { color: var(--azul); margin-right: .4rem; }
.visao { background: #fbfcfe; border: 1px solid var(--borda); border-radius: 16px; padding: 1rem; }
.visao-titulo { font-weight: 700; font-size: .85rem; color: var(--azul-escuro); margin-bottom: .35rem; }
.btn-gradiente { background: linear-gradient(90deg, #1565e8, #3b8cff); border: 0; }

/* ---------- Proposta guiada ---------- */
.proposta-topo .card-body { padding: 2rem 2rem 1.8rem; }
.proposta-guiada .btn-circulo { pointer-events: none; }
.proposta-etapas-ref { display: flex; align-items: center; gap: 1.2rem; overflow-x: auto; padding-bottom: .2rem; }
.etapa-ref { position: relative; display: inline-flex; align-items: center; gap: .7rem; padding: .45rem 0 .8rem; border: 0; background: transparent;
  color: #91a0b7; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.etapa-ref::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: transparent; }
.etapa-ref-numero { width: 22px; height: 22px; border-radius: 50%; background: #d8e1f0; color: #5a6b84; font-size: .78rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; }
.etapa-ref.ativo { color: var(--azul); }
.etapa-ref.ativo::after { background: var(--azul); }
.etapa-ref.ativo .etapa-ref-numero { background: #2563eb; color: #fff; }
.etapa-ref.concluida { color: #0c8f45; }
.etapa-ref.concluida::after { background: #86efac; }
.etapa-ref.concluida .etapa-ref-numero { background: #16a34a; color: #fff; }
.barra-filtro-ref { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; padding: .55rem .7rem; border-radius: 22px;
  background: #eef5ff; border: 1px solid #d4e3fb; }
.chip-filtro-base, .chip-filtro, .chip-filtro-label { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .85rem; border-radius: 999px;
  font-weight: 700; border: 1px solid #c9d8ee; background: #fff; color: #5e7089; font-size: .9rem; }
.chip-filtro { background: transparent; }
.chip-filtro.ativo { background: #2563eb; border-color: #2563eb; color: #fff; }
.chip-filtro-label { background: #fff; }
.proposta-passo-ref { display: none; }
.proposta-passo-ref.ativo { display: block; }
.card-proposta-ref { border-radius: 28px; box-shadow: 0 2px 10px rgba(16, 24, 40, .05); overflow: hidden; }
.card-proposta-ref > .card-header { padding: 1.1rem 1.35rem; font-size: .95rem; }
.card-proposta-ref > .card-body { padding: 1.35rem; }
.proposta-linha { background: #fff; border: 1px solid #dbe6f6; border-radius: 22px; padding: 1rem; }
.posto-editor-shell { border: 2px solid #78aefb; border-radius: 28px; padding: 1rem; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08); }
.proposta-linha-posto { border: 0; padding: 0; background: transparent; margin-bottom: 0; }
.posto-editor-faixa { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.posto-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .2rem .85rem; border-radius: 999px;
  border: 1px solid #bfd3f8; background: #f8fbff; }
.posto-chip-primario { background: #2563eb; border-color: #2563eb; color: #fff; }
.posto-chip-tag { border-color: #dcc8ff; background: #f6f0ff; color: #6d28d9; }
.posto-chip-titulo { font-size: .9rem; font-weight: 800; white-space: nowrap; }
.posto-chip-input, .posto-chip-select { border: 0; background: transparent; padding: 0; font-weight: 700; color: inherit; min-width: 0; }
.posto-chip-input:focus, .posto-chip-select:focus { outline: 0; box-shadow: none; }
.posto-chip-input::placeholder { color: inherit; opacity: .6; }
.posto-chip-select { padding-right: 1.2rem; }
.posto-chip-inline { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.posto-chip-hora { width: 90px; }
.posto-chip-num { width: 54px; text-align: center; }
.posto-quantidade { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .2rem .85rem; border-radius: 999px;
  border: 1px solid #d5deed; background: #f8fafc; }
.posto-qty-btn { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: #6b7a90; font-size: 1.1rem; font-weight: 800; }
.posto-qty-input { width: 34px; border: 0; background: transparent; text-align: center; font-weight: 800; color: #334155; }
.posto-qty-label { font-weight: 700; color: #8a98ad; }
.posto-editor-acoes { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .9rem; }
.proposta-postos-lista { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.2rem; }
.posto-card-resumo { display: flex; align-items: center; gap: 1rem; padding: .95rem 1.1rem; border-radius: 24px; border: 1px solid #dbe6f6;
  background: #fff; box-shadow: 0 2px 8px rgba(16, 24, 40, .05); }
.posto-card-resumo.ativo { border-color: #95bdfd; box-shadow: 0 0 0 2px rgba(37, 99, 235, .08); }
.posto-card-ordem { width: 40px; height: 40px; border-radius: 16px; background: #f4f7fc; border: 1px solid #d9e2ef; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 800; color: #4b5a71; flex-shrink: 0; }
.posto-card-conteudo { min-width: 0; flex: 1; }
.posto-card-titulo { font-size: 1rem; font-weight: 800; color: #132238; }
.posto-card-subtitulo { color: #7d8ca3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.posto-card-qtd { font-weight: 800; color: #718198; white-space: nowrap; }
.posto-card-acoes { display: inline-flex; align-items: center; gap: .2rem; }
.proposta-rodape-ref { display: flex; justify-content: flex-end; }
.btn-proximo-ref { border-radius: 999px; padding: .9rem 1.5rem; font-size: 1rem; font-weight: 800; box-shadow: 0 8px 22px rgba(21, 101, 232, .22); }

@media (max-width: 767.98px) {
  .proposta-topo .card-body { padding: 1.35rem; }
  .barra-filtro-ref { gap: .5rem; }
  .chip-filtro-base, .chip-filtro, .chip-filtro-label { font-size: .84rem; }
  .btn-proximo-ref { width: 100%; justify-content: center; }
  .posto-editor-faixa, .posto-editor-acoes, .posto-card-resumo { align-items: stretch; }
  .posto-editor-acoes, .posto-card-resumo { flex-direction: column; }
  .posto-chip, .posto-quantidade { width: 100%; justify-content: space-between; }
  .posto-card-qtd, .posto-card-acoes { align-self: flex-end; }
}

/* ---------- Proposta guiada ---------- */
.chip-perfil { background: #eef4ff; color: var(--azul-escuro); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem;
  font-weight: 700; text-decoration: none; }
.etapas-form { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; border-bottom: 1px solid var(--borda);
  margin-bottom: 1.25rem; padding: .25rem 0 0; }
.etapa-voltar { border: 0; background: none; color: #a9b4c4; font-size: 1.1rem; padding: .5rem; }
.etapa-voltar:hover { color: var(--azul); }
.etapa-sep { color: #b6c0ce; font-size: .8rem; }
.etapa-tab { border: 0; background: none; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem;
  font-weight: 700; font-size: 1.02rem; color: #8a96a8; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.etapa-num { width: 26px; height: 26px; border-radius: 50%; background: #e6ebf3; color: #6b7a90; font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center; }
.etapa-tab.atual { color: var(--azul-escuro); border-bottom-color: var(--azul); }
.etapa-tab.atual .etapa-num { background: var(--azul); color: #fff; }
.etapa-tab.completa { color: #15803d; border-bottom-color: #86efac; background: #f0fdf4; border-radius: 10px 10px 0 0; }
.etapa-tab.completa .etapa-num { background: #16a34a; color: #fff; }

.servico-card { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; cursor: pointer;
  border: 1px solid var(--borda); border-radius: 16px; padding: 1rem .5rem; font-weight: 600; font-size: .88rem; height: 100%;
  background: #fff; transition: all .12s; }
.servico-card i { font-size: 1.5rem; color: var(--azul); }
.servico-card input { display: none; }
.servico-card:has(input:checked) { border-color: var(--azul); background: #f3f7ff; box-shadow: 0 0 0 3px #dbe7fd; }

.filtros-postos { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; background: #f5f8fd;
  border: 1px solid var(--borda); border-radius: 18px; padding: .6rem .8rem; margin-bottom: 1rem; }
.chip-filtro-rotulo { border: 1px solid #d6deeb; background: #fff; border-radius: 999px; padding: .25rem .8rem; font-weight: 600; color: #4b5768; }
.sep-vertical { width: 1px; height: 24px; background: #d6deeb; }
.chip-filtro { border: 1px solid #d6deeb; background: #fff; border-radius: 999px; padding: .25rem .9rem; font-weight: 600; color: #3a4556; }
.chip-filtro.ativo { background: var(--azul); border-color: var(--azul); color: #fff; }

.montador { border: 2px solid #9cc0f5; border-radius: 22px; background: #fff; padding: 1rem 1.1rem .75rem;
  box-shadow: 0 4px 14px rgba(21, 101, 232, .08); }
.chip-campo { border: 1px solid #e3e8f0; background: #fff; color: #b0bac8; border-radius: 999px; padding: .4rem 1rem;
  font-weight: 600; font-size: .98rem; display: inline-flex; align-items: center; gap: .35rem; }
.chip-campo i.bi-chevron-down { font-size: .7rem; }
.chip-campo.preenchido { background: #eaf2ff; border-color: #c7dbfb; color: #1d4ed8; }
.chip-campo.ativo { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip-campo.chip-tag.preenchido { background: #f5efff; border-color: #dccbfb; color: #7c3aed; }
.chip-menu { border-radius: 18px; border-color: var(--borda); box-shadow: 0 12px 32px rgba(16, 24, 40, .14); padding: .5rem 0; min-width: 260px; }
.chip-menu .dropdown-item { padding: .5rem 1.1rem; }
.chip-menu .item-grande { font-size: 1.12rem; padding: .7rem 1.2rem; }
.chip-menu-titulo { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--cinza); text-transform: uppercase; padding: .4rem 1.2rem 0; }
.chip-personalizar { border-top: 1px solid var(--borda); margin-top: .35rem; padding: .6rem 1rem .3rem; }
.contador-postos { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid #e3e8f0; border-radius: 999px; padding: .2rem .8rem; }
.contador-postos button { border: 0; background: none; color: #6b7a90; padding: .2rem; }
.contador-postos strong { min-width: 1.4rem; text-align: center; }
.contador-postos span { color: var(--cinza); font-size: .85rem; font-weight: 600; }
.btn-pill { border-radius: 999px; padding: .4rem 1.1rem; }
.montador-dica { color: var(--azul); font-size: .88rem; margin-top: .55rem; }
.atividades-posto { border-radius: 999px; }
.lista-postos { border-radius: 22px; }
.posto-linha { display: flex; align-items: center; gap: .75rem; border: 1px solid var(--borda); border-radius: 18px;
  padding: .85rem 1.1rem; margin: .4rem; background: #fff; color: #3a4556; }
.func-badge { color: #4b5768; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.btn-icone { border: 0; background: none; color: #6b7a90; font-size: 1.05rem; padding: .2rem .35rem; }
.btn-icone:hover { color: var(--azul); }
.posto-id { display: flex; flex-direction: column; align-items: center; color: #b0bac8; font-weight: 700; line-height: 1; }
.posto-id small { font-size: .55rem; }
.tag-local { color: #7c3aed; font-weight: 600; }
/* ---------- Menu recolhido (somente ícones) ---------- */
.sidebar-recolher { margin: .5rem auto 0; width: 40px; height: 40px; border-radius: 50%; border: 0; align-items: center;
  justify-content: center; background: rgba(255, 255, 255, .14); color: #fff; transition: transform .2s; }
.sidebar-recolher:hover { background: rgba(255, 255, 255, .24); }
@media (min-width: 992px) {
  .sidebar, .area-principal { transition: width .2s, margin-left .2s; }
  .menu-recolhido .sidebar { width: 84px; }
  .menu-recolhido .area-principal { margin-left: 84px; }
  .menu-recolhido .marca-nome, .menu-recolhido .sidebar-link span:not(.sidebar-contador) { display: none; }
  .menu-recolhido .sidebar-marca { justify-content: center; padding: 0; }
  .menu-recolhido .sidebar-nav, .menu-recolhido .sidebar-rodape { padding-left: .6rem; padding-right: .6rem; }
  .menu-recolhido .sidebar-link { justify-content: center; position: relative; width: 56px; height: 56px; padding: 0; margin: 0 auto .35rem; }
  .menu-recolhido .sidebar-link i { font-size: 1.25rem; }
  .menu-recolhido .sidebar-link.ativo { border-radius: 50%; }
  .menu-recolhido .sidebar-contador { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; font-size: .68rem;
    background: #0ea5e9; border: 2px solid var(--azul-menu-1); }
  .menu-recolhido .sidebar-recolher { transform: rotate(180deg); }
}

/* ---------- Retomar proposta / autosave / montador ---------- */
.banner-retomar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: #eef4ff; border: 1px solid #cfe0fb;
  border-radius: 22px; padding: 1rem 1.25rem; }
.banner-icone { width: 44px; height: 44px; border-radius: 50%; background: #dce8fd; color: var(--azul-escuro); display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.link-zerar { color: #3a4556; font-weight: 600; text-decoration: none; }
.btn-copiar { border: 0; background: none; color: #8a96a8; padding: 0 0 0 .25rem; }
.btn-copiar:hover { color: var(--azul); }
.etapa-dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.etapa-tab.pendente .etapa-dot { display: inline-block; }
.montador.editando { border-color: #f59e0b; box-shadow: 0 4px 14px rgba(245, 158, 11, .15); }
.posto-linha.recem { animation: recem 2.5s ease-out; border-color: #86efac; }
.posto-linha.em-edicao { border-color: #f59e0b; background: #fffbeb; }
@keyframes recem { 0% { background: #dcfce7; transform: translateY(-6px); } 15% { transform: none; } 100% { background: #fff; } }
#montador-salvar:disabled { background-color: #eef1f6; border-color: #eef1f6; color: #a0aab8; opacity: 1; }

/* ---------- Montador em uma linha ---------- */
/* Uma linha sempre que couber; se não couber, quebra em vez de estourar a página */
.montador { padding: .85rem 1rem .6rem; min-width: 0; }
.montador-linha { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; min-width: 0; }
.montador-linha > .dropdown { min-width: 0; }
.montador-linha .chip-campo { white-space: nowrap; padding: .3rem .7rem; font-size: .88rem; max-width: 220px; overflow: hidden;
  text-overflow: ellipsis; display: inline-block; }
.montador-linha .chip-campo i.bi-chevron-down { font-size: .62rem; margin-left: .1rem; }
.montador-linha .contador-postos { white-space: nowrap; flex-shrink: 0; padding: .12rem .6rem; gap: .35rem; font-size: .88rem; }
.montador-linha .contador-postos span { font-size: .8rem; }
.montador-acoes { margin-left: auto; display: flex; gap: .35rem; flex-shrink: 0; }
.montador-acoes .btn-pill { padding: .3rem .85rem; font-size: .88rem; }
.montador-dica { font-size: .8rem; margin-top: .4rem; }
.area-principal { min-width: 0; }
.btn-salvar-item:disabled { background-color: #eef1f6; border-color: #eef1f6; color: #a0aab8; opacity: 1; }
.chip-menu .dropdown-item.active { background: #eaf2ff; color: #1d4ed8; }
.posto-linha { flex-wrap: nowrap; }
.item-desc { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-desc .tag-local { margin-left: .35rem; }
.chip-radio input { display: none; }
.chip-radio span { display: inline-block; border: 1px solid #d6deeb; border-radius: 999px; padding: .35rem .85rem; font-weight: 600;
  cursor: pointer; background: #fff; white-space: nowrap; }
.chip-radio input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.piso-item { min-width: 200px; }
/* Etapa 3: perguntas guiadas */
.pergunta-card { border-radius: 18px; }
.pergunta-titulo { font-weight: 700; font-size: 1.05rem; margin-bottom: .85rem; display: flex; align-items: center; gap: .6rem; }
.pergunta-num { width: 28px; height: 28px; border-radius: 50%; background: var(--azul); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: .85rem; flex: 0 0 28px; }
.opcoes-pergunta { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; }
.opcao-pergunta { display: flex; align-items: center; gap: .8rem; text-align: left; cursor: pointer; border: 1px solid var(--borda);
  border-radius: 16px; padding: .9rem 1rem; background: #fff; transition: all .12s; margin: 0; width: 100%; }
.opcao-pergunta:hover { border-color: #b7cdf6; }
.opcao-pergunta input { display: none; }
.opcao-pergunta > i { font-size: 1.5rem; color: var(--azul); }
.opcao-pergunta span { display: flex; flex-direction: column; }
.opcao-pergunta small { color: var(--cinza); font-weight: 400; }
.opcao-pergunta:has(input:checked), .opcao-pergunta.escolhida { border-color: var(--azul); background: #f3f7ff; box-shadow: 0 0 0 3px #dbe7fd; }
.pisos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.va-persuasao { border-radius: 16px; padding: 1.1rem 1.25rem; background: linear-gradient(135deg, #eef4ff, #f0fdf4); border: 1px solid #d6e4fb; }
.va-titulo { font-weight: 700; font-size: 1.05rem; color: var(--azul-escuro); }
.va-titulo i { color: #e11d48; }
.va-numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; margin-top: .8rem; }
.va-numeros > div { background: #fff; border-radius: 14px; padding: .8rem 1rem; display: flex; flex-direction: column; }
.va-numeros small { color: var(--cinza); }
.va-numeros strong { font-size: 2rem; line-height: 1.1; color: #16a34a; }
.va-numeros span { font-size: .9rem; }
.caixa-confirmacao.destaque { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 10px; padding: .5rem .6rem .5rem 2rem; }

/* =====================================================================
   Visual 2026 — mesma linguagem da página de apresentação e do login
   ===================================================================== */
:root { --sombra-card: 0 1px 2px rgba(11, 27, 56, .04), 0 8px 24px rgba(11, 27, 56, .05);
        --grad-azul: linear-gradient(180deg, var(--azul-vivo), var(--azul));
        --hex: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%); }
body { -webkit-font-smoothing: antialiased; }
::selection { background: #cfe3ff; }
h1, h2, h3, h4, h5, h6, .text-vizi { letter-spacing: -.02em; }
h3.text-vizi { font-weight: 800; font-size: 1.65rem; }
a { text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Menu lateral azul-noite com brilho da marca e logo em marca-d'água */
.sidebar { background:
    radial-gradient(420px 260px at 0% 0%, rgba(47, 140, 255, .28), transparent 70%),
    radial-gradient(380px 300px at 100% 100%, rgba(2, 101, 203, .3), transparent 70%),
    linear-gradient(180deg, var(--azul-menu-1), var(--azul-menu-2)); overflow: hidden; }  /* já é fixed (desktop) ou offcanvas */
@media (max-width: 991.98px) { .sidebar.offcanvas-lg { background: linear-gradient(180deg, var(--azul-menu-1), var(--azul-menu-2)); } }
.sidebar::after { content: ""; position: absolute; width: 260px; height: 320px; right: -90px; bottom: 40px; pointer-events: none;
  background: url("img/logo-branco.png") center / contain no-repeat; opacity: .05; }
.sidebar > * { position: relative; z-index: 1; }
.sidebar-marca { border-bottom-color: rgba(255, 255, 255, .08); }
.marca-nome { font-weight: 900; }
.sidebar-link { border-radius: 14px; color: rgba(214, 228, 251, .85); position: relative; transition: background .15s, color .15s, transform .15s; }
.sidebar-link:hover { background: rgba(255, 255, 255, .07); transform: translateX(2px); }
.sidebar-link.ativo { background: linear-gradient(90deg, rgba(47, 140, 255, .32), rgba(47, 140, 255, .08)); border-color: rgba(120, 180, 255, .35);
  box-shadow: inset 3px 0 0 #6fb8ff; }
.sidebar-link.ativo i { color: #8cc8ff; opacity: 1; }
.sidebar-contador { background: var(--azul-vivo); color: #fff; box-shadow: 0 0 0 2px rgba(6, 22, 51, .6); }
.sidebar-sep, .sidebar-rodape { border-color: rgba(255, 255, 255, .08); }
.sidebar-sep { background: rgba(255, 255, 255, .08); }

/* Topo translúcido */
.topo { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--borda); }
/* Cor do portal na faixa do topo: contratante (síndico/administradora) verde, prestador laranja, admin azul */
.com-menu { --portal: var(--azul); --portal-vivo: var(--azul-vivo); --portal-claro: var(--azul-claro); --portal-borda: #bfd8fb; }
.papel-sindico, .papel-administradora { --portal: #16a34a; --portal-vivo: #4ade80; --portal-claro: #ecfdf3; --portal-borda: #a7f3c4; }
.papel-terceirizada { --portal: #ea580c; --portal-vivo: #fb923c; --portal-claro: #fff4ec; --portal-borda: #fed7aa; }
.topo::after { height: 3px; background: linear-gradient(90deg, var(--portal), var(--portal-vivo) 45%, transparent); opacity: 1; }
.trilha strong { font-weight: 800; }
.pill-portal { color: var(--portal); background: var(--portal-claro); border-color: var(--portal-borda); }
.avatar { background: var(--grad-azul); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #cfe3ff; }
.usuario-papel { color: var(--azul); text-align: left; }

/* Cartões, tabelas e formulários */
.card { border-color: var(--borda); border-radius: 20px; box-shadow: var(--sombra-card); }
.card > .card-header:first-child { border-radius: 20px 20px 0 0; }
.card > .card-footer:last-child { border-radius: 0 0 20px 20px; }
.card-header { font-weight: 800; padding: 1rem 1.3rem; background: transparent; }
.card-footer { background: #fafcff; border-top-color: var(--borda); }
.table { --bs-table-hover-bg: #f3f8ff; }
.table th { color: #7a89a3; }
.table > tbody > tr:last-child > * { border-bottom: 0; }
.linha-clicavel:hover > * { background: #f3f8ff !important; }
.form-control, .form-select { border-color: #d5deec; padding-top: .5rem; padding-bottom: .5rem; }
.form-control-sm, .form-select-sm { padding-top: .3rem; padding-bottom: .3rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--azul-vivo); box-shadow: 0 0 0 4px rgba(47, 140, 255, .18); }
.form-check-input:checked { background-color: var(--azul); border-color: var(--azul); }
.input-group-text { background: #f4f7fc; border-color: #d5deec; color: var(--cinza); }

/* Botões no padrão da apresentação */
.btn { border-radius: 12px; transition: transform .12s, box-shadow .15s, background .15s; }
.btn:not(.btn-link):not(.btn-sm):hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad-azul); border-color: var(--azul); box-shadow: 0 6px 16px rgba(2, 101, 203, .28); }
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(180deg, #2a83f5, var(--azul-escuro)); border-color: var(--azul-escuro); box-shadow: 0 10px 22px rgba(2, 101, 203, .36); }
.btn-outline-primary { --bs-btn-color: var(--azul); --bs-btn-border-color: #9cc4f6; --bs-btn-hover-bg: var(--azul); --bs-btn-hover-border-color: var(--azul);
  --bs-btn-active-bg: var(--azul-escuro); --bs-btn-active-border-color: var(--azul-escuro); }
.btn-success { background: linear-gradient(180deg, #22c55e, #16a34a); border-color: #16a34a; box-shadow: 0 6px 16px rgba(22, 163, 74, .25); }
.btn-link { color: var(--azul); }
.badge { border-radius: 999px; padding: .42em .75em; font-weight: 700; letter-spacing: .01em; }
.text-bg-primary { background: var(--azul) !important; }
.text-bg-info { background: #dbeafe !important; color: #1e40af !important; }
.text-bg-warning { background: #fef3c7 !important; color: #92400e !important; }
.text-bg-success { background: #dcfce7 !important; color: #166534 !important; }
.text-bg-secondary { background: #e9eef6 !important; color: #475569 !important; }
.text-bg-danger { background: #fee2e2 !important; color: #b91c1c !important; }
.alert { border: 0; box-shadow: inset 4px 0 0 currentColor; }
.alert-info { background: var(--azul-claro); color: #0b4a96; }

/* Ícones em hexágono, como no logo */
.acao-icone, .agente-icone, .cond-card .cond-icone, .canal-icone { border: 0; border-radius: 0; clip-path: var(--hex); }
.acao-icone { width: 52px; height: 58px; background: var(--grad-azul); color: #fff; }
.agente-icone { width: 46px; height: 52px; background: var(--grad-azul); }
.cond-card .cond-icone { width: 44px; height: 50px; }
.canal-icone { width: 40px; height: 45px; }
.acao-card { border-radius: 22px; box-shadow: var(--sombra-card); }
.acao-card:hover { border-color: #b9d3fb; box-shadow: 0 18px 40px rgba(2, 101, 203, .12); transform: translateY(-3px); }
.acao-link { color: var(--azul); }
.acao-fundo { color: #edf3fc; z-index: 0; }
.acao-card > :not(.acao-fundo) { position: relative; z-index: 1; }
.agente { background: linear-gradient(160deg, #eaf2fe, #f4f8fe); border: 1px solid #dde8f8; }
.canal { background: radial-gradient(360px 220px at 100% 0%, rgba(47, 140, 255, .35), transparent 70%), linear-gradient(160deg, var(--azul-menu-1), var(--noite));
  position: relative; overflow: hidden; }
.canal::after { content: ""; position: absolute; width: 200px; height: 240px; right: -60px; bottom: -60px; opacity: .06; pointer-events: none;
  background: url("img/logo-branco.png") center / contain no-repeat; }
.canal > * { position: relative; z-index: 1; }

/* Etapas e indicadores */
.etapas .etapa { border-radius: 12px; padding: .55rem; background: #eaf0f8; }
.etapas .etapa.atual { background: var(--grad-azul); box-shadow: 0 6px 14px rgba(2, 101, 203, .3); }
.valor-grande { color: var(--tinta); font-weight: 900; }
.titulo-foco { color: var(--azul); font-weight: 800; }
.etapa-tab.atual .etapa-num, .pergunta-num { background: var(--grad-azul); }
.chip-campo.preenchido, .chip-filtro.ativo { border-color: var(--azul); }

/* Banner de boas-vindas das páginas iniciais */
.boas-vindas { position: relative; overflow: hidden; border-radius: 26px; color: #fff; padding: 2rem 2.2rem; margin-bottom: 1.6rem;
  display: flex; align-items: center; gap: 2rem; min-height: 210px;
  background: radial-gradient(600px 300px at 85% 20%, rgba(47, 140, 255, .4), transparent 60%),
              radial-gradient(500px 260px at 0% 100%, rgba(2, 101, 203, .4), transparent 60%),
              linear-gradient(140deg, var(--noite), #0a2453 60%, #04102a); box-shadow: 0 18px 40px rgba(6, 22, 51, .2); }
.boas-vindas .bv-marca { position: absolute; width: 300px; left: 42%; bottom: -150px; opacity: .05; pointer-events: none; }
.bv-texto { flex: 1; position: relative; z-index: 1; }
.bv-saudacao { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(47, 140, 255, .18); border: 1px solid rgba(120, 180, 255, .35); color: #cfe3ff; }
.boas-vindas h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; margin: .7rem 0 .4rem; }
.boas-vindas p { color: #c8d6ef; margin: 0; max-width: 620px; }
.bv-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.bv-chips a, .bv-chips span { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 12px; font-weight: 700;
  font-size: .88rem; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); transition: background .15s; }
.bv-chips a:hover { background: rgba(255, 255, 255, .18); }
.bv-chips b { font-size: 1.05rem; color: #8cc8ff; }
.bv-foto { position: relative; flex: 0 0 170px; height: 196px; z-index: 1; }
.bv-foto::before, .bv-foto img { position: absolute; inset: 0; clip-path: var(--hex); }
.bv-foto::before { content: ""; background: linear-gradient(160deg, #6fc0ff, var(--azul) 55%, #013a80); }
.bv-foto img { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: cover; object-position: center 20%; }
@media (max-width: 767.98px) { .boas-vindas { padding: 1.5rem; } .bv-foto { display: none; } }

/* Páginas públicas (cadastro, erros): fundo da apresentação */
.sem-menu { background: radial-gradient(800px 420px at 85% 10%, rgba(47, 140, 255, .3), transparent 60%),
  radial-gradient(700px 380px at 5% 95%, rgba(2, 101, 203, .3), transparent 60%), linear-gradient(140deg, var(--noite), #0a2453 60%, #04102a);
  background-attachment: fixed; }
.sem-menu .conteudo-publico .card { border: 0; box-shadow: 0 30px 60px rgba(0, 10, 40, .35); }

/* Barra de rolagem discreta */
* { scrollbar-width: thin; scrollbar-color: #c3d2e8 transparent; }
.sidebar * { scrollbar-color: rgba(255, 255, 255, .2) transparent; }

/* Entrada suave do conteúdo */
@media (prefers-reduced-motion: no-preference) {
  .conteudo > * { animation: subir .45s ease both; }
  .conteudo > *:nth-child(2) { animation-delay: .05s; } .conteudo > *:nth-child(3) { animation-delay: .1s; }
  @keyframes subir { from { opacity: 0; transform: translateY(10px); } }
}
