/*
 * Experiência mobile TH
 *
 * Mantém a mesma linguagem editorial do desktop e reorganiza a interface para
 * leitura, toque e desempenho em telas pequenas.
 */

.site-nav__mobile-cta {
	display: none;
}

.site-header__mobile-logo {
	display: none;
}

@media (max-width: 1023px) {
	:root {
		--header-height: 130px;
	}

	.site-header {
		height: auto;
		padding:
			calc(16px + env(safe-area-inset-top, 0px))
			0
			10px;
		transition:
			height var(--transition-base),
			padding var(--transition-base);
	}

	.site-header.is-scrolled {
		height: auto;
		padding:
			calc(7px + env(safe-area-inset-top, 0px))
			0
			7px;
	}

	.site-header__inner {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: min(calc(100% - 28px), 720px);
		height: auto;
		margin-top: 0;
		padding: 0;
		gap: 6px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-header__brand {
		align-self: flex-start;
		flex: 0 0 auto;
		max-height: 44px;
		overflow: hidden;
		opacity: 1;
		transform: none;
		filter: none;
		transition:
			max-height var(--transition-base),
			opacity var(--transition-fast),
			transform var(--transition-base);
	}

	.site-header.is-scrolled .site-header__brand {
		max-width: 0;
		max-height: 0;
		min-height: 0;
		flex-basis: 0;
		opacity: 0;
		transform: translateY(-8px);
		pointer-events: none;
		filter: none;
	}

	.site-header.is-scrolled .site-header__inner {
		gap: 0;
	}

	.site-header__brand .custom-logo,
	.site-header.is-scrolled .site-header__brand .custom-logo {
		max-width: 128px;
		max-height: 38px;
		transform: none;
		filter: drop-shadow(0 6px 14px rgb(var(--th-black-rgb) / 0.18));
	}

	.site-header__brand,
	.site-header__brand .custom-logo-link {
		display: flex;
		min-height: 44px;
		align-items: center;
	}

	.site-header__brand .custom-logo-link,
	.site-header__brand .site-header__name {
		display: none;
	}

	.site-header__brand .site-header__mobile-logo {
		display: flex;
		width: 44px;
		height: 44px;
		min-height: 44px;
		align-items: center;
		justify-content: center;
	}

	.site-header__mobile-logo img {
		display: block;
		width: 38px;
		height: 38px;
		object-fit: contain;
		filter: drop-shadow(0 8px 16px rgb(var(--th-black-rgb) / 0.22));
	}

	.site-header__toggle {
		display: none;
	}

	.site-nav,
	.site-header.is-scrolled .site-nav {
		position: relative;
		inset: auto;
		z-index: auto;
		display: flex;
		visibility: visible;
		width: 100%;
		height: auto;
		min-height: 54px;
		align-items: center;
		justify-self: auto;
		padding: 4px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-inline: contain;
		scroll-padding-inline: 4px;
		scroll-snap-type: x proximity;
		transform: none;
		opacity: 1;
		border: 1px solid rgb(var(--th-white-rgb) / 0.24);
		border-radius: var(--radius-pill);
		background:
			linear-gradient(
				135deg,
				rgb(var(--th-black-rgb) / 0.46),
				rgb(var(--th-wine-rgb) / 0.22)
			);
		box-shadow:
			inset 0 1px 0 rgb(var(--th-white-rgb) / 0.15),
			0 14px 34px rgb(var(--th-black-rgb) / 0.16);
		-webkit-backdrop-filter: blur(18px) saturate(150%);
		backdrop-filter: blur(18px) saturate(150%);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		transition:
			background-color var(--transition-base),
			border-color var(--transition-base),
			box-shadow var(--transition-base);
	}

	.site-nav::-webkit-scrollbar {
		display: none;
	}

	.site-nav__list,
	.site-nav .menu {
		display: flex;
		width: max-content;
		min-width: 100%;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 4px;
		margin: 0;
		padding: 0;
	}

	.site-nav li {
		width: auto;
		flex: 0 0 auto;
		border: 0;
		scroll-snap-align: start;
	}

	.site-nav a {
		display: inline-flex;
		width: auto;
		min-height: 44px;
		align-items: center;
		justify-content: center;
		padding: 0 clamp(8px, 2vw, 15px);
		border-radius: var(--radius-pill);
		color: rgb(var(--th-white-rgb) / 0.84);
		font-family: var(--font-label);
		font-size: clamp(0.54rem, 1.15vw, 0.64rem);
		font-weight: 800;
		letter-spacing: 0.07em;
		line-height: 1;
		text-transform: uppercase;
		white-space: nowrap;
		transform: none;
		transition:
			background-color var(--transition-fast),
			color var(--transition-fast),
			box-shadow var(--transition-fast);
	}

	.site-nav a::after {
		display: none;
	}

	.site-nav a:hover,
	.site-nav a:focus-visible {
		color: var(--th-white);
		background: rgb(var(--th-white-rgb) / 0.1);
		transform: none;
	}

	.site-nav .current-menu-item > a,
	.site-nav .current-menu-ancestor > a,
	.site-nav .current_page_parent > a {
		color: var(--th-white);
		background:
			linear-gradient(
				135deg,
				var(--th-red),
				var(--th-wine)
			);
		box-shadow:
			inset 0 1px 0 rgb(var(--th-white-rgb) / 0.2),
			0 8px 20px rgb(var(--th-black-rgb) / 0.18);
	}

	.site-header.is-scrolled .site-nav {
		background:
			linear-gradient(
				135deg,
				rgb(var(--th-black-rgb) / 0.82),
				rgb(var(--th-wine-rgb) / 0.5)
			);
	}

	.site-nav .site-nav__mobile-cta {
		display: none;
	}
}

@media (max-width: 767px), (max-width: 1023px) and (max-height: 600px) and (orientation: landscape) {
	:root {
		--page-gutter: 18px;
		--header-height: 130px;
		--section-space-sm: 52px;
		--section-space: 64px;
		--section-space-lg: 84px;
		--glass-blur: 12px;
		--th-mobile-home-arboretto-image: url("../images/mobile/retina/home-arboretto-fallback.jpg?v=1785871114");
		--th-mobile-office-image: var(--th-office-bg-image, url("../images/escritorio/escritorio.png"));
		--th-mobile-services-image: url("../images/service/fundo-services.jpg");
		--th-mobile-portfolio-image: url("../images/empreendimentos/fundo-project.jpg");
		--th-mobile-contact-image: url("../images/home/hero-th.jpg");
		--th-mobile-project-blue-park-01: url("../images/projects/blue-park/blue-park-01.jpg");
		--th-mobile-project-arboratto-01: url("../images/projects/arboratto/arboratto-01.jpg");
		--th-mobile-project-arboratto-02: url("../images/projects/arboratto/arboratto-02.jpg");
		--th-mobile-project-dsgn-01: url("../images/projects/dsgn/dsgn-01.jpg");
		--th-mobile-project-oasis-01: url("../images/projects/oasis-59/oasis-01.jpg");
		--th-mobile-project-faria-lima-01: url("../images/projects/faria-lima/faria-lima-01.jpg");
		--th-mobile-project-full-01: url("../images/projects/full/full-01.jpg");
	}

	@supports (background-image: image-set(url("data:image/gif;base64,R0lGODlhAQABAAAAACw=") type("image/gif") 1x)) {
		:root {
		--th-mobile-home-arboretto-image: image-set(
			url("../images/mobile/retina/home-arboretto-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/home-arboretto-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/home-arboretto-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/home-arboretto-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-office-image: image-set(
			url("../images/mobile/retina/office-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/office-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/office-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/office-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-services-image: image-set(
			url("../images/mobile/retina/services-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/services-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/services-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/services-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-portfolio-image: image-set(
			url("../images/mobile/retina/portfolio-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/portfolio-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/portfolio-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/portfolio-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-contact-image: image-set(
			url("../images/mobile/retina/contact-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/contact-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/contact-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/contact-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-project-blue-park-01: image-set(
			url("../images/mobile/retina/projects/blue-park-01-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/projects/blue-park-01-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/projects/blue-park-01-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/projects/blue-park-01-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-project-arboratto-01: image-set(
			url("../images/mobile/retina/projects/arboratto-01-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/projects/arboratto-01-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/projects/arboratto-01-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/projects/arboratto-01-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-project-arboratto-02: image-set(
			url("../images/mobile/retina/projects/arboratto-02-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/projects/arboratto-02-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/projects/arboratto-02-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/projects/arboratto-02-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-project-dsgn-01: image-set(
			url("../images/mobile/retina/projects/dsgn-01-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/projects/dsgn-01-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/projects/dsgn-01-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/projects/dsgn-01-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-project-oasis-01: image-set(
			url("../images/mobile/retina/projects/oasis-01-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/projects/oasis-01-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/projects/oasis-01-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/projects/oasis-01-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-project-faria-lima-01: image-set(
			url("../images/mobile/retina/projects/faria-lima-01-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/projects/faria-lima-01-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/projects/faria-lima-01-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/projects/faria-lima-01-2x.webp?v=1785871114") type("image/webp") 2x
		);
		--th-mobile-project-full-01: image-set(
			url("../images/mobile/retina/projects/full-01-1x.avif?v=1785871114") type("image/avif") 1x,
			url("../images/mobile/retina/projects/full-01-2x.avif?v=1785871114") type("image/avif") 2x,
			url("../images/mobile/retina/projects/full-01-1x.webp?v=1785871114") type("image/webp") 1x,
			url("../images/mobile/retina/projects/full-01-2x.webp?v=1785871114") type("image/webp") 2x
		);
		}
	}

	html {
		scroll-padding-top: 76px;
	}

	body {
		line-height: 1.65;
	}

	a,
	button,
	summary,
	input,
	select,
	textarea {
		touch-action: manipulation;
	}

	.container,
	.container--wide,
	.container--text {
		width: calc(100% - (var(--page-gutter) * 2));
	}

	.section,
	.section--small,
	.section--large {
		padding-block: var(--section-space);
	}

	.th-kicker {
		gap: 10px;
		font-size: 0.7rem;
		letter-spacing: 0.2em;
		line-height: 1.35;
	}

	.th-kicker::before {
		width: 20px;
		flex: 0 0 20px;
	}

	.th-button {
		width: 100%;
		min-height: 56px;
		padding: 12px 20px;
		font-size: 0.7rem;
		letter-spacing: 0.12em;
		line-height: 1.25;
	}

	.th-glass,
	.home-hero__glass,
	.home-authority__inner,
	.home-services__header,
	.home-services__card,
	.home-positioning__media,
	.home-positioning__badge,
	.home-final-cta__inner,
	.office-hero__inner,
	.office-editorial__media,
	.office-editorial__content,
	.office-authority,
	.office-approach__intro,
	.office-approach__card,
	.office-values__header,
	.office-values__item,
	.services-hero__inner,
	.services-overview__inner,
	.services-card,
	.services-faq__inner,
	.services-cta__inner,
	.portfolio-hero__inner,
	.portfolio-card,
	.project-hero__inner,
	.project-intro__inner,
	.project-details__inner,
	.project-gallery__header,
	.project-next__inner,
	.contact-conversation__inner,
	.contact-expectation__inner {
		border-color: rgb(var(--th-white-rgb) / 0.16);
		box-shadow:
			0 18px 52px rgb(var(--th-black-rgb) / 0.16),
			inset 0 1px 0 rgb(var(--th-white-rgb) / 0.11);
		-webkit-backdrop-filter: blur(12px) saturate(120%);
		backdrop-filter: blur(12px) saturate(120%);
	}

	.home-hero__title,
	.th-page-home .home-services__title,
	.home-services__card-title,
	.th-page-home .home-positioning__title,
	.th-page-home .home-authority__title,
	.home-video-testimonials__header h2,
	.home-projects__title,
	.th-page-home .home-projects__name,
	.home-final-cta__title,
	.office-hero__title,
	.office-editorial__content h2,
	.office-authority__heading h3,
	.office-approach__title,
	.office-values__title,
	.services-hero h1,
	.services-overview h2,
	.services-card__body h2,
	.services-faq__intro h2,
	.services-cta h2,
	.portfolio-hero__title,
	.portfolio-card__title,
	.project-hero__heading h1,
	.project-intro__heading h2,
	.project-details header h2,
	.project-gallery__header h2,
	.project-next h2,
	.contact-hero__content h1,
	.contact-conversation__aside h2,
	.contact-expectation h3,
	.contact-location__header h2 {
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.home-services__media-caption span,
	.home-services__pillars li,
	.home-services__pillars span,
	.home-services__number,
	.home-hero__panel-label,
	.home-hero__scroll,
	.home-final-cta__panel-label,
	.home-video-testimonials__identity small,
	.th-page-home .home-projects__number,
	.th-page-home .home-projects__meta,
	.th-page-home .home-projects__type,
	.th-page-home .home-projects__cta,
	.office-editorial__caption span,
	.office-authority__category,
	.office-approach__card strong,
	.office-values__number,
	.services-card__number,
	.portfolio-card__number,
	.portfolio-card__meta,
	.portfolio-card__type,
	.portfolio-card__status,
	.portfolio-card__cta,
	.project-details__item span,
	.contact-hero__index span,
	.contact-hero__index p,
	.contact-channels span,
	.contact-form label,
	.contact-expectation span,
	.contact-location__details a,
	.site-footer__label,
	.site-footer__cta > span {
		font-size: 0.7rem;
		line-height: 1.4;
	}

	.th-page-home .site-main > section > .container--wide,
	.th-page-home .site-main > section > .container--text,
	.th-page-home .site-main > section > .container {
		width: 100%;
		padding-inline: var(--page-gutter);
	}

	.th-page-home .site-main,
	.site-main.page-template-office,
	.services-page,
	.th-portfolio-page,
	.project-single,
	.contact-page {
		background: #171516;
		isolation: isolate;
	}

	.th-page-home .site-main::before,
	.site-main.page-template-office::before,
	.services-page::before,
	.th-portfolio-page::before,
	.project-single::before {
		display: none;
	}

	.th-page-home .site-main::after,
	.site-main.page-template-office::after,
	.services-page::after,
	.th-portfolio-page::after,
	.project-single::after,
	.contact-page::after {
		position: fixed;
		inset: 0;
		z-index: 0;
		width: 100vw;
		height: 100dvh;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		content: "";
		pointer-events: none;
	}

	.th-page-home .site-main::after {
		background-image:
			radial-gradient(circle at 75% 22%, rgb(var(--th-red-rgb) / 0.08), transparent 34%),
			radial-gradient(circle at 16% 72%, rgb(var(--th-wine-rgb) / 0.1), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.18), rgb(var(--th-black-rgb) / 0.56)),
			var(--th-home-bg-image, url("../images/mobile/hero-th-mobile.webp"));
		background-image:
			radial-gradient(circle at 75% 22%, rgb(var(--th-red-rgb) / 0.08), transparent 34%),
			radial-gradient(circle at 16% 72%, rgb(var(--th-wine-rgb) / 0.1), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.18), rgb(var(--th-black-rgb) / 0.56)),
			var(--th-home-mobile-bg-image, var(--th-home-bg-image, url("../images/mobile/hero-th-mobile.webp")));
	}

	.site-main.page-template-office::after {
		background-image:
			radial-gradient(circle at 78% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 14% 76%, rgb(var(--th-wine-rgb) / 0.12), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.24), rgb(var(--th-black-rgb) / 0.66)),
			var(--th-office-bg-image, url("../images/mobile/hero-th-mobile.webp"));
		background-image:
			radial-gradient(circle at 78% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 14% 76%, rgb(var(--th-wine-rgb) / 0.12), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.24), rgb(var(--th-black-rgb) / 0.66)),
			var(--th-office-mobile-bg-image, var(--th-office-bg-image, url("../images/mobile/hero-th-mobile.webp")));
	}

	.services-page::after {
		background-image:
			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%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.24), rgb(var(--th-black-rgb) / 0.68)),
			url("../images/mobile/fundo-services-mobile.webp");
		background-image:
			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%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.24), rgb(var(--th-black-rgb) / 0.68)),
			var(--th-mobile-services-image);
	}

	.th-portfolio-page::after {
		background-image:
			radial-gradient(circle at 80% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 12% 76%, rgb(var(--th-wine-rgb) / 0.13), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.36), rgb(var(--th-black-rgb) / 0.78)),
			url("../images/mobile/fundo-project-mobile.webp");
		background-image:
			radial-gradient(circle at 80% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 12% 76%, rgb(var(--th-wine-rgb) / 0.13), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.36), rgb(var(--th-black-rgb) / 0.78)),
			var(--th-mobile-portfolio-image);
	}

	.project-single::after {
		background-image:
			radial-gradient(circle at 80% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 12% 76%, rgb(var(--th-wine-rgb) / 0.13), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.34), rgb(var(--th-black-rgb) / 0.72)),
			var(--project-background-image, url("../images/mobile/fundo-project-mobile.webp"));
		background-image:
			radial-gradient(circle at 80% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 12% 76%, rgb(var(--th-wine-rgb) / 0.13), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.34), rgb(var(--th-black-rgb) / 0.72)),
			var(--project-mobile-background-image, var(--project-background-image, url("../images/mobile/fundo-project-mobile.webp")));
	}

	.contact-page::after {
		background-image:
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.5), rgb(var(--th-black-rgb) / 0.78)),
			url("../images/mobile/hero-th-mobile.webp");
		background-image:
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.5), rgb(var(--th-black-rgb) / 0.78)),
			var(--th-mobile-contact-image);
	}

	.th-page-home .site-main > section,
	.site-main.page-template-office > section,
	.services-page > section,
	.th-portfolio-page > section,
	.project-single > section,
	.contact-page > section {
		position: relative;
		z-index: 1;
	}

	.home-hero__background {
		display: none;
	}

	.home-hero,
	.office-hero,
	.services-hero,
	.portfolio-hero,
	.project-hero,
	.contact-hero {
		background: transparent;
	}

	.th-page-home .site-main > section + section {
		margin-top: 0;
		padding-top: var(--section-space);
	}

	.th-page-home .site-main > section + section::before {
		top: 0;
		height: 1px;
		filter: none;
		opacity: 1;
		background: linear-gradient(
			90deg,
			transparent,
			rgb(var(--th-white-rgb) / 0.11),
			transparent
		);
	}

	@supports (content-visibility: auto) {
		.home-positioning,
		.home-authority,
		.home-projects,
		.home-final-cta,
		.office-approach,
		.office-values,
		.services-catalog,
		.services-faq,
		.services-cta,
		.portfolio-list,
		.project-intro,
		.project-details,
		.project-gallery,
		.project-next,
		.contact-conversation,
		.contact-expectation,
		.contact-location {
			content-visibility: auto;
			contain-intrinsic-size: auto 800px;
		}
	}

	/* Home — abertura */

	.home-hero {
		min-height: 100svh;
	}

	.home-hero__background,
	.th-page-home .site-main {
		background-position: center;
	}

	.home-hero__inner {
		width: calc(100% - (var(--page-gutter) * 2));
		min-height: 100svh;
		padding-top: calc(var(--header-height) + 20px);
		padding-bottom: 38px;
	}

	.home-hero__glass {
		gap: 28px;
		margin-top: 0;
		padding: 22px 20px;
		border-color: rgb(var(--th-white-rgb) / 0.2);
		border-radius: 20px;
		background:
			linear-gradient(
				145deg,
				rgb(var(--th-black-rgb) / 0.3),
				rgb(var(--th-wine-rgb) / 0.1)
			);
		box-shadow:
			0 16px 48px rgb(var(--th-black-rgb) / 0.17),
			inset 0 1px 0 rgb(var(--th-white-rgb) / 0.12);
		-webkit-backdrop-filter: blur(7px) saturate(116%);
		backdrop-filter: blur(7px) saturate(116%);
	}

	.home-hero__glass::before,
	.home-hero__glass::after {
		opacity: 0.48;
	}

	.home-hero__kicker {
		margin-bottom: 18px;
		font-size: 0.7rem;
		line-height: 1.45;
	}

	.home-hero__title {
		font-size: clamp(2rem, 9vw, 2.75rem);
		line-height: 1;
	}

	.home-hero__title-line--accent {
		display: block;
		margin-top: 0.18em;
	}

	.home-hero__word-rotator {
		display: flex;
		width: fit-content;
		max-width: 100%;
		min-width: 0;
		padding: 0.08em 0.14em 0.12em;
	}

	.home-hero__word-rotator .word {
		white-space: normal;
	}

	.home-hero__text {
		margin-top: 20px;
		font-size: 0.95rem;
		line-height: 1.65;
	}

	.home-hero__actions {
		gap: 10px;
		margin-top: 26px;
	}

	.home-hero__panel {
		padding-top: 22px;
		background: transparent;
	}

	.home-hero__panel-label {
		margin-bottom: 10px;
	}

	.home-hero__pillars li {
		padding-block: 11px;
		font-size: 0.78rem;
	}

	.home-hero__pillars li::before {
		top: 20px;
	}

	/* Home — áreas de atuação */

	.home-services__header {
		gap: 0;
		margin-bottom: 34px;
		padding: 12px;
		border-radius: 20px;
	}

	.th-page-home .home-services__media {
		min-height: 330px;
		border-radius: 14px;
	}

	.home-services__media-caption {
		inset: auto 18px 18px;
	}

	.home-services__media-caption strong {
		max-width: 270px;
		font-size: 1.5rem;
	}

	.home-services__intro {
		padding: 24px 8px 12px;
	}

	.home-services__intro .th-kicker {
		margin-bottom: 22px;
	}

	.th-page-home .home-services__title {
		font-size: clamp(2.2rem, 10.6vw, 3.25rem);
		line-height: 0.98;
	}

	.th-page-home .home-services__text {
		margin-top: 22px;
		font-size: 0.95rem;
		line-height: 1.7;
	}

	.home-services__pillars {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 28px;
		padding-top: 0;
	}

	.home-services__pillars li,
	.home-services__pillars li + li {
		gap: 8px;
		padding: 14px 8px 0 0;
		font-size: 0.7rem;
		letter-spacing: 0.08em;
	}

	.home-services__pillars li + li {
		padding-left: 8px;
	}

	.th-page-home .home-services__grid,
	.th-page-home .home-projects__list {
		display: flex;
		width: auto;
		margin-inline: calc(var(--page-gutter) * -1);
		padding: 2px var(--page-gutter) 14px;
		gap: 14px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-padding-inline: var(--page-gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.th-page-home .home-services__grid::-webkit-scrollbar,
	.th-page-home .home-projects__list::-webkit-scrollbar {
		display: none;
	}

	.th-page-home .home-services__card {
		min-width: min(86vw, 340px);
		min-height: 540px;
		padding: 24px 22px;
		border-radius: 18px;
		flex: 0 0 min(86vw, 340px);
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.home-services__number {
		margin-bottom: 32px;
	}

	.home-services__card-title {
		min-height: 0;
		font-size: clamp(2rem, 9.4vw, 2.7rem);
	}

	.home-services__card-text {
		margin-top: 18px;
		font-size: 0.93rem;
		line-height: 1.65;
	}

	.home-services__list {
		margin-top: 28px;
		padding-top: 0;
	}

	.home-services__list li {
		padding-block: 13px;
		font-size: 0.7rem;
	}

	.home-services__list li::before {
		top: 20px;
	}

	/* Home — posicionamento */

	.home-positioning__inner {
		gap: 30px;
	}

	.home-positioning__content {
		padding: 24px 22px;
		border-radius: 20px;
	}

	.th-page-home .home-positioning__title {
		margin-top: 26px;
		font-size: clamp(2.2rem, 10vw, 3.1rem);
		line-height: 0.98;
	}

	.home-positioning__text {
		margin-top: 22px;
		font-size: 0.95rem;
		line-height: 1.7;
	}

	.home-positioning__points {
		margin-top: 30px;
	}

	.home-positioning__point {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 12px;
		padding-block: 16px;
	}

	.home-positioning__point p {
		font-size: 0.93rem;
		line-height: 1.55;
	}

	.home-positioning__media {
		min-height: 390px;
		padding: 10px;
		border-radius: 20px;
	}

	.home-positioning__image {
		inset: 10px;
	}

	.home-positioning__badge {
		right: 20px;
		bottom: 20px;
		left: 20px;
		width: auto;
		padding: 18px;
	}

	.home-positioning__badge .th-watermark-mark {
		width: 34px;
		height: 34px;
		margin-bottom: 12px;
	}

	.home-positioning__badge strong {
		font-size: 1.12rem;
	}

	/* Home — autoridade */

	.th-page-home .home-authority__inner {
		gap: 28px;
		padding: 24px 22px;
		border-radius: 20px;
	}

	.th-page-home .home-authority__title {
		margin-top: 26px;
		font-size: clamp(2.15rem, 9.8vw, 3.05rem);
		line-height: 1;
	}

	.th-page-home .home-authority__item {
		grid-template-columns: minmax(92px, 0.55fr) minmax(0, 1fr);
		min-height: 104px;
		padding: 18px 0;
	}

	.th-page-home .home-authority__item strong {
		font-size: clamp(2.6rem, 12vw, 3.6rem);
	}

	.th-page-home .home-authority__item span {
		font-size: 0.7rem;
	}

	/* Home — depoimentos */

	.home-video-testimonials__inner {
		gap: 30px;
	}

	.home-video-testimonials__header h2 {
		margin-top: 24px;
		font-size: clamp(2.15rem, 9.8vw, 3.05rem);
		line-height: 1;
	}

	.home-video-testimonials__header p {
		margin-top: 18px;
		font-size: 0.94rem;
		line-height: 1.65;
	}

	.home-video-testimonials__grid {
		justify-content: flex-start;
		flex-wrap: nowrap;
		width: auto;
		margin-inline: calc(var(--page-gutter) * -1);
		gap: 14px;
		padding: 4px var(--page-gutter) 12px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-padding-inline: var(--page-gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.home-video-testimonials__grid::-webkit-scrollbar {
		display: none;
	}

	.home-video-testimonials__card {
		width: min(72vw, 280px);
		flex: 0 0 min(72vw, 280px);
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.home-video-testimonials__identity {
		padding: 20px;
	}

	.video-testimonial-dialog {
		width: calc(100% - 20px);
		max-height: calc(100dvh - 20px);
		border-radius: 18px;
	}

	.video-testimonial-dialog__panel {
		padding: 8px;
	}

	.video-testimonial-dialog__close {
		top: 10px;
		right: 10px;
		width: 48px;
		height: 48px;
	}

	.video-testimonial-dialog__player {
		max-height: calc(100dvh - 142px);
		border-radius: 13px;
	}

	/* Home — empreendimentos */

	.home-projects__header {
		display: grid;
		gap: 20px;
		margin-bottom: 34px;
		padding: 24px 22px;
		border-radius: 20px;
	}

	.home-projects__title {
		margin-top: 24px;
		font-size: clamp(2.2rem, 10vw, 3.1rem);
		line-height: 0.98;
	}

	.home-projects__text {
		font-size: 0.94rem;
		line-height: 1.65;
	}

	.th-page-home .home-projects__item,
	.th-page-home .home-projects__link {
		min-width: min(86vw, 340px);
		min-height: 560px !important;
		flex: 0 0 min(86vw, 340px);
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.th-page-home .home-projects__item {
		border-radius: 18px;
	}

	.th-page-home .home-projects__media {
		height: 320px !important;
	}

	.th-page-home .home-projects__content {
		min-height: 240px;
		padding: 24px 22px 20px;
	}

	.th-page-home .home-projects__name {
		min-height: 0;
		font-size: clamp(2rem, 9vw, 2.6rem);
	}

	.home-projects__footer {
		margin-top: 32px;
	}

	/* Home — CTA final */

	.home-final-cta {
		padding-block: var(--section-space);
	}

	.th-page-home .home-final-cta__inner {
		gap: 30px;
		padding: 26px 22px;
		border-radius: 20px;
	}

	.home-final-cta__title {
		margin-top: 26px;
		font-size: clamp(2.2rem, 10vw, 3.1rem);
		line-height: 0.98;
	}

	.home-final-cta__text {
		margin-top: 20px;
		font-size: 0.95rem;
		line-height: 1.65;
	}

	.home-final-cta__actions {
		gap: 10px;
		margin-top: 26px;
	}

	.home-final-cta__panel {
		padding-top: 24px;
	}

	.home-final-cta__panel-mark {
		width: 82px;
		margin-top: 26px;
	}

	/* Páginas institucionais — heróis e painéis */

	.office-hero,
	.services-hero,
	.portfolio-hero {
		padding: calc(var(--header-height) + 24px) 0 var(--section-space);
	}

	.office-hero__inner,
	.services-hero__inner,
	.portfolio-hero__inner {
		gap: 30px;
		padding: 26px 22px;
		border-radius: 20px;
	}

	.office-hero__title,
	.services-hero h1,
	.portfolio-hero__title {
		margin-top: 26px;
		font-size: clamp(2.25rem, 10.5vw, 3.3rem);
		line-height: 0.98;
	}

	.office-hero__text,
	.services-hero__content > p,
	.portfolio-hero__text {
		margin-top: 22px;
		font-size: 0.95rem;
		line-height: 1.68;
	}

	.office-hero__panel,
	.portfolio-hero__panel {
		display: grid;
		grid-template-columns: 70px minmax(0, 1fr);
		align-items: center;
		gap: 18px;
		padding-top: 22px;
	}

	.office-hero__panel .th-watermark-mark,
	.portfolio-hero__panel .th-watermark-mark {
		width: 62px;
		margin: 0;
	}

	.office-hero__panel p,
	.portfolio-hero__panel p,
	.services-hero__panel p {
		font-size: 0.92rem;
		line-height: 1.6;
	}

	/* O Escritório */

	.site-main.page-template-office > section:not(.office-hero) {
		padding-block: var(--section-space);
	}

	.office-editorial__inner,
	.office-approach__inner,
	.office-values__inner {
		gap: 24px;
	}

	.office-editorial__media {
		padding: 10px;
		border-radius: 20px;
	}

	.office-editorial__media img {
		border-radius: 13px;
	}

	.office-editorial__caption {
		margin-top: 10px;
		padding: 18px;
		border-radius: 13px;
	}

	.office-editorial__content,
	.office-authority,
	.office-approach__intro,
	.office-values__header {
		padding: 24px 22px;
		border-radius: 20px;
	}

	.office-editorial__content h2 {
		margin-top: 24px;
		font-size: clamp(2.1rem, 9.6vw, 3rem);
		line-height: 1;
	}

	.office-editorial__content > p,
	.office-approach__text,
	.office-values__intro {
		margin-top: 20px;
		font-size: 0.94rem;
		line-height: 1.68;
	}

	.office-authority__heading {
		gap: 18px;
	}

	.office-authority__heading h3 {
		font-size: clamp(1.9rem, 8.5vw, 2.6rem);
	}

	.office-authority__carousel {
		margin-top: 26px;
	}

	.office-authority__card {
		min-width: 86%;
		overflow: hidden;
		border-color: rgb(var(--th-white-rgb) / 0.18);
		border-radius: 18px;
		background:
			linear-gradient(
				145deg,
				rgb(var(--th-white-rgb) / 0.085),
				rgb(var(--th-wine-rgb) / 0.08)
			);
		box-shadow:
			0 18px 42px rgb(var(--th-black-rgb) / 0.22),
			inset 0 1px 0 rgb(var(--th-white-rgb) / 0.1);
		flex-basis: 86%;
	}

	.office-authority__image {
		position: relative;
		display: block;
		width: 100%;
		aspect-ratio: 4 / 5;
		overflow: hidden;
		border-bottom-color: rgb(var(--th-white-rgb) / 0.13);
		background:
			radial-gradient(
				circle at 78% 16%,
				rgb(var(--th-red-rgb) / 0.12),
				transparent 36%
			),
			linear-gradient(
				145deg,
				rgb(var(--th-black-rgb) / 0.96),
				rgb(var(--th-wine-rgb) / 0.32)
			);
	}

	.office-authority__image img {
		position: absolute;
		inset: 10px;
		width: calc(100% - 20px);
		height: calc(100% - 20px);
		border-radius: 12px;
		background: rgb(var(--th-black-rgb) / 0.38);
		box-shadow: 0 12px 30px rgb(var(--th-black-rgb) / 0.28);
		object-fit: contain;
		object-position: center;
		filter: none;
		opacity: 1;
		transform: none;
	}

	.office-authority__meta {
		position: relative;
		min-height: 110px;
		padding: 18px 58px 20px 18px;
		background:
			linear-gradient(
				145deg,
				rgb(var(--th-white-rgb) / 0.055),
				rgb(var(--th-black-rgb) / 0.08)
			);
	}

	.office-authority__meta::after {
		position: absolute;
		right: 16px;
		bottom: 16px;
		display: grid;
		width: 34px;
		height: 34px;
		border: 1px solid rgb(var(--th-white-rgb) / 0.18);
		border-radius: 50%;
		background: rgb(var(--th-black-rgb) / 0.18);
		color: rgb(var(--th-white-rgb) / 0.82);
		content: "↗";
		font-size: 0.9rem;
		place-items: center;
	}

	.office-authority__category {
		margin-bottom: 10px;
	}

	.office-authority__meta strong {
		font-size: 1rem;
		font-weight: 500;
		line-height: 1.3;
	}

	.office-authority__controls {
		align-items: center;
		justify-content: flex-end;
		gap: 8px;
		margin-top: 16px;
	}

	.office-authority__controls::before {
		margin-right: auto;
		color: rgb(var(--th-white-rgb) / 0.46);
		content: "Deslize para explorar";
		font-family: var(--font-label);
		font-size: 0.58rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
	}

	.office-authority__control {
		width: 44px;
		height: 44px;
		background: rgb(var(--th-black-rgb) / 0.36);
	}

	.office-authority__control[hidden] {
		display: none;
	}

	.office-approach__title,
	.office-values__title {
		margin-top: 24px;
		font-size: clamp(2.15rem, 9.8vw, 3.05rem);
		line-height: 1;
	}

	.office-approach__list {
		margin-top: 26px;
	}

	.office-approach__list li {
		padding: 15px 0 15px 18px;
		font-size: 0.9rem;
	}

	.office-approach__list li::before {
		top: 24px;
	}

	.office-approach__grid,
	.office-values__list {
		display: flex;
		width: auto;
		margin-inline: calc(var(--page-gutter) * -1);
		padding: 2px var(--page-gutter) 12px;
		gap: 12px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-padding-inline: var(--page-gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.office-approach__grid::-webkit-scrollbar,
	.office-values__list::-webkit-scrollbar {
		display: none;
	}

	.office-approach__card,
	.office-values__item {
		min-width: min(82vw, 320px);
		min-height: 220px;
		padding: 24px;
		border-radius: 18px;
		flex: 0 0 min(82vw, 320px);
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.office-values__item h3 {
		margin-top: 30px;
	}

	/* Serviços */

	.services-hero__panel {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 18px;
		padding-top: 22px;
	}

	.services-hero__panel span {
		margin: 0;
		font-size: 4.4rem;
	}

	.services-overview,
	.services-catalog,
	.services-faq,
	.services-cta {
		padding-block: var(--section-space);
	}

	.services-overview__inner,
	.services-faq__inner,
	.services-cta__inner {
		gap: 22px;
		padding: 24px 22px;
		border-radius: 20px;
	}

	.services-overview h2,
	.services-cta h2 {
		font-size: clamp(2.15rem, 9.8vw, 3.05rem);
		line-height: 1;
	}

	.services-overview__inner > p,
	.services-cta__action p {
		font-size: 0.94rem;
		line-height: 1.68;
	}

	.services-catalog__inner {
		gap: 14px;
	}

	.services-card {
		gap: 24px;
		padding: 24px 22px;
		border-radius: 20px;
	}

	.services-card__header {
		display: grid;
		grid-template-columns: 42px minmax(0, 1fr);
		align-items: start;
		gap: 16px;
		padding-bottom: 20px;
	}

	.services-card__eyebrow {
		padding-right: 0;
		font-size: 0.72rem;
		letter-spacing: 0.14em;
	}

	.services-card__body h2 {
		font-size: clamp(2.05rem, 9.2vw, 2.8rem);
		line-height: 0.98;
		text-transform: none;
	}

	.services-card__body > p {
		margin-top: 20px;
		font-size: 0.94rem;
		line-height: 1.65;
	}

	.services-card__cta {
		width: 100%;
		margin-top: 24px;
	}

	.services-faq__intro {
		gap: 18px;
	}

	.services-faq__intro h2 {
		font-size: clamp(1.9rem, 8.6vw, 2.55rem);
	}

	.services-faq__intro > p {
		padding: 16px;
		color: rgb(var(--th-white-rgb) / 0.7);
		font-size: 0.9rem;
	}

	.services-faq__question {
		min-height: 68px;
		color: rgb(var(--th-white-rgb) / 0.8);
		font-size: 0.94rem;
	}

	.services-faq__question::after {
		width: 44px;
		height: 44px;
	}

	.services-faq__answer {
		color: rgb(var(--th-white-rgb) / 0.7);
	}

	/* Empreendimentos */

	.portfolio-list {
		padding-bottom: var(--section-space);
	}

	.portfolio-grid {
		gap: 16px;
	}

	.portfolio-card,
	.portfolio-card__link {
		min-height: 0;
	}

	.portfolio-card {
		border-radius: 20px;
	}

	.portfolio-card__media {
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.portfolio-card__content {
		min-height: 0;
		padding: 24px 22px 20px;
	}

	.portfolio-card__title {
		min-height: 0;
		font-size: clamp(2rem, 9vw, 2.6rem);
	}

	.portfolio-card__footer {
		padding-top: 16px;
	}

	.project-hero {
		min-height: 100svh;
		padding: calc(var(--header-height) + 28px) 0 28px;
	}

	.project-hero__inner,
	.project-intro__inner,
	.project-details__inner,
	.project-gallery__header,
	.project-next__inner {
		gap: 26px;
		padding: 24px 22px;
		border-radius: 20px;
	}

	.project-hero__heading h1 {
		font-size: clamp(3.1rem, 16vw, 5.2rem);
		line-height: 0.88;
		overflow-wrap: anywhere;
	}

	.project-hero__heading > p {
		margin-top: 20px;
		font-size: 0.7rem;
		line-height: 1.6;
	}

	.project-intro,
	.project-gallery,
	.project-details,
	.project-next {
		padding-block: var(--section-space);
	}

	.project-intro__heading h2,
	.project-details header h2,
	.project-gallery__header h2,
	.project-next h2 {
		margin-top: 24px;
		font-size: clamp(2.15rem, 9.8vw, 3.05rem);
		line-height: 1;
	}

	.project-intro__content {
		font-size: 1rem;
		line-height: 1.72;
	}

	.project-details__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.project-details__item {
		padding: 20px 12px 20px 0;
	}

	.project-details__item strong {
		font-size: 1.18rem;
		overflow-wrap: anywhere;
	}

	.project-gallery__grid {
		gap: 14px;
	}

	.project-gallery__item,
	.project-gallery__item--featured {
		height: auto;
		border-radius: 18px;
	}

	.project-gallery__item img {
		height: auto;
		object-fit: contain;
	}

	/* Contato */

	.contact-hero {
		padding: calc(var(--header-height) + 24px) 0 var(--section-space);
	}

	.contact-hero__inner {
		gap: 30px;
		padding: 0 0 28px;
	}

	.contact-hero__content h1 {
		margin-top: 26px;
		font-size: clamp(2.35rem, 10.8vw, 3.4rem);
		line-height: 0.98;
	}

	.contact-hero__content p {
		margin-top: 22px;
		font-size: 0.95rem;
		line-height: 1.68;
	}

	.contact-hero__index span {
		min-height: 44px;
		padding: 14px 0;
	}

	.contact-conversation,
	.contact-expectation,
	.contact-location {
		padding-block: var(--section-space);
	}

	.contact-conversation__inner {
		gap: 34px;
		padding: 24px 22px;
		border-radius: 20px;
	}

	.contact-conversation__aside h2 {
		margin-top: 24px;
		font-size: clamp(2.15rem, 9.8vw, 3.05rem);
		line-height: 1;
	}

	.contact-conversation__aside > p {
		margin-top: 20px;
		font-size: 0.94rem;
		line-height: 1.68;
	}

	.contact-channels {
		margin-top: 32px;
	}

	.contact-channels a {
		grid-template-columns: 76px minmax(0, 1fr);
		min-height: 64px;
		align-items: center;
		gap: 12px;
		padding: 14px 0;
	}

	.contact-form-panel {
		padding-top: 34px;
		scroll-margin-top: calc(var(--header-height) + 18px);
	}

	.contact-form {
		gap: 28px;
	}

	.contact-form__row {
		gap: 28px;
	}

	.contact-form input,
	.contact-form select {
		min-height: 58px;
	}

	.contact-form textarea {
		min-height: 132px;
	}

	.contact-form__footer {
		gap: 18px;
	}

	.contact-expectation__inner {
		border-radius: 20px;
	}

	.contact-expectation__inner > div {
		min-height: 0;
		padding: 26px 22px;
	}

	.contact-expectation h3 {
		margin-top: 34px;
		font-size: 1.8rem;
	}

	.contact-expectation p {
		margin-top: 16px;
		font-size: 0.92rem;
		line-height: 1.65;
	}

	.contact-location__header {
		gap: 28px;
		padding-bottom: 34px;
	}

	.contact-location__header h2 {
		margin-top: 24px;
		font-size: clamp(2.2rem, 10vw, 3.1rem);
		line-height: 1;
	}

	.contact-location__details {
		padding-top: 20px;
	}

	.contact-location__details a {
		display: inline-flex;
		min-height: 48px;
		align-items: center;
		margin-top: 14px;
	}

	.contact-map {
		height: 340px;
		border-radius: 20px;
	}

	/* Rodapé */

	.site-footer {
		padding-top: 54px;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}

	.site-footer__inner {
		gap: 34px;
	}

	.site-footer__brand p {
		margin-top: 20px;
		font-size: 0.9rem;
	}

	.site-footer__label {
		margin-bottom: 12px;
	}

	.site-footer__menu,
	.site-footer__contact {
		gap: 0;
	}

	.site-footer__menu a,
	.site-footer__contact a,
	.site-footer__contact li {
		display: flex;
		min-height: 44px;
		align-items: center;
		padding-block: 8px;
	}

	.site-footer__cta {
		padding: 24px 22px;
		border-radius: 18px;
	}

	.site-footer__bottom {
		gap: 16px;
		margin-top: 44px;
		padding-block: 22px;
	}

	.site-footer__bottom a {
		display: flex;
		min-height: 44px;
		align-items: center;
	}
}

@media (max-width: 379px) {
	.contact-channels a {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

@media (max-width: 359px) {
	:root {
		--page-gutter: 16px;
	}

	.home-hero__glass,
	.th-page-home .home-authority__inner,
	.home-positioning__content,
	.th-page-home .home-final-cta__inner,
	.office-hero__inner,
	.services-hero__inner,
	.portfolio-hero__inner,
	.contact-conversation__inner {
		padding-inline: 18px;
	}

	.home-services__pillars {
		grid-template-columns: 1fr;
	}

	.home-services__pillars li + li {
		padding-left: 0;
	}

	.project-details__grid {
		grid-template-columns: 1fr;
	}
}

@media (hover: none) and (pointer: coarse) {
	a,
	button,
	summary {
		-webkit-tap-highlight-color: rgb(var(--th-red-rgb) / 0.18);
	}

	.th-button:hover,
	.home-projects__item:hover,
	.home-services__card:hover,
	.home-video-testimonials__card:hover,
	.portfolio-card:hover,
	.services-card:hover,
	.office-authority__card:hover,
	.office-approach__card:hover,
	.office-values__item:hover {
		transform: none;
	}

	.home-projects__link:hover .home-projects__photo,
	.home-video-testimonials__card:hover .home-video-testimonials__poster,
	.portfolio-card:hover .portfolio-card__image,
	.project-gallery__item:hover img {
		transform: none;
	}

	.th-button:active,
	.site-header__toggle:active,
	.office-authority__control:active,
	.video-testimonial-dialog__close:active {
		transform: scale(0.97);
		transition-duration: 90ms;
	}

	.home-projects__item:active,
	.home-services__card:active,
	.home-video-testimonials__card:active,
	.portfolio-card:active,
	.office-authority__card:active,
	.office-approach__card:active,
	.office-values__item:active {
		border-color: rgb(var(--th-red-rgb) / 0.42);
		transform: scale(0.992);
		transition-duration: 90ms;
	}

	.site-nav a:active,
	.home-projects__link:active,
	.portfolio-card__link:active,
	.contact-channels a:active,
	.site-footer a:active {
		opacity: 0.72;
		transition-duration: 90ms;
	}
}

@media (max-width: 1023px) and (prefers-reduced-transparency: reduce) {
	.site-header__inner,
	.site-nav,
	.th-glass,
	.home-hero__glass,
	.home-authority__inner,
	.home-services__header,
	.home-services__card,
	.home-positioning__media,
	.home-positioning__badge,
	.home-final-cta__inner,
	.office-hero__inner,
	.office-editorial__media,
	.office-editorial__caption,
	.office-editorial__content,
	.office-authority,
	.office-approach__intro,
	.office-approach__card,
	.office-values__header,
	.office-values__item,
	.services-hero__inner,
	.services-overview__inner,
	.services-card,
	.services-faq__inner,
	.services-cta__inner,
	.portfolio-hero__inner,
	.portfolio-card,
	.portfolio-card__number,
	.project-hero__inner,
	.project-intro__inner,
	.project-details__inner,
	.project-gallery__header,
	.project-next__inner,
	.contact-conversation__inner,
	.contact-expectation__inner {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-nav,
	.site-header.is-scrolled .site-nav {
		background: rgb(27 22 23 / 0.96);
	}
}

@media (prefers-reduced-motion: reduce) {
	.th-page-home .home-services__grid,
	.th-page-home .home-projects__list,
	.home-video-testimonials__grid,
	.office-approach__grid,
	.office-values__list {
		scroll-behavior: auto;
	}
}

@media (max-width: 1023px) and (max-height: 600px) and (orientation: landscape) {
	:root {
		--header-height: 68px;
	}

	.th-page-home .site-main::after {
		background-image:
			radial-gradient(circle at 75% 22%, rgb(var(--th-red-rgb) / 0.08), transparent 34%),
			radial-gradient(circle at 16% 72%, rgb(var(--th-wine-rgb) / 0.1), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.18), rgb(var(--th-black-rgb) / 0.56)),
			var(--th-home-bg-image, url("../images/home/hero-th.jpg"));
	}

	.site-main.page-template-office::after {
		background-image:
			radial-gradient(circle at 78% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 14% 76%, rgb(var(--th-wine-rgb) / 0.12), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.24), rgb(var(--th-black-rgb) / 0.66)),
			var(--th-office-bg-image, url("../images/escritorio/escritorio.png"));
	}

	.services-page::after {
		background-image:
			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%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.24), rgb(var(--th-black-rgb) / 0.68)),
			url("../images/service/fundo-services.jpg");
	}

	.th-portfolio-page::after {
		background-image:
			radial-gradient(circle at 80% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 12% 76%, rgb(var(--th-wine-rgb) / 0.13), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.36), rgb(var(--th-black-rgb) / 0.78)),
			url("../images/empreendimentos/fundo-project.jpg");
	}

	.project-single::after {
		background-image:
			radial-gradient(circle at 80% 18%, rgb(var(--th-red-rgb) / 0.09), transparent 34%),
			radial-gradient(circle at 12% 76%, rgb(var(--th-wine-rgb) / 0.13), transparent 38%),
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.34), rgb(var(--th-black-rgb) / 0.72)),
			var(--project-background-image, url("../images/empreendimentos/fundo-project.jpg"));
	}

	.contact-page::after {
		background-image:
			linear-gradient(180deg, rgb(var(--th-black-rgb) / 0.5), rgb(var(--th-black-rgb) / 0.78)),
			url("../images/home/hero-th.jpg");
	}

	.site-header,
	.site-header.is-scrolled {
		padding:
			calc(8px + env(safe-area-inset-top, 0px))
			0
			8px;
	}

	.site-header__inner {
		flex-direction: row;
		align-items: center;
		gap: 14px;
	}

	.site-header.is-scrolled .site-header__inner {
		gap: 0;
	}

	.site-header__brand,
	.site-header__brand .custom-logo-link {
		min-height: 34px;
	}

	.site-header__brand .custom-logo,
	.site-header.is-scrolled .site-header__brand .custom-logo {
		max-width: 112px;
		max-height: 34px;
	}

	.site-header__brand .site-header__mobile-logo,
	.site-header__mobile-logo img {
		width: 34px;
		height: 34px;
		min-height: 34px;
	}

	.site-nav,
	.site-header.is-scrolled .site-nav {
		min-width: 0;
		min-height: 50px;
		flex: 1 1 auto;
	}

	.site-nav a {
		min-height: 40px;
	}
}
