.services-section .wrapper {
	inline-size: min(
		calc(100% - (var(--softone-gutter-mobile) * 2)),
		var(--softone-container-width)
	);
	margin-inline: auto;
}

.services-section .section-frame-label {
	--frame-text: var(--softone-color-carbon-text);
	--frame-rail: rgba(9, 10, 12, 0.2);
	--frame-pulse: var(--softone-color-primary);

	display: inline-flex;
	max-inline-size: 100%;
	align-items: center;
	gap: 12px;
	color: var(--frame-text);
}

.services-section .section-frame-label__symbol {
	display: inline-grid;
	inline-size: 20px;
	block-size: 20px;
	flex: 0 0 auto;
	overflow: hidden;
	place-items: center;
}

.services-section .section-frame-label__symbol::before {
	content: "";
	display: block;
	inline-size: 100%;
	block-size: 100%;
	background-image: url("../../brand/logo-s-preto.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 199%;
}

.services-section .section-frame-label__frame {
	position: relative;
	display: inline-flex;
	max-inline-size: 100%;
	align-items: center;
	padding: 10px 16px;
}

.services-section .section-frame-label__text {
	position: relative;
	z-index: 1;
	min-inline-size: 0;
	color: var(--frame-text);
	font-family: var(--softone-font-mono);
	font-size: clamp(0.6875rem, 0.72vw, 0.8125rem);
	font-weight: 600;
	letter-spacing: 0.28em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.services-section .section-frame-label__trace {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	overflow: visible;
	pointer-events: none;
}

.services-section .section-frame-label__rail,
.services-section .section-frame-label__pulse {
	fill: none;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.services-section .section-frame-label__rail {
	stroke: var(--frame-rail);
}

.services-section .section-frame-label__pulse {
	filter: drop-shadow(0 0 2px rgba(217, 74, 90, 0.22));
	stroke: var(--frame-pulse);
	stroke-dasharray: 9 91;
	stroke-linecap: round;
	animation: servicesSectionFrameTrace var(--softone-duration-trace) linear infinite;
}

.services-section .button {
	display: inline-flex;
	min-block-size: 52px;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: var(--softone-radius-button);
	color: inherit;
	cursor: pointer;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(217, 74, 90, 0.16);
	transition:
		transform var(--softone-duration-fast) var(--softone-ease-standard),
		background-color var(--softone-duration-fast) var(--softone-ease-standard),
		border-color var(--softone-duration-fast) var(--softone-ease-standard),
		color var(--softone-duration-fast) var(--softone-ease-standard);
}

.services-section .button:focus-visible {
	outline: 2px solid var(--softone-color-primary);
	outline-offset: 5px;
}

.services-section .button__surface {
	display: inline-flex;
	inline-size: 100%;
	min-block-size: inherit;
	align-items: center;
	justify-content: center;
	gap: 11px;
	border: 1px solid var(--button-border);
	border-radius: var(--softone-radius-button);
	padding: 14px 20px;
	background: var(--button-front);
	color: var(--button-text);
	transition:
		background-color 220ms var(--softone-ease-standard),
		border-color 220ms var(--softone-ease-standard),
		color 220ms var(--softone-ease-standard),
		transform 160ms var(--softone-ease-standard);
}

.services-section .button__icon {
	position: relative;
	display: inline-block;
	inline-size: 1.2rem;
	block-size: 1.2rem;
	flex: 0 0 1.2rem;
	overflow: hidden;
	color: currentColor;
}

.services-section .button__arrow {
	position: absolute;
	inset: 0;
	display: block;
	inline-size: 100%;
	block-size: 100%;
	background-color: currentColor;
	-webkit-mask-image: url("../../icon/seta-diagonal.svg");
	mask-image: url("../../icon/seta-diagonal.svg");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition:
		transform 260ms var(--softone-ease-standard),
		opacity 180ms ease;
}

.services-section .button__arrow--current {
	opacity: 1;
	transform: translate(0, 0);
}

.services-section .button__arrow--incoming {
	opacity: 0;
	transform: translate(-115%, 115%);
}

.services-section .button:hover .button__arrow--current,
.services-section .button:focus-visible .button__arrow--current {
	opacity: 0;
	transform: translate(115%, -115%);
}

.services-section .button:hover .button__arrow--incoming,
.services-section .button:focus-visible .button__arrow--incoming {
	opacity: 1;
	transform: translate(0, 0);
}

.services-section .button--secondary-arrow {
	--button-front: transparent;
	--button-text: var(--softone-color-carbon-text);
	--button-border: rgba(9, 10, 12, 0.2);

	min-block-size: 46px;
	gap: 10px;
	padding: 12px 16px;
	background: transparent;
	color: var(--button-text);
}

.services-section .button--secondary-arrow:hover {
	border-color: rgba(217, 74, 90, 0.42);
	background: rgba(217, 74, 90, 0.08);
}

.services-section .button--offset {
	--button-front: var(--services-text);
	--button-text: var(--softone-color-text-primary);
	--button-border: rgba(9, 10, 12, 0.86);
	--button-plate: var(--softone-color-primary);
	--button-offset: var(--softone-offset-plate);

	position: relative;
	min-block-size: 54px;
	padding: 0 var(--button-offset) var(--button-offset) 0;
	border: 0;
	background: transparent;
	color: var(--button-text);
	isolation: isolate;
	box-sizing: border-box;
}

.services-section .button--offset::before {
	content: "";
	position: absolute;
	inset: 0 var(--button-offset) var(--button-offset) 0;
	z-index: -1;
	border-radius: var(--softone-radius-button);
	background: var(--button-plate);
	transform: translate(var(--button-offset), var(--button-offset));
	transition: transform 220ms var(--softone-ease-standard);
}

.services-section .button--offset:hover::before {
	transform: translate(0, 0);
}

.services-section .button--offset:hover .button__surface {
	border-color: var(--button-plate);
	background: var(--button-plate);
	color: var(--softone-color-text-primary);
}

.services-section .button--offset:active .button__surface {
	transform: translate(1px, 1px);
}

@keyframes servicesSectionFrameTrace {
	to {
		stroke-dashoffset: -100;
	}
}

.services-section {
	--services-bg: #f5f3ef;
	--services-text: #090a0c;
  --services-muted: #565961;
  --services-rule: rgba(9, 10, 12, 0.13);
  --services-active: rgba(217, 74, 90, 0.1);
  --services-active-strong: rgba(217, 74, 90, 0.16);

  overflow: clip;
  overflow-anchor: none;
  scroll-margin-top: 24px;
  background: var(--services-bg);
	color: var(--services-text);
}

.services-section__empty {
	margin: 0;
	padding: 32px clamp(24px, 4vw, 56px);
	border-block: 1px solid var(--services-rule);
	color: var(--services-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.services-section * {
	overflow-anchor: none;
}

.services-section__wrapper {
  padding-block: clamp(112px, 12vw, 168px);
}

.services-section__intro {
  display: grid;
  align-items: end;
  gap: clamp(32px, 8vw, 120px);
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  margin-bottom: clamp(52px, 7vw, 88px);
}

.services-section__label {
  margin-bottom: 20px;
}

.services-section__title {
  max-width: 960px;
  color: var(--services-text);
  font-size: clamp(2.8rem, 5.25vw, 5.8rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.services-section__text {
  max-width: 520px;
  margin-left: auto;
  color: var(--services-muted);
  font-size: clamp(1rem, 1.24vw, 1.16rem);
  font-weight: 400;
  line-height: 1.65;
}

.services-accordion {
  border-top: 1px solid var(--services-rule);
}

.service-item {
  border-bottom: 1px solid var(--services-rule);
  background: transparent;
  color: var(--services-text);
  transition:
    background-color 420ms var(--softone-ease-standard),
    border-color 420ms var(--softone-ease-standard);
}

.service-item[data-open="true"] {
  background: var(--services-active);
  border-color: rgba(217, 74, 90, 0.22);
}

.service-item__heading {
  margin: 0;
}

.service-item__trigger {
  display: grid;
  width: 100%;
  min-height: 116px;
  align-items: center;
  grid-template-columns: minmax(48px, 76px) minmax(250px, 0.66fr) minmax(320px, 1fr) 40px;
  gap: clamp(20px, 4vw, 64px);
  padding: 0 clamp(24px, 4vw, 56px);
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(217, 74, 90, 0.16);
}

.service-item__trigger:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--softone-color-primary);
  outline-offset: -6px;
}

.service-item__number {
  align-self: center;
  color: var(--services-muted);
  font-family: var(--softone-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color var(--softone-duration-fast) var(--softone-ease-standard);
}

.service-item__title {
  color: var(--services-text);
  font-family: var(--softone-font-display);
  font-size: clamp(1.7rem, 2.55vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
  transition:
    color var(--softone-duration-fast) var(--softone-ease-standard),
    transform var(--softone-duration-fast) var(--softone-ease-standard);
}

.service-item__tags {
  display: flex;
  max-width: 620px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--services-muted);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
}

.service-item__tags span {
  display: inline-flex;
  align-items: center;
}

.service-item__tags span:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: rgba(9, 10, 12, 0.38);
}

.service-item__indicator {
  position: relative;
  width: 30px;
  height: 30px;
  justify-self: end;
  border: 1px solid rgba(9, 10, 12, 0.2);
  border-radius: 50%;
  transition:
    border-color var(--softone-duration-fast) var(--softone-ease-standard),
    transform var(--softone-duration-fast) var(--softone-ease-standard);
}

.service-item__indicator::before,
.service-item__indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--services-text);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition:
    background-color var(--softone-duration-fast) var(--softone-ease-standard),
    opacity var(--softone-duration-fast) var(--softone-ease-standard);
}

.service-item__indicator::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.service-item[data-open="true"] .service-item__number {
  color: var(--softone-color-primary);
}

.service-item[data-open="true"] .service-item__indicator {
  border-color: rgba(217, 74, 90, 0.48);
}

.service-item[data-open="true"] .service-item__indicator::before,
.service-item[data-open="true"] .service-item__indicator::after {
  background: var(--softone-color-primary);
}

.service-item[data-open="true"] .service-item__indicator::after {
  opacity: 0;
}

.service-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 420ms var(--softone-ease-standard),
    opacity 360ms ease;
}

.service-item[data-open="true"] .service-item__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.service-item__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.service-item__panel-content {
  display: grid;
  grid-template-columns: minmax(48px, 76px) minmax(250px, 0.66fr) minmax(320px, 1fr) 40px;
  gap: clamp(20px, 4vw, 64px);
  padding: 0 clamp(24px, 4vw, 56px) clamp(34px, 4.4vw, 56px);
}

.service-item__body {
  display: grid;
  max-width: 940px;
  grid-column: 2 / 4;
  gap: 22px;
}

.service-item__summary {
  max-width: 820px;
  color: var(--services-text);
  font-family: var(--softone-font-display);
  font-size: clamp(1.16rem, 1.55vw, 1.48rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.24;
  text-wrap: balance;
}

.service-item__description {
  max-width: 780px;
  color: var(--services-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.service-item__deliverables {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px 28px;
  padding-top: 8px;
}

.service-item__deliverables p {
  color: var(--softone-color-primary);
  font-family: var(--softone-font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-item__deliverables ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  color: var(--services-text);
  font-size: 0.96rem;
  line-height: 1.45;
  list-style: none;
}

.service-item__deliverables li {
  position: relative;
  padding-left: 16px;
}

.service-item__deliverables li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 1.5px;
  background: var(--softone-color-primary);
}

.service-item__cta {
  width: fit-content;
  margin-top: 4px;
  font-family: var(--softone-font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-item__cta:focus-visible {
  outline: 2px solid var(--softone-color-primary);
  outline-offset: 5px;
}

.service-item[data-open="true"] .service-item__cta {
  animation: serviceCtaIn 420ms var(--softone-ease-standard) 90ms backwards;
}

.services-section__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  color: var(--services-text);
}

.services-section__footer p {
  max-width: 560px;
  color: var(--services-muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.5;
}

.services-section__footer-cta {
  flex: 0 0 auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(217, 74, 90, 0.16);
}

@media (hover: hover) and (pointer: fine) {
  .service-item:hover {
    background: rgba(217, 74, 90, 0.055);
  }

  .service-item[data-open="true"]:hover {
    background: var(--services-active-strong);
  }

  .service-item__trigger:hover .service-item__number {
    color: var(--softone-color-primary);
  }

  .service-item__trigger:hover .service-item__title {
    transform: translateX(4px);
  }

  .service-item__trigger:hover .service-item__indicator {
    border-color: rgba(217, 74, 90, 0.48);
    transform: translateX(2px);
  }
}

@keyframes serviceCtaIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .service-item__trigger,
  .service-item__panel-content {
    grid-template-columns: 58px minmax(220px, 0.72fr) minmax(260px, 1fr) 34px;
    gap: 28px;
  }

  .service-item__title {
    font-size: clamp(1.65rem, 2.6vw, 2.72rem);
  }
}

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

  .services-section__intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 48px;
  }

  .services-section__title {
    font-size: clamp(2.45rem, 8vw, 4.1rem);
  }

  .services-section__text {
    max-width: 680px;
    margin-left: 0;
  }

  .service-item__trigger {
    min-height: 96px;
    grid-template-columns: 52px minmax(0, 1fr) 34px;
    gap: 14px 18px;
    padding: 22px 20px;
  }

  .service-item__number {
    grid-column: 1;
    grid-row: 1;
  }

  .service-item__title {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(1.55rem, 5.2vw, 2.45rem);
  }

  .service-item__tags {
    grid-column: 2 / 4;
    grid-row: 2;
    max-width: none;
    font-size: 0.84rem;
  }

  .service-item__indicator {
    grid-column: 3;
    grid-row: 1;
  }

  .service-item__panel-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 20px 34px;
  }

  .service-item__body {
    max-width: none;
    grid-column: 1;
  }

  .service-item__deliverables {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-section__footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  .services-section__wrapper {
    padding-block: 80px 88px;
  }

  .services-section__label {
    margin-bottom: 16px;
  }

  .services-section__title {
    font-size: clamp(2.18rem, 10vw, 3.22rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .services-section__text {
    font-size: 1rem;
    line-height: 1.62;
  }

  .service-item__trigger {
    min-height: 88px;
    grid-template-columns: 42px minmax(0, 1fr) 32px;
    padding: 20px;
  }

  .service-item__number {
    font-size: 0.72rem;
  }

  .service-item__title {
    font-size: clamp(1.42rem, 6.5vw, 2rem);
    letter-spacing: -0.04em;
  }

  .service-item__tags {
    grid-column: 1 / 4;
    gap: 7px 10px;
    font-size: 0.8rem;
  }

  .service-item__tags span:not(:last-child)::after {
    margin-left: 10px;
  }

  .service-item__indicator {
    width: 30px;
    height: 30px;
  }

  .service-item__panel-content {
    padding: 0 20px 30px;
  }

  .service-item__body {
    gap: 18px;
  }

  .service-item__summary {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .service-item__description {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .service-item__deliverables ul {
    grid-template-columns: 1fr;
    gap: 9px;
    font-size: 0.94rem;
  }

  .service-item__cta,
  .services-section__footer-cta {
    width: 100%;
  }

  .service-item__cta {
    justify-content: center;
    min-height: 48px;
    text-align: center;
  }

  .services-section__footer-cta {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-section .section-frame-label__pulse,
  .services-section .button__arrow,
  .services-section .button--offset::before,
  .services-section .button__surface,
  .service-item__panel,
  .service-item,
  .service-item__title,
  .service-item__indicator,
  .service-item__cta {
    transition: none;
  }

  .service-item[data-open="true"] .service-item__cta {
    animation: none;
  }
}

@media (min-width: 1025px) {
  .softone-servicos--hide-desktop {
    display: none;
  }
}

@media (max-width: 1024px) and (min-width: 641px) {
  .softone-servicos--hide-tablet {
    display: none;
  }
}

@media (max-width: 640px) {
  .softone-servicos--hide-mobile {
    display: none;
  }
}
