/**
 * Estilos principais do tema Oniximobiliario Newton.
 */

/* Reset / base — expandir conforme o design. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body, 
html {
	overflow-x: clip !important;
}

body {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	line-height: 1.5;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

/* --------------------------------------------------------------------------
   Utilitários de tipografia — mobile base / desktop em min-width: 992px
   -------------------------------------------------------------------------- */
.font-size-60 {
	font-size: 36px;

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

.font-size-48 {
	font-size: 32px;

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

.font-size-36 {
	font-size: 28px;

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

.font-size-33 {
	font-size: 24px;

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

.font-size-25 {
	font-size: 18px;

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

.font-size-24 {
	font-size: 18px;

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

.font-size-30 {
	font-size: 22px;

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

.font-size-22 {
	font-size: 16px;

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

.font-size-15 {
	font-size: 14px;

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

.font-size-14 {
	font-size: 13px;

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

.font-poppins {
	font-family: 'Poppins', sans-serif;
}

.font-space-grotesk {
	font-family: 'Space Grotesk', sans-serif;
}

.font-archivo {
	font-family: 'Archivo', sans-serif;
}

.font-campton {
	font-family: 'Campton', sans-serif;
}

.font-condor {
	font-family: 'Condor', sans-serif;
}

.font-manrope {
	font-family: 'Manrope', sans-serif;
}

.font-anxler {
	font-family: 'Anxler', sans-serif;
}

.font-anxler-rounded {
	font-family: 'Anxler Rounded', sans-serif;
}

/* --------------------------------------------------------------------------
   Banner homepage
   -------------------------------------------------------------------------- */
.banner-home {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.banner-home__carousel,
.banner-home__slide {
	height: 100vh;
	min-height: 560px;
}

.banner-home__slide {
	position: relative;
}

.banner-home__slide--link {
	cursor: pointer;
}

.banner-home__media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: #1a1a1a;
}

.banner-home__media.js-lazy-bg:not(.is-bg-loaded) {
	background-image: none;
}

.banner-home__overlay {
	position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(to top, rgb(0 0 0) 0%, rgb(0 0 0 / 66%) 45%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;

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

.banner-home__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 80px 100px;
	color: #fff;
	pointer-events: none;
}

.banner-home__logo {
	flex: 0 1 auto;
	width: 100%;

	@media (min-width: 991px) {
		width: 30%;
	}
}

.banner-home__logo img {
	width: 100%;
	height: auto;
}

.banner-home__text {
	flex: 0 1 auto;
	width: max-content;
	max-width: 555px;
	text-align: left;
	font-size: 36px;
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.banner-home__text p {
	margin: 0;
	font-weight: 300;
}

.banner-home__link {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	text-decoration: none;
	color: transparent;
}

/* Nav Owl — setas laterais */
.banner-home .owl-nav {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
}

.banner-home .owl-nav button.owl-prev,
.banner-home .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: rgba(31, 51, 42, 0.35) !important;
	color: #fff;
	font-size: 0;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;

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

.banner-home .owl-nav button.owl-prev:hover,
.banner-home .owl-nav button.owl-next:hover {
	background: rgba(0, 0, 0, 0.55) !important;
}

.banner-home .owl-nav button.owl-prev {
	left: 80px;
}

.banner-home .owl-nav button.owl-next {
	right: 80px;
}

.banner-home__nav-icon {
	display: block;
}

.banner-home__nav-icon svg {
	width: 50%;
	height: 50%;

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

@media (max-width: 768px) {
	.banner-home__carousel,
	.banner-home__slide {
		height: 70vh;
		min-height: 480px;
	}

	.banner-home__content {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
		padding: 2rem 1.5rem 2.5rem;
	}

	.banner-home__logo {
		max-width: 200px;
	}

	.banner-home__text {
		max-width: 100%;
		text-align: left;
		font-size: 1rem;
	}

	.banner-home .owl-nav button.owl-prev {
		left: 0.75rem;
	}

	.banner-home .owl-nav button.owl-next {
		right: 0.75rem;
	}
}

/* --------------------------------------------------------------------------
   Rodapé padrão
   -------------------------------------------------------------------------- */
.site-footer {
	padding: 50px 20px 50px;
	background: #111;
	color: rgba(255, 255, 255, 0.75);

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

.site-footer__inner {
	margin: 0 auto;
	text-align: center;
}

.site-footer__columns {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 50px;
	margin-bottom: 50px;

	@media (min-width: 992px) {
		flex-direction: row;
		align-items: stretch;
		gap: 110px;
		margin-bottom: 50px;
	}
}

.site-footer__column {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.site-footer__column-title {
	margin: 0 0 0.85rem;
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.3;
}

.site-footer__logos {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 50px;
	width: 100%;
	/* Centraliza o bloco de logos no espaço restante da coluna */
	margin-top: auto;
	margin-bottom: auto;

	@media (min-width: 992px) {
		flex-wrap: nowrap;
		flex-direction: row;
		gap: 110px;
	}
}

.site-footer__logo a {
	display: inline-block;
	line-height: 0;
	transition: opacity 0.2s ease;
}

.site-footer__logo a:hover {
	opacity: 0.75;
}

.site-footer__logo img {
	display: block;
	width: auto;
	height: auto;
	object-fit: contain;
}

.site-footer__legal {
	max-width: 1700px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.7rem;
	font-weight: 300;
	line-height: 1.55;

	@media (min-width: 992px) {
		font-size: 0.75rem;
		text-align: center;
	}
}

.site-footer__legal p {
	margin: 0;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	max-width: 1700px;
	margin: 30px auto 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.75rem;

	@media (min-width: 992px) {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		margin-top: 50px;
	}
}

.site-footer__copyright {
	margin: 0;
}

.site-footer__privacy-link {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__privacy-link:hover {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Owl Carousel — setas padrão (override por página via --owl-nav-icon-*)
   -------------------------------------------------------------------------- */
:root {
	--owl-nav-icon-prev: url('data:image/svg+xml,<svg width="25px" height="25px" viewBox="-4.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="%23000000"><g stroke-width="0"></g><g stroke-linecap="round" stroke-linejoin="round"></g><g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-385.000000, -6679.000000)" fill="%23000000"><g transform="translate(56.000000, 160.000000)"><path d="M338.61,6539 L340,6537.594 L331.739,6528.987 L332.62,6528.069 L332.615,6528.074 L339.955,6520.427 L338.586,6519 C336.557,6521.113 330.893,6527.014 329,6528.987 C330.406,6530.453 329.035,6529.024 338.61,6539"></path></g></g></g></g></svg>');
	--owl-nav-icon-next: url('data:image/svg+xml,<svg width="25px" height="25px" viewBox="-4.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="%23000000"><g stroke-width="0"></g><g stroke-linecap="round" stroke-linejoin="round"></g><g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-425.000000, -6679.000000)" fill="%23000000"><g transform="translate(56.000000, 160.000000)"><path d="M370.39,6519 L369,6520.406 L377.261,6529.013 L376.38,6529.931 L376.385,6529.926 L369.045,6537.573 L370.414,6539 C372.443,6536.887 378.107,6530.986 380,6529.013 C378.594,6527.547 379.965,6528.976 370.39,6519"></path></g></g></g></g></svg>');
	--owl-nav-icon-prev-white: url('data:image/svg+xml,<svg width="25px" height="25px" viewBox="-4.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="%23ffffff"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-385.000000, -6679.000000)" fill="%23ffffff"><g transform="translate(56.000000, 160.000000)"><path d="M338.61,6539 L340,6537.594 L331.739,6528.987 L332.62,6528.069 L332.615,6528.074 L339.955,6520.427 L338.586,6519 C336.557,6521.113 330.893,6527.014 329,6528.987 C330.406,6530.453 329.035,6529.024 338.61,6539"></path></g></g></g></svg>');
	--owl-nav-icon-next-white: url('data:image/svg+xml,<svg width="25px" height="25px" viewBox="-4.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="%23ffffff"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-425.000000, -6679.000000)" fill="%23ffffff"><g transform="translate(56.000000, 160.000000)"><path d="M370.39,6519 L369,6520.406 L377.261,6529.013 L376.38,6529.931 L376.385,6529.926 L369.045,6537.573 L370.414,6539 C372.443,6536.887 378.107,6530.986 380,6529.013 C378.594,6527.547 379.965,6528.976 370.39,6519"></path></g></g></g></svg>');
}

.owl-carousel .owl-nav button.owl-prev > span,
.owl-carousel .owl-nav button.owl-next > span {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 0;
	line-height: 0;
	text-indent: -9999px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 25px 25px;
}

.owl-carousel .owl-nav button.owl-prev > span {
	background-image: var(--owl-nav-icon-prev);
}

.owl-carousel .owl-nav button.owl-next > span {
	background-image: var(--owl-nav-icon-next);
}

/* Banner home — setas brancas */
.banner-home {
	--owl-nav-icon-prev: var(--owl-nav-icon-prev-white);
	--owl-nav-icon-next: var(--owl-nav-icon-next-white);
}

.banner-home .owl-nav button.owl-prev > span,
.banner-home .owl-nav button.owl-next > span {
	background-size: 33px 33px;
}

/* --------------------------------------------------------------------------
   Botão flutuante — "Fale com nossos consultores"
   -------------------------------------------------------------------------- */
.botao-flutuante-contato {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 50px;
	background: #228570;
	color: #fff;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;

	@media (min-width: 992px) {
		right: 32px;
		bottom: 32px;
		padding: 16px 22px;
		font-size: 15px;
	}
}

.botao-flutuante-contato:hover,
.botao-flutuante-contato:focus-visible {
	background: #1a6e5c;
	color: #fff;
	transform: translateY(-2px);
}

.botao-flutuante-contato--hidden {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
}

.botao-flutuante-contato__icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
}

.botao-flutuante-contato__label {
	white-space: nowrap;
}

@media (max-width: 480px) {
	.botao-flutuante-contato__label {
		display: none;
	}

	.botao-flutuante-contato {
		padding: 14px;
	}
}