/* Página Serviços — identidade editorial TH */

.services-page {
	position: relative;
	min-height: 100vh;
	overflow: clip;
	background:
		linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.24), rgb(var(--th-black-rgb) / 0.68)),
		url("../../images/service/fundo-services.jpg") center / cover fixed no-repeat;
	color: var(--th-white);
	isolation: isolate;
}

.services-page::before {
	position: fixed;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(circle at 80% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
		radial-gradient(circle at 12% 74%, rgb(var(--th-wine-rgb) / 0.13), transparent 38%);
	content: "";
	pointer-events: none;
}

.services-page > section {
	position: relative;
	z-index: 1;
}

.services-page > section + section::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: min(calc(100% - (var(--page-gutter) * 2)), var(--container-wide));
	height: 1px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, rgb(var(--th-white-rgb) / 0.12), transparent);
	content: "";
}

.services-page .th-kicker {
	color: rgb(var(--th-white-rgb) / 0.6);
}

.services-page .th-kicker::before {
	background: var(--th-red);
}

.services-hero {
	padding: calc(var(--header-height) + clamp(64px, 7vw, 108px)) 0 var(--section-space-sm);
}

.services-hero__inner,
.services-overview__inner,
.services-cta__inner {
	border: 1px solid rgb(var(--th-white-rgb) / 0.12);
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, rgb(var(--th-white-rgb) / 0.09), rgb(var(--th-white-rgb) / 0.025));
	box-shadow: 0 30px 100px rgb(var(--th-black-rgb) / 0.24), inset 0 1px 0 rgb(var(--th-white-rgb) / 0.11);
	-webkit-backdrop-filter: blur(22px) saturate(140%);
	backdrop-filter: blur(22px) saturate(140%);
}

.services-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	align-items: stretch;
	gap: clamp(44px, 7vw, 112px);
	padding: clamp(42px, 6vw, 84px);
}

.services-hero__content {
	display: flex;
	max-width: 900px;
	flex-direction: column;
	justify-content: center;
}

.services-hero h1 {
	max-width: 900px;
	margin-top: clamp(34px, 4vw, 52px);
	font-size: clamp(3rem, 5.3vw, 6.1rem);
	font-weight: 300;
	letter-spacing: -0.06em;
	line-height: 0.95;
}

.services-hero__content > p {
	max-width: 650px;
	margin-top: 30px;
	color: rgb(var(--th-white-rgb) / 0.7);
	font-size: clamp(1rem, 1.15vw, 1.1rem);
	line-height: 1.8;
}

.services-hero__panel {
	display: flex;
	padding: clamp(28px, 3vw, 40px);
	border-left: 1px solid rgb(var(--th-white-rgb) / 0.14);
	flex-direction: column;
	justify-content: flex-end;
}

.services-hero__panel span {
	display: block;
	margin-bottom: clamp(52px, 8vw, 108px);
	color: rgb(var(--th-white-rgb) / 0.16);
	font-size: clamp(5rem, 8vw, 8rem);
	font-weight: 300;
	letter-spacing: -0.09em;
	line-height: 0.72;
}

.services-hero__panel p {
	color: rgb(var(--th-white-rgb) / 0.72);
	font-size: 1rem;
	line-height: 1.75;
}

.services-overview {
	padding-block: var(--section-space-sm);
}

.services-overview__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
	align-items: end;
	gap: clamp(38px, 6vw, 94px);
	padding: clamp(38px, 5vw, 70px);
}

.services-overview__inner .th-kicker {
	grid-column: 1 / -1;
}

.services-overview h2 {
	max-width: 880px;
	font-size: clamp(2.7rem, 4.7vw, 5.3rem);
	font-weight: 300;
	letter-spacing: -0.06em;
	line-height: 0.97;
}

.services-overview__inner > p {
	color: rgb(var(--th-white-rgb) / 0.7);
	font-size: 1rem;
	line-height: 1.8;
}

.services-catalog {
	padding-block: var(--section-space);
}

.services-catalog__inner {
	display: grid;
	gap: clamp(18px, 2.2vw, 30px);
}

