/* Usa variáveis do style.css para padronizar cores e fontes */

/* FUNDO COM IMAGEM */
.fundo-completo {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
}

.fundo-completo::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("../IMAGENS/WALLPAPER.webp") no-repeat center center;
  background-size: cover;
  filter: blur(4px);
  transform: scale(1.05);
  z-index: -2;
}

.fundo-completo::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(29, 116, 150, 0);
  z-index: -1;
}

/* Menu Patinha */
.menu-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  z-index: 1001;
  cursor: pointer;
  filter: drop-shadow(4px 4px 1px rgba(255, 255, 254, 0.801));
  transition: transform 0.2s ease;
}

.menu-btn img {
  width: 55px;
  height: 55px;
  filter: drop-shadow(2px 2px 4px rgba(250, 249, 249, 0.4));
  transition: transform 0.2s ease;
}

.menu-btn img:hover {
  transform: scale(1.1);
}

/* Submenu */
.submenu {
  position: absolute;
  top: 80px;
  right: 20px;
  background: rgba(16, 114, 170, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 15px 20px;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(248, 246, 246, 0.3);
  text-align: right;
}

.submenu.mostrar {
  display: block;
}

.submenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.submenu li {
  margin-bottom: 10px;
}

.submenu a {
  color: var(--branco);
  font-weight: bold;
  text-decoration: none;
  font-family: var(--fonte-seria);
  font-size: 16px;
}

/* Menu Lateral Esquerdo */
body {
  font-family: sans-serif;
  background: linear-gradient(to right, #ffeb8a, #b4d9ff);
  color: #333;
  height: 100vh;
}

.container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0px;
}

.menu-lateral {
  background-color: transparent;
  box-shadow: none;
  margin: 0;
  box-sizing: border-box;
  width: 250px;
  padding: 5px;
  text-align: center;
  box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.menu-lateral .logo {
  width: 50%;
  max-width: 180px;
  margin-bottom: 20px;
  filter: drop-shadow(3px 3px 1px rgba(238, 203, 6, 0.616));
}

.menu-lateral button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  background: rgba(214, 177, 12, 0.171);
  text-decoration: none;
  color: #ffffff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  border: none;
  border-radius: 20px;
  font-size: 1.5em;
  cursor: pointer;
  transition: background 0.3s;
}

.menu-lateral button:hover {
  background-color: #F8D25C;
}

.conteudo {
  flex-grow: 1;
  padding: 30px;
  position: relative;
  animation: fadein 0.5s ease;
}

@keyframes fadein {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Caixa de texto */
.secao-historia {
  background: rgba(5, 48, 99, 0.137);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 30px;
  color: rgb(255, 255, 255);
  box-shadow: 0 4px 12px rgba(230, 196, 4, 0.753);
  max-width: 800px;
  margin: 0 auto;
  animation: slideInRight 0.8s ease-out;
}

.titulo-historia {
  font-size: 4em;
  text-align: center;
  margin-bottom: 35px;
  font-family: var(--fonte-destaque);
  color: var(--amarelo);
  text-shadow: 2px 2px 4px #000;
}

.conteudo-historia {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 30px;
  flex-wrap: wrap;
}

.imagem-historia {
  width: 200px;
}

.conteudo-historia p {
  flex: 1;
  font-size: 1.1em;
  text-shadow: 1px 1px 2px #000;
}

/* Animação */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* RODAPÉ */
footer {
  text-align: center;
  font-size: 14px;
  color: var(--branco);
  line-height: 1.4;
  background: transparent;
  padding: 20px 10px;
}

footer p {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 6px;
}

/* RESPONSIVO MOBILE ATÉ 480px */
@media (max-width: 480px) {
  .container-menu {
    justify-content: center;
  }

  .menu-lateral {
    width: 50%;
    max-width: none;
    position: relative;
  }

  footer {
    font-size: 12px;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  .container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .menu-lateral {
    width: 100%;
    padding: 10px 0;
    order: 1;
  }

  .conteudo {
    width: 100%;
    padding: 10px;
    order: 2;
  }

  .secao-historia {
    padding: 20px;
    margin-top: 5px;
    top: 70px;
    width: 100%;;
  }

  .conteudo-historia {
    flex-direction: column;
    gap: 15px;
  }

  .imagem-historia {
    width: 100%;
    max-width: 200px;
    height: auto;
  }

  .titulo-historia {
    font-size: 2.5em;
  }


* {
  box-sizing: border-box;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animar-fadeDown {
  animation: fadeDown 0.5s ease-out;
}
}
