/*
		--- Versionamwento ---
		09/09/2021 - César - Primeira versão
    30/01/2026 - César - Sol. 24389
		--- Fim Versionamwento ---
	*/

* {
  box-sizing: border-box;
}
body {
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 98vh;
  margin: -20px 0 0px;
  min-height: 100vh; 
  margin: 0; 
}
a {
  color: #444;
  margin: 20px 0;
  text-decoration: none;
}
p {
  font-size: 14px;
  font-weight: 100;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 10px 0 30px;
}
button {
  border: 0;
  color: #fff;
  font-weight: bold;
  padding: 12px 45px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}
button:hover {
  cursor: pointer;
  box-shadow:
    0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  filter: brightness(110%);
}

input {
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}
.container {
  background-color: #fff;
  border-radius: 12px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 15px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  position: relative;
  overflow: hidden;
  width: 1200px;
  max-width: 95%;
  min-height: 600px;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
}
.colorido {
  color: #fff;
  display: flex;
  flex-direction: column;
  width: 65%;
  padding: 30px;
  transition: 0.3s;
  height: auto;
  min-height: 100%;
  justify-content: space-between;
}

.cabecalho-esquerda {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

.portal-titulo {
  font-size: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.aviso-restrito {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 400;
  background: rgba(0, 0, 0, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.rodape-legal {
  width: 100%;
  text-align: center;
  opacity: 0.6;
  margin-top: 15px;
}
.rodape-legal p {
  font-size: 10px;
  line-height: 1.3;
  margin: 0;
  color: inherit;
}

.nav-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding-top: 40px;
}

.nav-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 500px;
}

.nav-btn {
  width: 130px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  backdrop-filter: blur(5px);
  margin: 0;
  box-sizing: border-box;
  vertical-align: top;
}

.nav-btn img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  padding: 0;
  object-fit: contain;
  display: block;
}
.nav-btn span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  padding: 0 5px;
  display: block;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-btn.selected {
  background: #fff;
  color: #333;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-color: #fff;
  transform: scale(1.05);
  z-index: 2;
}
.nav-btn.selected span {
  color: #333 !important;
}

.acesso {
  width: 35%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  padding: 30px 20px;
}

.cabecalho-direita-fixo {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.brasao-destaque {
  opacity: 1;
  max-width: 80%;
  max-height: 100px;
  height: auto;
  filter: none;
  object-fit: contain;
}

.conteudo-vertical {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /*padding-top: 40px;*/
}

#painel-intro,
#painel-sistemas,
#form_login {
  width: 100%;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#painel-intro h3 {
  margin: 10px 0;
  color: #555;
}

#painel-intro p {
  color: #777;
  font-size: 14px;
}

#painel-sistemas {
  overflow-y: auto;
  max-height: 400px;
  padding: 0 5px;
}

.grid-icones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.item-sistema {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #444;
  padding: 10px 5px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: 0.2s;
}
.item-sistema:hover {
  background: #f0f0f0;
  border-color: #ddd;
  transform: translateY(-2px);
}

.item-sistema img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  object-fit: contain;
}

.item-sistema span {
  font-size: 10px;
  text-align: center;
  line-height: 1.1;
  font-weight: 500;
}

.btn-acesso-principal {
  display: block;
  width: 100%;
  background: #444;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 15px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn-acesso-principal:hover {
  background: #222;
  transform: translateY(-1px);
}

.seta-indicativa {
  font-size: 40px;
  color: #999;
  font-weight: bold;
  animation: apontarEsquerda 1.5s infinite ease-in-out;
  margin-top: 20px;
  cursor: default;
}

#msg-bloqueio {
  display: none;
  color: #777;
  font-weight: bold;
  margin-top: 20px;
}

#msg-bloqueio img {
  height: 32px;
  display: block;
  margin: 0 auto 10px auto;
  opacity: 0.5;
}

@keyframes apontarEsquerda {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-15px);
  }
}

#form_login input {
  margin-bottom: 10px;
}

.btn-cancelar {
  margin-top: 20px;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  /*text-decoration: underline;*/
}

.btn-cancelar:hover {
  color: #555;
}

#oferta-cloudmail {
  margin-top: 35px;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

#oferta-cloudmail {
  margin-top: 40px;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
  padding-bottom: 10px;
}

.btn-oferta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0078d4;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  border: 1px solid #005a9e;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
  will-change: transform;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.btn-oferta:hover {
  background-color: #005a9e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-oferta svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  fill: rgba(255, 255, 255, 0.7);
  display: block;
  margin: 0;
  pointer-events: none;
  transform: none !important;
  transition: fill 0.2s ease;
}

.btn-oferta:hover svg {
  fill: #ffffff;
}

.btn-voltar-home {
  font-size: 13px;
  text-decoration: none;
  opacity: 0.8;
  padding: 8px 20px;
  border-radius: 20px;
  display: inline-block;
  transition: 0.3s;
}
.btn-voltar-home:hover {
  opacity: 1;
}

@media (max-width: 992px) {
  body {
    height: auto;
    min-height: 100vh;
    align-items: center;
    padding: 10px 0;
  }

  .container {
    width: 100%;
    min-width: 350px;
    flex-direction: column;
    height: auto !important;
    min-height: auto !important;
    border-radius: 8px;
  }

  .colorido {
    width: 100%;
    height: auto !important;
    min-height: auto !important;
    padding: 20px 15px;
  }

  .nav-grid {
    gap: 8px;
    margin-bottom: 10px;
    justify-content: space-between;
  }

  .nav-btn {
    width: calc(50% - 5px) !important; 
    height: 90px !important;
    margin: 0 !important;
  }
  
  .nav-btn img {
      width: 32px !important;
      height: 32px !important;
      margin-bottom: 5px !important;
  }

  .acesso {
    width: 100%;
    padding: 20px 15px;
    background: #fff;
    height: auto !important;
    min-height: auto !important;
  }

  .seta-indicativa {
    display: none;
  }

  .conteudo-vertical {
    width: 100%;
    padding: 0;
  }
  
  #form_login input {
      padding: 10px;
      margin: 5px 0;
  }
  
  #form_login h3 {
      margin: 10px 0;
      font-size: 16px;
  }
}