/**
 * Serviços (Elementor): hub + fases. Só body.servicos-page.
 * Tipografia alinhada ao resto do site: Old Standard TT nos títulos,
 * Inter no corpo, Poppins nos rótulos e botões. Paleta homepage. Layout via classes ua-*.
 */

body.servicos-page {
	--servico-cyan: #00a5cf;
	--servico-teal: #003b4a;
	--servico-teal-mid: #236373;
	--servico-ice: #d5e7ec;
	--servico-gray: #f7f7f7;
	--servico-white: #ffffff;
	--servico-ink: #121212;
	--servico-muted: #54595f;
	--servico-shell: 1200px;
	--servico-gutter: 40px;
	--servico-section: 96px;
	--servico-radius: 6px;
	background: var(--servico-white);
	color: var(--servico-muted);
	overflow-x: clip;
}

html:has(body.servicos-page) {
	overflow-x: clip;
}

body.servicos-page #content {
	padding-top: 0;
	background: var(--servico-white);
}

body.servicos-page .site-content > .ast-container {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin: 0;
}

body.servicos-page #primary,
body.servicos-page .site-main,
body.servicos-page .entry-content,
body.servicos-page .elementor {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
	float: none;
}

body.servicos-page.ast-separate-container .ast-article-single {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
}

body.servicos-page .elementor-widget {
	margin: 0;
}

body.servicos-page .ua-shell.e-con {
	width: min(100% - (var(--servico-gutter) * 2), var(--servico-shell)) !important;
	max-width: 100%;
	margin-inline: auto;
}

body.servicos-page .ua-kicker .elementor-heading-title,
body.servicos-page .ua-kicker .elementor-widget-container {
	margin: 0 0 12px;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--servico-cyan);
	line-height: 1.4;
}

body.servicos-page .ua-kicker .elementor-heading-title a {
	color: inherit;
	text-decoration: none;
}

body.servicos-page .ua-kicker .elementor-heading-title a:hover,
body.servicos-page .ua-kicker .elementor-heading-title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.servicos-page .ua-kicker--light .elementor-heading-title {
	color: var(--servico-ice);
}

body.servicos-page .ua-kicker-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.75rem;
	margin-bottom: 0;
}

body.servicos-page .ua-kicker-row .elementor-widget-heading {
	margin: 0;
}

body.servicos-page .ua-kicker-row .elementor-heading-title {
	margin: 0;
}

body.servicos-page .ua-intro {
	padding: 48px 0 40px;
	overflow: hidden;
	background: var(--servico-ice);
	color: var(--servico-teal);
}

body.servicos-page .ua-intro .ua-title .elementor-heading-title {
	margin: 0 0 12px;
	max-width: 16ch;
	font-family: "Old Standard TT", serif;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.15;
	text-wrap: balance;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
	color: var(--servico-teal);
}

body.servicos-page .ua-intro .ua-lead,
body.servicos-page .ua-intro .ua-lead p {
	margin: 0;
	max-width: 40rem;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--servico-teal-mid);
}

body.servicos-page .ua-split.e-con {
	--gap: 0px;
	width: 100%;
	max-width: 100%;
	background: var(--servico-white);
	align-items: stretch !important;
}

body.servicos-page .ua-split__media {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	background: var(--servico-teal);
	align-self: stretch;
}

body.servicos-page .ua-split__media .elementor-widget,
body.servicos-page .ua-split__media .elementor-widget-container,
body.servicos-page .ua-split__media figure,
body.servicos-page .ua-split__media .elementor-image {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
	margin: 0;
}

body.servicos-page .ua-split__media img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

body.servicos-page .ua-split__media figcaption,
body.servicos-page .ua-split__media .widget-image-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 10px 16px;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--servico-white);
	background: linear-gradient(transparent, rgba(0, 59, 74, 0.72));
	z-index: 1;
}

body.servicos-page .ua-split__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 56px clamp(28px, 5vw, 80px);
	background: var(--servico-gray);
}

body.servicos-page .ua-split__copy--ice {
	background: var(--servico-ice);
}

body.servicos-page .ua-split__copy .ua-title .elementor-heading-title {
	margin: 0 0 16px;
	max-width: 16ch;
	font-family: "Old Standard TT", serif;
	font-size: clamp(1.6rem, 2.8vw, 2.35rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--servico-teal);
	overflow-wrap: anywhere;
}

body.servicos-page .ua-split__copy .ua-text,
body.servicos-page .ua-split__copy .ua-text p {
	margin: 0;
	max-width: 38rem;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--servico-muted);
}

body.servicos-page .ua-more {
	margin-top: 20px;
}

body.servicos-page .ua-more .elementor-button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--servico-cyan);
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	fill: currentColor;
}

body.servicos-page .ua-more .elementor-button:hover,
body.servicos-page .ua-more .elementor-button:focus {
	background: transparent;
	color: var(--servico-cyan);
	text-decoration: underline;
	text-underline-offset: 4px;
}

body.servicos-page .ua-obra {
	padding: var(--servico-section) 0;
	background: var(--servico-gray);
}

body.servicos-page .ua-obra .ua-section-title .elementor-heading-title {
	margin: 0 0 40px;
	max-width: 18ch;
	font-family: "Old Standard TT", serif;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--servico-teal);
	overflow-wrap: anywhere;
}

