/* ── EMPREENDIMENTO.CSS — página individual de projeto ── */

/* ── HERO ─────────────────────────────────────────── */
.emp-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  overflow: hidden;
}
.emp-hero-bg {
  position: absolute;
  inset: 0;
}
.emp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}
.emp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(79,44,29,0.1) 0%, rgba(79,44,29,0.65) 100%);
}
.emp-hero-content {
  position: relative;
  z-index: 2;
}
.emp-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 20px;
}
.emp-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  font-synthesis: none;
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0, "hist" 0, "ss01" 0, "ss02" 0, "ss03" 0;
}
.emp-hero-location {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin-bottom: 40px;
}
.emp-sep { opacity: 0.4; }
.emp-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.emp-hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 6vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ── FICHA TÉCNICA ───────────────────────────────── */
.emp-specs {
  background: var(--cream);
  padding: 60px 0;
  border-bottom: 1px solid rgba(79,44,29,0.1);
}
.emp-specs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.emp-spec {
  padding: 24px 32px;
  border-right: 1px solid rgba(79,44,29,0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.emp-spec:last-child { border-right: none; }
.emp-spec-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.emp-spec-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--brown-deep);
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0;
}

/* ── SOBRE O PROJETO ─────────────────────────────── */
.emp-about {
  padding: 120px 0;
  background: var(--white);
}
.emp-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.emp-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-top: 20px;
}
.emp-highlights {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.emp-highlight {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(79,44,29,0.08);
}
.emp-highlight:last-child { border-bottom: none; padding-bottom: 0; }
.emp-highlight-icon {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding-top: 3px;
  min-width: 24px;
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0;
}
.emp-highlight h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--brown-deep);
  margin-bottom: 4px;
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0;
}
.emp-highlight p {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.6;
}
.emp-about-media {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
}
.emp-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── GALERIA CAROUSEL ────────────────────────────── */
.emp-gallery {
  background: var(--near-black);
  position: relative;
}
.emp-gallery-carousel {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
}
.emp-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.emp-gallery-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}
.emp-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.emp-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.emp-gallery-btn:hover { background: rgba(198,110,78,0.75); border-color: transparent; }
.emp-gallery-btn svg { width: 22px; height: 22px; }
.emp-gallery-btn--prev { left: 32px; }
.emp-gallery-btn--next { right: 32px; }
.emp-gallery-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.gallery-dot.is-active {
  background: var(--white);
  transform: scale(1.3);
}

/* ── DIFERENCIAIS ────────────────────────────────── */
.emp-features {
  padding: 120px 0;
  background: var(--cream);
}
.emp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.emp-feature {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s ease;
}
.emp-feature:hover { background: var(--brown-deep); }
.emp-feature:hover .emp-feature-icon,
.emp-feature:hover h4 { color: var(--white); }
.emp-feature-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  transition: color 0.3s;
  flex-shrink: 0;
}
.emp-feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.emp-feature h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--brown-deep);
  transition: color 0.3s;
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0;
}

/* ── LOCALIZAÇÃO ─────────────────────────────────── */
.emp-location {
  padding: 120px 0;
  background: var(--white);
}
.emp-location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.emp-location-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.emp-location-tags span {
  padding: 8px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 13px;
  color: var(--warm-gray);
}
.emp-map-placeholder {
  height: 380px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  border: 1px solid var(--line-dark);
}

/* ── CTA FINAL ───────────────────────────────────── */
.emp-cta {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}
.emp-cta-bg {
  position: absolute;
  inset: 0;
}
.emp-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25);
}
.emp-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(79,44,29,0.7);
}
.emp-cta-content {
  position: relative;
  z-index: 2;
}
.emp-cta-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--white);
  line-height: 1.2;
  margin: 12px auto 20px;
  font-synthesis: none;
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0, "hist" 0, "ss01" 0, "ss02" 0, "ss03" 0;
  max-width: 720px;
}
.emp-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-btn:hover { background: rgba(198,110,78,0.6); border-color: transparent; }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-btn--prev { left: 28px; }
.lightbox-btn--next { right: 28px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}
.emp-gallery-slide { cursor: zoom-in; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .emp-specs-grid { grid-template-columns: repeat(3, 1fr); }
  .emp-about-grid { grid-template-columns: 1fr; }
  .emp-location-grid { grid-template-columns: 1fr; }
  .emp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .emp-gallery-carousel { height: 56vw; min-height: 320px; }
  .emp-gallery-btn { width: 40px; height: 40px; }
  .emp-gallery-btn--prev { left: 16px; }
  .emp-gallery-btn--next { right: 16px; }
}
@media (max-width: 768px) {
  .emp-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emp-spec { padding: 20px 18px; }
  .emp-spec:nth-child(2n) { border-right: none; }
  .emp-spec-value { font-size: 19px; }
  .emp-features-grid { grid-template-columns: 1fr; }
  .emp-feature { padding: 22px 20px; flex-direction: row; align-items: center; gap: 18px; }
  .emp-about { padding: 80px 0; }
  .emp-about-grid { gap: 48px; }
  .emp-features, .emp-location { padding: 80px 0; }
  .emp-location-grid { gap: 48px; }
  .emp-cta { padding: 100px 0; }
  .emp-cta-title { font-size: clamp(28px, 8vw, 40px); }
  .emp-hero { padding-bottom: 72px; }
  .emp-hero-title { font-size: clamp(32px, 8.5vw, 52px); word-break: break-word; }
  .emp-hero-actions { flex-direction: column; align-items: flex-start; }
  .emp-hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .emp-hero-scroll { display: none; }
}
@media (max-width: 420px) {
  .emp-specs-grid { grid-template-columns: 1fr; }
  .emp-spec { border-right: none; border-bottom: 1px solid rgba(79,44,29,0.12); }
  .emp-spec:last-child { border-bottom: none; }
}
