html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.marca-elfar {
  display: inline-flex;
  position: relative;
  align-items: center;
  flex: 0 0 190px;
  width: 190px;
  height: 64px;
  overflow: hidden;
}

.marca-elfar img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 190px;
  height: auto;
  transform: translateY(-50%);
}

.area-login .navbar-nav {
  align-items: center;
}

.usuario-menu {
  padding: .5rem .75rem !important;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: .55rem;
  font-weight: 600;
}

.usuario-menu:hover,
.usuario-menu:focus {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

@media (min-width: 992px) {
  .cabecalho-conteudo {
    display: grid !important;
    grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  }

  .cabecalho-conteudo > .marca-elfar {
    grid-column: 1;
    justify-self: start;
  }

  .cabecalho-conteudo > #menu {
    display: contents !important;
  }

  .navegacao-central {
    grid-column: 2;
    justify-self: center;
  }

  .area-login {
    grid-column: 3;
    justify-self: end;
  }

  .cabecalho-conteudo.cabecalho-sistema {
    display: flex !important;
  }

  .cabecalho-sistema > .marca-elfar {
    margin-right: 1.25rem;
  }

  .cabecalho-sistema > #menu {
    display: flex !important;
    flex: 1;
  }

  .cabecalho-sistema .navegacao-sistema {
    margin-right: auto;
  }

  .cabecalho-sistema .area-login {
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .marca-elfar {
    flex-basis: 165px;
    width: 165px;
    height: 58px;
  }

  .marca-elfar img,
  .cabecalho-institucional .marca-elfar img {
    width: 165px;
  }

  .cabecalho-conteudo > #menu {
    width: 100%;
  }

  .navegacao-central,
  .area-login .navbar-nav {
    align-items: flex-start !important;
  }
}

.cabecalho-sistema > .marca-elfar {
  height: 56px;
  padding: 0 .35rem;
  background: #fff;
  border-radius: .7rem;
  box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .12);
}

.combo-pesquisavel {
  position: relative;
}

