/* ===============================================================
   JUDMOV | Padrao tipografico do dashboard aprovado
   Objetivo: uniformizar fonte, tamanhos e pesos SEM mudar layout.
   Carregar APOS os estilos existentes em cada pagina.
   Nao altera icones, SVG, logos, dimensoes ou regras de negocio.
   =============================================================== */
:root {
  --jm-font: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --judmov-font: var(--jm-font);
  --jm-font-base: 16px;
  --jm-font-title: 30px;
  --jm-font-modal: 20px;
  --jm-font-card: 17px;
  --jm-font-button: 15px;
  --jm-font-label: 14px;
  --jm-font-small: 13px;
  --jm-font-tiny: 12px;
}

html { font-size: 16px; }
body,
body .jm-contatos,
body .jm-meu-app {
  font-family: var(--jm-font) !important;
  font-size: var(--jm-font-base);
  line-height: 1.5;
}

body :is(button, input, select, textarea, option, optgroup,
  .btn, .dropdown-menu, .dropdown-item,
  .select2-container, .select2-selection,
  .select2-selection__rendered, .select2-search__field) {
  font-family: var(--jm-font) !important;
}

body .main-sidebar .nav-sidebar > .nav-item > .nav-link { font-size: 15px; }
body .main-sidebar .nav-treeview > .nav-item > .nav-link { font-size: 14px; }
body .main-sidebar .nav-header { font-size: 11px; font-weight: 700; }
body .main-sidebar .user-panel a { font-size: 14px; }
body .content-wrapper .breadcrumb { font-size: 14px; }

body .content-wrapper .content-header h1,
body .content-wrapper .process-title:not(.jm-meu-app .process-title) {
  font-size: var(--jm-font-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
body .content-wrapper .content-header p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
body :is(.card-title, .workspace-card .card-title) {
  font-size: var(--jm-font-card);
  font-weight: 600;
  line-height: 1.4;
}
body .modal-title {
  font-size: var(--jm-font-modal);
  font-weight: 700;
  line-height: 1.35;
}

body .btn { font-size: var(--jm-font-button); font-weight: 600; line-height: 1.35; }
body .btn.btn-sm { font-size: 14px; }
body .btn.btn-xs { font-size: var(--jm-font-small); }

body :is(.form-control, .custom-select, .select2-selection__rendered,
  .select2-search__field) {
  font-size: var(--jm-font-base);
  font-weight: 400;
}
body .form-control.form-control-sm,
body .custom-select.custom-select-sm { font-size: 14px; }
body label { font-size: var(--jm-font-label); }

body .table thead th { font-size: var(--jm-font-small); }
body .table tbody :is(td, th) { font-size: 15px; }
body .dropdown-item { font-size: var(--jm-font-label); }
body :is(.form-text, .task-meta, .history-date, .copy-feedback,
  .intimacao-read-status) { font-size: var(--jm-font-small); line-height: 1.5; }
body .main-footer { font-size: var(--jm-font-small); }

@media (max-width: 767.98px) {
  body .content-wrapper .content-header h1,
  body .content-wrapper .process-title:not(.jm-meu-app .process-title) { font-size: 27px; }
  body .content-wrapper .content-header p { font-size: 15px; }
}

/* Font Awesome, FullCalendar e icones continuam com suas fontes proprias. */
