/* =====================================================================
   MOBI · Identidade visual baseada na marca UNAERP
   Paleta extraída do logo: azul → azul claro → verde → verde-limão → amarelo
   ===================================================================== */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../vendor/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../vendor/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --u-azul: #4359a4;
  --u-azul-escuro: #27346b;
  --u-azul-noite: #1b2550;
  --u-azul-claro: #6281bf;
  --u-azul-nevoa: #eef1fa;
  --u-teal: #7a9e95;
  --u-verde: #8dbf44;
  --u-verde-escuro: #4e8a2a;
  --u-limao: #c9d428;
  --u-amarelo: #ecdc08;
  --u-fundo: #f5f7fb;
  --u-borda: #e4e8f2;
  --u-texto: #1e2540;
  --u-suave: #66708f;
  --u-raio: linear-gradient(90deg, #4359a4 0%, #6281bf 22%, #7a9e95 42%, #8dbf44 62%, #c9d428 82%, #ecdc08 100%);
  --u-sombra: 0 1px 2px rgba(27, 37, 80, .04), 0 4px 16px rgba(27, 37, 80, .06);
  --u-sombra-hover: 0 2px 4px rgba(27, 37, 80, .06), 0 12px 32px rgba(27, 37, 80, .12);
  --u-raio-borda: 16px;

  /* Bootstrap com as cores da marca */
  --bs-primary: #4359a4; --bs-primary-rgb: 67, 89, 164;
  --bs-success: #4e8a2a; --bs-success-rgb: 78, 138, 42;
  --bs-info: #a9bde6;    --bs-info-rgb: 169, 189, 230;
  --bs-warning: #ecdc08; --bs-warning-rgb: 236, 220, 8;
  --bs-danger: #d64545;  --bs-danger-rgb: 214, 69, 69;
  --bs-dark: #27346b;    --bs-dark-rgb: 39, 52, 107;
  --bs-link-color: #4359a4; --bs-link-color-rgb: 67, 89, 164;
  --bs-link-hover-color: #27346b; --bs-link-hover-color-rgb: 39, 52, 107;
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: #1e2540;
  --bs-border-color: #e4e8f2;
  --bs-border-radius: .6rem;
  --bs-border-radius-sm: .45rem;
  --bs-border-radius-lg: .9rem;
}

body { background: var(--u-fundo); color: var(--u-texto); -webkit-font-smoothing: antialiased; }
body::before { content: ""; display: block; height: 4px; background: var(--u-raio); }
a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.01em; }
.page-title { font-weight: 800; color: var(--u-azul-escuro); letter-spacing: -.02em; }
.text-muted { color: var(--u-suave) !important; }
.small-muted { font-size: .85rem; color: var(--u-suave); }

/* ------------------------------------------------------------ navegação */
.mobi-nav { background: #fff; border-bottom: 1px solid var(--u-borda); padding-top: .6rem; padding-bottom: .6rem; }
.mobi-nav .navbar-brand { color: var(--u-azul-escuro); }
.mobi-nav .navbar-brand img { height: 38px; width: auto; }
.marca-texto { display: flex; flex-direction: column; line-height: 1.05; }
.marca-texto strong { font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; color: var(--u-azul); }
.marca-texto span { font-size: .72rem; color: var(--u-suave); font-weight: 500; }
.mobi-nav .nav-link { color: var(--u-suave); font-weight: 600; font-size: .92rem; border-radius: 999px; padding: .45rem .9rem !important; }
.mobi-nav .nav-link:hover { color: var(--u-azul); background: var(--u-azul-nevoa); }
.mobi-nav .nav-link.active { color: var(--u-azul); background: var(--u-azul-nevoa); }
.mobi-nav .usuario { color: var(--u-texto); font-weight: 600; font-size: .9rem; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--u-raio); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }

