/* Soluções — refinamento visual isolado da seção */
.services {
  --services-orange: var(--orange, #c6531c);
  --services-ink: var(--ink, #151515);
  --services-muted: var(--muted, #555);
  --services-line: var(--line, #dadada);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 70px 78px;
  background:
    radial-gradient(circle at 92% 14%, rgba(245, 237, 231, .74), transparent 32%),
    linear-gradient(112deg, #fff 0%, #fdfcfb 54%, #fff 100%);
}

/* Thin arcs keep the section connected to the visual language of the reference. */
.services::before,
.services::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(198, 83, 28, .16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.services::before {
  top: -500px;
  right: -285px;
  width: min(61vw, 860px);
  height: min(61vw, 860px);
}

.services::after {
  bottom: -560px;
  left: -430px;
  width: min(57vw, 760px);
  height: min(57vw, 760px);
  border-color: rgba(198, 83, 28, .09);
}

.services > .services-container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 96px), var(--container, 1480px));
  margin-inline: auto;
}

@media (min-width: 1600px) {
  .services > .services-container {
    width: min(86%, var(--container, 1480px));
  }
}

.services .services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(40px, 4.5vw, 80px);
  margin-bottom: 36px;
}

.services .services-heading > div {
  min-width: 0;
}

.services .services-heading .section-kicker {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  color: var(--services-orange);
  letter-spacing: .22em;
}

.services .services-heading .section-kicker::after {
  flex: 0 0 60px;
  width: 60px;
  height: 1px;
  background: currentColor;
  content: "";
}

.services .services-heading h2 {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--services-ink);
  font-family: var(--heading, Manrope, Arial, sans-serif);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.services .services-heading > p {
  position: relative;
  justify-self: start;
  max-width: 440px;
  margin: 0 0 5px;
  padding: 3px 0 3px 35px;
  color: var(--services-muted);
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.55;
}

.services .services-heading > p::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(21, 21, 21, .32);
  content: "";
}

.services .service-list {
  display: grid;
  gap: 10px;
  border: 0;
}

.services .service-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 64px minmax(230px, .9fr) minmax(0, 1.5fr) 48px;
  align-items: center;
  min-width: 0;
  min-height: 100px;
  padding: 17px 24px;
  column-gap: 20px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 16px;
  color: var(--services-ink);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 22px rgba(21, 21, 21, .035);
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.services .service-row:hover,
.services .service-row:focus-visible {
  border-color: rgba(198, 83, 28, .31);
  background: rgba(255, 250, 247, .94);
  box-shadow: 0 14px 30px rgba(198, 83, 28, .09);
  transform: translateY(-1px);
}

.services .service-row:focus-visible {
  outline: 3px solid var(--services-orange);
  outline-offset: 4px;
}

.services .service-number {
  color: var(--services-orange);
  font-family: var(--heading, Manrope, Arial, sans-serif);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1;
}

.services .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(21, 21, 21, .09);
  border-radius: 15px;
  color: var(--services-orange);
  background: #fffdfb;
  transition: border-color .24s ease, background-color .24s ease;
}

.services .service-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.services .service-row:hover .service-icon,
.services .service-row:focus-visible .service-icon {
  border-color: rgba(198, 83, 28, .25);
  background: #fff8f4;
}

