
/* GRID mais respirável */
body .modul-grid {
  margin-top: 20px;
}

/* CARD base */
body .modul-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* hover leve (sem exagero) */
body .modul-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* imagem */
body .modul-card-img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

/* corpo */
body .modul-card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* título */
body .modul-card-body h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

/* descrição (limite visual) */
body .modul-card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  flex-grow: 1;

  /* evita poluição visual */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* botão */
body .modul-btn {
  margin-top: 15px;
  display: inline-block;
  padding: 8px 14px;
  background: #B22222;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

/* hover botão */
body .modul-btn:hover {
  background: #8b1a1a;
  color: #fff;
}