.combo-pesquisavel-original {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.combo-pesquisavel-entrada {
  padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, #6c757d 50%), linear-gradient(135deg, #6c757d 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.combo-pesquisavel-lista {
  position: absolute;
  z-index: 1050;
  top: calc(100% + 2px);
  right: 0;
  left: 0;
  max-height: 16rem;
  overflow-y: auto;
  padding: 0.25rem;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.combo-pesquisavel-opcao,
.combo-pesquisavel-vazio {
  display: block;
  width: 100%;
  padding: 0.45rem 0.65rem;
  color: var(--bs-body-color);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0.25rem;
}

.combo-pesquisavel-opcao:hover,
.combo-pesquisavel-opcao:focus,
.combo-pesquisavel-opcao.ativo {
  color: #fff;
  background: var(--bs-success);
  outline: 0;
}

.combo-pesquisavel-vazio {
  color: var(--bs-secondary-color);
}

/* Padrão visual das telas internas */
main.container-fluid {
  max-width: 1600px;
}

.pagina-cabecalho {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pagina-cabecalho h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 700;
}

.pagina-cabecalho p {
  margin: .35rem 0 0;
}

.pagina-acoes,
.acoes-formulario,
.acoes-linha {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.pagina-acoes .btn,
.acoes-formulario .btn {
  min-width: 110px;
}

.formulario-cartao {
  width: 100%;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.formulario-cartao .row {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: .25rem;
}

.acoes-formulario {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bs-border-color);
}

.filtros-relatorio {
  margin-bottom: 1.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.grade-cartao {
  overflow: hidden;
}

.acoes-exportacao-filtro {
  display: flex;
  gap: .75rem;
  width: 100%;
}

.btn-exportacao-icone {
  display: inline-flex;
  flex: 0 0 42px;
  width: 42px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.btn-exportacao-icone svg {
  display: block;
  width: 21px;
  height: 21px;
  pointer-events: none;
}
.btn-consultar-filtro { min-width: 0; }

.filtro-cartao > .card-header,
.filtros-relatorio > .card > .card-header {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.filtro-alternar {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #104d37;
  background: #fff;
  border: 1px solid #cfdad5;
  border-radius: .4rem;
}

.filtro-alternar::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease-in-out;
}

.acoes-tabela {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .45rem;
}

.acao-tabela {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  padding: 0;
  color: #36554a;
  background: #fff;
  border: 1px solid #c9d5d0;
  border-radius: .4rem;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.acao-tabela:hover,
.acao-tabela:focus {
  color: var(--elfar-verde);
  background: #edf5f1;
  border-color: #8fb9a7;
  text-decoration: none;
}

.acao-tabela svg {
  display: block;
  width: 17px;
  height: 17px;
  pointer-events: none;
}

.acao-tabela-excluir {
  color: #c73545;
  border-color: #e5b3b9;
}

.acao-tabela-excluir:hover,
.acao-tabela-excluir:focus {
  color: #a91f2f;
  background: #fff0f2;
  border-color: #d87682;
}

.modal-confirmacao .modal-content {
  border: 0;
  border-radius: .8rem;
  box-shadow: 0 1rem 3rem rgba(24, 45, 37, .22);
}

.modal-confirmacao-cabecalho {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.modal-confirmacao-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #b42334;
  background: #fff0f2;
  border-radius: 50%;
}

.modal-confirmacao-icone svg {
  width: 21px;
  height: 21px;
}

.modal-confirmacao .modal-footer .btn {
  min-width: 105px;
}

.filtro-alternar:hover,
.filtro-alternar:focus {
  color: var(--elfar-verde);
  background: #edf5f1;
  border-color: #d6e5de;
}

.filtro-alternar svg {
  display: none;
}

.filtro-recolhido .filtro-alternar::before {
  transform: translateX(-2px) rotate(-45deg);
}

.grade-cartao .table {
  border-collapse: collapse;
  vertical-align: middle;
}

.grade-cartao .table th,
.grade-cartao .table td {
  padding: .85rem 1rem;
  border: 1px solid #dfe6e2;
  box-shadow: none !important;
}

.grade-cartao .table > tbody > tr:nth-child(odd) > td {
  background-color: #f8faf9 !important;
}

.grade-cartao .table > tbody > tr:nth-child(even) > td {
  background-color: #fff !important;
}

.grade-cartao .table > tbody > tr:hover > td {
  background-color: #edf5f1 !important;
  transition: background-color .15s ease-in-out;
}

.historico-resultados th {
  text-align: center;
  vertical-align: middle;
}

.historico-resultados th:nth-child(2),
.historico-resultados td:nth-child(2) {
  width: 7rem;
  min-width: 7rem;
  max-width: 7rem;
}

.permissoes-grade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.permissao-grupo {
  height: 100%;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: .65rem;
}

.permissao-grupo h2 {
  margin-bottom: .8rem;
  color: var(--elfar-verde);
  font-size: 1rem;
  font-weight: 700;
}

.permissao-grupo input[type="checkbox"] {
  margin-right: .45rem;
}

.permissao-grupo label {
  margin-bottom: .55rem;
}

@media (max-width: 991.98px) {
  .permissoes-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  main.container-fluid { padding-right: 1rem !important; padding-left: 1rem !important; }
  .pagina-cabecalho, .pagina-acoes, .acoes-formulario { align-items: stretch; flex-direction: column; }
  .pagina-acoes .btn, .acoes-formulario .btn { width: 100%; }
  .formulario-cartao { padding: 0; }
  .permissoes-grade { grid-template-columns: 1fr; }
}

.grade-log-wrapper {
  max-width: 100%;
  overflow-x: auto;
}

.grade-log {
  width: max-content;
  min-width: 100%;
}

.grade-log th,
.grade-log td {
  min-width: 90px;
  max-width: 320px;
  white-space: normal;
  overflow-wrap: break-word;
  vertical-align: middle;
}

.grade-log th {
  text-align: center;
}

.institucional-destaque {
  color: white;
  background: linear-gradient(135deg, #146c43 0%, #0b3d2a 100%);
}

.pagina-login {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 1.5rem 0;
}

.login-cartao {
  width: min(100%, 460px);
}

.login-logo {
  width: min(100%, 230px);
  height: auto;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.5rem;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus-within > .dropdown-menu {
  display: block;
}

@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    margin: 0 0 0.25rem 1rem;
    border: 0;
    box-shadow: none;
  }
}

/* Site institucional */
:root {
  --elfar-verde: #104d37;
  --elfar-verde-claro: #16805a;
  --elfar-grafite: #172b32;
  --elfar-fundo: #f7f9fa;
}

html { scroll-behavior: smooth; }

.pagina-institucional {
  margin: 0;
  color: var(--elfar-grafite);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.cabecalho-institucional {
  position: sticky;
  z-index: 1100;
  top: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(23, 43, 50, .08);
  backdrop-filter: blur(12px);
}

.cabecalho-institucional .navbar { min-height: 76px; }
.cabecalho-institucional .marca-elfar { color: var(--elfar-grafite); }
.cabecalho-institucional .marca-elfar:hover { opacity: .86; }
.cabecalho-institucional .marca-elfar img { width: 190px; height: auto; }
.cabecalho-institucional .nav-link { color: #31444b; font-weight: 600; padding: .75rem 1rem !important; }
.cabecalho-institucional .nav-link:hover { color: var(--elfar-verde-claro); }
.cabecalho-institucional .navbar-toggler { border-color: rgba(16, 77, 55, .25); }

.btn-elfar {
  color: #fff;
  background: linear-gradient(135deg, var(--elfar-verde-claro), var(--elfar-verde));
  border: 0;
  border-radius: .7rem;
  box-shadow: 0 .65rem 1.5rem rgba(16, 77, 55, .18);
  font-weight: 700;
  padding: .78rem 1.3rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-elfar:hover, .btn-elfar:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 .8rem 1.8rem rgba(16, 77, 55, .28); }
.btn-outline-elfar { color: var(--elfar-verde); border: 1px solid var(--elfar-verde); border-radius: .65rem; font-weight: 700; padding: .7rem 1rem; }
.btn-outline-elfar:hover { color: #fff; background: var(--elfar-verde); }

.conteudo-institucional { overflow: hidden; }
.hero-elfar { position: relative; min-height: 650px; display: flex; align-items: center; isolation: isolate; }
.hero-elfar-imagem { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-elfar-sombra { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff 5%, rgba(255,255,255,.97) 35%, rgba(255,255,255,.7) 58%, rgba(255,255,255,.08) 100%); }
.hero-elfar-conteudo { padding-top: 5rem; padding-bottom: 5rem; }
.hero-elfar h1 { max-width: 760px; margin: 0 0 1.25rem; color: #0d3433; font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; }
.hero-elfar .col-xl-7 > p { max-width: 690px; color: #4d5f66; font-size: 1.18rem; line-height: 1.7; }
.rotulo-secao { color: var(--elfar-verde-claro); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.rotulo-secao i { display: inline-block; width: 22px; height: 1px; margin: 0 .45rem .22rem; background: currentColor; }

.hero-destaques { padding: .45rem 1.5rem; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.8); border-radius: 1.25rem; box-shadow: 0 1.4rem 4rem rgba(20,50,45,.16); backdrop-filter: blur(9px); }
.hero-destaques article { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid #dce5e2; }
.hero-destaques article:last-child { border: 0; }
.hero-destaques h2 { margin-bottom: .3rem; font-size: 1rem; font-weight: 800; text-transform: uppercase; }
.hero-destaques p { margin: 0; color: #687980; font-size: .9rem; line-height: 1.45; }
.icone-elfar { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--elfar-verde); background: #eaf6f1; border-radius: .8rem; font-size: 1.35rem; font-weight: 800; }

.faixa-destaques { background: #fff; border-bottom: 1px solid #e5ece9; box-shadow: 0 .8rem 2.4rem rgba(16,77,55,.06); }
.grade-destaques { display: grid; grid-template-columns: repeat(4, 1fr); }
.grade-destaques article { display: flex; gap: 1rem; padding: 2rem 1.4rem; transition: transform .2s ease, background .2s ease; }
.grade-destaques article + article { border-left: 1px solid #e1e8e5; }
.grade-destaques article:hover { z-index: 1; background: var(--elfar-fundo); transform: translateY(-4px); }
.grade-destaques h2 { margin-bottom: .35rem; font-size: .98rem; font-weight: 800; text-transform: uppercase; }
.grade-destaques p { margin: 0; color: #6a7980; font-size: .86rem; line-height: 1.45; }

.faixa-numeros { position: relative; padding: 2rem 0 1.8rem; overflow: hidden; background: linear-gradient(110deg, #f1f8f5 0%, #e4f3ec 100%); border-top: 1px solid #d9ebe3; border-bottom: 1px solid #d5e8df; }
.faixa-numeros::after { content: ""; position: absolute; top: -125px; right: -80px; width: 285px; height: 285px; border: 52px solid rgba(22,128,90,.055); border-radius: 50%; pointer-events: none; }
.faixa-numeros .container { position: relative; z-index: 1; }
.cabecalho-numeros { margin-bottom: 1.25rem; text-align: center; }
.faixa-numeros .rotulo-secao { color: var(--elfar-verde-claro); }
.cabecalho-numeros h2 { margin: .4rem 0 0; color: var(--elfar-grafite); font-size: clamp(1.55rem, 2.3vw, 2.15rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.grade-numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grade-numeros article { display: flex; min-height: 82px; padding: .45rem 1.5rem; align-items: center; flex-direction: column; justify-content: center; text-align: center; }
.grade-numeros article + article { border-left: 1px solid #bfd9ce; }
.grade-numeros strong { color: var(--elfar-verde); font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.grade-numeros span { margin-top: .55rem; color: #536d63; font-size: 1.08rem; font-weight: 650; }

.secao-institucional, .secao-atuacao, .secao-contato { padding: clamp(5rem, 8vw, 8rem) 0; }
.secao-institucional p, .cabecalho-secao p, .secao-contato > .container > .row > div > p { color: #5e7077; font-size: 1.02rem; line-height: 1.75; }
.titulo-secao { margin: .65rem 0 1.5rem; color: var(--elfar-grafite); font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 800; letter-spacing: -.035em; }
.dados-empresa { display: flex; gap: 2rem; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid #dde6e2; }
.dados-empresa div { display: flex; flex-direction: column; }
.dados-empresa dt { color: #718087; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.dados-empresa dd { margin: .2rem 0 0; color: var(--elfar-verde); font-weight: 800; }
.foto-institucional { position: relative; margin: 0; }
.foto-institucional img { position: relative; z-index: 1; width: 100%; height: 510px; object-fit: cover; border-radius: 1.4rem; box-shadow: 0 1.5rem 3.5rem rgba(16,77,55,.14); }
.foto-institucional span { position: absolute; right: -22px; bottom: -22px; width: 58%; height: 58%; background: #dff1e9; border-radius: 1.4rem; }

.secao-atuacao { background: var(--elfar-fundo); }
.cabecalho-secao { max-width: 850px; margin: 0 auto 2rem; text-align: center; }
.cartao-atuacao { height: 100%; padding: 2rem; background: #fff; border: 1px solid #e2eae7; border-radius: 1.1rem; box-shadow: 0 .7rem 2rem rgba(31,63,53,.06); transition: transform .22s ease, box-shadow .22s ease; }
.cartao-atuacao:hover { transform: translateY(-7px); box-shadow: 0 1.2rem 2.8rem rgba(31,63,53,.12); }
.cartao-atuacao > span { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.4rem; color: #fff; background: var(--elfar-verde); border-radius: .7rem; font-weight: 800; }
.cartao-atuacao h3 { min-height: 2.6em; font-size: 1.12rem; font-weight: 800; }
.cartao-atuacao p { margin: 0; color: #687980; line-height: 1.65; }

.secao-contato { background: linear-gradient(135deg, #edf7f3, #f8faf9); }
.lista-contato { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.lista-contato article { display: flex; gap: 1rem; margin: 0; padding: 1.25rem; background: #fff; border: 1px solid #e0e9e5; border-radius: .9rem; box-shadow: 0 .4rem 1.3rem rgba(16,77,55,.06); }
.lista-contato article > span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--elfar-verde); background: #fff; border-radius: .7rem; box-shadow: 0 .3rem 1rem rgba(16,77,55,.08); font-weight: 800; }
.lista-contato strong { display: block; margin-bottom: .2rem; }
.lista-contato p { margin: 0; color: #607178; line-height: 1.45; }
.lista-contato a { color: inherit; text-decoration: none; }
.lista-contato a:hover { color: var(--elfar-verde-claro); }
.rodape-institucional { padding: 4rem 0 0; color: #d7e7e1; background: #0b382b; }
.rodape-institucional h2 { color: #fff; font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.rodape-institucional a { display: block; margin: .55rem 0; color: #d7e7e1; text-decoration: none; }
.rodape-institucional a:hover { color: #fff; }
.marca-rodape { position: relative; display: block !important; width: 230px; height: 88px; margin: 0 0 1.2rem !important; overflow: hidden; background: #fff; border-radius: .85rem; }
.marca-rodape img { position: absolute; top: 50%; left: 0; width: 230px; height: auto; transform: translateY(-50%); }
.rodape-institucional .acesso-rodape { display: inline-block; color: #92b1a6; font-size: .78rem; }
.rodape-inferior { margin-top: 3rem; padding: 1.25rem 0; color: #9fbbb1; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; text-align: center; }

.revelar { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .revelar { opacity: 1; transform: none; transition: none; } }

.filtros-log { display: flex; flex-wrap: wrap; gap: 1rem; width: 100%; }
.filtros-log .filtro-log { flex: 1 1 220px; min-width: 0; }
.filtros-log .filtro-log-texto { flex: 2 1 280px; }
.filtros-log .filtro-log-medio { flex: 1.25 1 220px; }
.filtros-log .filtro-log-data { flex: 0 1 190px; min-width: 175px; max-width: 210px; }
.filtros-log .filtro-log-curto { flex: 0 1 190px; min-width: 170px; max-width: 210px; }
.filtros-log .filtro-log-cnpj { flex: 0 1 220px; min-width: 200px; max-width: 240px; }
.filtros-log .filtro-log-email { flex: 0 1 calc(50% - 2rem); max-width: calc(50% - 2rem); }
.filtros-log .filtro-log-permissao { flex: 0 1 calc(380px + 1rem); max-width: calc(380px + 1rem); }
.filtros-log .filtro-log-botao { flex: 0 0 160px; margin-left: auto; }
.filtros-log .quebra-linha-log { flex: 0 0 100%; width: 100%; height: 0; }

.dashboard-indicador { border-color: #e1e7e4; }
.dashboard-indicador .card-body { display: flex; min-height: 132px; flex-direction: column; justify-content: space-between; }
.dashboard-indicador span { color: #67736f; }
.dashboard-indicador strong { color: #15211d; font-size: 2rem; line-height: 1; }
.dashboard-indicador small { color: #7b8581; }
.dashboard .grade-cartao h2 { color: #1b2924; font-weight: 700; }
.dashboard .table th { white-space: normal; }

.inicio-boas-vindas { position: relative; display: flex; min-height: calc(100vh - 180px); padding: 2rem 1rem; align-items: center; flex-direction: column; justify-content: flex-start; overflow: hidden; text-align: center; }
.inicio-boas-vindas > img { width: min(440px, 70vw); max-height: 55vh; margin-top: 1.5rem; object-fit: contain; opacity: .08; pointer-events: none; user-select: none; }
.inicio-boas-vindas-texto { position: relative; z-index: 1; padding: .5rem 2rem 1rem; }
.inicio-boas-vindas-texto h1 { margin-bottom: .65rem; color: #173d31; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
.inicio-boas-vindas-texto p { margin: 0; color: #66756f; font-size: 1.15rem; }

@media (max-width: 1199.98px) {
  .hero-elfar { min-height: auto; }
  .hero-elfar-sombra { background: rgba(255,255,255,.9); }
  .hero-destaques { max-width: 720px; }
  .grade-destaques { grid-template-columns: repeat(2, 1fr); }
  .grade-destaques article:nth-child(3) { border-left: 0; border-top: 1px solid #e1e8e5; }
  .grade-destaques article:nth-child(4) { border-top: 1px solid #e1e8e5; }
}

@media (max-width: 991.98px) {
  .cabecalho-institucional .marca-elfar {
    flex-basis: 165px;
    width: 165px;
  }

  .cabecalho-institucional .marca-elfar img {
    width: 165px;
    max-width: 100%;
  }

  .cabecalho-institucional .navbar-collapse { padding: 1rem 0; }
  .cabecalho-institucional .area-login { margin-top: .75rem; }
  .foto-institucional img { height: 430px; }
}

@media (max-width: 575.98px) {
  .filtros-log .filtro-log { flex: 1 1 100%; max-width: none; min-width: 0; }
  .filtros-log .filtro-log-botao { flex-basis: 160px; max-width: 160px; margin-left: auto; }
  .hero-elfar-conteudo { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-elfar h1 { font-size: 2.55rem; }
  .hero-destaques { padding: .25rem 1rem; }
  .grade-destaques { grid-template-columns: 1fr; }
  .grade-destaques article + article { border-left: 0; border-top: 1px solid #e1e8e5; }
  .grade-numeros { grid-template-columns: 1fr; }
  .grade-numeros article { min-height: 88px; align-items: center; }
  .grade-numeros article + article { border-top: 1px solid #bfd9ce; border-left: 0; }
  .dados-empresa { flex-wrap: wrap; gap: 1.25rem 2rem; }
  .foto-institucional img { height: 340px; }
  .lista-contato { grid-template-columns: 1fr; }
}