.services .service-row h3 {
  min-width: 0;
  margin: 0;
  color: var(--services-ink);
  font-family: var(--heading, Manrope, Arial, sans-serif);
  font-size: clamp(24px, 1.72vw, 26px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.services .service-row p {
  min-width: 0;
  margin: 0;
  padding: 4px 0 4px 34px;
  border-left: 1px solid rgba(21, 21, 21, .2);
  color: var(--services-muted);
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.services .service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(21, 21, 21, .15);
  border-radius: 50%;
  color: var(--services-ink);
  background: transparent;
  transition: color .24s ease, background-color .24s ease, border-color .24s ease, transform .24s ease;
}

.services .service-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.services .service-row:hover .service-action,
.services .service-row:focus-visible .service-action {
  border-color: var(--services-orange);
  color: #fff;
  background: var(--services-orange);
  transform: translateX(1px);
}

.services .services-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 34px;
}

.services .services-close p {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  margin: 0;
  color: var(--services-ink);
  font-family: var(--heading, Manrope, Arial, sans-serif);
  font-size: clamp(21px, 1.75vw, 28px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.services .services-close p::before {
  flex: 0 0 62px;
  width: 62px;
  height: 1px;
  background: var(--services-ink);
  content: "";
}

.services .services-close .button {
  flex: 0 0 auto;
  justify-content: space-between;
  width: min(100%, 337px);
  min-height: 76px;
  padding: 18px 28px;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(21, 21, 21, .14);
  font-size: 16px;
}

.services .services-close .button svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1180px) {
  .services .services-heading {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .services .service-row {
    grid-template-columns: 40px 58px minmax(180px, .9fr) minmax(0, 1.35fr) 44px;
    min-height: 100px;
    padding-inline: 19px;
    column-gap: 14px;
  }

  .services .service-icon {
    width: 58px;
    height: 58px;
  }

  .services .service-row h3 {
    font-size: 23px;
  }

  .services .service-row p {
    padding-left: 22px;
    font-size: 17px;
  }

  .services .service-action {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 900px) {
  .services {
    padding-block: 72px;
  }

  .services > .services-container {
    width: min(calc(100% - 56px), 740px);
  }

  .services .services-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .services .services-heading > p {
    max-width: 560px;
  }

  .services .service-row {
    grid-template-columns: 40px 58px minmax(0, 1fr) 44px;
    row-gap: 14px;
    min-height: 0;
    padding: 16px 18px 18px;
  }

  .services .service-action {
    grid-column: 4;
    grid-row: 1;
  }

  .services .service-row p {
    grid-column: 2 / -1;
    padding: 14px 0 0;
    border-top: 1px solid rgba(21, 21, 21, .16);
    border-left: 0;
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .services {
    padding-block: 64px;
  }

  .services > .services-container {
    width: min(calc(100% - 36px), 540px);
  }

  .services .services-heading {
    margin-bottom: 30px;
  }

  .services .services-heading h2 {
    margin-top: 18px;
    font-size: clamp(40px, 10vw, 54px);
    line-height: 1.06;
  }

  .services .services-heading > p {
    margin: 0;
    padding: 17px 0 0;
    font-size: 16px;
  }

  .services .services-heading > p::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 1px;
  }

  .services .service-list {
    gap: 8px;
  }

  .services .service-row {
    grid-template-columns: 30px 54px minmax(0, 1fr) 42px;
    column-gap: 9px;
    row-gap: 12px;
    padding: 15px 12px 16px;
    border-radius: 15px;
  }

  .services .service-number {
    font-size: 16px;
  }

  .services .service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .services .service-icon svg {
    width: 31px;
    height: 31px;
  }

  .services .service-row h3 {
    font-size: clamp(19px, 5.4vw, 23px);
    line-height: 1.15;
  }

  .services .service-row p {
    grid-column: 1 / -1;
    padding-top: 13px;
    font-size: 16px;
    line-height: 1.5;
  }

  .services .service-row .desktop-break {
    display: none;
  }

  .services .service-action {
    width: 42px;
    height: 42px;
  }

  .services .service-action svg {
    width: 19px;
    height: 19px;
  }

  .services .services-close {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
    padding-top: 34px;
  }

  .services .services-close p {
    gap: 19px;
    font-size: 21px;
  }

  .services .services-close p::before {
    flex-basis: 42px;
    width: 42px;
  }

  .services .services-close .button {
    width: 100%;
    min-height: 64px;
    padding: 16px 20px;
  }
}

@media (max-width: 360px) {
  .services .service-row {
    grid-template-columns: 28px 50px minmax(0, 1fr) 40px;
    column-gap: 7px;
    padding-inline: 10px;
  }

  .services .service-icon {
    width: 50px;
    height: 50px;
  }

  .services .service-row h3 {
    font-size: 18px;
  }

  .services .service-action {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services *,
  .services *::before,
  .services *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
