/* Home / Atendimento para empresas — scoped process section. */
.home-process {
  padding-block: clamp(76px, 8vw, 110px);
  background: #fff;
}

.home-process-heading {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.home-process-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: var(--green-dark);
  font-size: .73rem;
  font-weight: 820;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-process-kicker span {
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
}

.home-process-heading h2 {
  margin: 0;
  color: #17233b;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 790;
  letter-spacing: -.048em;
  line-height: 1.06;
}

.home-process-heading h2 > span {
  display: block;
}

.home-process-heading > p:last-child {
  max-width: 690px;
  margin: 20px auto 0;
  color: #64748b;
  font-size: clamp(.95rem, 1.45vw, 1.08rem);
  line-height: 1.7;
}

.home-process-list {
  display: grid;
  margin: clamp(42px, 5vw, 56px) 0 0;
  padding: 0;
  gap: 20px;
  list-style: none;
}

.home-process-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  padding: clamp(26px, 3vw, 32px);
  border: 1px solid #e3e9e6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgb(15 23 42 / 5%);
  transition: transform 480ms cubic-bezier(.16, 1, .3, 1), border-color 400ms cubic-bezier(.16, 1, .3, 1), box-shadow 480ms cubic-bezier(.16, 1, .3, 1), background-color 400ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.home-process-card-featured {
  border-color: var(--green);
}

.home-process-card:hover {
  border-color: #bdd8c7;
  background: #fdfefd;
  box-shadow: 0 18px 40px rgb(15 71 42 / 9%);
  transform: translateY(-6px);
}

.js .home-process-card.reveal.is-visible {
  will-change: transform;
}

.js .home-process-card.reveal.is-visible:hover {
  border-color: #bdd8c7;
  background: #fdfefd;
  box-shadow: 0 20px 44px rgb(15 71 42 / 11%);
  transform: translateY(-6px);
}

.home-process-card-featured:hover {
  border-color: var(--green-dark);
}

.home-process-icon {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--green-dark);
  background: #eaf7ef;
  place-items: center;
  transition: color 420ms cubic-bezier(.16, 1, .3, 1), background-color 420ms cubic-bezier(.16, 1, .3, 1), box-shadow 460ms cubic-bezier(.16, 1, .3, 1), transform 460ms cubic-bezier(.16, 1, .3, 1);
}

.home-process-card:hover .home-process-icon {
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 12px 28px rgb(2 102 46 / 18%);
  transform: translateY(-3px);
}

.home-process-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.65;
}

.home-process-icon-whatsapp svg {
  fill: currentColor;
  stroke: none;
}

.home-process-card h3 {
  margin: 0 0 12px;
  color: #17233b;
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  font-weight: 780;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.home-process-card > p {
  margin: 0 0 26px;
  color: #64748b;
  font-size: clamp(.93rem, 1.2vw, 1.02rem);
  line-height: 1.65;
}

.home-process-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: auto;
  color: var(--green-dark);
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: color 220ms cubic-bezier(.22, 1, .36, 1);
}

.home-process-link-label {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.home-process-link-label::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentcolor;
  clip-path: inset(0 100% 0 0);
  content: "";
  transition: clip-path 650ms cubic-bezier(.4, 0, .2, 1);
}

.home-process-link-arrow {
  display: inline-block;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.home-process-link:hover {
  color: var(--green-deep);
}

.home-process-link:hover .home-process-link-label::after,
.home-process-link:focus-visible .home-process-link-label::after {
  clip-path: inset(0 0 0 0);
}

.home-process-link:hover .home-process-link-arrow {
  transform: translateX(4px);
}

.home-process-link:focus-visible {
  border-radius: 7px;
  outline: 3px solid rgb(3 145 66 / 22%);
  outline-offset: 5px;
}

@media (min-width: 640px) {
  .home-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .home-process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
  }

  .home-process-card:not(:last-child)::after {
    position: absolute;
    z-index: -1;
    top: 65px;
    left: calc(100% + 1px);
    width: 21px;
    height: 1px;
    background: rgb(3 145 66 / 52%);
    content: "";
    pointer-events: none;
  }

  .home-process-card:not(:last-child)::before {
    position: absolute;
    z-index: -1;
    top: 62px;
    left: calc(100% + 19px);
    width: 7px;
    height: 7px;
    border-top: 1px solid rgb(3 145 66 / 70%);
    border-right: 1px solid rgb(3 145 66 / 70%);
    content: "";
    pointer-events: none;
    transform: rotate(45deg);
  }

  .home-process-card-featured .home-process-icon::after {
    position: absolute;
    top: 64px;
    right: -5px;
    width: 7px;
    height: 7px;
    border: 1px solid var(--green);
    border-radius: 50%;
    background: #fff;
    content: "";
  }
}

@media (max-width: 639px) {
  .home-process-heading {
    text-align: left;
  }

  .home-process-heading h2 {
    font-size: clamp(2.15rem, 10.5vw, 2.8rem);
  }

  .home-process-heading h2 > span {
    display: inline;
  }

  .home-process-heading > p:last-child {
    margin-left: 0;
  }

  .home-process-card:not(:last-child)::after {
    position: absolute;
    bottom: -18px;
    left: 35px;
    width: 2px;
    height: 16px;
    background: rgb(3 145 66 / 34%);
    content: "";
    pointer-events: none;
  }

  .home-process-card:not(:last-child)::before {
    position: absolute;
    bottom: -19px;
    left: 32px;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgb(3 145 66 / 56%);
    border-bottom: 1px solid rgb(3 145 66 / 56%);
    content: "";
    pointer-events: none;
    transform: rotate(45deg);
  }
}

@media (hover: none) {
  .home-process-card:hover,
  .js .home-process-card.reveal.is-visible:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) {
  .home-process-link,
  .home-process-link-arrow {
    transition: none;
  }

  .home-process-link-label::after {
    transition: clip-path 650ms cubic-bezier(.4, 0, .2, 1) !important;
  }

  .home-process-card {
    transition: transform 480ms cubic-bezier(.16, 1, .3, 1), border-color 400ms cubic-bezier(.16, 1, .3, 1), box-shadow 480ms cubic-bezier(.16, 1, .3, 1), background-color 400ms cubic-bezier(.16, 1, .3, 1) !important;
  }

  .home-process-icon {
    transition: color 420ms cubic-bezier(.16, 1, .3, 1), background-color 420ms cubic-bezier(.16, 1, .3, 1), box-shadow 460ms cubic-bezier(.16, 1, .3, 1), transform 460ms cubic-bezier(.16, 1, .3, 1) !important;
  }

  .home-process-link:hover .home-process-link-arrow {
    transform: none;
  }

  .home-process-card:hover,
  .js .home-process-card.reveal.is-visible:hover {
    transform: translateY(-5px) !important;
  }

  .home-process-card:hover .home-process-icon {
    transform: translateY(-2px) !important;
  }
}