/* Administrador: barra preta para diferenciar claramente do aluno */
.mobi-nav-admin { background: #0e0f12; border-bottom: 1px solid #1f2127; }
.mobi-nav-admin .navbar-brand { flex-shrink: 0; white-space: nowrap; }
.mobi-nav-admin .navbar-brand, .mobi-nav-admin .marca-texto strong, .mobi-nav-admin .usuario { color: #fff; }
.mobi-nav-admin .marca-texto span { color: #9aa0ad; }
.mobi-nav-admin .nav-link { color: #b4b9c4; }
.mobi-nav-admin .nav-link:hover, .mobi-nav-admin .nav-link.active { color: #fff; background: #23262d; }
.mobi-nav-admin .navbar-toggler { filter: invert(1); border-color: #444; }
.mobi-nav-admin .avatar { background: #2a2d35; color: #fff; }

/* ------------------------------------------------------------ componentes */
.card { border: 1px solid var(--u-borda); box-shadow: var(--u-sombra); border-radius: var(--u-raio-borda); }
.card-header { background: #fff; font-weight: 700; border-bottom: 1px solid var(--u-borda); padding: .9rem 1.25rem;
  border-radius: var(--u-raio-borda) var(--u-raio-borda) 0 0 !important; color: var(--u-azul-escuro); }
.card-footer { border-top: 1px solid var(--u-borda); border-radius: 0 0 var(--u-raio-borda) var(--u-raio-borda) !important; }
.card > .list-group:last-child, .card > .table-responsive:last-child { border-radius: 0 0 var(--u-raio-borda) var(--u-raio-borda); overflow: hidden; }

.btn { font-weight: 600; border-radius: .65rem; }
.btn-primary { --bs-btn-bg: var(--u-azul); --bs-btn-border-color: var(--u-azul);
  --bs-btn-hover-bg: var(--u-azul-escuro); --bs-btn-hover-border-color: var(--u-azul-escuro);
  --bs-btn-active-bg: var(--u-azul-noite); --bs-btn-active-border-color: var(--u-azul-noite);
  --bs-btn-disabled-bg: var(--u-azul); --bs-btn-disabled-border-color: var(--u-azul); }
.btn-outline-primary { --bs-btn-color: var(--u-azul); --bs-btn-border-color: #c6cfea;
  --bs-btn-hover-bg: var(--u-azul); --bs-btn-hover-border-color: var(--u-azul); --bs-btn-active-bg: var(--u-azul-escuro); }
.btn-destaque { background: var(--u-verde); border-color: var(--u-verde); color: var(--u-azul-noite); }
.btn-destaque:hover { background: #7bad35; border-color: #7bad35; color: var(--u-azul-noite); }
.btn-success { --bs-btn-bg: var(--u-verde-escuro); --bs-btn-border-color: var(--u-verde-escuro);
  --bs-btn-hover-bg: #3f7321; --bs-btn-hover-border-color: #3f7321; }
.btn-dark { --bs-btn-bg: var(--u-azul-noite); --bs-btn-border-color: var(--u-azul-noite);
  --bs-btn-hover-bg: var(--u-azul-escuro); --bs-btn-hover-border-color: var(--u-azul-escuro); }

.form-control, .form-select { border-color: #d6dcea; padding: .55rem .8rem; }
.form-control-sm, .form-select-sm { padding: .35rem .6rem; }
.form-control:focus, .form-select:focus { border-color: var(--u-azul-claro); box-shadow: 0 0 0 .22rem rgba(98, 129, 191, .2); }
.form-check-input:checked { background-color: var(--u-azul); border-color: var(--u-azul); }
.form-label { font-weight: 600; font-size: .88rem; color: #3a4262; }

.badge { font-weight: 700; letter-spacing: .01em; padding: .42em .7em; border-radius: 999px; }
.badge-status { white-space: normal; text-align: left; line-height: 1.25; }
.text-bg-info { color: var(--u-azul-noite) !important; }
.text-bg-warning { color: var(--u-azul-noite) !important; }
.text-bg-light { background: var(--u-azul-nevoa) !important; color: var(--u-azul) !important; }

.alert { border: 0; border-radius: .9rem; }
.alert-info { background: var(--u-azul-nevoa); color: var(--u-azul-escuro); }
.alert-success { background: #edf6e3; color: #335c1a; }
.alert-warning { background: #fdf9d4; color: #5c5410; }
.alert-danger { background: #fbe9e9; color: #8a2424; }

.table { --bs-table-hover-bg: #f7f9fd; }
.table > thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--u-suave);
  font-weight: 700; background: #fafbfe; border-bottom-color: var(--u-borda); white-space: nowrap; }
.table > :not(caption) > * > * { vertical-align: middle; padding: .8rem 1rem; border-bottom-color: #eef1f7; }

.nav-tabs { border-bottom: 0; gap: .25rem; }
.nav-tabs .nav-link { border: 0; color: var(--u-suave); font-weight: 600; border-radius: .7rem .7rem 0 0; padding: .7rem 1.1rem; }
.nav-tabs .nav-link.active { color: var(--u-azul); background: #fff; box-shadow: inset 0 3px 0 var(--u-azul); }
.pagination { --bs-pagination-active-bg: var(--u-azul); --bs-pagination-active-border-color: var(--u-azul); --bs-pagination-color: var(--u-azul); }
.dropdown-menu { border: 1px solid var(--u-borda); box-shadow: var(--u-sombra-hover); border-radius: .8rem; padding: .4rem; }
.dropdown-item { border-radius: .5rem; font-size: .92rem; }
.accordion-button:not(.collapsed) { background: var(--u-azul-nevoa); color: var(--u-azul-escuro); box-shadow: none; }

/* ------------------------------------------------------------ login */
.auth-page { min-height: calc(100vh - 4px); display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; }
.auth-arte { position: relative; overflow: hidden; color: #fff; padding: 3rem; display: flex; flex-direction: column;
  justify-content: space-between; background: radial-gradient(120% 90% at 0% 100%, #3a4d95 0%, var(--u-azul-noite) 60%); }
.auth-arte::after { /* símbolo da marca como elemento decorativo */
  content: ""; position: absolute; width: 560px; height: 560px; right: -150px; bottom: -170px;
  background: url("../img/simbolo-unaerp.png") center / contain no-repeat; opacity: .16; }
.auth-arte .logo { height: 120px; width: auto; }
.auth-arte h1 { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.02em; line-height: 1.12; max-width: 16ch; }
.auth-arte p { color: rgba(255,255,255,.75); max-width: 42ch; }
.auth-arte .faixa { height: 6px; width: 140px; border-radius: 3px; background: var(--u-raio); margin-bottom: 1.25rem; }
.auth-arte.admin { background: radial-gradient(120% 90% at 100% 0%, #25272e 0%, #0e0f12 65%); }
.auth-arte.admin::after { opacity: .1; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; }
.auth-form .caixa { width: 100%; max-width: 420px; }
.auth-form h2 { font-weight: 800; color: var(--u-azul-escuro); letter-spacing: -.02em; }
.auth-form .logo-mobile { display: none; height: 72px; }
@media (max-width: 991.98px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-arte { display: none; }
  .auth-form .logo-mobile { display: block; margin: 0 auto 1.5rem; }
}

/* ------------------------------------------------------------ início do aluno */
.hero-aluno { background: #fff; border: 1px solid var(--u-borda); border-radius: 20px; padding: 1.75rem 2rem; position: relative;
  overflow: hidden; box-shadow: var(--u-sombra); }
.hero-aluno::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; opacity: .12;
  background: url("../img/simbolo-unaerp.png") center / contain no-repeat; }

.programa-card { height: 100%; transition: transform .18s ease, box-shadow .18s ease; border-top: 0; position: relative; overflow: hidden; }
.programa-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--cor, var(--u-azul)); }
.programa-card:hover { transform: translateY(-4px); box-shadow: var(--u-sombra-hover); }
.programa-card .icone { font-size: 1.6rem; width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; color: var(--cor-texto, #fff); background: var(--cor, var(--u-azul)); }
.programa-card .seta { color: var(--u-suave); transition: transform .18s; }
.programa-card:hover .seta { transform: translateX(4px); color: var(--u-azul); }
.col-programa:nth-child(1) .programa-card { --cor: #4359a4; }
.col-programa:nth-child(2) .programa-card { --cor: #6281bf; }
.col-programa:nth-child(3) .programa-card { --cor: #7a9e95; }
.col-programa:nth-child(4) .programa-card { --cor: #8dbf44; --cor-texto: #1b2550; }
.col-programa:nth-child(5) .programa-card { --cor: #c9d428; --cor-texto: #1b2550; }
.col-programa:nth-child(6) .programa-card { --cor: #ecdc08; --cor-texto: #1b2550; }
.pill-aberto { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--u-verde-escuro);
  background: #edf6e3; padding: .3rem .65rem; border-radius: 999px; }
.pill-aberto::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--u-verde); box-shadow: 0 0 0 3px rgba(141,191,68,.25); }
.pill-fechado { font-size: .78rem; font-weight: 600; color: var(--u-suave); background: #f0f2f7; padding: .3rem .65rem; border-radius: 999px; }
.icone-programa { width: 64px; height: 64px; border-radius: 18px; font-size: 1.9rem; display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--u-azul); }

/* ------------------------------------------------------------ linha do tempo */
.mobi-steps { list-style: none; display: flex; padding: .25rem 0 0; margin: 0; overflow-x: auto; }
.mobi-steps li { flex: 1; min-width: 92px; text-align: center; position: relative; font-size: .78rem; color: #97a0bb; font-weight: 600; }
.mobi-steps li::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 4px; background: #e6eaf3; z-index: 0; border-radius: 2px; }
.mobi-steps li:first-child::before { display: none; }
.mobi-steps .bolinha { position: relative; z-index: 1; display: inline-flex; width: 36px; height: 36px; border-radius: 50%;
  align-items: center; justify-content: center; background: #fff; border: 2px solid #dfe4ef; color: #97a0bb; font-weight: 800; margin-bottom: .4rem; }
.mobi-steps .rotulo { display: block; padding: 0 .25rem; }
.mobi-steps li.feito { color: var(--u-verde-escuro); }
.mobi-steps li.feito .bolinha { background: var(--u-verde); border-color: var(--u-verde); color: #fff; }
.mobi-steps li.feito::before, .mobi-steps li.atual::before { background: var(--u-verde); }
.mobi-steps li.atual { color: var(--u-azul-escuro); font-weight: 800; }
.mobi-steps li.atual .bolinha { background: var(--u-amarelo); border-color: var(--u-amarelo); color: var(--u-azul-noite);
  box-shadow: 0 0 0 6px rgba(236, 220, 8, .25); }

/* ------------------------------------------------------------ histórico */
.timeline { border-left: 2px solid var(--u-borda); margin-left: .5rem; padding-left: 1.4rem; }
.timeline .item { position: relative; margin-bottom: 1.2rem; }
.timeline .item:last-child { margin-bottom: 0; }
.timeline .item::before { content: ""; position: absolute; left: -1.87rem; top: .25rem; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--u-azul-claro); }
.timeline .item:first-child::before { border-color: var(--u-verde); background: var(--u-verde); box-shadow: 0 0 0 4px rgba(141,191,68,.2); }
.timeline .msg { background: var(--u-azul-nevoa); border-radius: .7rem; padding: .6rem .8rem; margin-top: .35rem; font-size: .88rem; white-space: pre-line; }

/* ------------------------------------------------------------ painel admin */
.kpi { position: relative; overflow: hidden; height: 100%; transition: box-shadow .15s, transform .15s; }
.kpi:hover { box-shadow: var(--u-sombra-hover); transform: translateY(-2px); }
.kpi .card-body { padding: 1.25rem 1.35rem; }
.kpi .rotulo { font-size: .8rem; font-weight: 600; color: var(--u-suave); }
.kpi .valor { font-size: 2.3rem; font-weight: 800; color: var(--u-azul-escuro); line-height: 1.1; letter-spacing: -.03em; }
.kpi .ic { position: absolute; right: 1.1rem; top: 1.1rem; width: 42px; height: 42px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.25rem; background: var(--u-azul-nevoa); color: var(--u-azul); }
.kpi.alerta .ic { background: #fdf9d4; color: #8a7d05; }
.kpi.ok .ic { background: #edf6e3; color: var(--u-verde-escuro); }
.kpi.claro .ic { background: #e9f0ee; color: #4f7a6f; }
.barra { height: 8px; background: #eef1f7; border-radius: 4px; overflow: hidden; margin-top: .3rem; }
.barra > span { display: block; height: 100%; border-radius: 4px; background: var(--u-raio); background-size: 400px 100%; }
.indicador li { padding: .3rem 0; border-bottom: 1px dashed #edf0f6; }
.indicador li:last-child { border-bottom: 0; }

/* ------------------------------------------------------------ diversos */
.doc-row { border-bottom: 1px solid #eef1f7; padding: .95rem 0; }
.doc-row:last-child { border-bottom: 0; }
dl.dados dt { font-weight: 600; color: var(--u-suave); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .1rem; }
dl.dados dd { margin-bottom: .75rem; font-weight: 500; }
.voltar { font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--u-suave); }
.voltar:hover { color: var(--u-azul); }
.rodape { color: var(--u-suave); font-size: .8rem; }
.rodape img { height: 22px; opacity: .9; }
.prazo { background: var(--u-azul-nevoa); border-radius: .8rem; padding: .8rem 1rem; }
.prazo .data { font-size: 1.25rem; font-weight: 800; color: var(--u-azul-escuro); }
.vazio { text-align: center; padding: 2.5rem 1rem; color: var(--u-suave); }
.vazio i { font-size: 2.2rem; color: #c3cbe0; display: block; margin-bottom: .5rem; }
.card-header:last-child { border-bottom: 0; border-radius: var(--u-raio-borda) !important; }
.btn-preto { background: #0e0f12; border-color: #0e0f12; color: #fff; } .btn-preto:hover { background: #2a2d35; border-color: #2a2d35; color: #fff; }
.miniatura { width: 96px; height: 96px; object-fit: cover; border-radius: .6rem; border: 1px solid var(--u-borda); }
.miniatura:hover { box-shadow: var(--u-sombra-hover); }
.acao-necessaria { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700;
  color: #6b5e00; background: #fdf6b8; padding: .25rem .6rem; border-radius: 999px; }
.entrega-card { border: 1px solid var(--u-borda); border-radius: .9rem; padding: 1rem 1.1rem; margin-bottom: .75rem; background: #fff; }
.entrega-card.pendente-aluno { border-color: #eadf6a; background: #fffdf0; }
.liberacao { background: var(--u-azul-nevoa); border-radius: .7rem; padding: .6rem .8rem; }
.questionario .secao-titulo { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--u-azul-claro); margin: 1.25rem 0 .5rem; }
.questionario .pergunta { margin-bottom: 1rem; }
.escala .btn-check:checked + .btn { background: var(--u-azul); color: #fff; border-color: var(--u-azul); }
.grade-excluida { background: #fbe9e9; color: #8a2424; border-left: 4px solid #d64545; }
.grade-incluida { background: #edf6e3; color: #335c1a; border-left: 4px solid var(--u-verde); }
.dados-registrados { background: var(--u-azul-nevoa); border-radius: .7rem; padding: .6rem .8rem; color: var(--u-azul-escuro); }
.grade-tabela th { font-size: .72rem; text-transform: none; letter-spacing: 0; white-space: normal; min-width: 80px; }
.grade-tabela td:first-child { font-weight: 600; min-width: 180px; }
.opcoes .form-check { margin-bottom: .25rem; }
.form-check-input { border-color: #a3acc6; }
.grade-tabela .form-check-input { width: 1.25em; height: 1.25em; }
.grade-tabela tbody tr:hover { background: #f7f9fd; }

/* Nota sobre as instituições parceiras (** = sem reciprocidade) */
.nota-parceiras { background: #f4f7fc; border-left: 3px solid var(--bs-primary, #0b3a6e); border-radius: .5rem; padding: .75rem 1rem; color: #3b4563; }
.nota-parceiras p:last-child { margin-bottom: 0; }

/* =====================================================================
   ACABAMENTO PREMIUM · v3
   Mais arredondado, superfícies com brilho suave, profundidade e movimento sutil.
   (camada por cima da identidade acima — mesmas cores da UNAERP)
   ===================================================================== */
:root {
  --u-raio-borda: 22px;
  --u-sombra: 0 1px 1px rgba(27, 37, 80, .03), 0 2px 6px rgba(27, 37, 80, .04), 0 12px 32px -12px rgba(27, 37, 80, .12);
  --u-sombra-hover: 0 2px 4px rgba(27, 37, 80, .05), 0 18px 44px -14px rgba(39, 52, 107, .28);
  --u-brilho: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%);
  --u-azul-grad: linear-gradient(135deg, #5a72c4 0%, #4359a4 45%, #2f3f82 100%);
  --u-verde-grad: linear-gradient(135deg, #a5d25c 0%, #8dbf44 50%, #74a82f 100%);
  --bs-border-radius: .85rem; --bs-border-radius-sm: .6rem; --bs-border-radius-lg: 1.15rem;
}

/* fundo com luz suave nas cores da marca */
body {
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(98, 129, 191, .14), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(141, 191, 68, .10), transparent 60%),
    var(--u-fundo);
  background-repeat: no-repeat;
}
::selection { background: rgba(98, 129, 191, .25); }
* { scrollbar-width: thin; scrollbar-color: #c3cbe0 transparent; }

/* entrada suave do conteúdo */
@media (prefers-reduced-motion: no-preference) {
  main > * { animation: mobi-sobe .45s cubic-bezier(.2, .7, .2, 1) both; }
  main > *:nth-child(2) { animation-delay: .04s; } main > *:nth-child(3) { animation-delay: .08s; }
  main > *:nth-child(4) { animation-delay: .12s; } main > *:nth-child(n+5) { animation-delay: .16s; }
}
@keyframes mobi-sobe { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ navegação em vidro */
.mobi-nav { position: sticky; top: 0; z-index: 1020; background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(228, 232, 242, .8); box-shadow: 0 6px 24px -18px rgba(27, 37, 80, .35); }
.mobi-nav .nav-link { transition: background .18s, color .18s, box-shadow .18s; }
.mobi-nav .nav-link.active { background: #fff; box-shadow: 0 1px 2px rgba(27,37,80,.06), 0 4px 14px -6px rgba(67,89,164,.35), inset 0 0 0 1px #e6ebf7; }
.mobi-nav .navbar-brand img { filter: drop-shadow(0 2px 6px rgba(67, 89, 164, .25)); }
.mobi-nav-admin { background: rgba(10, 11, 14, .95); border-bottom-color: rgba(255, 255, 255, .06);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.mobi-nav-admin .nav-link.active { background: linear-gradient(180deg, #2c3038, #1f2228); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 14px -6px rgba(0,0,0,.6); }
.avatar { box-shadow: 0 0 0 2px #fff, 0 4px 12px -2px rgba(67, 89, 164, .45); }
.mobi-nav-admin .avatar { box-shadow: 0 0 0 2px #2a2d35; }

/* ------------------------------------------------------------ cartões */
.card { border-color: rgba(228, 232, 242, .9); background: linear-gradient(180deg, #fff 0%, #fdfdff 100%); }
.card-header { background: linear-gradient(180deg, #fff, #fafbfe); padding: 1rem 1.35rem; letter-spacing: -.005em; }
.card-footer { background: #fafbfe; }
.hero-aluno, .kpi, .programa-card, .entrega-card { border-radius: var(--u-raio-borda); }

/* ------------------------------------------------------------ botões com brilho */
.btn { border-radius: 999px; padding: .55rem 1.15rem; white-space: nowrap; letter-spacing: .005em;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s, border-color .2s, color .2s; }
.btn-sm { padding: .35rem .85rem; } .btn-lg { padding: .8rem 1.6rem; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background-image: var(--u-azul-grad); border-color: #3b4f98;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 16px -6px rgba(67, 89, 164, .6); }
.btn-primary:hover { background-image: linear-gradient(135deg, #6680cf 0%, #4a60ad 45%, #34468e 100%); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 22px -8px rgba(67, 89, 164, .7); }
.btn-destaque { background-image: var(--u-verde-grad); border-color: #7fb23a; color: var(--u-azul-noite);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 20px -8px rgba(116, 168, 47, .75); }
.btn-destaque:hover { background-image: linear-gradient(135deg, #b0db68, #92c54a 55%, #7bb035); transform: translateY(-1px);
  color: var(--u-azul-noite); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 12px 26px -10px rgba(116,168,47,.85); }
.btn-success { background-image: linear-gradient(135deg, #5c9c34, #4e8a2a 55%, #3f7321);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px -8px rgba(78,138,42,.7); }
.btn-danger { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px -8px rgba(214,69,69,.6); }
.btn-dark, .btn-preto { background-image: linear-gradient(180deg, #2c3038, #121317); border-color: #16171b; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 16px -8px rgba(0,0,0,.6); }
.btn-dark:hover, .btn-preto:hover { transform: translateY(-1px); color: #fff; }
.btn-outline-primary, .btn-outline-secondary, .btn-outline-danger, .btn-outline-dark, .btn-light { background: #fff;
  box-shadow: 0 1px 2px rgba(27, 37, 80, .06); }
.btn-outline-primary:hover { background-image: var(--u-azul-grad); color: #fff; border-color: #3b4f98;
  box-shadow: 0 6px 16px -8px rgba(67, 89, 164, .6); }
.btn-link { box-shadow: none !important; }
.btn-close { border-radius: 50%; }

/* ------------------------------------------------------------ formulários */
.form-control, .form-select { border-radius: 14px; background-color: #fcfdff; border-color: #dde3ef;
  box-shadow: inset 0 1px 2px rgba(27, 37, 80, .04); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.form-control-sm, .form-select-sm { border-radius: 11px; }
.form-control:hover, .form-select:hover { border-color: #c8d1e6; }
.form-control:focus, .form-select:focus { background-color: #fff; border-color: var(--u-azul-claro);
  box-shadow: 0 0 0 4px rgba(98, 129, 191, .16), inset 0 1px 2px rgba(27, 37, 80, .03); }
textarea.form-control { border-radius: 16px; }
.input-group > .form-control, .input-group > .form-select { border-radius: 14px; }
.input-group-text { border-radius: 14px; background: var(--u-azul-nevoa); border-color: #dde3ef; }
.form-check-input { border-radius: .4em; } .form-check-input[type=radio] { border-radius: 50%; }
.form-switch .form-check-input { border-radius: 2em; }
.form-check-input:checked { background-color: var(--u-azul); box-shadow: 0 2px 8px -2px rgba(67, 89, 164, .6); }

/* ------------------------------------------------------------ selos, alertas, tabelas, abas */
.badge { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(27, 37, 80, .08); }
.text-bg-light { box-shadow: inset 0 0 0 1px #dfe5f4; }
.alert { border-radius: 18px; box-shadow: 0 1px 2px rgba(27,37,80,.04), 0 10px 26px -18px rgba(27,37,80,.35);
  border: 1px solid rgba(255, 255, 255, .6); position: relative; }
.alert-info { background: linear-gradient(135deg, #f1f4fc, #e8eefb); }
.alert-success { background: linear-gradient(135deg, #f2f9ea, #e6f3d8); }
.alert-warning { background: linear-gradient(135deg, #fffbe0, #fbf3c2); }
.alert-danger { background: linear-gradient(135deg, #fdf0f0, #f9e2e2); }
.alert-secondary { background: linear-gradient(135deg, #f5f6fa, #eceff5); }
.flash-ic { font-size: 1.15rem; margin-right: .55rem; vertical-align: -.15em; }

.table-responsive { border-radius: 0 0 var(--u-raio-borda) var(--u-raio-borda); }
.table > thead th { background: linear-gradient(180deg, #fbfcff, #f4f6fc); }
.table-hover > tbody > tr { transition: background-color .12s; }

.nav-tabs { background: rgba(238, 241, 250, .8); padding: .35rem; border-radius: 999px; display: inline-flex; flex-wrap: wrap; }
.nav-tabs .nav-link { border-radius: 999px; padding: .5rem 1rem; }
.nav-tabs .nav-link.active { box-shadow: 0 1px 2px rgba(27,37,80,.08), 0 6px 16px -8px rgba(67,89,164,.45); background: #fff; }
.nav-tabs + .card, .nav-tabs + .tab-content { margin-top: .75rem; }
.dropdown-menu { border-radius: 18px; padding: .5rem; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .96); }
.dropdown-item { border-radius: 12px; padding: .5rem .8rem; }
.accordion-item { border-radius: 16px !important; overflow: hidden; margin-bottom: .5rem; border: 1px solid var(--u-borda) !important; }
.accordion-button { border-radius: 16px !important; }
.list-group-item:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.modal-content { border: 0; border-radius: 26px; box-shadow: 0 30px 80px -20px rgba(27, 37, 80, .45); }
.modal-backdrop.show { opacity: .35; }
.pagination .page-link { border-radius: 999px !important; margin: 0 .15rem; border: 0; }
.pagination .active .page-link { background-image: var(--u-azul-grad); box-shadow: 0 6px 14px -6px rgba(67,89,164,.6); }

/* ------------------------------------------------------------ destaque: início do aluno */
.hero-aluno { border: 0; color: #fff; padding: 2.1rem 2.3rem;
  background: radial-gradient(120% 140% at 0% 0%, #5a72c4 0%, #3a4d95 38%, #1b2550 100%);
  box-shadow: 0 24px 50px -24px rgba(27, 37, 80, .65), inset 0 1px 0 rgba(255, 255, 255, .18); }
.hero-aluno::after { opacity: .2; width: 280px; height: 280px; right: -50px; top: -60px; filter: brightness(1.4); }
.hero-aluno::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--u-raio); }
.hero-aluno .page-title { color: #fff; }
.hero-aluno .text-muted { color: rgba(255, 255, 255, .78) !important; }
.hero-aluno .small { color: #c9d428 !important; }

.programa-card { border-radius: 24px; }
.programa-card::before { height: 0; }
.programa-card .icone { width: 58px; height: 58px; border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cor) 72%, #fff) 0%, var(--cor) 55%, color-mix(in srgb, var(--cor) 80%, #000) 100%);
  box-shadow: 0 10px 22px -10px var(--cor), inset 0 1px 0 rgba(255, 255, 255, .4); }
.programa-card .icone::after { content: ""; position: absolute; inset: 0 0 50% 0; background: var(--u-brilho); }
.programa-card::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); }
.programa-card:hover::after { left: 130%; transition: left .8s ease; }
.programa-card:hover { transform: translateY(-6px); }
.icone-programa { border-radius: 22px; background: var(--u-azul-grad);
  box-shadow: 0 14px 28px -12px rgba(67, 89, 164, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }

/* ------------------------------------------------------------ painel admin */
.kpi { border-radius: 22px; }
.kpi .ic { width: 46px; height: 46px; border-radius: 15px; background: var(--u-azul-grad); color: #fff;
  box-shadow: 0 10px 20px -10px rgba(67, 89, 164, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.kpi.alerta .ic { background: linear-gradient(135deg, #f5e85a, #e0cb06); color: #4a4200; box-shadow: 0 10px 20px -10px rgba(224, 203, 6, .9), inset 0 1px 0 rgba(255,255,255,.5); }
.kpi.ok .ic { background: var(--u-verde-grad); color: #1b2550; box-shadow: 0 10px 20px -10px rgba(116, 168, 47, .9), inset 0 1px 0 rgba(255,255,255,.45); }
.kpi.claro .ic { background: linear-gradient(135deg, #9dbfb6, #7a9e95 55%, #5f8479); color: #fff; box-shadow: 0 10px 20px -10px rgba(95,132,121,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.kpi::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--u-raio); opacity: 0; transition: opacity .2s; }
.kpi:hover::after { opacity: 1; }
.kpi .valor { background: linear-gradient(135deg, #27346b, #4359a4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.barra { height: 10px; border-radius: 999px; box-shadow: inset 0 1px 2px rgba(27,37,80,.08); }
.barra > span { border-radius: 999px; }

/* ------------------------------------------------------------ linha do tempo */
.mobi-steps .bolinha { box-shadow: 0 2px 6px rgba(27, 37, 80, .08); }
.mobi-steps li.feito .bolinha { background: var(--u-verde-grad); box-shadow: 0 6px 14px -6px rgba(116,168,47,.9), inset 0 1px 0 rgba(255,255,255,.4); }
.mobi-steps li.atual .bolinha { background: linear-gradient(135deg, #f6ea5c, #ecdc08); animation: mobi-pulso 2.4s ease-in-out infinite; }
@keyframes mobi-pulso { 0%, 100% { box-shadow: 0 0 0 6px rgba(236,220,8,.25); } 50% { box-shadow: 0 0 0 10px rgba(236,220,8,.12); } }
@media (prefers-reduced-motion: reduce) { .mobi-steps li.atual .bolinha { animation: none; } }
.mobi-steps li::before { height: 5px; border-radius: 999px; }
.mobi-steps li.feito::before, .mobi-steps li.atual::before { background: var(--u-verde-grad); }

/* ------------------------------------------------------------ detalhes */
.prazo, .liberacao, .dados-registrados, .timeline .msg { border-radius: 16px; }
.prazo { background: linear-gradient(135deg, #f1f4fc, #e6ecfa); box-shadow: inset 0 1px 0 #fff; }
.entrega-card { border-radius: 20px; box-shadow: var(--u-sombra); transition: box-shadow .2s, transform .2s; }
.entrega-card:hover { box-shadow: var(--u-sombra-hover); }
.miniatura { border-radius: 14px; }
.nota-parceiras { border-radius: 16px; border-left-width: 4px; background: linear-gradient(135deg, #f5f7fd, #eef2fb); }
.pill-aberto, .pill-fechado, .acao-necessaria { box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.rodape { padding-bottom: 2rem !important; }
.rodape em { font-style: normal; background: linear-gradient(90deg, #4359a4, #4e8a2a); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }

/* ------------------------------------------------------------ login */
.auth-arte { background: radial-gradient(120% 90% at 0% 100%, #3a4d95 0%, var(--u-azul-noite) 60%); }
.auth-arte::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 129, 191, .55), transparent 65%); filter: blur(10px); }
.auth-arte.admin::before { background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 65%); }
.auth-form { background: radial-gradient(700px 400px at 100% 0%, rgba(98,129,191,.10), transparent 60%),
  radial-gradient(600px 380px at 0% 100%, rgba(141,191,68,.08), transparent 60%), #f7f9fd; }
.auth-form .caixa { background: rgba(255, 255, 255, .9); border: 1px solid rgba(228, 232, 242, .9); border-radius: 28px;
  padding: 2.4rem 2.2rem; box-shadow: 0 30px 70px -30px rgba(27, 37, 80, .35), inset 0 1px 0 #fff; }
@media (max-width: 575.98px) { .auth-form .caixa { padding: 1.75rem 1.25rem; border-radius: 22px; } }
.auth-form .btn-primary, .auth-form .btn-dark, .auth-form .btn-preto { padding-top: .75rem; padding-bottom: .75rem; }
@media (max-width: 575.98px) { .btn { white-space: normal; } .nav-tabs { border-radius: 18px; } }

/* =====================================================================
   RELATÓRIOS · dashboard executivo
   Uma série por gráfico → um único tom (azul da marca), marcas finas, pontas arredondadas.
   ===================================================================== */
.relatorios { --serie: #4359a4; --trilho: #eef1f8; }
.filtros-rel .form-select { width: auto; min-width: 200px; }
.filtros-rel select[name=ano] { min-width: 270px; }
.relatorios .kpi .valor { font-size: 2.1rem; }

[data-tip] { position: relative; }
[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  background: #1b2550; color: #fff; font-size: .75rem; font-weight: 600; padding: .35rem .6rem; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(27,37,80,.6); z-index: 5; pointer-events: none; }

/* barras horizontais */
.hbarras { display: grid; gap: .55rem; }
.hbar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; align-items: center; gap: .65rem; }
.hbar-rot { font-size: .84rem; color: var(--u-texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-trilho, .funil-trilho { height: 14px; background: var(--trilho); border-radius: 999px; overflow: hidden; }
.hbar-trilho span, .funil-trilho span { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #5a72c4, var(--serie)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.hbar-val { font-size: .85rem; font-weight: 700; color: var(--u-azul-escuro); min-width: 1.6rem; text-align: right; }
.hbar:hover .hbar-trilho span, .funil-etapa:hover .funil-trilho span { background: linear-gradient(90deg, #4a60ad, #2f3f82); }

/* funil */
.funil { display: grid; gap: .8rem; }
.funil-etapa { display: grid; grid-template-columns: 170px 1fr 88px 56px; align-items: center; gap: .75rem; }
.funil-rot { font-size: .88rem; font-weight: 600; color: var(--u-azul-escuro); }
.funil-trilho { height: 22px; }
.funil-num { font-size: .95rem; text-align: right; white-space: nowrap; }
.funil-num strong { color: var(--u-azul-escuro); font-size: 1.05rem; }
.funil-conv { font-size: .78rem; color: var(--u-suave); white-space: nowrap; }

/* colunas (evolução mensal) */
.colunas { display: flex; align-items: stretch; gap: .35rem; height: 230px; padding-top: .25rem; border-bottom: 1px solid #e3e7f1; }
.coluna { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.coluna-val { font-size: .74rem; font-weight: 700; color: var(--u-azul-escuro); height: 1.1rem; }
.coluna-trilho { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.coluna-trilho span { display: block; width: min(24px, 70%); border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #6680cf, var(--serie)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); transition: height .6s cubic-bezier(.2,.7,.2,1); }
.coluna:hover .coluna-trilho span { background: linear-gradient(180deg, #4a60ad, #2f3f82); }
.coluna-rot { font-size: .68rem; color: var(--u-suave); margin-top: .35rem; margin-bottom: -1.4rem; white-space: nowrap; }
.colunas { margin-bottom: 1.6rem; }

/* números compactos */
.mini-stat { background: linear-gradient(135deg, #f5f7fd, #edf1fa); border-radius: 16px; padding: .7rem .9rem; box-shadow: inset 0 1px 0 #fff; height: 100%; }
.mini-stat .n { font-size: 1.35rem; font-weight: 800; color: var(--u-azul-escuro); line-height: 1.1; }
.mini-stat.grande .n { font-size: 1.9rem; }
.mini-stat .r { font-size: .76rem; color: var(--u-suave); }
.vig { display: flex; align-items: center; gap: .65rem; border-radius: 16px; padding: .7rem .85rem; height: 100%; color: var(--u-texto); }
.vig i { font-size: 1.35rem; }
.vig .n { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.vig .r { font-size: .75rem; }
.vig-ok { background: #edf6e3; } .vig-ok i { color: #4e8a2a; }
.vig-aviso { background: #fdf6d0; } .vig-aviso i { color: #9a8600; }
.vig-critico { background: #fbe9e9; } .vig-critico i { color: #c43d3d; }
.vig-neutro { background: #f0f2f7; } .vig-neutro i { color: #66708f; }
.operacao .n { font-size: 1.6rem; font-weight: 800; color: var(--u-azul-escuro); }
.operacao .r { font-size: .8rem; color: var(--u-suave); }
@media (max-width: 767.98px) {
  .funil-etapa { grid-template-columns: 1fr 70px; }
  .funil-rot { grid-column: 1 / -1; } .funil-conv { display: none; }
  .coluna-rot { font-size: .6rem; transform: rotate(-45deg); }
}

/* =====================================================================
   ÍCONES · mesmo tamanho, centralizados, alinhados ao texto e sem encostar nas letras
   ===================================================================== */
.bi { display: inline-block; width: 1.25em; text-align: center; flex-shrink: 0; line-height: 1; }
.bi::before { vertical-align: -.125em; }

/* botões, links do menu, itens de lista suspensa: ícone + texto sempre lado a lado */
.btn, .nav-link, .dropdown-item { display: inline-flex; align-items: center; justify-content: center; gap: .4em; }
.nav-link, .dropdown-item { justify-content: flex-start; }
.navbar-nav .nav-link { display: flex; }
.btn > .bi.bi, .nav-link > .bi.bi, .dropdown-item > .bi.bi, .btn > .bi.bi:last-child { margin: 0; }
.btn-link { display: inline; }

/* títulos, cabeçalhos de cartão, rótulos e textos com ícone */
.card-header .bi, .page-title .bi, h1 .bi, h2 .bi, h3 .bi, h4 .bi, h5 .bi, h6 .bi, .form-label .bi,
.small > .bi:first-child, .voltar .bi, a > .bi:first-child, span > .bi:first-child, div > .bi:first-child:not(:only-child),
.fw-semibold > .bi:first-child, p > .bi:first-child, li > .bi:first-child, td > .bi:first-child { margin-right: .3em; }
.bi:last-child:not(:first-child) { margin-left: .2em; margin-right: 0; }

/* avisos: ícone à esquerda, texto ao lado (nunca sozinho numa linha) */
.alert.d-flex { align-items: flex-start; }
.alert.d-flex > .bi:first-child { flex: 0 0 auto; width: 1.5em; margin-top: .1em; }
.alert.d-flex > .flex-grow-1, .alert.d-flex > .flex-fill { flex: 1 1 0 !important; min-width: 0; }
.alert .flash-ic { width: 1.4em; margin-right: .35em; }

/* ícones grandes decorativos mantêm o próprio desenho */
.vazio i { display: block; width: auto; margin: 0 auto .5rem; }
.kpi .ic i, .programa-card .icone i, .icone-programa i, .vig i, .mobi-steps .bolinha i { width: auto; margin: 0; }
.kpi .ic, .programa-card .icone, .icone-programa { line-height: 1; }

/* cartões de indicadores: o ícone nunca cobre o título */
.kpi .rotulo { padding-right: 3.6rem; min-height: 2.6em; }
@media (max-width: 575.98px) {
  .kpi .card-body { display: flex; flex-direction: column; padding: 1rem 1rem 1.1rem; }
  .kpi .ic { position: static; order: -1; width: 40px; height: 40px; border-radius: 13px; font-size: 1.1rem; margin-bottom: .65rem; }
  .kpi .rotulo { padding-right: 0; min-height: 0; }
  .kpi .valor, .relatorios .kpi .valor { font-size: 1.85rem; }
  .btn { white-space: normal; text-align: left; }
  .mobi-nav .navbar-collapse { padding: .5rem 0 .75rem; }
  .mobi-nav .navbar-nav .nav-link { padding: .6rem .9rem !important; }
  /* avisos: ícone + texto na mesma linha, botão embaixo ocupando a largura */
  .alert.d-flex { flex-wrap: wrap; }
  .alert.d-flex > .btn { flex: 1 0 100%; justify-content: center; text-align: center; }
  /* grupos de botões e selos quebram linha em vez de sair da tela */
  .d-flex.gap-2, .d-flex.gap-3 { flex-wrap: wrap; }
}

/* ---------- Segurança: QR code da verificação em duas etapas ---------- */
.qr-2fa { background: #fff; border: 1px solid var(--u-borda); border-radius: 18px; padding: 10px; box-shadow: 0 8px 24px rgba(27,37,80,.08); }
.qr-2fa svg { width: 190px; height: 190px; display: block; }
.seg-kpi { border-radius: 16px; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--u-borda); height: 100%; }
.seg-kpi .ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.seg-kpi.ok .ic { background: #edf6e3; color: var(--u-verde-escuro); }
.seg-kpi.alerta .ic { background: #fdf9d4; color: #8a7d05; }
.seg-kpi.perigo .ic { background: #fbe9e9; color: #b02a2a; }
.tabela-auditoria td { font-size: .84rem; }
.kpi.perigo .ic { background: #fbe9e9; color: #b02a2a; }
