/* =====================================================
   PORTFÓLIO / EMPREENDIMENTOS
===================================================== */

.home-portfolio {
	position: relative;
	z-index: 2;
	padding: 40px 0 120px;
	background: transparent;
	color: #ffffff;
}

/* =====================================================
   DIVISOR SUPERIOR
===================================================== */

.portfolio-divider {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 80px;
	margin-bottom: 70px;
}

.portfolio-divider::before,
.portfolio-divider::after {
	content: "";
	height: 2px;
	background: rgba(255, 255, 255, 0.9);
}

.portfolio-divider span {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 320px;
	padding: 16px 38px;

	border: 2px solid rgba(255, 255, 255, 0.95);
	background: rgba(255, 255, 255, 0.05);

	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);

	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;

	color: #ffffff;
}

/* =====================================================
   GRID DOS CARDS
===================================================== */

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 42px;
}

/* =====================================================
   CARD
===================================================== */

.portfolio-card {
	display: grid;
	grid-template-columns: 1fr 1fr;

	min-height: 460px;

	overflow: hidden;

	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.04);

	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);

	transition:
		transform 0.4s ease,
		border-color 0.4s ease,
		box-shadow 0.4s ease,
		background 0.4s ease;
}

.portfolio-card:hover {
	transform: translateY(-8px);

	border-color: rgba(255, 255, 255, 0.75);

	background: rgba(255, 255, 255, 0.07);

	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
}

/* =====================================================
   IMAGEM
===================================================== */

.portfolio-card__image {
	position: relative;
	height: 100%;
	overflow: hidden;
}

.portfolio-card__image::after {
	content: "";
	position: absolute;
	inset: 0;

	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.04),
		rgba(0, 0, 0, 0.18)
	);

	pointer-events: none;
}

.portfolio-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;

	transition: transform 0.8s ease;
}

.portfolio-card:hover .portfolio-card__image img {
	transform: scale(1.06);
}

/* =====================================================
   CONTEÚDO DO CARD
   Mesmo conceito visual do bloco "EM BREVE"
===================================================== */

.portfolio-card__content {
	position: relative;
	overflow: hidden;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	padding: 46px 36px;

	text-align: center;

	background: rgba(255, 255, 255, 0.05);

	backdrop-filter: blur(8px) saturate(130%);
	-webkit-backdrop-filter: blur(8px) saturate(130%);

	border-left: 1px solid rgba(255, 255, 255, 0.26);

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.16),
		inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

/* Camada escura suave para dar leitura e igualar ao "EM BREVE" */
.portfolio-card__content::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;

	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.28),
		rgba(0, 0, 0, 0.14)
	);

	pointer-events: none;
}

/* Conteúdo acima da camada */
.portfolio-card__content > * {
	position: relative;
	z-index: 1;
}


/* =====================================================
   TÍTULO DO CARD
===================================================== */

/* =====================================================
   TÍTULO DO CARD
===================================================== */

.portfolio-card__content h2 {
	margin: 0 0 28px;

	font-size: 30px;
	line-height: 1.08;
	font-weight: 800;

	text-transform: uppercase;
	letter-spacing: 0.04em;

	color: var(--primary);

	text-shadow:
		0 2px 10px rgba(0, 0, 0, 0.24);
}

/* =====================================================
   LINHA DIVISÓRIA
===================================================== */

.portfolio-card__line {
	width: 100%;
	height: 1px;

	margin-bottom: 34px;

	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 230, 150, 0.35) 18%,
		rgba(247, 173, 4, 0.95) 50%,
		rgba(255, 230, 150, 0.35) 82%,
		transparent 100%
	);

	box-shadow:
		0 0 10px rgba(247, 173, 4, 0.28);
}

/* =====================================================
   TIPOLOGIA
===================================================== */

.portfolio-card__type {
	margin: 0 0 28px;

	font-size: 18px;
	line-height: 1.5;

	text-transform: uppercase;
	letter-spacing: 0.04em;

	color: rgba(255, 255, 255, 0.88);
}

