/* =========================================================
   Single Empreendimento – layout
   Respeita a largura padrão do Elementor (1140px).
   ========================================================= */

.empreendimento-single {
	background: #fff;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Hero / Capa */
.empreendimento-hero {
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.empreendimento-hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
}

/* Container interno – mesmo grid do Elementor (default 1140px). */
.empreendimento-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 48px 20px;
	box-sizing: border-box;
}

.empreendimento-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

/* Coluna esquerda (título + conteúdo) */
.empreendimento-content .entry-title {
	font-size: 2.25rem;
	line-height: 1.15;
	margin: 0 0 1.25rem;
	font-weight: 700;
}

.empreendimento-content .entry-content {
	font-size: 1rem;
	line-height: 1.65;
	color: #333;
}

.empreendimento-content .entry-content p {
	margin: 0 0 1em;
}

.empreendimento-content .entry-content a {
	color: #d63384;
	text-decoration: none;
	font-weight: 600;
}

.empreendimento-content .entry-content a:hover {
	text-decoration: underline;
}

/* Coluna direita (galeria) */
.empreendimento-gallery-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.empreendimento-gallery-item {
	margin: 0;
}

.empreendimento-gallery-link {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	aspect-ratio: 4 / 3;
	background: #f2f2f2;
}

.empreendimento-gallery-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.empreendimento-gallery-link:hover img {
	transform: scale(1.04);
}

/* Responsivo */
@media (max-width: 900px) {
	.empreendimento-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.empreendimento-container {
		padding: 32px 16px;
	}

	.empreendimento-content .entry-title {
		font-size: 1.75rem;
	}
}

@media (max-width: 480px) {
	.empreendimento-gallery-grid {
		gap: 10px;
	}
}

/* =========================================================
   Lightbox
   ========================================================= */

.emp-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 24px;
	box-sizing: border-box;
}

.emp-lightbox.is-open {
	display: flex;
}

.emp-lightbox__stage {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.emp-lightbox__img {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	display: block;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	user-select: none;
}

.emp-lightbox__btn {
	position: absolute;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.emp-lightbox__btn:hover,
.emp-lightbox__btn:focus-visible {
	background: rgba(255, 255, 255, 0.25);
	outline: none;
}

.emp-lightbox__close {
	top: 20px;
	right: 20px;
}

.emp-lightbox__prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.emp-lightbox__next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.emp-lightbox__counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	letter-spacing: 0.04em;
}

@media (max-width: 600px) {
	.emp-lightbox__btn {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.emp-lightbox__close { top: 12px; right: 12px; }
	.emp-lightbox__prev  { left: 8px; }
	.emp-lightbox__next  { right: 8px; }
}
