/* Frontend — Hero Banner Slider */
.hbs-elementor-wrap {
	display: block;
	width: 100%;
	max-width: 100%;
}

.hbs-hero {
	--hbs-cream: #f5f0e6;
	--hbs-gold: #c9a961;
	--hbs-brand: #000d1a;
	/* Definido inline via PHP (kit Elementor). Fallback seguro. */
	--hbs-content-max: 1280px;
	--hbs-copy-max: none;
	--hbs-title-max: var(--hbs-copy-max);
	--hbs-text-max: var(--hbs-copy-max, 36rem);
	position: relative;
	display: block;
	width: 100% !important;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	color: var(--hbs-cream);
	background: var(--hbs-brand);
	box-sizing: border-box;
}

.hbs-hero *,
.hbs-hero *::before,
.hbs-hero *::after {
	box-sizing: border-box;
}

.hbs-hero__viewport {
	position: relative;
	width: 100%;
	min-height: 520px;
	overflow: hidden;
}

.hbs-hero--full .hbs-hero__viewport {
	height: 100dvh;
	min-height: 650px;
	max-height: 94vh;
}

.hbs-hero__track {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: inherit;
}

/* Só o slide ativo aparece */
.hbs-slide-front {
	position: absolute;
	inset: 0;
	display: none !important;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: inherit;
	margin: 0;
	padding: 0;
	border: 0;
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
}

.hbs-slide-front.is-active,
.hbs-slide-front[aria-hidden="false"] {
	position: relative;
	display: flex !important;
	visibility: visible;
	pointer-events: auto;
	opacity: 1;
	z-index: 1;
}

.hbs-slide-front[hidden]:not(.is-active) {
	display: none !important;
}

.hbs-slide-front__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	background: var(--hbs-brand);
	z-index: 0;
}

.hbs-media,
.hbs-media img,
.hbs-media video,
.hbs-media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--hbs-media-pos, center center);
	border: 0;
}

.hbs-elementor-wrap.is-media-custom .hbs-media img,
.hbs-elementor-wrap.is-media-custom .hbs-media video {
	object-position: var(--hbs-media-pos-x, 50%) var(--hbs-media-pos-y, 50%);
}

.hbs-media--youtube {
	inset: -10% -15%;
	width: 130%;
	height: 120%;
}

.hbs-media--youtube iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Zoom-in suave na mídia do slide ativo */
.hbs-hero--media-zoom .hbs-slide-front.is-active .hbs-media img,
.hbs-hero--media-zoom .hbs-slide-front.is-active .hbs-media video,
.hbs-hero--media-zoom .hbs-slide-front.is-active .hbs-media iframe {
	animation: hbs-media-zoom 12s ease-out forwards;
	transform-origin: center center;
	will-change: transform;
}

.hbs-hero--media-zoom .hbs-slide-front:not(.is-active) .hbs-media img,
.hbs-hero--media-zoom .hbs-slide-front:not(.is-active) .hbs-media video,
.hbs-hero--media-zoom .hbs-slide-front:not(.is-active) .hbs-media iframe {
	animation: none;
	transform: scale(1);
}

@keyframes hbs-media-zoom {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hbs-hero--media-zoom .hbs-slide-front.is-active .hbs-media img,
	.hbs-hero--media-zoom .hbs-slide-front.is-active .hbs-media video,
	.hbs-hero--media-zoom .hbs-slide-front.is-active .hbs-media iframe {
		animation: none;
	}
}

.hbs-slide-front__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 13, 26, 0.6);
	pointer-events: none;
}

.hbs-slide-front__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	width: 100%;
	min-height: inherit;
	padding: 6rem 3.25rem 5rem;
}

/* Shell = coluna do Elementor (max-width do kit / controle). Alinhamento horizontal age DENTRO dela. */
.hbs-slide-front__shell {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	max-width: min(90%, var(--hbs-content-max)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	min-width: 0;
	box-sizing: border-box;
}

.hbs-slide-front__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: auto;
	max-width: 100%;
	margin: 0;
	padding: 0;
	min-width: 0;
}

@media (max-width: 767px) {
	.hbs-slide-front__content {
		/* Espaço para as setas + respiro da borda */
		padding-left: 3.5rem;
		padding-right: 3.5rem;
	}
}

.hbs-eyebrow {
	display: inline-block;
	margin: 0;
	border: 1px solid rgba(201, 169, 97, 0.45);
	background: rgba(201, 169, 97, 0.35);
	border-radius: 9999px;
	padding: 0.25rem 1rem;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #1a1208;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.hbs-title {
	margin: 1rem 0 0;
	max-width: var(--hbs-title-max);
	font-size: clamp(1.75rem, 4vw, 3.75rem);
	font-weight: 900;
	line-height: 1.05;
	color: var(--hbs-cream);
}

.hbs-title p {
	margin: 0;
}

