.eop-home-projects {
	--eop-ink: #111111;
	--eop-paper: #ffffff;
	--eop-muted: #666666;
	--eop-line: rgba(17, 17, 17, 0.22);
	--eop-ease: cubic-bezier(0.22, 1, 0.36, 1);
	color: var(--eop-ink);
	font: inherit;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: none;
	overflow-x: clip;
	position: relative;
	right: 50%;
	width: 100vw;
}

body:has(.eop-home-projects) {
	overflow-x: clip;
}

/* Elementos globais: cabeçalho fixo e rodapé no fluxo normal da página. */
.elementor-location-header {
	background: #ffffff;
	position: sticky !important;
	top: 0;
	z-index: 1000;
}

.admin-bar .elementor-location-header {
	top: 32px;
}

.elementor-location-header .e-con-inner {
	max-width: none !important;
	width: 100% !important;
}

.elementor-location-footer,
.elementor-location-footer .e-con {
	--position: relative !important;
	bottom: auto !important;
	left: auto !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
}

.eop-home-projects *,
.eop-home-projects *::before,
.eop-home-projects *::after {
	box-sizing: border-box;
}

.eop-featured,
.eop-carousel,
.eop-carousel-track {
	position: relative;
	width: 100%;
}

.eop-carousel {
	background: #171717;
	height: clamp(30rem, 72svh, 48rem);
	overflow: hidden;
}

.eop-carousel-track {
	height: 100%;
}

.eop-slide {
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 700ms var(--eop-ease), visibility 700ms;
	visibility: hidden;
}

.eop-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
	z-index: 1;
}

.eop-slide-link,
.eop-slide-media,
.eop-slide-shade {
	display: block;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.eop-slide-media {
	overflow: hidden;
}

.eop-project-image,
.eop-image-placeholder {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.eop-image-placeholder {
	background: #e6e6e2;
}

.eop-slide .eop-project-image {
	transform: scale(1.035);
	transition: transform 7s ease-out;
}

.eop-slide.is-active .eop-project-image {
	transform: scale(1);
}

.eop-slide-shade {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 38%, rgba(0, 0, 0, 0.66) 100%);
}

.eop-slide-copy {
	bottom: clamp(2rem, 5vw, 4.5rem);
	color: #ffffff;
	left: clamp(1.25rem, 4vw, 4.5rem);
	max-width: min(78rem, calc(100% - 10rem));
	position: absolute;
	z-index: 2;
}

.eop-slide-kicker,
.eop-slide-location,
.eop-project-meta {
	font-size: clamp(0.66rem, 0.7vw, 0.78rem);
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.35;
	text-transform: uppercase;
}

.eop-slide-title {
	color: inherit;
	font: inherit;
	font-size: clamp(2.4rem, 6.5vw, 7.5rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.93;
	margin: 0.22em 0 0.18em;
	text-wrap: balance;
}

.eop-carousel-controls {
	align-items: center;
	bottom: clamp(2rem, 4vw, 4rem);
	color: #ffffff;
	display: flex;
	gap: 1.5rem;
	position: absolute;
	right: clamp(1.25rem, 4vw, 4.5rem);
	z-index: 3;
}

.eop-carousel-count {
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
}

.eop-carousel-buttons {
	display: flex;
	gap: 0.45rem;
}

.eop-carousel-button {
	align-items: center;
	background: rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.76);
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	height: 2.9rem;
	justify-content: center;
	padding: 0;
	transition: background-color 180ms ease, color 180ms ease;
	width: 2.9rem;
}

.eop-carousel-button:hover,
.eop-carousel-button:focus-visible {
	background: #ffffff;
	color: #111111;
}

.eop-carousel-button svg {
	fill: none;
	height: 1.1rem;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.4;
	width: 1.1rem;
}

.eop-carousel-dots {
	display: flex;
	gap: 0.45rem;
	left: clamp(1.25rem, 4vw, 4.5rem);
	position: absolute;
	top: clamp(1.25rem, 3vw, 3rem);
	z-index: 3;
}

.eop-carousel-dots button {
	background: rgba(255, 255, 255, 0.46);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	height: 0.42rem;
	padding: 0;
	transition: background-color 180ms ease, transform 180ms ease;
	width: 0.42rem;
}

.eop-carousel-dots button.is-active {
	background: #ffffff;
	transform: scale(1.45);
}

.eop-project-list {
	background: var(--eop-paper);
	padding: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 4vw, 4.5rem) clamp(5rem, 10vw, 10rem);
}

.eop-project-list-items {
	border-top: 1px solid var(--eop-line);
}

.eop-project-row {
	border-bottom: 1px solid var(--eop-line);
	margin: 0;
}

.eop-project-row-link {
	align-items: start;
	color: inherit;
	display: grid;
	gap: clamp(1rem, 1.8vw, 2rem);
	grid-template-columns: minmax(14rem, 1fr) minmax(20rem, 1.05fr);
	padding: clamp(1.1rem, 2vw, 2rem) 0;
	text-decoration: none !important;
}

.eop-project-copy {
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-self: end;
	transition: opacity 180ms ease;
	width: min(100%, 27rem);
}

.eop-project-copy h3 {
	color: inherit;
	font: inherit;
	font-size: clamp(1.35rem, 2.2vw, 2.8rem);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin: 0;
	text-decoration: none !important;
	text-wrap: balance;
}

.eop-project-meta {
	color: var(--eop-muted);
}

.eop-project-media {
	aspect-ratio: 16 / 10;
	display: block;
	justify-self: end;
	overflow: hidden;
	width: min(100%, 52rem);
}

.eop-project-media .eop-project-image {
	transform: scale(1.001);
	transition: filter 200ms ease, transform 240ms var(--eop-ease);
}

.eop-project-row-link:hover .eop-project-copy,
.eop-project-row-link:focus-visible .eop-project-copy {
	opacity: 0.7;
}

.eop-project-row-link:hover .eop-project-image,
.eop-project-row-link:focus-visible .eop-project-image {
	filter: brightness(0.96);
	transform: scale(1.015);
}

.eop-empty-projects {
	padding: 4rem;
}

@media (max-width: 900px) {
	.eop-carousel {
		height: max(29rem, 66svh);
	}

	.eop-slide-copy {
		bottom: 5.8rem;
		max-width: calc(100% - 2.5rem);
	}

	.eop-carousel-controls {
		bottom: 1.5rem;
		left: 1.25rem;
		right: 1.25rem;
		justify-content: space-between;
	}

	.eop-project-row-link {
		grid-template-columns: 1fr;
	}

	.eop-project-copy {
		justify-self: stretch;
		width: 100%;
	}

	.eop-project-media {
		grid-column: 1 / -1;
		justify-self: stretch;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.eop-carousel {
		height: max(26rem, 62svh);
	}

	.eop-slide-title {
		font-size: clamp(2.25rem, 11.5vw, 4.2rem);
	}

	.eop-slide-kicker,
	.eop-slide-location,
	.eop-project-meta {
		font-size: 0.68rem;
	}

	.eop-project-list {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.eop-project-row-link {
		gap: 0.85rem;
		grid-template-columns: 1fr;
		padding: 1.3rem 0 1.8rem;
	}

	.eop-project-copy {
		gap: 0.65rem;
	}

	.eop-project-copy h3 {
		font-size: clamp(1.65rem, 8.5vw, 2.7rem);
	}

	.eop-project-media {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 782px) {
	.admin-bar .elementor-location-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eop-home-projects *,
	.eop-home-projects *::before,
	.eop-home-projects *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
