body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cabeçalho */
header {
  background-color: #0077cc;
  color: white;
  text-align: center;
  width: 100%;
  padding: 20px 0;
  font-size: 2em;
  font-weight: bold;
}

/* Seção principal */
section {
  background: white;
  width: 90%;
  max-width: 1000px;
  margin-top: 40px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Primeira div (linha com imagem - texto - imagem) */
.linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

.linha img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.linha p {
  flex: 1;
  text-align: justify;
}

/* Carrossel */
.carrossel {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
}

.carrossel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.carrossel img.active {
  display: block;
}

/* Botões de redes sociais */
.redes {
  margin-top: 20px;
  text-align: center;
}

.redes button {
  background-color: #0077cc;
  color: white;
  border: none;
  margin: 5px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s;
}

.redes button:hover {
  background-color: #005fa3;
}

/* Responsividade */
@media (max-width: 768px) {
  .linha {
    flex-direction: column;
    text-align: center;
  }

  .linha img {
    width: 100%;
    height: auto;
  }

  .carrossel {
    height: 200px;
  }
}

@media (max-width: 480px) {
  header {
    font-size: 1.5em;
  }

  section {
    padding: 15px;
  }

  .redes button {
    width: 80%;
    font-size: 0.9em;
  }
}