/* =====================================================
   ENDEREÇO
===================================================== */

.portfolio-card__address {
	margin: 0 0 36px;

	font-size: 14px;
	line-height: 1.5;

	font-weight: 700;

	text-transform: uppercase;
	letter-spacing: 0.05em;

	color: rgba(255, 255, 255, 0.82);
}


/* =====================================================
   BOTÃO
===================================================== */

.portfolio-card__content a {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 270px;
	min-height: 60px;

	padding: 0 32px;

	border-radius: 999px;

	background: linear-gradient(
		135deg,
		#ffe28a 0%,
		#f7ad04 34%,
		#d89000 58%,
		#ffc94f 82%,
		#f7ad04 100%
	);

	color: #ffffff;

	border: 1px solid rgba(255, 224, 130, 0.85);

	font-size: 14px;
	font-weight: 800;

	text-transform: uppercase;
	letter-spacing: 0.08em;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -1px 0 rgba(120, 75, 0, 0.22),
		0 12px 26px rgba(247, 173, 4, 0.24);

	transition:
		transform 0.3s ease,
		background 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

.portfolio-card__content a:hover {
	transform: translateY(-2px);

	background: #ffffff;
	color: #f7ad04;

	border-color: rgba(247, 173, 4, 0.75);

	box-shadow:
		0 14px 30px rgba(255, 255, 255, 0.18),
		0 0 0 1px rgba(247, 173, 4, 0.16);
}

/* =====================================================
   RESPONSIVO TABLET
===================================================== */

@media (max-width: 1100px) {
	.portfolio-grid {
		grid-template-columns: 1fr;
	}
}

/* =====================================================
   RESPONSIVO MOBILE
===================================================== */

@media (max-width: 700px) {
	.home-portfolio {
		padding: 20px 0 80px;
	}

	.portfolio-divider {
		gap: 18px;
		margin-bottom: 40px;
	}

	.portfolio-divider span {
		min-width: auto;
		padding: 10px 20px;

		font-size: 14px;
		letter-spacing: 0.14em;
	}

	.portfolio-card {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.portfolio-card__image {
		min-height: 280px;
	}

	.portfolio-card__content {
		padding: 36px 24px;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.22);
	}

	.portfolio-card__content h2 {
		font-size: 24px;
	}

	.portfolio-card__type {
		font-size: 16px;
	}

	.portfolio-card__content a {
		width: 100%;
		min-width: 0;
	}
}

/* =====================================================
   GRUPOS DE EMPREENDIMENTOS
===================================================== */

.portfolio-group {
	margin-bottom: 90px;
}

.portfolio-group:last-child {
	margin-bottom: 0;
}

.portfolio-group + .portfolio-group {
	margin-top: 90px;
}

/* =====================================================
   FILTRO / NAVEGAÇÃO DOS LANÇAMENTOS
===================================================== */

.home-launch-filter {
	position: relative;
	z-index: 2;
	padding: 0 0 40px;
	background: transparent;
}

.home-launch-filter__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
}

.home-launch-filter__nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 48px;
	padding: 0 26px;

	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 999px;

	background: rgba(255, 255, 255, 0.06);

	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);

	color: #ffffff;

	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;

	transition:
		background 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.home-launch-filter__nav a:hover {
	transform: translateY(-2px);

	background: var(--primary);
	color: #ffffff;

	border-color: var(--primary);

	box-shadow:
		0 12px 26px rgba(247, 173, 4, 0.22);
}

/* Ajusta o ponto de parada quando clicar no filtro */
.portfolio-group {
	scroll-margin-top: 90px;
}

.portfolio-group + .portfolio-group {
	margin-top: 90px;
}

@media (max-width: 700px) {
	.home-launch-filter {
		padding: 0 0 32px;
	}

	.home-launch-filter__nav {
		gap: 12px;
	}

	.home-launch-filter__nav a {
		width: 100%;
		min-height: 46px;
		font-size: 11px;
	}
}

