@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --cor-primaria: #00222a;
  --cor-secundaria: #f9b71e;
  --cor-terciaria: #ffffff;
  --azul-claro: #008ccc;
  --azul-escuro: #0e5083;
  --container-color: #0097b2;
  --container-contorno: #0e5083;
}

a {
  display: flex;
  justify-content: center;
  font-size: 0.8rem;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Habilitando o scroll suave */
  scroll-padding-top: 90px;
}

header {
  position: fixed;
  /* Mantendo o cabeçalho fixo no topo */
  top: 0;
  left: 10px;
  right: 0;
  z-index: 1000;
  /* Colocando o cabeçalho acima de outros elementos */
  width: 100%;
  /* Largura total */

}


.logo-img {
  /* Estilizando a imagem do logo */
  width: 3em;
  /* Largura da imagem do logo */
  height: auto;
  /* Altura automática para manter a proporção */
  margin: 0em 1em 0 0;
  /* Margem horizontal */
  background-color: transparent;
  border: none;
}

.menu {
  /* Estilizando o menu de navegação */
  display: flex;
}



.aba {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #004aad;
  text-decoration: none;
  padding: 20px 10px 0px 10px;
  margin-top: -10px;
  border-radius: 5px;

}

.aba:hover {
  padding-bottom: 10px;
  transition: 0.3s;
}



nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: #ffffff;
  height: 8vh;
  padding: 0 25px;
  border-radius: 0 0 0 30px;
}

.nav-list {
  list-style: none;
  display: flex;
}

.nav-list li {
  letter-spacing: 0px;
  margin-left: 30px;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu div {
  width: 40px;
  height: 6px;
  background: #1871b5;
  margin: 5px;
  transition: 0.3s;
  border-radius: 10px;
}



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

  .aba {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #01134c;
    background-color: rgba(0, 0, 68, 0);
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
  }

  .nav-list {
    position: absolute;
    top: 8vh;
    right: 0;
    width: 50vw;
    height: 42vh;
    background: #23232e;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: scale(0);
    transition: transform;
    background-color: #ffffff;
  }


  .nav-list li {
    margin-left: 0;
    opacity: 0;
  }

  .mobile-menu {
    display: block;
  }
}

.nav-list.active {
  transform: translateX(0);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(90deg) translate(12px, 10px);
}

.mobile-menu.active .line2 {
  transform: rotate(90deg) translate(1px, -10px);
}

.mobile-menu.active .line3 {
  transform: rotate(90deg) translate(-10px, 30px);
}





/* Botão de voltar ao topo */
#btn-topo {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 999;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: auto;
  height: auto;
}

#btn-topo img {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 4px 16px rgba(249, 183, 30, 0.4));
}

#btn-topo:hover img {
  filter: drop-shadow(0 6px 20px rgba(249, 183, 30, 0.6));
  transform: translateY(-2px);
}

#btn-topo.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1000px) {
  #btn-topo {
    bottom: 16px;
    right: 16px;
  }

  #btn-topo img {
    width: 30px;
    height: 30px;
  }

  #btn-topo:hover img {
    transform: none;
  }
}


@media (max-width: 768px) {

  body {
    width: 100dvw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  header {
    width: 100vw;
    left: 0;
    right: 0;
  }

  .mobile-menu div {
    width: 1.5rem;
    height: .3rem;
    background: var(--azul-claro);
    margin: .2rem;
    transition: 0.3s;
    border-radius: .6rem;
  }

  .nav-list {
    border-radius: 0 0 0 1rem;
    width: 35%;
    height: 11rem;
    top: 7.5vh;

  }

  .aba {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--azul-claro);
    text-decoration: none;
    padding: 0;
  }


  .mobile-menu.active .line1 {
    transform: rotate(90deg) translate(.5rem, .4rem) scale(.75);
  }

  .mobile-menu.active .line2 {
    transform: rotate(90deg) translate(0, -.2rem) scale(.75);
  }

  .mobile-menu.active .line3 {
    transform: rotate(90deg) translate(-.5rem, 1rem) scale(.75);
  }

  .noticia-imagem {
    max-width: 95vw;
    margin-bottom: 12px;
    border-radius: 7px;
  }

}


body {
  box-sizing: border-box;
  /* height: 100vh; */
  background-color: var(--cor-secundaria);
  color: var(--cor-primaria);
}



.rodape {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  font-size: 1.5rem;
  font-family: "Krona One", sans-serif;
  color: #00222a;
  text-align: center;
  padding: 8em 1em 1em 1em;

}


.txtrodape {
  font-size: 0.7rem;
}

.social-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}

.rodape__img {
  width: 1.8em;
  height: 1.8em;
}

/* ...existing code... */

.noticias-container {
  max-width: 90%;
  margin: 40px auto 40px auto;
  padding: 32px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  margin-top: 100px;
  text-align: justify;
}

.noticia {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.noticia:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.noticia-titulo {
  font-size: 2rem;
  font-weight: bold;
  color: #008CCC;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.noticia-texto {
  font-size: 1.15rem;
  color: #222;
  line-height: 1.7;
  font-family: 'Poppins', Arial, sans-serif;
}

/* Versão mobile */
@media (max-width: 700px) {
  .noticias-container {
    max-width: 98vw;
    margin: 20px 1vw 20px 1vw;
    padding: 16px 6px;
    margin-top: 100px;
    border-radius: 8px;
  }

  .noticia-titulo {
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-align: justify;
    word-break: break-word;
  }

  .noticia-texto {
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    word-break: break-word;
  }

  .noticia {
    margin-bottom: 24px;
    padding-bottom: 12px;
  }
}

@media (max-width: 1000px) {


  .redes__nome {
    display: none;
  }

  .txtrodape {
    font-size: 0.5rem;
  }

  .rodape {
    font-size: 1.25rem;
  }

}

/* Adicione ao seu style.css */
.pesquisa-noticia-container {
  width: 100%;
  max-width: 900px;
  margin: 100px auto -20px auto;
  display: flex;
  justify-content: center;
}

.pesquisa-noticia-input {
  width: 100%;
  max-width: 350px;
  padding: 10px 14px;
  border: 1.5px solid #008CCC;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  transition: border 0.2s;
}

.pesquisa-noticia-input:focus {
  border: 2px solid #ff9100;
}

.noticia-data {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 30px;
  font-family: 'Poppins', Arial, sans-serif;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 0px;
}


/* Botão de voltar ao topo */
#btn-topo {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 999;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: auto;
  height: auto;
}

#btn-topo img {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 4px 16px rgba(249, 183, 30, 0.4));
}

#btn-topo:hover img {
  filter: drop-shadow(0 6px 20px rgba(249, 183, 30, 0.6));
  transform: translateY(-2px);
}

#btn-topo.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1000px) {
  #btn-topo {
    bottom: 16px;
    right: 16px;
  }

  #btn-topo img {
    width: 30px;
    height: 30px;
  }

  #btn-topo:hover img {
    transform: none;
  }
}

.noticia-imagem {
  display: block;
  margin: 0 auto 18px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  object-fit: cover;
}

@media (max-width: 700px) {
  .noticia-imagem {
    max-width: 95vw;
    margin-bottom: 12px;
    border-radius: 7px;
  }

  .noticias-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 5%;
    padding: 20px;
  }

}