/* Pagina premium de empreendimentos */
body.empreendimento-lightbox-aberta { overflow: hidden; }
body.empreendimento-lightbox-aberta .empreendimento-float-wa { display: none; }

.emp-container { width: min(1180px, 90vw); margin: 0 auto; }
.emp-section { padding: 88px 0; scroll-margin-top: 116px; }
.emp-section-dark { background: #101010; }
.emp-section-soft { background: var(--dark2); }
.emp-kicker { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 12px; }
.emp-title { max-width: 760px; color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 4vw, 52px); font-weight: 400; line-height: 1.05; }
.emp-lead { max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 22px; }

.emp-hero { position: relative; min-height: min(720px, calc(100svh - 112px)); margin-top: 68px; overflow: hidden; display: flex; align-items: flex-end; background: #080808; }
.emp-hero-media,
.emp-hero-media::after { position: absolute; inset: 0; }
.emp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.emp-hero-media::after { content: ''; background: linear-gradient(90deg, rgba(5,5,5,.93) 0%, rgba(5,5,5,.7) 46%, rgba(5,5,5,.15) 78%), linear-gradient(0deg, rgba(5,5,5,.9), transparent 55%); }
.emp-hero-content { position: relative; z-index: 2; width: min(1180px, 90vw); margin: 0 auto; padding: 80px 0 66px; }
.emp-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: rgba(255,255,255,.68); font-size: 12px; }
.emp-crumbs a { color: inherit; text-decoration: none; }
.emp-crumbs a:hover { color: var(--gold-light); }
.emp-category { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(232,201,122,.48); color: var(--gold-light); padding: 7px 11px; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; margin-bottom: 18px; background: rgba(7,7,7,.45); }
.emp-hero h1 { max-width: 760px; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: clamp(48px, 7vw, 88px); font-weight: 400; line-height: .95; }
.emp-hero-place { color: rgba(255,255,255,.76); font-size: 14px; margin-top: 16px; }
.emp-hero-positioning { max-width: 620px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.55; margin-top: 20px; }
.emp-hero-commercial { display: flex; align-items: end; flex-wrap: wrap; gap: 24px 40px; margin-top: 32px; }
.emp-hero-price small { display: block; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 7px; }
.emp-hero-price strong { color: var(--gold-light); font-size: clamp(28px, 4vw, 42px); line-height: 1; font-variant-numeric: tabular-nums; }
.emp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.emp-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 3px; padding: 13px 22px; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.emp-btn:hover { transform: translateY(-2px); }
.emp-btn-primary { background: var(--gold); color: #0b0b0b; }
.emp-btn-primary:hover { background: var(--gold-light); }
.emp-btn-outline { background: rgba(7,7,7,.42); border-color: rgba(255,255,255,.35); color: #fff; }
.emp-btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.emp-share { width: 48px; padding: 0; border-radius: 50%; }

.emp-anchor-nav { position: sticky; top: 68px; z-index: 45; background: rgba(13,13,13,.96); border-bottom: 1px solid rgba(201,168,76,.14); backdrop-filter: blur(12px); }
.emp-anchor-inner { width: min(1180px, 90vw); margin: 0 auto; display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.emp-anchor-inner::-webkit-scrollbar { display: none; }
.emp-anchor-inner a { flex: 0 0 auto; color: var(--muted); padding: 16px 0 14px; border-bottom: 2px solid transparent; text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.emp-anchor-inner a:hover { color: var(--gold-light); border-color: var(--gold); }

.emp-summary { background: #0a0a0a; border-bottom: 1px solid rgba(201,168,76,.12); }
.emp-summary-grid { width: min(1180px, 90vw); margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); }
.emp-summary-item { min-width: 0; padding: 28px 18px; border-right: 1px solid rgba(255,255,255,.07); }
.emp-summary-item:last-child { border-right: 0; }
.emp-summary-icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; }
.emp-summary-icon svg { width: 100%; height: 100%; }
.emp-summary-value { color: var(--white); font-size: 15px; font-weight: 600; line-height: 1.35; }
.emp-summary-label { color: var(--muted); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }

.emp-intro-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 80px; align-items: start; }
.emp-intro-aside { color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.25; border-left: 1px solid var(--gold); padding-left: 24px; }

.emp-gallery-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); grid-template-rows: repeat(2, 250px); gap: 7px; margin-top: 42px; }
.emp-gallery-item { position: relative; overflow: hidden; min-width: 0; padding: 0; border: 0; background: #080808; cursor: zoom-in; }
.emp-gallery-item:first-child { grid-row: 1 / 3; }
.emp-gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s, filter .45s; }
.emp-gallery-item:hover img { transform: scale(1.025); filter: brightness(1.07); }
.emp-gallery-count { position: absolute; right: 18px; bottom: 18px; padding: 9px 12px; background: rgba(5,5,5,.78); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.emp-gallery-actions { display: flex; justify-content: center; margin-top: 22px; }

.emp-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.emp-feature { background: var(--dark3); border: 1px solid rgba(201,168,76,.12); overflow: hidden; }
.emp-feature-media { aspect-ratio: 4 / 3; overflow: hidden; background: #080808; }
.emp-feature-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s; }
.emp-feature:hover img { transform: scale(1.03); }
.emp-feature-body { padding: 22px; }
.emp-feature h3 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.emp-feature p { color: var(--muted); font-size: 13px; line-height: 1.65; }

.emp-media-stage { margin-top: 38px; position: relative; min-height: 420px; background: #080808; border: 1px solid rgba(201,168,76,.18); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.emp-media-stage img { max-width: 100%; max-height: 720px; display: block; object-fit: contain; }
.emp-media-stage .emp-btn { position: absolute; right: 18px; bottom: 18px; }

.emp-types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.emp-type { border: 1px solid rgba(201,168,76,.16); background: #151515; padding: 28px; }
.emp-type-media { margin: -28px -28px 24px; aspect-ratio: 16 / 10; overflow: hidden; background: #080808; }
.emp-type-media img { width: 100%; height: 100%; display: block; object-fit: contain; }
.emp-type h3 { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 27px; font-weight: 600; }
.emp-type-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--gold-light); font-size: 12px; margin: 12px 0 16px; }
.emp-type p { color: var(--muted); font-size: 13px; line-height: 1.7; }

.emp-video-shell { margin-top: 38px; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #080808; border: 1px solid rgba(201,168,76,.18); }
.emp-video-poster { width: 100%; height: 100%; border: 0; padding: 0; position: relative; background: #080808; cursor: pointer; color: #fff; }
.emp-video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.emp-video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.emp-video-play span { width: 68px; height: 68px; border-radius: 50%; background: var(--gold); color: #080808; display: grid; place-items: center; font-size: 28px; padding-left: 4px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.emp-video-shell iframe { width: 100%; height: 100%; border: 0; }

.emp-location-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 42px; margin-top: 40px; align-items: stretch; }
.emp-place { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 30px; margin-bottom: 22px; }
.emp-nearby { display: grid; gap: 0; list-style: none; }
.emp-nearby li { color: var(--text); font-size: 13px; line-height: 1.5; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.emp-nearby li::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 0; background: var(--gold); }
.emp-map { min-height: 420px; overflow: hidden; border: 1px solid rgba(201,168,76,.16); background: #0a0a0a; }
.emp-map iframe { width: 100%; height: 100%; min-height: 420px; display: block; border: 0; }
.emp-map-link { margin-top: 14px; display: inline-flex; color: var(--gold-light); font-size: 12px; text-decoration: none; }

.emp-commercial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 70px; align-items: center; }
.emp-commercial-price small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }
.emp-commercial-price strong { display: block; color: var(--gold); font-size: clamp(38px, 5vw, 60px); margin-top: 9px; font-variant-numeric: tabular-nums; }
.emp-commercial-detail { color: var(--text); margin-top: 18px; }
.emp-commercial-warning { color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 24px; max-width: 620px; }
.emp-availability { border-left: 1px solid rgba(201,168,76,.4); padding-left: 36px; }
.emp-availability h3 { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 28px; }
.emp-availability p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 14px 0 22px; }

.emp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.emp-related-card { display: flex; flex-direction: column; overflow: hidden; background: var(--dark3); border: 1px solid rgba(201,168,76,.12); color: inherit; text-decoration: none; transition: transform .25s, border-color .25s; }
.emp-related-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.45); }
.emp-related-media { height: 220px; background: #080808; overflow: hidden; }
.emp-related-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.emp-related-body { padding: 20px; }
.emp-related-price { color: var(--gold); font-size: 23px; font-weight: 700; }
.emp-related-card h3 { color: var(--white); font-size: 15px; line-height: 1.45; margin-top: 10px; }
.emp-related-meta { color: var(--muted); font-size: 12px; margin-top: 11px; }

.emp-final { position: relative; overflow: hidden; padding: 96px 0; background: #080808; text-align: center; border-top: 1px solid rgba(201,168,76,.16); }
.emp-final::before { content: ''; position: absolute; inset: 0; background: var(--emp-final-bg, none) center/cover; opacity: .14; }
.emp-final .emp-container { position: relative; }
.emp-final .emp-title { margin: 0 auto; }
.emp-final p { max-width: 560px; margin: 20px auto 30px; color: var(--muted); line-height: 1.7; }

.emp-lightbox { position: fixed; inset: 0; z-index: 400; display: none; grid-template-rows: auto minmax(0, 1fr) auto; background: #050505; color: #fff; }
.emp-lightbox.aberta { display: grid; }
.emp-lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 8px; }
.emp-lightbox-title { min-width: 0; color: rgba(255,255,255,.82); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emp-lightbox-controls { display: flex; align-items: center; gap: 12px; }
.emp-lightbox-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.emp-lightbox-close,
.emp-lightbox-nav { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.emp-lightbox-close { width: 44px; height: 44px; border-radius: 50%; font-size: 27px; }
.emp-lightbox-nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; transform: translateY(-50%); font-size: 31px; }
.emp-lightbox-nav.prev { left: 26px; }
.emp-lightbox-nav.next { right: 26px; }
.emp-lightbox-stage { min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 12px 92px 18px; touch-action: none; }
.emp-lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; cursor: zoom-in; transition: transform .15s; }
.emp-lightbox-stage img.zoom { transform: scale(2); cursor: zoom-out; }
.emp-lightbox-thumbs { display: flex; justify-content: center; gap: 9px; padding: 10px 20px 20px; overflow-x: auto; scrollbar-width: none; }
.emp-lightbox-thumb { flex: 0 0 76px; height: 56px; overflow: hidden; padding: 0; border: 2px solid transparent; background: #111; opacity: .58; cursor: pointer; }
.emp-lightbox-thumb.ativa { opacity: 1; border-color: var(--gold); }
.emp-lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }

.empreendimento-toast { position: fixed; left: 50%; bottom: 28px; z-index: 500; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; background: #f0ede6; color: #101010; padding: 11px 16px; border-radius: 3px; font-size: 12px; font-weight: 600; transition: opacity .2s, transform .2s; }
.empreendimento-toast.visivel { opacity: 1; transform: translate(-50%, 0); }
.emp-empty { min-height: 65vh; padding-top: 140px; text-align: center; color: var(--muted); }
.emp-empty a { color: var(--gold); }

@media (max-width: 980px) {
  .emp-summary-grid { grid-template-columns: repeat(3, 1fr); }
  .emp-summary-item:nth-child(3) { border-right: 0; }
  .emp-summary-item:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .emp-intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .emp-gallery-grid { grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 210px); }
  .emp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .emp-location-grid,
  .emp-commercial-grid { grid-template-columns: 1fr; gap: 38px; }
  .emp-availability { padding-left: 0; padding-top: 30px; border-left: 0; border-top: 1px solid rgba(201,168,76,.3); }
  .emp-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .emp-container { width: min(100% - 32px, 1180px); }
  .emp-section { padding: 66px 0; }
  .emp-hero { min-height: min(690px, calc(100svh - 96px)); align-items: flex-end; }
  .emp-hero-media::after { background: linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.64) 62%, rgba(5,5,5,.28) 100%); }
  .emp-hero-content { width: calc(100% - 32px); padding: 40px 0 34px; }
  .emp-crumbs { margin-bottom: 20px; }
  .emp-hero h1 { font-size: 46px; }
  .emp-hero-positioning { font-size: 15px; margin-top: 15px; }
  .emp-hero-commercial { margin-top: 22px; gap: 18px; }
  .emp-actions { width: 100%; }
  .emp-actions .emp-btn-primary { flex: 1; }
  .emp-anchor-inner { width: calc(100% - 32px); gap: 22px; }
  .emp-summary-grid { width: calc(100% - 32px); grid-template-columns: repeat(2, 1fr); }
  .emp-summary-item,
  .emp-summary-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); padding: 22px 14px; }
  .emp-summary-item:nth-child(even) { border-right: 0; }
  .emp-summary-item:nth-last-child(-n+2) { border-bottom: 0; }
  .emp-intro-aside { font-size: 25px; }
  .emp-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 270px 120px; gap: 5px; }
  .emp-gallery-item:first-child { grid-column: 1 / 3; grid-row: auto; }
  .emp-gallery-item:nth-child(n+4) { display: none; }
  .emp-gallery-count { right: 12px; bottom: 12px; }
  .emp-features-grid,
  .emp-types-grid,
  .emp-related-grid { grid-template-columns: 1fr; }
  .emp-feature { display: grid; grid-template-columns: 42% 58%; }
  .emp-feature-media { aspect-ratio: auto; min-height: 160px; }
  .emp-feature-body { padding: 18px; align-self: center; }
  .emp-media-stage { min-height: 320px; }
  .emp-map,
  .emp-map iframe { min-height: 330px; }
  .emp-related-media { height: 210px; }
  .emp-final { padding: 74px 0 96px; }
  .empreendimento-float-wa { width: 54px; height: 54px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .emp-lightbox-top { padding: 14px 14px 6px; }
  .emp-lightbox-stage { padding: 8px 12px 14px; }
  .emp-lightbox-nav { top: auto; bottom: 84px; width: 42px; height: 42px; }
  .emp-lightbox-nav.prev { left: 14px; }
  .emp-lightbox-nav.next { right: 14px; }
  .emp-lightbox-thumbs { justify-content: flex-start; padding: 8px 14px 14px; }
  .empreendimento-toast { bottom: 84px; }
}