.services-card {
	display: grid;
	grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
	gap: clamp(40px, 7vw, 120px);
	min-height: 390px;
	padding: clamp(34px, 5vw, 68px);
	overflow: hidden;
	border: 1px solid rgb(var(--th-white-rgb) / 0.12);
	border-radius: var(--radius-xl);
	background: linear-gradient(145deg, rgb(var(--th-white-rgb) / 0.085), rgb(var(--th-white-rgb) / 0.022));
	box-shadow: 0 28px 90px rgb(var(--th-black-rgb) / 0.24), inset 0 1px 0 rgb(var(--th-white-rgb) / 0.1);
	-webkit-backdrop-filter: blur(22px) saturate(135%);
	backdrop-filter: blur(22px) saturate(135%);
	transition: transform var(--transition-base), border-color var(--transition-base);
}

.services-card:hover {
	transform: translateY(-5px);
	border-color: rgb(var(--th-white-rgb) / 0.22);
}

.services-card__header {
	display: flex;
	border-right: 1px solid rgb(var(--th-white-rgb) / 0.12);
	flex-direction: column;
	justify-content: space-between;
}

.services-card__number {
	color: var(--th-red);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.services-card__eyebrow {
	max-width: 240px;
	padding-right: 30px;
	color: rgb(var(--th-white-rgb) / 0.56);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.6;
	text-transform: uppercase;
}

.services-card__body {
	display: flex;
	max-width: 880px;
	flex-direction: column;
	justify-content: center;
}

.services-card__body h2 {
	font-size: clamp(3rem, 5.2vw, 6rem);
	font-weight: 300;
	letter-spacing: -0.065em;
	line-height: 0.92;
	text-transform: uppercase;
}

.services-card__body > p {
	max-width: 820px;
	margin-top: clamp(28px, 4vw, 44px);
	color: rgb(var(--th-white-rgb) / 0.7);
	font-size: clamp(1rem, 1.35vw, 1.22rem);
	line-height: 1.75;
}

.services-card__body strong {
	color: var(--th-white);
	font-weight: 600;
}

.services-card__cta {
	align-self: flex-start;
	min-height: 48px;
	margin-top: clamp(28px, 3vw, 38px);
	padding-inline: 24px;
	background: rgb(var(--th-white-rgb) / 0.07);
	border-color: rgb(var(--th-white-rgb) / 0.16);
	color: rgb(var(--th-white-rgb) / 0.82);
}

.services-card__cta::after {
	margin-left: 12px;
	color: var(--th-red);
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0;
	content: "↗";
	transition: transform var(--transition-base);
}

.services-card__cta:hover::after {
	transform: translate(2px, -2px);
}

.services-faq {
	padding-block: clamp(56px, 6vw, 88px);
}

.services-faq__inner {
	display: grid;
	gap: clamp(32px, 4vw, 56px);
}

.services-faq__intro,
.services-faq__list {
	min-width: 0;
}

.services-faq__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
	align-items: end;
	gap: clamp(28px, 4vw, 56px);
	padding-bottom: clamp(18px, 2vw, 30px);
}

.services-faq__intro .th-kicker {
	grid-column: 1 / -1;
}

.services-faq__intro h2 {
	max-width: 720px;
	margin-top: 0;
	font-size: clamp(2rem, 3vw, 3.45rem);
	font-weight: 300;
	letter-spacing: -0.045em;
	line-height: 1.04;
}

.services-faq__intro > p {
	max-width: 430px;
	padding: 16px 18px;
	border: 1px solid rgb(var(--th-white-rgb) / 0.055);
	border-radius: 18px;
	background: rgb(var(--th-white-rgb) / 0.045);
	box-shadow: inset 0 1px 0 rgb(var(--th-white-rgb) / 0.04);
	color: rgb(var(--th-white-rgb) / 0.56);
	font-size: 0.94rem;
	line-height: 1.75;
	-webkit-backdrop-filter: blur(14px) saturate(115%);
	backdrop-filter: blur(14px) saturate(115%);
}

.services-faq__list {
	width: 100%;
	margin-left: 0;
	border-top: 1px solid rgb(var(--th-white-rgb) / 0.07);
}

.services-faq__item {
	border-bottom: 1px solid rgb(var(--th-white-rgb) / 0.07);
}

