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

.folha-hero {
  height: 100vh !important;
  min-height: 758px !important;
  max-height: none;
}

.folha-hero .core-hero__background {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 28%, rgba(0, 0, 0, 0.88) 100%),
    url("assets/gestao-folha/images/hero-desktop-final@2x.webp") center 46% / cover no-repeat;
}

.folha-hero .core-product-label i {
  background-image: url("assets/figma/Pattern-rodape-card-2.svg");
  background-position: right center;
  background-size: 128px 60px;
  transform: none;
}

.folha-hero h1 {
  max-width: 1240px;
}

.folha-process .core-process__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.folha-process .core-heading h2 {
  max-width: 700px;
  margin-inline: auto;
}

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

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

.folha-process .process-card__footer > img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  padding: 16px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(75%) saturate(633%) hue-rotate(78deg) brightness(94%) contrast(91%);
}

.folha-process .process-card:nth-child(4) .process-card__footer > img {
  content: url("assets/figma/icon-bussula-g.svg");
  filter: none;
}

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

.folha-advantages .core-advantages__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.folha-advantages {
  height: 1040px;
}

.folha-advantages .core-advantage {
  grid-column: auto;
}

.folha-advantages .core-advantage > img {
  aspect-ratio: 1.34 / 1;
  object-fit: cover;
}

.folha-advantages .core-advantage__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(75%) saturate(633%) hue-rotate(78deg) brightness(94%) contrast(91%);
}

.folha-advantages .core-advantage:nth-child(1) > img { object-position: center 50%; }
.folha-advantages .core-advantage:nth-child(2) > img { object-position: center 45%; }
.folha-advantages .core-advantage:nth-child(3) > img { object-position: center 44%; }

.folha-benefits {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.66)),
    url("assets/gestao-folha/images/benefits-desktop@2x.webp") center / cover no-repeat;
}

.folha-benefits .bpo-benefits__icon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: block;
  width: 24px;
  height: 24px;
  background: url("assets/pce-bpo/icons/beneficio-icon.svg") center / contain no-repeat;
}

.folha-benefits .bpo-benefits__icon img {
  display: none;
}

.folha-numbers .numbers-grid {
  justify-content: center;
}

.folha-clients .core-container {
  max-width: 940px;
}

.folha-clients .client-logos {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
}

.folha-clients .client-logos > div {
  width: 100%;
  min-width: 0;
}

.folha-contact .contact-copy > div {
  margin-top: 104px;
}

.folha-contact .contact-copy h2 {
  max-width: 590px;
}

@media (max-width: 767px) {
  .folha-hero {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: none;
  }

  .folha-hero .core-hero__background {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.02) 28%, rgba(0, 0, 0, 0.92) 100%),
      url("assets/gestao-folha/images/hero-mobile-final@2x.webp") 40% top / cover no-repeat;
  }

  .folha-hero .core-product-label i {
    background-size: 96px 44px;
  }

  .folha-process {
    height: auto;
    min-height: 1740px;
    padding-bottom: 88px;
  }

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

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

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

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

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

  .folha-advantages .core-advantages__grid {
    grid-template-columns: 1fr;
  }

  .folha-advantages {
    height: auto;
    min-height: 1900px;
  }

  .folha-advantages .core-advantage > img {
    aspect-ratio: 1.25 / 1;
  }

  .folha-benefits {
    min-height: 1086px;
    padding: 360px 16px 16px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.02) 8%, rgba(0, 0, 0, 0.78) 48%, rgba(0, 0, 0, 0.9) 100%),
      url("assets/gestao-folha/images/benefits-mobile@2x.webp") top center / cover no-repeat;
  }

  .folha-numbers .numbers-grid {
    grid-template-columns: 220px;
    grid-template-rows: repeat(2, 200px);
  }

  .folha-clients .client-logos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .folha-clients .client-logos > div {
    width: 100%;
    height: 44px;
  }

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

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

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

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

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

  .folha-contact .contact-art__back {
    content: url("assets/cta-back-mobile.webp");
  }

  .folha-contact .contact-art__front {
    content: url("assets/cta-front-mobile.webp");
  }
}
