@media screen and (min-width: 576px) {
  .header__cta,
  .hero__button,
  .partner__button,
  .about-page__button,
  .faq__contact-button,
  .privacy-page__help-button,
  .trusted-partners__button,
  .cta__button{
    width: fit-content;
  }
}

@media screen and (min-width: 768px) {

  .solutions__benefit-card {
    padding: 2.5rem;
  }

  .solutions__benefit-icon {
    width: 4.563rem;
  }

  .years__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .years__stat {
    position: relative;
  }

  .years__stat:not(:last-child)::after {
    background-color: var(--color-gray-200);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
  }

  .partner__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .partner {
    top: 0;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(87, 15, 6, 0) 0%, rgba(207, 36, 16, 0.08) 42%, rgba(207, 36, 16, 0.72) 68%, rgba(87, 15, 6, 0.96) 100%),
      url("../img/about-hero-cover-colaboradora-1200.webp");
  }
}

@media screen and (min-width: 992px) {
  .header__menu {
    gap: 1.5rem;
  }

  .header__link {
    min-height: auto;
    padding: 0 !important;
  }

  .header__link::after {
    border-radius: 999px;
    bottom: -0.35rem;
    height: 2px;
    top: auto;
    transform: scaleX(0);
    transform-origin: left;
    width: 100%;
  }

  .header__link:hover::after,
  .header__link:focus::after,
  .header__link.active::after {
    transform: scaleX(1);
  }

  .hero__title {
    font-size: clamp(
      50px,
      calc(-1.0865rem + 6.7909vw),
      var(--font-size-64)
    );
  }

  .solutions,
  .partner,
  .about-purpose,
  .about-page,
  .about-process,
  .years, 
  .digital-solutions,
  .trusted-partners {
    padding: 6rem 0;
  } 

  .page-shell {
    padding: 6rem 0;
  }

  .privacy-page {
    padding: 5rem 0;
  }

  .privacy-page__layout {
    align-items: start;
    gap: 3rem;
    grid-template-columns: minmax(13rem, 0.32fr) minmax(0, 1fr);
  }

  .privacy-page__sidebar {
    position: sticky;
    top: 8rem;
  }

  .privacy-page__content {
    gap: 3rem;
  }

  .privacy-page__section {
    padding-bottom: 3rem;
    scroll-margin-top: 9rem;
  }

  .about-page__visual-col {
    order: 1;
  }

  .about-page__text-col {
    order: 2;
  }

  .about-page__visual-col {
    align-self: stretch;
    display: flex;
  }

  .about-page__visual {
    margin-bottom: -6rem;
  }

  .hero{
    background:
      linear-gradient(90deg, rgba(87, 15, 6, 0.92) 0%, rgba(207, 36, 16, 0.54) 34%, rgba(207, 36, 16, 0.08) 52%, rgba(207, 36, 16, 0) 64%),
      url("../img/about-hero-cover-colaboradora-1200.webp") 38% top / cover no-repeat;
    background-attachment: scroll, fixed;
    min-height: auto;
    padding: 9rem 0;
  }

  .about-history__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .about-history__text-wrap {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: max(0.75rem, calc((100vw - 960px) / 2 + 0.75rem));
    padding-right: 4rem;
  }

  .about-purpose__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-process__grid {
    column-gap: 4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 4rem;
  }

  .about-purpose__card--values {
    grid-column: auto;
    max-width: none;
  }

  .partner__header {
    align-items: start;
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
  }

  .cta__text-wrap {
    padding: 4rem 0;
  }

  .cta__image-wrap {
    justify-content: flex-end;
  }

  .cta__image {
    max-height: 46rem;
    margin-bottom: -105px;
    position: relative;
    top: -105px;
  }

  .footer__content {
    text-align: center;
  }

  .footer {
    padding: 1.5rem 0;
  }

  .footer__brand-col {
    text-align: left;
  }

  .footer__links-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer__links-item {
    width: auto;
  }

  .footer__link {
    width: fit-content;
    min-height: auto;
  }

  .footer__social-col {
    align-items: flex-end;
  }

  .faq {
    background: linear-gradient(
      90deg,
      var(--color-primary-500) 0%,
      var(--color-primary-500) 50%,
      var(--color-gray-100) 50%,
      var(--color-gray-100) 100%
    );
    padding: 6rem 0;
  }
  
  .faq__accordion-col {
    padding-bottom: 0;
    padding-left: 5rem;
    padding-right: 0;
    padding-top: 0;
  }

  .faq__text-col {
    background-color: transparent;
    box-shadow: none;
    clip-path: none;
    padding: 2rem 2rem 2rem 0;
  }

  .faq__text-col::before {
    bottom: auto;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    display: block;
    height: 5rem;
    left: auto;
    right: -2.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
  }

  .solutions__service-card {
    padding: 1.5rem 2.5rem;
  }

  .digital-solutions__list {
    margin-top: 4rem;
  }

  .digital-solutions__item {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    padding: 1.25rem;
  }

  .digital-solutions__item--reverse .digital-solutions__image-wrap {
    grid-column: 2;
  }

  .digital-solutions__item--reverse .digital-solutions__text {
    grid-column: 1;
    grid-row: 1;
  }

  .digital-solutions__text {
    padding: 1.5rem 2rem;
  }

}

@media screen and (min-width: 1200px) {
  .hero {
    background-image:
      linear-gradient(90deg, rgba(87, 15, 6, 0.92) 0%, rgba(207, 36, 16, 0.54) 34%, rgba(207, 36, 16, 0.08) 52%, rgba(207, 36, 16, 0) 64%),
      url("../img/about-hero-cover-colaboradora-1920.webp");
    background-position: 38% top;
    background-size: cover;
  }

  .about-history__text-wrap {
    padding-left: max(0.75rem, calc((100vw - 1140px) / 2 + 0.75rem));
  }

  .about-history__image-wrap{
    min-height: 800px;
  }
}

@media screen and (min-width: 1400px) {
  .about-history__text-wrap {
    padding-left: max(0.75rem, calc((100vw - 1320px) / 2 + 0.75rem));
  }
}