.services-faq__question {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(18px, 2vw, 28px);
	min-height: 72px;
	padding-block: 18px;
	color: rgb(var(--th-white-rgb) / 0.76);
	font-size: clamp(0.96rem, 1.1vw, 1.06rem);
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}

.services-faq__question::-webkit-details-marker {
	display: none;
}

.services-faq__question::after {
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	color: rgb(var(--th-white-rgb) / 0.34);
	font-size: 0.92rem;
	font-weight: 300;
	line-height: 1;
	content: "+";
	transition: transform var(--transition-base), color var(--transition-base);
}

.services-faq__item[open] > .services-faq__question::after {
	color: var(--th-red);
	content: "−";
	transform: rotate(180deg);
}

.services-faq__question:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--th-red);
	outline-offset: 5px;
}

.services-faq__answer {
	padding: 0 48px 24px 0;
	color: rgb(var(--th-white-rgb) / 0.52);
	font-size: 0.94rem;
	line-height: 1.75;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.services-faq__item[open] > .services-faq__answer {
	opacity: 1;
	transform: translateY(0);
}

.services-faq__answer p {
	max-width: 760px;
	overflow-wrap: anywhere;
}

.services-cta {
	padding-block: var(--section-space-sm);
}

.services-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
	align-items: end;
	gap: clamp(40px, 7vw, 110px);
	padding: clamp(38px, 5vw, 70px);
}

.services-cta h2 {
	max-width: 760px;
	margin-top: 30px;
	font-size: clamp(2.6rem, 4.5vw, 5rem);
	font-weight: 300;
	letter-spacing: -0.06em;
	line-height: 0.98;
}

.services-cta__action p {
	margin-bottom: 28px;
	color: rgb(var(--th-white-rgb) / 0.7);
	line-height: 1.75;
}

@media (max-width: 1050px) {
	.services-hero__inner,
	.services-overview__inner,
	.services-faq__inner,
	.services-cta__inner {
		grid-template-columns: 1fr;
	}

	.services-faq__intro {
		grid-template-columns: 1fr;
	}

	.services-faq__intro .th-kicker {
		grid-column: auto;
	}

	.services-faq__intro > p {
		max-width: 680px;
	}

	.services-faq__list {
		width: 100%;
	}

	.services-hero__panel {
		padding: 32px 0 0;
		border-top: 1px solid rgb(var(--th-white-rgb) / 0.14);
		border-left: 0;
	}

	.services-hero__panel span {
		margin-bottom: 34px;
	}

	.services-card {
		grid-template-columns: 180px minmax(0, 1fr);
	}

}

@media (max-width: 767px) {
	.services-page {
		background-attachment: scroll;
	}

	.services-hero {
		padding: calc(var(--header-height) + 48px) 0 var(--section-space-sm);
	}

	.services-hero__inner,
	.services-overview__inner,
	.services-faq__inner,
	.services-cta__inner {
		padding: 28px 24px;
		border-radius: var(--radius-lg);
	}

	.services-hero h1,
	.services-overview h2,
	.services-cta h2 {
		font-size: clamp(2.45rem, 12vw, 4.2rem);
	}

	.services-faq__intro h2 {
		font-size: clamp(1.95rem, 8vw, 2.8rem);
	}

	.services-faq__inner {
		gap: 30px;
		padding-block: 0;
	}

	.services-faq__question {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 14px;
		min-height: 64px;
		padding-block: 16px;
	}

	.services-faq__answer {
		padding: 0 0 22px;
	}

	.services-card {
		grid-template-columns: 1fr;
		gap: 36px;
		min-height: auto;
		padding: 30px 24px;
		border-radius: var(--radius-lg);
	}

	.services-card__header {
		gap: 34px;
		padding-bottom: 28px;
		border-right: 0;
		border-bottom: 1px solid rgb(var(--th-white-rgb) / 0.12);
	}

	.services-card__body h2 {
		font-size: clamp(2.35rem, 11vw, 4rem);
	}

	.services-card__body > p {
		font-size: 1rem;
		line-height: 1.7;
	}

	.services-card__cta {
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.services-faq__question::after,
	.services-faq__answer {
		transition: none;
	}
}
