/* Arquivo CSS - styles.css */

/* Reset básico */
body,
h1,
h2,
h3,
p,
a,
div,
img,
section,
header,
footer {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;


}

/* Navbar */
.navbar {
  background-color: rgba(255, 0, 0, 0.9);
  /* Tom de vermelho com opacidade */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  align-items: center;
}

.navbar .logo {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  opacity: 0.8;
}

.navbar h1 {
  font-size: 1.5rem;
}

/* Seções gerais */
section {
  padding: 20px;
}

h2 {
  margin-bottom: 10px;
  color: #555;
}

/* Carrosséis */
.carrossel {
  display: flex;
  gap: 10px;
  height: 300px;
  overflow-x: auto;
  /* permite rolagem horizontal */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* iOS rolagem suave */
  /* Esconde barra de rolagem nos navegadores mais comuns */
  scrollbar-width: none;
  /* Firefox */
}

.carrossel .slide {
  flex: 0 0 auto;
  margin-right: 10px;

  width: 25%;
  height: 100%;
}

.carrossel img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carrossel::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

/* Promoções */
.promocoes .slide p {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px;
  margin-top: -30px;
  border-radius: 0 0 8px 8px;
}

/* Notícias */
.noticias-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.noticia {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.noticia img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.noticia h3 {
  margin-bottom: 5px;
}

.noticia p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #666;
}

.noticia .compartilhar {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
}

.noticia .compartilhar:hover {
  background-color: #0056b3;
}

/* Rodapé */
.rodape {
  background-color: #343a40;
  color: white;
  text-align: center;
  padding: 10px;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease;

}

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

.rodape:hover {
  opacity: 1;
}

/*pagina logi1*/
.login {
  display: flex;
  border: solid 1px red;
}

.h2longi1 {
  font-size: 12px;
  color: #0056b3;
}