:root {
  --cinza-fundo: #1f1f1f;
  --cinza-card: rgba(255, 255, 255, 0.06);
  --cinza-borda: rgba(255, 255, 255, 0.12);
  --texto: #f5f5f5;
  --destaque: #58d0ff;
  --fonte: "Inter", sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--fonte);
}


.glass {
  backdrop-filter: blur(12px);
  background: var(--cinza-card);
  border: 1px solid var(--cinza-borda);
}

body {
  color: var(--texto);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--texto);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  transition: 0.2s;
}

.menu-btn:hover {
  transform: scale(1.15);
  color: var(--destaque);
}

.perfil img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--texto);
  transition: 0.3s;
}

.titulo {
  font-size: 1.8rem;
  font-weight: 600;
}

.login {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.perfil img:hover {
  transform: scale(1.08);
}

.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  height: 100vh;
  width: 240px;
  padding-top: 80px;
  transition: 0.4s ease;
  z-index: 2000;
}

.sidebar.ativo {
  left: 0;
}

.sidebar ul {
  list-style: none;
}

/* ===== NOVO MENU ESTILIZADO ===== */
.sidebar a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  margin-bottom: 8px;
  color: var(--texto);
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
  border-radius: 8px;
}

/* Linha + sombra abaixo dos itens */
.sidebar a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* Hover padrão */
.sidebar a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--destaque);
}

/* ===== DESLOGAR VERMELHO ===== */
.sidebar a.logout {
  color: #ff6b6b;
  font-weight: 600;
}

.sidebar a.logout:hover {
  background: rgba(255,80,80,0.15);
  color: #ff3b3b;
}

/* Cabeçalho */
.cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.nome {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 35px;
  color: white;
  margin: 0;
}

/* Main */
main {
  text-align: center;
  color: white;
  padding: 50px 20px;
  padding-bottom: 80px;
}

/* Responsividade */
@media (max-width: 600px) {
  .menu-btn {
    font-size: 18px;
    padding: 6px 10px;
  }

  .sidebar {
    width: 180px;
    height: 85%;
    padding-top: 60px;
  }

  .sidebar ul li a {
    font-size: 14px;
    padding: 6px 12px;
  }

  .nome {
    font-size: 28px;
  }
}

/* Página de ajuda */
#ajuda {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
}

/* Painel centralizado */
#ajuda .painel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Título da página */
#ajuda .nome {
  color: white;
  font-size: 35px;
  margin-bottom: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* Sessões FAQ */
#ajuda .faq {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
}

#ajuda .faq:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

/* Perguntas e respostas */
#ajuda .faq h3 {
  color: #bfcbd1;
  color: #bfcbd1;
  margin: 0 0 8px 0;
  font-size: 20px;
  display: block;
}

#ajuda .faq p {
  color: white;
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

#ajuda .faq.active p {
  max-height: 500px;
  padding: 10px 0;
}

/* Botões de ação */
#ajuda button {
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#ajuda button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Responsividade */
@media (max-width: 600px) {
  #ajuda .painel {
    padding: 20px 15px;
  }

  #ajuda .faq h3 {
    font-size: 18px;
  }

  #ajuda .faq p {
    font-size: 14px;
  }

  #ajuda .nome {
    font-size: 28px;
  }
}