.ipm-products-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 120px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.96) 100%),
    url("../../images/sou-aluno/BG.png") top center / cover no-repeat,
    #050505;
}

.ipm-products-hero::before,
.ipm-products-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(20px);
}

.ipm-products-hero::before {
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: rgba(249, 76, 19, 0.18);
}

.ipm-products-hero::after {
  left: -100px;
  bottom: 60px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.08);
}

.ipm-products-hero .container {
  position: relative;
  z-index: 1;
}

.ipm-products-hero__intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.ipm-products-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f94c13;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ipm-products-hero__intro h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
}

.ipm-products-hero__intro p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.ipm-products-hero__intro strong {
  color: #fff;
  font-weight: 600;
}

.ipm-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ipm-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #f3f3f3 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ipm-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.ipm-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #121212;
}

.ipm-product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.2) 100%);
}

.ipm-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ipm-product-card:hover .ipm-product-card__media img {
  transform: scale(1.04);
}

.ipm-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
}

.ipm-product-card__category {
  color: #f94c13;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ipm-product-card__body h2 {
  margin: 0;
  color: #111;
  font-size: 28px;
  line-height: 1.1;
}

.ipm-product-card__body p {
  margin: 0;
  color: #4b4b4b;
  font-size: 15px;
  line-height: 1.7;
}

.ipm-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 999px;
  background: #0d0d0d;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.ipm-product-card__button:hover {
  background: #f94c13;
  color: #fff;
}

@media screen and (max-width: 1199px) {
  .ipm-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .ipm-products-hero {
    padding: 140px 0 90px;
  }

  .ipm-products-hero__intro {
    margin-bottom: 32px;
  }

  .ipm-products-hero__intro p {
    font-size: 16px;
  }

  .ipm-products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .ipm-product-card {
    border-radius: 22px;
  }

  .ipm-product-card__body {
    padding: 22px;
  }

  .ipm-product-card__body h2 {
    font-size: 24px;
  }
}
