/* Botão flutuante */
#btn-acessibilidade {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  width: 60px;
  height: 60px;
}

#btn-acessibilidade img {
  width: 100%;
  height: auto;
}

/* Painel flutuante moderno azul */
#painel-acessibilidade {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: linear-gradient(145deg, #0077b6, #0096c7);
  color: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: none;
  z-index: 1001;
  max-width: 320px;
  width: 95%;
  font-family: 'Poppins', sans-serif;
}

#painel-acessibilidade h2 {
  margin-top: 0;
  text-align: center;
  color: #ffd60a;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Checkboxes customizados */
.custom-checkbox {
  display: flex;
  align-items: center;
  margin: 12px 0;
  cursor: pointer;
  font-size: 0.95rem;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox span {
  position: relative;
  padding-left: 30px;
}

.custom-checkbox span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #0077b6;
  transition: 0.3s;
}

.custom-checkbox input:checked + span::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #ffd60a;
}

/* Botão fechar */
#painel-acessibilidade button {
  margin-top: 20px;
  width: 100%;
  padding: 10px 0;
  background: #023e8a;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s;
}

#painel-acessibilidade button:hover {
  background: #0077b6;
}

/* ESTILOS DE ACESSIBILIDADE PARA O INDEX.HTML */

/* Modo Alto Contraste */
body.alto-contraste {
  background-color: #000 !important;
  color: #fff !important;
}

body.alto-contraste a {
  color: #ffd60a !important;
  font-weight: bold;
  background-color: #000 !important;
}

/* Tema Escuro forte */
body.tema-escuro {
  background-color: #000 !important;
  color: #fff !important;
}

body.tema-escuro a {
  color: #00ffff !important;
  font-weight: bold;
}

/* Aumentar Fonte em todo o body e filhos */
body.fonte-grande, body.fonte-grande * {
  font-size: 1.1em !important;
}

/* Links sublinhados */
body.links-sublinhar a {
  text-decoration: underline !important;
}

/* Maior espaçamento entre linhas */
body.espacamento-grande {
  line-height: 1.8 !important;
}

/* Fonte sem serifa */
body.fonte-sem-serifa {
  font-family: Arial, Helvetica, sans-serif !important;
}

