/**
 * Estilos das seções da homepage (abaixo da dobra).
 */

 :root {
	--verde-escuro: #1f6b5c;
	--cinza-escuro: #1a1a1a;
	--verde-claro: #228570;
 }

.imoveis-home {
	padding: 130px 0 150px 0;
	background: #f3f4f6;
	overflow: visible;
}

.imoveis-home__inner {
	width: 100%;

	@media (min-width: 991px) {
		padding: 0;
	}
}

.imoveis-home__header {
	text-align: center;
	margin-bottom: 145px;
	padding: 0 20px;

	@media (min-width: 991px) {
		max-width: 1420px;
		margin: 0 auto;
		margin-bottom: 145px;
		padding: 0;
	}
}

.imoveis-home__title {
	margin: 0 0 0.75rem;
	color: var(--cinza-escuro);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;

	@media (min-width: 991px) {
		font-size: 80px;
		margin-bottom: 100px;
	}
}

.imoveis-home__intro {
	color: #444;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5;

	@media (min-width: 991px) {
		font-size: 48px;
		max-width: 950px;
		margin: 0 auto;
	}
}

.imoveis-home__intro p {
	margin: 0;
}

.imoveis-home__carousel-wrap {
	position: relative;
	overflow: hidden;
	/* Owl corta 1px da borda inferior dos cards; espaço extra evita o clip */
	padding-bottom: 2px;
}

/* Não usar flex no .owl-stage — quebra as coordenadas do next/prev. */
.imoveis-home__carousel .owl-item {
	display: flex;
	height: auto;
	padding-bottom: 1px;
	box-sizing: content-box;
}

/* Fade à direita — no stage, para o .owl-nav ficar acima */
.imoveis-home__carousel .owl-stage-outer {
	position: relative;
	/* overflow:hidden padrão do Owl também clipa a borda de baixo */
	padding-bottom: 1px;
}

.imoveis-home__carousel .owl-stage-outer::after {
	@media (min-width: 991px) {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: clamp(80px, 18vw, 220px);
		z-index: 2;
		pointer-events: none;
		background: linear-gradient(
			to right,
			rgba(243, 243, 243, 0) 0%,
			rgba(243, 243, 243, 0.55) 40%,
			rgba(243, 243, 243, 0.92) 75%,
			#f3f3f3 100%
		);
	}
}

.imovel-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background-color: #f3f4f6;
	border-radius: 35px;
	overflow: hidden;
	border: 1px solid #1a1a1a;
}

.imovel-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #ddd;
	min-height: 200px;

	@media (min-width: 991px) {
		min-height: 385px;
	}
}

.imovel-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.imovel-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	padding: 10px 30px;
	border-radius: 0 0 35px 0;
	background: var(--verde-claro);
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: capitalize;
	line-height: 1.2;

	@media (min-width: 991px) {
		font-size: 24px;
		padding: 20px 33px;
	}
}

.imovel-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	gap: 30px;
	padding: 37px 20px 27px 20px;

	@media (min-width: 991px) {
		gap: 60px;
		padding: 37px 20px 27px 20px;
	}
}

.imovel-card__logo {
	max-width: 95%;
}

.imovel-card__logo img {
	width: auto;
	max-width: 100%;
	height: auto;
}

.imovel-card__desc {
	flex: 1 1 auto;
	color: #333;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.45;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	align-content: center;

	strong {
		font-weight: 600;
	}

	@media (min-width: 991px) {
		font-size: 24px;
	}
}

.imovel-card__desc p {
	margin: 0;
}

.imovel-card__desc p + p {
	margin-top: 0.2rem;
}

.imovel-card__btn {
	font-family: 'Space Grotesk', sans-serif;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 15px 10px;
	border-radius: 30px;
	background: var(--verde-claro);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s ease, transform 0.2s ease;

	@media (min-width: 991px) {
		font-size: 24px;
		padding: 15px 10px;
	}
}

a.imovel-card__btn:hover {
	background: var(--verde-escuro);
}

/* Nav Owl — setas simples laterais (acima do fade) */
.imoveis-home .owl-nav {
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
}

.imoveis-home .owl-nav button.owl-prev,
.imoveis-home .owl-nav button.owl-next {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: #333;
	font-size: 2rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: opacity 0.2s ease;
	font-size: 0;
}

.imoveis-home .owl-nav button.owl-prev:hover,
.imoveis-home .owl-nav button.owl-next:hover {
	opacity: 0.65;
}

.imoveis-home .owl-nav button.owl-prev {
	left: 55px;
}

