/* ===================================================================
   ZEFER | páginas de empreendimento (/imoveis/<slug>/)
   Reaproveita as variáveis e componentes base de styles.css.
   =================================================================== */

/* ----------------------------- HERO ----------------------------- */
.emp-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  padding: 84px 0 64px;
  overflow: hidden;
}
.emp-hero-bg { position: absolute; inset: 0; z-index: 0; }
.emp-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.emp-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,9,0.92) 0%, rgba(7,7,9,0.6) 45%, rgba(7,7,9,0.2) 100%),
    linear-gradient(0deg, var(--bg) 2%, rgba(10,10,12,0.15) 40%, rgba(10,10,12,0.5) 100%);
}
.emp-hero-inner { position: relative; z-index: 2; width: 100%; }

.emp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
  transition: color 0.3s;
}
.emp-back:hover { color: var(--gold-bright); }

.emp-hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.emp-hero-meta .badge { position: static; }
.emp-cat {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.emp-hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #f6f3ec;
  margin-bottom: 16px;
}
.emp-hero-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-bright);
  font-size: 1rem;
  margin-bottom: 22px;
}
.emp-hero-loc .loc-ico { width: 18px; height: 18px; }
.emp-hero-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: #d8d4ca;
  max-width: 30ch;
  margin-bottom: 38px;
}
.emp-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-ico { width: 19px; height: 19px; }

/* ----------------------------- SOBRE ----------------------------- */
.emp-sobre { background: var(--bg); }
.emp-about p { color: var(--text-dim); font-size: 1.02rem; line-height: 1.8; }
.emp-about p + p { margin-top: 18px; }

/* ----------------------------- VÍDEO (filme do empreendimento) ----------------------------- */
.emp-video { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.video-frame {
  position: relative;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  color: var(--gold);
  background: rgba(10, 10, 12, 0.35);
  border-radius: 50%;
  backdrop-filter: blur(2px);
  transition: transform 0.3s var(--ease), color 0.3s, background 0.3s, opacity 0.3s;
}
.video-play svg { width: 100%; height: 100%; }
.video-play:hover { transform: scale(1.08); color: var(--gold-bright); background: rgba(10, 10, 12, 0.2); }
.video-frame.playing .video-play { opacity: 0; pointer-events: none; visibility: hidden; }

/* ----------------------------- listas com ícone ----------------------------- */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-dim); font-size: 1rem; line-height: 1.5; }
.feature-list .li-ico { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.feature-list span { padding-top: 0; }

/* ----------------------------- DIFERENCIAIS ----------------------------- */
.emp-diferenciais { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 32px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.diff-card:hover { transform: translateY(-5px); border-color: var(--line); }
.diff-ico {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
}
.diff-ico svg { width: 26px; height: 26px; }
.diff-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: #f3f0e9; margin-bottom: 10px; }
.diff-text { color: var(--text-dim); font-size: 0.96rem; line-height: 1.6; }

/* ----------------------------- LOCALIZAÇÃO ----------------------------- */
.emp-local { background: var(--bg); border-top: 1px solid var(--line-soft); }
.local-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
  margin-top: 24px;
}
.local-address { color: var(--gold-bright); font-size: 1rem; margin: 14px 0 26px; }
.local-map {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}
.local-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ----------------------------- TIPOLOGIAS ----------------------------- */
.emp-tipologias { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.typo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.typo-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.typo-media { aspect-ratio: 4 / 3; overflow: hidden; }
.typo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.typo-card:hover .typo-media img { transform: scale(1.06); }
.typo-ico {
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(201,162,75,0.06), transparent);
}
.typo-ico svg { width: 40px; height: 40px; }
.typo-body { padding: 22px 22px 26px; }
.typo-name { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: #f3f0e9; margin-bottom: 6px; }
.typo-area { color: var(--gold-bright); font-size: 0.92rem; font-weight: 600; margin-bottom: 8px; }
.typo-meta { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 6px; }
.typo-detail { color: var(--text-faint); font-size: 0.88rem; line-height: 1.5; }
.emp-note { color: var(--text-faint); font-size: 0.82rem; margin-top: 28px; text-align: center; }

/* ----------------------------- LAZER ----------------------------- */
.emp-lazer { background: var(--bg); border-top: 1px solid var(--line-soft); }
.amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 30px;
  margin: 50px 0 54px;
}
.amenities li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 1rem; }
.amenities .li-ico { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }

/* ----------------------------- TECNOLOGIA E SEGURANÇA ----------------------------- */
.emp-tech { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 54px; }
.tech-col {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 36px 34px;
}
.tech-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.tech-head svg { width: 30px; height: 30px; color: var(--gold); }
.tech-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: #f3f0e9; }

/* ----------------------------- SUSTENTABILIDADE ----------------------------- */
.emp-sustain { background: var(--bg); border-top: 1px solid var(--line-soft); }
.emp-sustain .feature-list { max-width: 640px; margin-top: 40px; }

/* ----------------------------- CONDIÇÕES COMERCIAIS ----------------------------- */
.emp-condicoes { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.cond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.cond-card {
  background: linear-gradient(160deg, rgba(201,162,75,0.1), rgba(201,162,75,0.02));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cond-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.cond-value { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.25; color: #f5efe1; }

/* CTA do empreendimento */
.cta-wa { margin-top: 8px; }

/* ----------------------------- RESPONSIVO ----------------------------- */
@media (max-width: 980px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .local-grid { grid-template-columns: 1fr; gap: 30px; }
  .typo-grid { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; gap: 22px; }
  .cond-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .emp-hero { min-height: 90vh; padding-top: 70px; }
  .emp-hero-actions { flex-direction: column; align-items: stretch; }
  .emp-hero-actions .btn { width: 100%; }
  .diff-grid { grid-template-columns: 1fr; }
  .typo-grid { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .local-map iframe { height: 320px; }
  .video-play { width: 64px; height: 64px; }
}
