/* Estilo geral */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}

/* Navbar */
header {
  background-color: #000;
  color: #fff;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #d50000;
}

/* Hero */
.hero {
  background: url('https://upload.wikimedia.org/wikipedia/commons/b/bc/Neo_Qu%C3%ADmica_Arena_2022.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  background: #d50000;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #b30000;
}

/* Conteúdo */
.content {
  padding: 3rem 10%;
  text-align: center;
}

.content h2 {
  margin-bottom: 1rem;
  color: #000;
}

.dark {
  background-color: #111;
  color: #fff;
}

.dark h2 {
  color: #d50000;
}

ul {
  list-style: none;
  line-height: 2;
}

/* Notícias */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.news-grid article {
  background: #f5f5f5;
  border-left: 5px solid #d50000;
  padding: 1rem;
  text-align: left;
  border-radius: 5px;
  transition: 0.3s;
}

.news-grid article:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .content {
    padding: 2rem 5%;
  }
}
