/* =======================================================================
   LISTAGEM DE EMPREENDIMENTOS — com filtros interativos por fase
   ======================================================================= */

.page-empreendimentos-listagem-page .ee-eyebrow {
	display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 600;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	color: #C8A96A; margin-bottom: 16px;
}

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
.ee-hero {
	background: #0E3B2D; margin-top: -211px; padding: 250px 20px 80px;
	position: relative; overflow: hidden; text-align: center;
}
.ee-hero::before {
	content: ""; position: absolute; top: -30%; left: -8%; width: 460px; height: 460px;
	border-radius: 50%; border: 1px solid rgba(200,169,106,0.16);
}
.ee-hero__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.ee-hero__title {
	font-family: 'Ripon Script', 'Ephesis', cursive !important; font-weight: 400; font-size: clamp(52px, 8vw, 90px);
	line-height: 1.1; color: #FCFDFD; margin: 0 0 22px;
}
.ee-hero__desc {
	font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.7;
	color: rgba(252,253,253,0.78); max-width: 700px; margin: 0 auto;
	text-wrap: balance;
}

/* ---------------------------------------------------------------------
   FILTROS
   --------------------------------------------------------------------- */
.ee-filters-section {
	background: #FCFDFD; padding: 30px 20px; position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid #E7E3DA;
}
.ee-filters {
	max-width: 1180px; margin: 0 auto;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.ee-filter {
	font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
	color: #0E3B2D; background: #F6F4EF; border: 1px solid #E7E3DA;
	padding: 10px 20px; border-radius: 50px; cursor: pointer;
	display: inline-flex; align-items: center; gap: 8px;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ee-filter span {
	font-size: 11px; background: rgba(14,59,45,0.08); padding: 1px 7px; border-radius: 50px;
	transition: background 0.3s ease, color 0.3s ease;
}
.ee-filter:hover {
	border-color: #C8A96A !important;
	background: #F6F4EF !important;
	color: #0E3B2D !important;
}
.ee-filter.is-active { background: #0E3B2D; color: #FCFDFD; border-color: #0E3B2D; }
.ee-filter.is-active:hover {
	background: #0E3B2D !important;
	color: #FCFDFD !important;
	border-color: #C8A96A !important;
}
.ee-filter.is-active span { background: rgba(252,253,253,0.18); color: #FCFDFD; }

/* ---------------------------------------------------------------------
   GRID
   --------------------------------------------------------------------- */
.ee-grid-section { background: #F6F4EF; padding: 60px 20px 100px; min-height: 300px; }
.ee-grid {
	max-width: 1240px; margin: 0 auto;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.ee-card {
	display: block; text-decoration: none; background: #FCFDFD;
	border-radius: 14px; overflow: hidden; border: 1px solid #E7E3DA;
	transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease,
	            opacity 0.35s ease, filter 0.4s ease;
}
.ee-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(14,59,45,0.14); border-color: #C8A96A; }
.ee-card.is-hidden { display: none; }

.ee-card__media { position: relative; aspect-ratio: 4 / 3; background-size: cover; background-position: center; overflow: hidden; }
.ee-card__media::after {
	content: ""; position: absolute; inset: 0; background-image: inherit;
	background-size: cover; background-position: center; transform: scale(1);
	transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.ee-card:hover .ee-card__media::after { transform: scale(1.06); }
.ee-card__badge {
	position: absolute; top: 16px; left: 16px; z-index: 1;
	font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 10.5px;
	letter-spacing: 0.08em; text-transform: uppercase;
	padding: 7px 14px; border-radius: 50px; color: #FCFDFD;
}
.ee-card__badge--lancamento { background: #C8A96A; color: #0E3B2D; }
.ee-card__badge--futuro { background: rgba(14,59,45,0.85); border: 1px solid #C8A96A; }
.ee-card__badge--construcao { background: #B0703A; }
.ee-card__badge--entregue { background: #0E3B2D; }

/* Logo do empreendimento — canto oposto ao selo de fase. Só aparece
   quando cadastrada (campo `logo_midia_id`, ainda sem interface de
   cadastro — por enquanto só via banco de dados direto). */
.ee-card__logo {
	position: absolute; top: 16px; right: 16px; z-index: 1;
	max-width: 88px; max-height: 52px;
	background: rgba(14,59,45,0.55); backdrop-filter: blur(2px);
	border-radius: 8px; padding: 6px 10px;
	display: flex; align-items: center; justify-content: center;
}
.ee-card__logo img { max-width: 100%; max-height: 40px; width: auto; height: auto; display: block; }

.ee-card__body { padding: 22px 22px 24px; }
.ee-card__title {
	font-family: 'Marcellus', serif; font-weight: 400; font-size: 21px;
	color: #0E3B2D; margin: 0 0 8px;
}
.ee-card__tamanhos {
	font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
	color: #4A4A46; margin: 0 0 4px;
}
.ee-card__local {
	font-family: 'Montserrat', sans-serif; font-size: 13px; color: #8A8A82;
	margin: 0 0 18px; line-height: 1.5;
}
.ee-card__footer {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding-top: 16px; border-top: 1px solid #EFEBE2;
}
.ee-card__entrega {
	font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; color: #7A7A73;
}
.ee-card__arrow {
	flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #F6F4EF; color: #0E3B2D;
	transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.ee-card__arrow svg { width: 13px; height: 13px; }
.ee-card:hover .ee-card__arrow { background: #C8A96A; color: #0E3B2D; transform: rotate(45deg); }

.ee-empty {
	text-align: center; font-family: 'Montserrat', sans-serif; font-size: 15px;
	color: #8A8A82; padding: 60px 20px;
}

@media (max-width: 980px) { .ee-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.ee-hero { padding-top: 220px; }
	.ee-grid { grid-template-columns: 1fr; }
	.ee-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
	.ee-filter { white-space: nowrap; }
}

/* ---------------------------------------------------------------------
   CTA final
   --------------------------------------------------------------------- */
.ee-cta { background: #0E3B2D; padding: 110px 20px; text-align: center; }
.ee-cta__inner { max-width: 560px; margin: 0 auto; }
.ee-cta__title {
	font-family: 'Marcellus', serif; font-weight: 400; font-size: clamp(30px, 4.5vw, 44px);
	line-height: 1.2; color: #FCFDFD; margin: 0 0 34px;
}
.ee-btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px;
	text-decoration: none; padding: 16px 32px; border-radius: 50px;
	background: #C8A96A; color: #0E3B2D;
	transition: background 0.3s ease, transform 0.25s ease;
}
.ee-btn:hover { background: #FCFDFD; transform: translateY(-2px); }
.ee-btn svg { width: 18px; height: 18px; }
