/* === BASE === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* === WRAPPERS GERAIS === */
#wrapper,
#wrapper1,
#wrapper-top {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#wrapper,
#wrapper1 {
  max-width: 1200px;
  padding: 1rem;
}

/* === TOPO === */
#wrapper-top {
  background: url(./../images/bar.png) repeat-x;
  height: 83px;
  display: flex;
  align-items: center;
  padding: 0;
}

#top,
#top1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 940px;
  margin: 0;
  padding: 0 1rem;
  box-sizing: border-box;
}

#top1-left {
  margin: 0;
  padding: 0;
}

#top1-left a {
  display: block;
}

#top1-left img {
  display: block;
  margin: 0;
  padding: 0;
  max-height: 66px;
  height: auto;
}

#top-right {
  flex: 1 1 auto;
  text-align: right;
}

/* === BARRA SUPERIOR === */
.codrops-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  line-height: 24px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  z-index: 9999;
  position: relative;
  box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.2);
  padding: 0.5rem 1rem;
  gap: 0.5rem;
}

.codrops-left,
.codrops-right {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .codrops-left {
    flex: 1 1 auto;
  }

  .codrops-right {
    flex: 0 0 auto;
    text-align: right;
  }
}

/* === MENU RESPONSIVO === */
.menu-principal {
  background-color: #004080;
  border-bottom: 1px solid #003366;
  font-family: 'Segoe UI', sans-serif;
}

.menu-toggle {
  display: none;
  background: #0078d7;
  color: white;
  padding: 10px;
  cursor: pointer;
  text-align: center;
}

#nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#nav li {
  position: relative;
}

#nav > li > a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

#nav li img {
  margin-right: 8px;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #e6f0ff;
  border: 1px solid #ccc;
  min-width: 250px;
  z-index: 1000;
}

.submenu li a {
  display: block;
  padding: 10px;
  color: #003366;
  text-decoration: none;
}

.submenu li a:hover {
  background-color: #cce0ff;
}

.has-submenu:hover .submenu {
  display: block;
}

/* === MOBILE AJUSTES === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav {
    flex-direction: column;
    display: none;
  }

  #nav.open {
    display: flex;
  }

  #nav li {
    width: 100%;
  }

  .submenu {
    position: static;
    border: none;
    background: #f0f0f0;
  }

  .submenu li a {
    padding-left: 30px;
  }

  .has-submenu > a::after {
    content: " ▼";
    font-size: 0.8em;
    margin-left: 5px;
  }

  .has-submenu > a:focus + .submenu,
  .has-submenu > a:active + .submenu {
    display: block;
  }

  #top {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem;
  }

  #top1-left img {
    max-width: 100%;
    height: auto;
  }

  .codrops-top {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
    padding: 0.5rem;
  }

  .codrops-left,
  .codrops-right {
    flex: 1 1 100%;
    text-align: left;
  }

  #wrapper,
  #wrapper1 {
    padding: 0.5rem;
  }

  #wrapper-top {
    padding: 0.5rem;
  }
}


/* === GRID DE LOGIN === */
.grid-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.coluna-login,
.coluna-institucional {
  width: 100%;
}

@media (max-width: 768px) {
  .grid-login {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}
/* === FORMULÁRIO DE LOGIN ESTILIZADO === */
.formulario-login {
  background: linear-gradient(to bottom right, #f9f9f9, #e0f7fa);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.formulario-login:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.formulario-login h3 {
  text-align: center;
  color: #0078d7;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.formulario-login label {
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #333;
}

.formulario-login input[type="text"],
.formulario-login input[type="password"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.formulario-login input[type="text"]:focus,
.formulario-login input[type="password"]:focus {
  border-color: #40C0C0;
  outline: none;
}

.formulario-login .botaoPadrao {
  margin-top: 1rem;
  padding: 12px;
  font-size: 16px;
  background-color: #0078d7;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.formulario-login .botaoPadrao:hover {
  background-color: #005fa3;
}

/* Mensagem de alerta */
.alerta {
  background-color: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-weight: bold;
  color: #856404;
}
/* === GRUPO DE ENTRADA COM ÍCONE === */
.input-group {
  margin-bottom: 1.2rem;
}

.input-group label {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  color: #333;
  font-size: 15px;
}

.input-group .icon {
  font-size: 1.1rem;
  color: #0078d7;
}

#baixofooter {
  background: url('../images/bg-footer-textura.png') repeat-x, linear-gradient(to bottom, #e6f2f8, #d0e6f0);
  padding: 2.5rem 0;
  border-top: 1px solid #cce0ee;
}

#wrapper-footer-text {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  text-align: center;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin: 0 auto 1rem auto;
  display: block;
}

#footer-text {
  font-size: 0.95rem;
  color: #444;
}

#footnav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

#footnav ul li a {
  text-decoration: none;
  color: #0078d7;
  font-weight: bold;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

#footnav ul li a:hover {
  color: #005fa3;
  text-decoration: underline;
}

#copyright {
  font-size: 0.85rem;
  color: #666;
}
.politica-privacidade {
  max-width: 940px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.politica-privacidade h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0078d7;
  text-align: center;
}

.politica-privacidade h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  color: #005fa3;
}

.politica-privacidade ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.politica-privacidade ul li {
  margin-bottom: 0.5rem;
}

.politica-privacidade a {
  color: #0078d7;
  text-decoration: underline;
}
.voltar-container {
  text-align: center;
  margin: 2rem 0;
}

.botao-voltar {
  background-color: #0078d7;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.botao-voltar:hover {
  background-color: #005fa3;
}


