.due-page {
  --due-card: #f5faf9;
}

.due-page .mega-menu__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  transition: filter 260ms var(--motion-ease-out);
}

.due-page .mega-menu__item:hover .mega-menu__icon img,
.due-page .mega-menu__item:focus-visible .mega-menu__icon img,
.due-page .mega-menu__item.is-active .mega-menu__icon img {
  filter: none;
}

/* 01 — Hero */
.due-hero {
  height: 100vh;
  min-height: 758px;
}

.due-hero .core-hero__background {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03) 38%, rgba(0, 0, 0, 0.9) 100%),
    url("assets/due-diligence/images/hero@2x.webp") center 48% / cover no-repeat;
}

.due-hero h1 {
  max-width: 1320px;
}

/* 02 — Como funciona */
.due-process .core-heading h2 {
  max-width: 900px;
  margin-inline: auto;
}

.due-process .process-card__body {
  padding: 16px;
}

.due-process .process-card h3 {
  font-size: 18px;
  line-height: 1.35;
}

.due-process .process-card__footer {
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.due-process .process-card__footer > img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  padding: 16px;
  object-fit: contain;
}

.due-process .process-card__footer > i {
  width: 128px;
  height: 60px;
  flex: 0 0 128px;
  background: url("assets/figma/Pattern-rodape-card-2.svg") right center / 128px 60px no-repeat;
}

/* 03 — Vantagens */
.due-advantages .core-advantage:nth-child(1) {
  grid-column: span 5;
}

.due-advantages .core-advantage:nth-child(2) {
  grid-column: span 7;
}

.due-advantages .core-advantage:nth-child(3) {
  grid-column: span 7;
}

.due-advantages .core-advantage:nth-child(4) {
  grid-column: span 5;
}

.due-advantages .core-advantage__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.due-advantages .core-advantage:nth-child(1) > img {
  object-position: center 48%;
}

.due-advantages .core-advantage:nth-child(2) > img {
  object-position: center 44%;
}

.due-advantages .core-advantage:nth-child(3) > img {
  object-position: center 46%;
}

.due-advantages .core-advantage:nth-child(4) > img {
  object-position: center 44%;
}

/* 04 — Benefícios */
.due-benefits {
  position: relative;
  height: 800px;
  padding: 40px 0;
  color: var(--frost);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58)),
    url("assets/pce-bpo/images/benefits-desktop@2x.webp") center / cover no-repeat;
}

.due-benefits__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
}

.due-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.due-benefits article {
  position: relative;
  height: 232px;
  overflow: hidden;
  padding: 72px 16px 22px;
  color: var(--black);
  background: var(--due-card);
}

.due-benefits__icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.due-benefits__icon img {
  width: 24px;
  height: 24px;
}

.due-benefits article h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  line-height: 1.35;
}

.due-benefits article p {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.45;
}

.due-benefits article > i {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 96px;
  height: 18px;
  background: url("assets/pce-bpo/icons/beneficio-pattern.svg") right center / contain no-repeat;
  transform: scaleX(-1);
}

/* 06 — Bloco editorial */
.due-decision {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--white);
}

.due-decision__dots {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(92, 115, 102, 0.23) 1px, transparent 1.3px) center / 8px 8px;
  -webkit-mask-image: radial-gradient(ellipse 38% 68% at 50% 50%, #000 0 44%, transparent 75%);
  mask-image: radial-gradient(ellipse 38% 68% at 50% 50%, #000 0 44%, transparent 75%);
}

.due-decision__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.due-decision h2 {
  max-width: 900px;
  font-size: 40px;
  line-height: 1.25;
}

.due-decision p {
  max-width: 800px;
  margin-top: 24px;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.5;
}

.due-decision .button {
  margin-top: 48px;
}

/* 07 — CTA */
.due-contact .contact-copy > div {
  margin-top: 104px;
}

.due-contact .contact-copy h2 {
  max-width: 600px;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .due-process .process-card h3 {
    font-size: 15px;
  }

  .due-process .process-card p {
    font-size: 10px;
  }

  .due-process .process-card__footer > i {
    width: 90px;
    flex-basis: 90px;
    background-size: 90px 60px;
  }
}

@media (max-width: 767px) {
  .due-hero {
    height: 780px;
    min-height: 780px;
  }

  .due-hero .core-hero__background {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.03) 34%, rgba(0, 0, 0, 0.92) 100%),
      url("assets/due-diligence/images/hero@2x.webp") 50% center / cover no-repeat;
  }

  .due-hero h1 {
    font-size: 30px;
  }

  .due-process {
    height: auto;
    min-height: 1719px;
    background:
      radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.98), transparent 30%),
      linear-gradient(180deg, var(--mist) 0 91%, var(--white) 91%);
  }

  .due-process .core-process__grid {
    grid-template-columns: 1fr;
  }

  .due-process .process-card,
  .due-process .process-card:nth-child(2),
  .due-process .process-card:nth-child(3) {
    min-height: 292px;
  }

  .due-process .process-card__footer {
    margin-top: auto;
  }

  .due-process .process-card h3 {
    font-size: 20px;
  }

  .due-process .process-card p {
    font-size: 14px;
  }

  .due-advantages .core-advantage:nth-child(1),
  .due-advantages .core-advantage:nth-child(2),
  .due-advantages .core-advantage:nth-child(3),
  .due-advantages .core-advantage:nth-child(4) {
    grid-column: 1;
  }

  .due-advantages .core-advantage > img {
    object-position: center;
  }

  .due-benefits {
    height: auto;
    min-height: 1086px;
    padding: 360px 16px 16px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.04) 10%, rgba(0, 0, 0, 0.76) 50%, rgba(0, 0, 0, 0.88) 100%),
      url("assets/pce-bpo/images/benefits-mobile@2x.webp") top center / cover no-repeat;
  }

  .due-benefits .core-container {
    width: 100%;
  }

  .due-benefits__inner {
    justify-content: flex-start;
    gap: 0;
  }

  .due-benefits .section-rule {
    flex: 0 0 auto;
  }

  .due-benefits__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .due-benefits article {
    height: auto;
    min-height: 160px;
    padding: 56px 16px 24px;
  }

  .due-benefits article h3 {
    font-size: 16px;
  }

  .due-benefits article p {
    margin-top: 8px;
    font-size: 14px;
  }

  .due-benefits article > i {
    width: 72px;
    height: 14px;
  }

  .due-decision {
    height: 488px;
  }

  .due-decision__dots {
    -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 50%, #000 0 42%, transparent 77%);
    mask-image: radial-gradient(ellipse 90% 62% at 50% 50%, #000 0 42%, transparent 77%);
  }

  .due-decision__inner {
    box-sizing: border-box;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .due-decision h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .due-decision p {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.5;
  }

  .due-decision .button {
    width: 100%;
    margin-top: 40px;
  }

  .due-contact {
    min-height: 852px;
  }

  .due-contact .contact-copy {
    text-align: center;
  }

  .due-contact .contact-copy > .corner-tag {
    margin-inline: auto;
  }

  .due-contact .contact-copy > div {
    margin-top: 40px;
  }

  .due-contact .contact-copy h2 {
    max-width: 100%;
  }
}