.imoveis-home .owl-nav button.owl-next {
	right: 55px;
}

.imoveis-home .owl-nav button.disabled {
	opacity: 0.25;
	cursor: default;
}

.imoveis-home .owl-carousel .owl-stage {
	/* Bootstrap usa border-box; com padding o Owl calcula errado e os itens quebram a linha */
	box-sizing: content-box;
}

.imoveis-home .owl-carousel .owl-stage {
	padding-left: 20px !important;

	@media (min-width: 991px) {
		padding-left: 110px !important;
	}

	@media (min-width: 1500px) {
		padding-left: 130px !important;
	}
}

@media (max-width: 991px) {
	.imoveis-home {
		padding: 3rem 0 3.5rem;
	}
}

@media (max-width: 768px) {
	.imoveis-home__header {
		margin-bottom: 2rem;
	}

	.imoveis-home .owl-nav button.owl-prev {
		left: -0.5rem;
	}

	.imoveis-home .owl-nav button.owl-next {
		right: -0.5rem;
	}
}

/* --------------------------------------------------------------------------
   Dados da empresa
   -------------------------------------------------------------------------- */
.dados-empresa {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 520px;
	padding: 100px 20px;
	background-color: #1a1a1a;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: scroll;
	color: #fff;
	overflow: visible;

	@media (min-width: 992px) {
		padding: 185px 50px;
		/* Parallax: imagem fixa enquanto a seção rola por cima */
		background-attachment: fixed;
	}

	@media (min-width: 1600px) {
		padding: 185px 120px;
	}
}

.dados-empresa__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.8);
	pointer-events: none;
}

.dados-empresa__inner {
	position: relative;
	z-index: 2;
	margin: 0 auto;
	text-align: center;
}

.dados-empresa__title {
	margin: 0 auto 55px;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.01em;

	@media (min-width: 991px) {
		font-size: 60px;
		margin-bottom: 135px;
	}
}

.dados-empresa__cards {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 30px;
	flex-wrap: nowrap;

	@media (min-width: 991px) {
		gap: 30px;
		flex-direction: row;
	}

	@media (min-width: 1600px) {
		gap: 100px;
	}
}

.dados-empresa__card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 50px 20px;
	border-radius: 36px;
	background: transparent;
	border: 1px solid #f3f4f6;

	@media (min-width: 991px) {
		padding: 85px 20px;
		min-height: 295px;
		flex: 1;
	}

	@media (min-width: 1500px) {
		padding: 85px 90px;
	}
}

.dados-empresa__card p {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;

	@media (min-width: 991px) {
		font-size: 40px;
	}
}

/* --------------------------------------------------------------------------
   CTA Investimento
   -------------------------------------------------------------------------- */
.cta-investimento {
	padding: 0 1.25rem 4rem;
	background: #f3f4f6;
	color: #1a1a1a;

	@media (min-width: 992px) {
		padding: 0 50px 190px;
	}

	@media (min-width: 1600px) {
		padding: 0 96px 155px;
	}
}

.cta-investimento__inner {
	width: 100%;
}

.cta-investimento__title {
	margin: 0 auto 60px;
	text-align: center;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;

	@media (min-width: 992px) {
		max-width: 1333px;
		margin: 0 auto 135px;
		font-size: 60px;
	}
}

.cta-investimento__container {
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: stretch;

	@media (min-width: 1300px) {
		flex-direction: row;
		align-items: stretch;
		gap: 60px;
	}

	@media (min-width: 1600px) {
		gap: 125px;
	}

	@media (min-width: 2000px) {
		max-width: 1920px;
		margin: 0 auto;
	}
}

.cta-investimento__media {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	aspect-ratio: 16 / 10;
	background: #1a1a1a;
	align-self: stretch;

	@media (min-width: 1300px) {
		aspect-ratio: auto;
		flex: 1;
		max-width: 692px;
		min-height: 100%;
		align-self: stretch;
	}
}

.cta-investimento__video,
.cta-investimento__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;

	@media (min-width: 992px) {
		position: absolute;
		inset: 0;
	}
}

.cta-investimento__media.has-video .cta-investimento__video {
	position: absolute;
	inset: 0;
}

