.programs-intro {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* card do programa: foto provisória com o nome por cima, ou logomarca sobre fundo branco */
.program-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #0a3622;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  outline: 3px solid #d28b39;
}

.program-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-card__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.6);
}

.program-card__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 0.75rem 0.75rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.2;
  background: linear-gradient(to top, rgba(10, 54, 34, 0.95), rgba(10, 54, 34, 0));
}

.program-card--logo {
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.program-card--logo .program-card__img {
  object-fit: contain;
  padding: 1rem 1rem 3rem;
}

.program-card--logo .program-card__name {
  color: #0a3622;
  text-align: center;
  background: none;
  padding: 0.5rem;
}

.program-detail__img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.program-detail__img--logo {
  object-fit: contain;
  max-height: 160px;
}

.program-detail h6 {
  margin-top: 1rem;
}
