/* === Cartão base === */
.w3_qs-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 40px 50px;
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease;
}

.w3_qs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* === Texto interno (para ambos os cartões) === */
.w3_qs-card p,
.qs-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 18px;
}

/* === Destaques === */
.w3_qs-card strong {
  color: #096aca; /* azul profissional */
  font-weight: 600;
}

.w3_qs-card v2 {
  /*color: #096aca; /* azul profissional */
  font-weight: 600;
  text-decoration: underline;
}


/* === Links === */
.w3_qs-card a,
.qs-text a {
  color: #c62828;
  text-decoration: none;
  transition: color 0.2s ease;
}

.w3_qs-card a:hover,
.qs-text a:hover {
  color: #b71c1c;
  text-decoration: underline;
}

/* === Layout flexível do cartão inferior === */
.qs-flex {
  display: flex;
  align-items: center;        /* centraliza verticalmente */
  justify-content: space-between;
  gap: 40px;
}

/* Texto à esquerda — 65% */
.qs-text {
  flex: 0 0 65%;
}

/* Imagem à direita — 35% */
.qs-img {
  flex: 0 0 35%;
  width: 100%;
  max-height: 420px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* === Animação de entrada === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .qs-text {
    flex: 0 0 100%;
  }

  .qs-img {
    width: 70%;
    max-height: 300px;
    margin-top: 20px;
  }
}


