/* Layout principal da seção */
.quem-somos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: Arial, sans-serif;
}

.quem-somos h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
  color: #FF0000;
}

/* Layout dos grupos e pessoas */
.grupo,
.pessoa {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
}

/* Imagens dos grupos e pessoas */
.grupo img,
.pessoa img {
  width: 400px;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Texto ao lado das imagens */
.grupo .texto,
.pessoa .texto,
.texto {
  flex: 1;
  min-width: 200px;
}

.texto h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #FF0000;
}

.texto p {
  margin-bottom: 1rem;
  text-align: justify;
  line-height: 1.6;
}

/* Imagem introdutória */
.intro img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

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

  .grupo img,
  .pessoa img {
    width: 90px;
    height: 90px;
    max-width: 90%;
  }

  .texto {
    width: 100%;
  }
}