.hbs-title .hbs-highlight,
.hbs-title .text-gold,
.hbs-title .highlight-gold {
	color: var(--hbs-gold);
}

.hbs-text {
	margin-top: 1.25rem;
	max-width: var(--hbs-text-max, 36rem);
	font-size: 15px;
	line-height: 1.55;
	color: #ffffff;
}

.hbs-text p {
	margin: 0 0 0.5em;
}

.hbs-text p:last-child {
	margin-bottom: 0;
}

.hbs-actions,
.hbs-hero .elementor-button-wrapper {
	margin-top: 1.75rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	width: auto;
	max-width: 100%;
}

/* Botão no padrão Elementor (kit + estilos do widget). */
.hbs-hero .elementor-button {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	border: none;
	box-shadow: none;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hbs-hero .elementor-button-content-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
}

.hbs-hero .elementor-button-text {
	flex: 1 1 auto;
	text-align: left;
}

.hbs-hero .elementor-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: #ffffff;
	color: var(--hbs-brand, #0a3c6b);
	line-height: 1;
}

.hbs-hero .elementor-button-icon svg {
	display: block;
	width: 0.95rem;
	height: 0.95rem;
}

.hbs-hero .elementor-button:hover .elementor-button-icon,
.hbs-hero .elementor-button:focus .elementor-button-icon {
	color: var(--hbs-brand, #0a3c6b);
}

/* Fallback quando o kit Elementor não carrega (preview admin). */
body.hbs-preview-body .hbs-hero .elementor-button {
	background-color: #91805b;
	color: #faf9f8;
	font-family: "Open Sans", system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	border-radius: 999px;
	padding: 4px 8px 4px 24px;
}

body.hbs-preview-body .hbs-hero .elementor-button:hover,
body.hbs-preview-body .hbs-hero .elementor-button:focus {
	background-color: #0a3c6b;
	color: #ffffff;
}

/* Setas grudadas nas laterais da tela */
.hbs-arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 9999px;
	cursor: pointer;
	color: var(--hbs-cream);
	background: rgba(245, 240, 230, 0.2);
	backdrop-filter: blur(4px);
	line-height: 0;
	transition: color 0.2s, background-color 0.2s;
}

.hbs-arrow svg {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.hbs-arrow--prev {
	left: 8px;
}

.hbs-arrow--next {
	right: 8px;
}

.hbs-arrow:hover {
	color: var(--hbs-gold);
	background: rgba(245, 240, 230, 0.3);
}

@media (min-width: 768px) {
	.hbs-arrow {
		width: 2.75rem;
		height: 2.75rem;
		color: var(--hbs-brand);
		background: rgba(245, 240, 230, 0.9);
		box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	}

	.hbs-arrow--prev {
		left: 12px;
	}

	.hbs-arrow--next {
		right: 12px;
	}

	.hbs-arrow:hover {
		color: var(--hbs-brand);
		background: var(--hbs-gold);
	}
}

@media (min-width: 1280px) {
	.hbs-arrow--prev {
		left: 16px;
	}

	.hbs-arrow--next {
		right: 16px;
	}
}

.hbs-dots {
	--hbs-dot-w: 1.25rem;
	--hbs-dot-w-active: 2.5rem;
	--hbs-dot-h: 0.375rem;
	position: absolute;
	bottom: 1.75rem;
	left: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transform: translateX(-50%);
}

.hbs-dot {
	width: var(--hbs-dot-w);
	height: var(--hbs-dot-h);
	border: 0;
	border-radius: 9999px;
	padding: 0;
	cursor: pointer;
	background: rgba(245, 240, 230, 0.35);
	transition: width 0.3s, background-color 0.3s;
	flex: 0 0 auto;
}

.hbs-dot.is-active {
	width: var(--hbs-dot-w-active);
	background: var(--hbs-cream);
}

.hbs-dot:hover {
	background: var(--hbs-gold);
}

@keyframes hbs-enter {
	from {
		opacity: 0;
		transform: translateX(-2rem);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.hbs-enter {
	animation: hbs-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hbs-enter--1 {
	animation-delay: 0ms;
}
.hbs-enter--2 {
	animation-delay: 100ms;
}
.hbs-enter--3 {
	animation-delay: 200ms;
}
.hbs-enter--4 {
	animation-delay: 300ms;
}

@media (prefers-reduced-motion: reduce) {
	.hbs-enter {
		animation: none;
	}
}

.hbs-elementor-editbar {
	background: #111827;
	color: #fff;
	padding: 8px 12px;
	font-size: 13px;
	text-align: center;
	font-family: system-ui, sans-serif;
}

.hbs-elementor-editbar a {
	color: #93c5fd;
	font-weight: 600;
	text-decoration: none;
}

.hbs-elementor-empty {
	padding: 28px;
	text-align: center;
	background: #f8fafc;
	border: 1px dashed #c3c4c7;
	border-radius: 10px;
	font-family: system-ui, sans-serif;
	color: #6b7280;
}
