/* Materiais gratuitos (/materiais): hero, cartões dos materiais e modal do pedido de download. */

.mg-hero {
  background: linear-gradient(135deg, #29235c 0%, #3d3487 100%);
  color: #fff;
  padding: var(--lw-hero-pad, 56px) 0;
}
.mg-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffb066;
  margin-bottom: 10px;
}
.mg-hero__titulo {
  font-size: var(--lw-hero-h1, 40px);
  line-height: var(--lw-hero-h1-lh, 1.1);
  font-weight: 800;
  margin: 0 0 14px;
  max-width: 760px;
}
.mg-hero__texto {
  font-size: var(--lw-hero-sub, 18px);
  line-height: var(--lw-hero-sub-lh, 1.5);
  max-width: 720px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .9);
}
.mg-hero__nota { font-size: 14px; margin: 0; color: rgba(255, 255, 255, .8); }

.mg-lista { background: #f7f6fb; }

.mg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(41, 35, 92, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mg-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(41, 35, 92, .14); }
.mg-card__capa { aspect-ratio: 4 / 3; background: #ece9f6; }
.mg-card__capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-card__corpo { display: flex; flex-direction: column; flex: 1; padding: 20px; gap: 8px; }
.mg-card__formatos { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.mg-card__formatos li {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff1e3;
  color: #c45f00;
}
.mg-card__titulo { font-size: 20px; font-weight: 800; color: #29235c; margin: 4px 0 0; line-height: 1.25; }
.mg-card__subtitulo { font-size: 15px; font-weight: 600; color: #4a4570; margin: 0; }
.mg-card__descricao { font-size: 14px; color: #5f5b7a; margin: 0 0 12px; white-space: pre-line; }

.mg-vazio { background: #fff; border-radius: 16px; }

.mg-modal { border-radius: 16px; border: 0; }
.mg-modal__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #ff8000; }
.mg-modal__icone {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8f6ee; color: #198754; font-size: 24px; margin-bottom: 12px;
}
.mg-newsletter { padding: 10px 12px 10px 36px; border-radius: 10px; background: #f7f6fb; }
.mg-newsletter--destaque { outline: 2px solid #ff8000; background: #fff4e8; }

@media (max-width: 575.98px) {
  .mg-card__corpo { padding: 16px; }
  .mg-card__titulo { font-size: 18px; }
}
