html {
  overflow-y: scroll;
}

.header-conteudo {
  width: 100%;
  overflow-x: hidden;
}

.header-conteudo img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .header-conteudo img {
    width: 100%;
    max-width: 100%;
  }
}

body {
  background-color: rgba(0, 0, 205, 0.1);  /* opaco */
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* === NAVEGAÇÃO === */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 139, 0.8);
  padding: 10px 20px;
  flex-wrap: wrap;
}

/* NOVO: contém botão + logo */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo à esquerda */
.nav-logo img,
.logo-navbar {
  height: 40px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* Botão hamburguer */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10;
}

/* Lista de navegação */
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 20px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

nav a,
nav a:visited,
nav a:hover,
nav a:active {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.logout-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: bold;
}


.botao-painel {
  display: inline-block;
  margin-top: 0px;
  padding: 7px 11px;
  background-color: orange;
  color: #0a3622;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

/* Container principal */
.opcao-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 40px;
}

/* Blocos */
.opcao-bloco {
  background-color: rgba(255, 255, 255, 1.0);
  border-radius: 10px;
  padding: 30px 20px;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
  text-align: justify;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 1);
}
   
.opcao-bloco h1,
.opcao-bloco h2,
.opcao-bloco h3 {
  margin-bottom: 15px;
}

.opcao-bloco h3 {
  margin-bottom: 10px;
}

.opcao-bloco p {
  text-align: justify;
  line-height: 1.5;
}

.opcao-bloco a {
  color: white;
  text-decoration: none;
}

.tachado {
  text-decoration: line-through;
}

/* Imagens internas com borda */
.opcao-container .opcao-bloco:nth-of-type(n+2) .header-conteudo img {
  border: 4px solid white;
  border-radius: 10px;
}

/* Rodapé */
footer {
  background-color: rgba(0, 0, 139, 0.8);
  font-size: 14px;
  color: white;
  text-align: center;
  padding: 15px 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Responsividade */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  #menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  nav ul.show {
    display: flex;
  }

  .opcao-bloco {
    padding: 20px;
  }
}

main a,
.opcao-container a,
.opcao-bloco a {
  color: black;
  text-decoration: none;
}


input,
textarea,
select {
  background-color: white !important;
  color: black !important;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  background-color: white !important;
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  color: black !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* força o checkbox a ser inline e não ocupar a linha toda */
#id_permite_escola {
  display: inline-block;
  width: auto;
  margin-right: 6px;
  vertical-align: middle;
}

/* força o label a ficar na mesma linha */
.lbl-permite {
  display: inline;
  vertical-align: middle;
}