.qs-hero {
  height: 50vh;
  background: linear-gradient(135deg, #c62828, #6a1b9a);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.qs-hero h1 {
  font-size: 48px;
}

.qs-hero p {
  opacity: 0.85;
}

/* CONTEÚDO */
.qs-conteudo {
  padding: 100px 80px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.qs-texto {
  max-width: 500px;
  animation: fadeUp 0.8s ease forwards;
}

.qs-texto h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.qs-texto p {
  line-height: 1.7;
  opacity: 0.85;
}

.qs-imagem img {
  height: 420px;
  animation: float 3s ease-in-out infinite;
}

/* VALORES */
.qs-valores {
  padding: 80px;
  background: #f7f7f7;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.valor {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.4s ease;
}

.valor:hover {
  transform: translateY(-12px);
}

.valor h3 {
  margin-bottom: 10px;
}

/* ANIMAÇÕES */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .qs-conteudo {
    flex-direction: column;
    text-align: center;
  }

  .qs-imagem img {
    height: 320px;
  }
}