body.servicos-page .ua-obra .ua-section-title .elementor-heading-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	margin-top: 16px;
	background: var(--servico-cyan);
}

body.servicos-page .ua-obra__card {
	overflow: hidden;
	border-radius: var(--servico-radius);
	background: var(--servico-white);
	box-shadow: 0 16px 40px -24px rgba(0, 59, 74, 0.18);
}

body.servicos-page .ua-obra__media {
	min-height: 220px;
	overflow: hidden;
	background: var(--servico-teal);
}

body.servicos-page .ua-obra__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

body.servicos-page .ua-obra__body {
	padding: 32px 28px;
}

body.servicos-page .ua-obra__name .elementor-heading-title {
	font-family: "Old Standard TT", serif;
	font-size: 1.5rem;
	font-weight: 400;
	font-style: italic;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--servico-teal);
	overflow-wrap: anywhere;
}

body.servicos-page .ua-obra__loc,
body.servicos-page .ua-obra__loc p,
body.servicos-page .ua-obra__loc .elementor-heading-title {
	margin: 8px 0 0;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--servico-muted);
}

body.servicos-page .ua-obra__note,
body.servicos-page .ua-obra__note p {
	margin: 16px 0 0;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--servico-muted);
}

body.servicos-page .ua-cta {
	padding: var(--servico-section) 0;
	background: var(--servico-teal);
	color: var(--servico-white);
}

body.servicos-page .ua-cta .ua-title .elementor-heading-title {
	margin: 0 0 28px;
	max-width: 18ch;
	font-family: "Old Standard TT", serif;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--servico-white);
	overflow-wrap: anywhere;
}

body.servicos-page .ua-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	background: transparent;
	border: 1px solid var(--servico-white);
	border-radius: 999px;
	box-shadow: none;
	color: var(--servico-white);
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
}

body.servicos-page .ua-btn .elementor-button:hover,
body.servicos-page .ua-btn .elementor-button:focus {
	background: var(--servico-cyan);
	border-color: var(--servico-cyan);
	color: var(--servico-white);
}

html.js-servicos .ua-reveal {
	opacity: 0;
	transform: translateY(20px);
}

html.js-servicos .ua-reveal.is-inview {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 1024px) {
	body.servicos-page {
		--servico-gutter: 32px;
		--servico-section: 72px;
	}

	body.servicos-page .ua-split__media {
		min-height: 320px;
	}

	body.servicos-page .ua-split__copy {
		padding: 40px 32px;
	}
}

@media (max-width: 767px) {
	body.servicos-page {
		--servico-gutter: 24px;
		--servico-section: 56px;
	}

	body.servicos-page .ua-intro {
		padding: 32px 0 28px;
	}

	body.servicos-page .ua-intro .ua-title .elementor-heading-title,
	body.servicos-page .ua-split__copy .ua-title .elementor-heading-title,
	body.servicos-page .ua-obra .ua-section-title .elementor-heading-title,
	body.servicos-page .ua-cta .ua-title .elementor-heading-title {
		max-width: none;
		font-size: clamp(1.5rem, 7.2vw, 1.95rem);
		line-height: 1.2;
	}

	body.servicos-page .ua-split.e-con,
	body.servicos-page .ua-split--flip.e-con {
		flex-direction: column !important;
	}

	body.servicos-page .ua-split__media,
	body.servicos-page .ua-split__copy {
		width: 100% !important;
		max-width: 100%;
	}

	body.servicos-page .ua-split__media {
		min-height: 0;
		aspect-ratio: 4 / 3;
		order: 0 !important;
	}

	body.servicos-page .ua-split__copy {
		order: 1 !important;
		padding: 28px 24px 36px;
	}

	body.servicos-page .ua-split__media img {
		aspect-ratio: unset;
		height: 100%;
	}

	body.servicos-page .ua-more .elementor-button {
		min-height: 48px;
	}

	body.servicos-page .ua-obra__card.e-con {
		flex-direction: column !important;
	}

	body.servicos-page .ua-obra__name .elementor-heading-title {
		font-size: 1.25rem;
	}

	body.servicos-page .ua-obra__body {
		padding: 24px 20px 8px;
	}

	body.servicos-page .ua-btn .elementor-button {
		width: 100%;
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.js-servicos .ua-reveal,
	html.js-servicos .ua-reveal.is-inview {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

html[dir="rtl"] body.servicos-page .ua-kicker .elementor-heading-title,
html[dir="rtl"] body.servicos-page .ua-obra__loc,
html[dir="rtl"] body.servicos-page .ua-obra__loc p,
html[dir="rtl"] body.servicos-page .ua-obra__loc .elementor-heading-title,
html[dir="rtl"] body.servicos-page .ua-split__media figcaption,
html[dir="rtl"] body.servicos-page .ua-more .elementor-button,
html[dir="rtl"] body.servicos-page .ua-btn .elementor-button {
	letter-spacing: 0.04em;
	text-transform: none;
}

html[dir="rtl"] body.servicos-page .ua-intro .ua-title .elementor-heading-title,
html[dir="rtl"] body.servicos-page .ua-split__copy .ua-title .elementor-heading-title,
html[dir="rtl"] body.servicos-page .ua-obra .ua-section-title .elementor-heading-title,
html[dir="rtl"] body.servicos-page .ua-cta .ua-title .elementor-heading-title {
	hyphens: none;
}
