/* style.css */
:root {
  --primary-color: #091135;
  /* Azul padrão */
  --secondary-color: #FBAC0E;
  /* Amarelo */
  --background-color: #F9EFDB;
  /* Cor de fundo */
  --background-menu: #FBAC0E;
  /* Cor de fundo */
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #fff;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Topo */
.topo {
  background: #003366;
  color: white;
  padding: 10px 0;
}

.topo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topo .logo img {
  height: 40px;
}

.menu-desktop ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu-desktop a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.menu-mobile {
  display: none;
}

/* Destaque */
.destaque {
  padding: 20px 0;
  background: #f4f4f4;
}

.destaque-principal img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.destaque-principal h1 {
  font-size: 1.5rem;
  margin: 10px 0 5px;
}

.destaque-principal p {
  color: #555;
}

/* Seções */
.secao {
  padding: 30px 0;
  border-top: 1px solid #ddd;
}

.secao h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #003366;
}

.lista-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.noticia {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.noticia img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.noticia h3 {
  font-size: 1rem;
  padding: 10px;
  margin: 0;
}

#conteudo {
  padding: 20px;
  box-sizing: border-box;
}

/***************************************************/
/* Rodapé */
.rodape {
  background-color: var(--primary-color);
  /*background: #003366;*/
  color: white;
  padding: 40px 15px;
  margin-top: 20px;
}

.rodape .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.rodape a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}



/**************************************************/

/* Responsivo */
@media (max-width: 640px) {
  .menu-desktop {
    display: none;
    background: #003366;
    padding: 10px;
  }

  .menu-desktop.ativo {
    display: block;
  }

  .menu-desktop ul {
    flex-direction: column;
    gap: 10px;
  }

  .menu-mobile {
    display: block;
  }

  .destaque-principal h1 {
    font-size: 1.2rem;
  }
}

@media (min-width: 641px) {
  .menu-desktop {
    display: block;
  }

  .menu-mobile {
    display: none;
  }
}