.cta-investimento__media.has-video .js-lazy-video-poster {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.cta-investimento__media.is-playing .js-lazy-video-poster {
	opacity: 0;
	visibility: hidden;
}

.cta-investimento__play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.cta-investimento__play:hover {
	background: rgba(0, 0, 0, 0.35);
}

.cta-investimento__play svg {
	width: clamp(48px, 8vw, 72px);
	height: auto;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.cta-investimento__media.is-playing .cta-investimento__play {
	opacity: 0;
	pointer-events: none;
}

.cta-investimento__content {
	color: #1a1a1a;
	flex: 1;
}

.cta-investimento__content > :first-child {
	margin-top: 0;
}

.cta-investimento__content > :last-child {
	margin-bottom: 0;
}

/* Segundo título no editor */
.cta-investimento__content h1,
.cta-investimento__content h2,
.cta-investimento__content h3,
.cta-investimento__content h4 {
	margin: 0 0 30px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;

	@media (min-width: 992px) {
		font-size: 48px;
		margin-bottom: 75px;
	}
}

/* Texto no editor */
.cta-investimento__content p {
	margin: 0 0 1.25rem;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	font-family: 'Space Grotesk', sans-serif;

	@media (min-width: 992px) {
		font-size: 24px;
		margin-bottom: 1.5rem;
	}
}

.cta-investimento__content p:last-child {
	margin-bottom: 0;
}

.cta-investimento__content strong {
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Contato homepage
   -------------------------------------------------------------------------- */
.contato-home {
	--verde-escuro: #1f6b5c;
	--verde-claro: #228570;
	padding: 0 20px 50px;
	background: #f3f4f6;
	color: #1a1a1a;

	@media (min-width: 992px) {
		padding: 135px 50px;
	}

	@media (min-width: 1600px) {
		padding: 135px 96px;
	}
}

.contato-home__inner {
	margin: 0 auto;
	text-align: center;
}

.contato-home__header {
	margin-bottom: 50px;

	@media (min-width: 992px) {
		max-width: 1645px;
		margin: 0 auto;
		margin-bottom: 118px;
	}
}

.contato-home__title {
	margin: 0 0 0.5rem;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;

	@media (min-width: 992px) {
		font-size: 60px;
	}
}

.contato-home__form {
	display: flex;
	flex-direction: column;
	gap: 28px;
	text-align: left;

	@media (min-width: 992px) {
		max-width: 900px;
		margin: 0 auto;
		gap: 40px;
	}
}

.contato-home__field {
	position: relative;
}

/* Label flutuante — centralizado; sobe no foco/preenchimento */
.contato-home__label {
	font-family: 'Space Grotesk', sans-serif;
	position: absolute;
	top: 50%;
	left: calc(15px + 3px);
	z-index: 1;
	margin: 0;
	color: #1a1a1a;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.2;
	pointer-events: none;
	transform: translateY(-50%);
	transform-origin: left center;
	transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease;

	@media (min-width: 992px) {
		font-size: 24px;
	}
}

.contato-home__field:has(.contato-home__input:focus) .contato-home__label,
.contato-home__field:has(.contato-home__input:not(:placeholder-shown)) .contato-home__label,
.contato-home__field:has(.contato-home__select:focus) .contato-home__label,
.contato-home__field:has(.contato-home__select option:checked:not([value=''])) .contato-home__label {
	top: 0.55rem;
	font-size: 0.75rem;
	transform: translateY(0);
}

/* Textarea — label sempre no topo */
.contato-home__field--textarea .contato-home__label {
	top: 0.65rem;
	transform: none;
}

.contato-home__input,
.contato-home__select,
.contato-home__textarea {
	font-family: 'Space Grotesk', sans-serif !important;
	display: block;
	width: 100%;
	margin: 0;
	padding: 24px 15px 5px 15px;
	border: 3px solid var(--verde-claro, #228570);
	border-radius: 10px;
	background: #cccccc;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.4;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
	appearance: none;

	@media (min-width: 992px) {
		font-size: 24px;
	}
}

.contato-home__textarea {
	min-height: 140px;
	padding: 36px 15px 5px 15px;
	resize: vertical;
}

.contato-home__input:focus,
.contato-home__select:focus,
.contato-home__textarea:focus {
	border-color: var(--verde-escuro, #1f6b5c);
	box-shadow: 0 0 0 2px rgba(34, 133, 112, 0.15);
}

.contato-home__input.is-invalid,
.contato-home__select.is-invalid,
.contato-home__textarea.is-invalid {
	border-color: #b42318;
}

.contato-home__error {
	display: block;
	margin: 0.35rem 0 0 0.25rem;
	color: #b42318;
	font-size: 0.8rem;
	line-height: 1.3;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
}

.contato-home__select-wrap {
	position: relative;
}

.contato-home__select-wrap::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1.1rem;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid #228570;
	border-bottom: 2px solid #228570;
	transform: translateY(-60%) rotate(45deg);
	pointer-events: none;
}

.contato-home__select {
	padding-right: 2.5rem;
	cursor: pointer;
}

.contato-home__feedback {
	margin: 0;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 500;
}

.contato-home__feedback.is-success {
	color: var(--verde-claro);
}

.contato-home__feedback.is-error {
	color: #b42318;
}

.contato-home__submit {
	font-family: 'Space Grotesk', sans-serif;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	align-self: center;
	min-width: 180px;
	padding: 0.9rem 2.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--verde-claro);
	color: #fff;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;

	@media (min-width: 992px) {
		min-width: 550px;
		height: 78px;
		font-size: 31px;
		margin-top: 0px;
	}
}

.contato-home__submit:hover {
	background: var(--verde-escuro);
}

.contato-home__submit:disabled,
.contato-home__submit.is-loading {
	opacity: 0.85;
	cursor: wait;
	pointer-events: none;
}

.contato-home__submit-spinner {
	display: inline-block;
	width: 1.1em;
	height: 1.1em;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: contato-home-spin 0.7s linear infinite;
}

@keyframes contato-home-spin {
	to {
		transform: rotate(360deg);
	}
}

/**
 * Página 404
 */

.error-404 {
	padding: 64px 1.25rem;
	background: #fff;
	text-align: center;

	@media (min-width: 992px) {
		padding: 96px 1.25rem;
	}
}

.error-404__inner {
	max-width: 720px;
	margin: 0 auto;
}

.error-404__code {
	margin: 0 0 0.5rem;
	color: var(--verde-escuro);
	font-size: 64px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;

	@media (min-width: 992px) {
		font-size: 96px;
	}
}

.error-404__title {
	margin: 0 0 1rem;
	color: var(--cinza-escuro);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-transform: uppercase;

	@media (min-width: 992px) {
		font-size: 48px;
	}
}

.error-404__text {
	margin: 0 0 1.75rem;
	color: #444;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;

	@media (min-width: 992px) {
		font-size: 22px;
	}
}

.error-404__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	background: var(--verde-escuro);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.2s ease, opacity 0.2s ease;

	@media (min-width: 992px) {
		padding: 1rem 2rem;
		font-size: 18px;
	}
}

.error-404__cta:hover,
.error-404__cta:focus-visible {
	background: var(--verde-claro);
	color: #fff;
	opacity: 0.95;
}

/**
 * Cabeçalho simples (logo + título) — page-templates/page-politica-privacidade.php
 */

.banner-simples {
	background: var(--cinza-escuro);
}

.banner-simples__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.25rem 1.25rem;

	@media (min-width: 992px) {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 1.5rem 2.5rem;
	}
}

.banner-simples__branding {
	display: block;
}

.banner-simples__branding .custom-logo,
.banner-simples__brand-link,
.banner-simples__brand-link img {
	display: block;
	max-height: 55px;
	width: auto;
}

.banner-simples__brand-link {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.banner-simples__title {
	display: none;
	margin: 0;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.02em;

	@media (min-width: 992px) {
		display: block;
	}
}

/**
 * Páginas internas (page.php)
 */

.page-content {
	padding: 64px 1.25rem;
	background: #fff;

	@media (min-width: 992px) {
		padding: 96px 1.25rem;
	}
}

.page-content__inner {
	max-width: 860px;
	margin: 0 auto;
}

.page-content__header {
	margin-bottom: 1.5rem;
	text-align: center;

	@media (min-width: 992px) {
		margin-bottom: 2rem;
	}
}

.page-content__title {
	margin: 0;
	color: var(--cinza-escuro);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-transform: uppercase;

	@media (min-width: 992px) {
		font-size: 48px;
	}
}

.page-content__body {
	color: #444;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;

	@media (min-width: 992px) {
		font-size: 18px;
	}
}

.page-content__body > *:first-child {
	margin-top: 0;
}

.page-content__body > *:last-child {
	margin-bottom: 0;
}

/* Política de Privacidade — sobrescreve o font-weight: bolder do Bootstrap,
   só nessa página (page-templates/page-politica-privacidade.php). */
.page-template-page-politica-privacidade .page-content__body strong {
	font-weight: 600;
}

.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
	margin: 2rem 0 0.75rem;
	color: var(--cinza-escuro);
	font-weight: 600;
	line-height: 1.3;
}

.page-content__body p {
	margin: 0 0 1rem;
}

.page-content__body ul,
.page-content__body ol {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.page-content__body a {
	color: var(--verde-escuro);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.page-content__body a:hover {
	color: var(--verde-claro);
}