/* PROPOSTA 01 — SIGNATURE
   Paleta: azul royal profundo, off-white, dourado envelhecido, cinza-chumbo
   Fontes: Playfair Display (títulos) + Lato (corpo)
   Inspiração: imobiliária premium clássica e madura
*/

/* ===== RESET E VARIÁVEIS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-deep:    #0D2B5E;
  --blue-mid:     #1A4080;
  --blue-light:   #2855A0;
  --gold:         #C9A96E;
  --gold-light:   #DCC08A;
  --off-white:    #F8F6F1;
  --cream:        #F2EDE3;
  --slate:        #4A5568;
  --gray-light:   #E2E8F0;
  --text-dark:    #1A202C;
  --text-medium:  #4A5568;
  --white:        #FFFFFF;
  --header-h:     90px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== WATERMARK em todas as fotos via ::after ===== */
.photo-frame {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 0;
  background: #e8e4dc;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.photo-frame:hover img { transform: scale(1.03); }
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/marca-dagua.svg') center / 44% no-repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}
/* Remove watermark da foto principal de apresentação */
.hero-frame::after { content: none; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--blue-deep);
  z-index: 1000;
  border-bottom: 2px solid var(--gold);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
  text-decoration: none;
}
.brand-text strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.brand-text em {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold); }
.wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.wa-btn:hover { background: #1DA855; transform: translateY(-1px); }
.wa-icon { flex-shrink: 0; }
.wa-number { font-size: 16px; }
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.25s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-frame {
  position: absolute;
  inset: 0;
  height: 100%;
}
.hero-frame img { object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 14, 38, 0.90) 0%,
    rgba(5, 14, 38, 0.55) 50%,
    rgba(5, 14, 38, 0.10) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.10;
  margin-bottom: 24px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.hero-stats span {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}
.hero-stats span:not(:last-child)::after {
  content: '|';
  margin-left: 24px;
  opacity: 0.4;
}
.hero-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 32px;
}
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-deep);
  text-decoration: none;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== INTRO SECTION ===== */
.intro-section {
  background: var(--cream);
  padding: 80px 0;
  text-align: center;
}
.intro-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 18px;
  margin-bottom: 40px;
}
.intro-p {
  font-family: 'Lato', sans-serif;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-medium);
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.8;
}
.intro-p--lead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
}
.intro-p--highlight {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--blue-deep);
  font-weight: 600;
  font-style: italic;
}
.intro-divider {
  border: none;
  border-top: 1px solid var(--gold);
  width: 80px;
  margin: 36px auto;
}

/* ===== SPECS SECTION ===== */
.specs-section {
  background: var(--blue-deep);
  padding: 80px 0;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-align: center;
}
.section-title--light { color: var(--off-white); }
.section-title--light::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 48px;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 48px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,169,110,0.25);
}
.spec-card {
  background: rgba(255,255,255,0.04);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(201,169,110,0.10);
  transition: background 0.2s;
}
.spec-card:hover { background: rgba(255,255,255,0.08); }
.spec-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.spec-unit {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 6px 0 4px;
}
.spec-label {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.06em;
}
.spec-text-icon {
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.spec-card--price {
  grid-column: span 4;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 30px 48px;
  text-align: center;
}
.spec-card--price .spec-price-label {
  padding-right: 36px;
  border-right: 1px solid rgba(13,43,94,0.22);
}
.spec-card--price .spec-price-value {
  padding: 0 36px;
}
.spec-card--price .spec-label {
  padding-left: 36px;
  border-left: 1px solid rgba(13,43,94,0.22);
  opacity: 0.65;
}
.spec-price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.spec-price-value {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.1;
}
.spec-card--price .spec-label { color: var(--blue-deep); opacity: 0.65; }

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 100px 0; }
.content-section--alt { background: var(--off-white); }
.section-subtitle {
  text-align: center;
  color: var(--text-medium);
  font-size: 17px;
  max-width: 680px;
  margin: -32px auto 64px;
  line-height: 1.7;
}
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.content-block--reverse { direction: rtl; }
.content-block--reverse > * { direction: ltr; }
.content-text { padding: 16px 0; }
.block-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--blue-deep);
  margin-bottom: 20px;
  font-weight: 600;
}
.content-text p {
  color: var(--text-medium);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}
.content-photo { height: 420px; border-radius: 2px; }
.content-highlight {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--blue-deep) !important;
  font-size: 17px !important;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-top: 20px !important;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-grid--3col { grid-template-columns: repeat(3, 1fr); }
.photo-grid--4col { grid-template-columns: repeat(4, 1fr); }
.photo-grid .photo-frame { height: 240px; border-radius: 2px; cursor: pointer; }
.gallery-item { cursor: pointer; }
.gallery-item img { transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== CONDO SECTION ===== */
.condo-intro-text {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}
.condo-intro-text p {
  color: var(--text-medium);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.amenities-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 56px;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.amenity-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== GALLERY SECTION ===== */
.gallery-section { background: var(--off-white); padding: 80px 0; }
.gallery-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-full .photo-frame { height: 220px; border-radius: 2px; cursor: pointer; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--blue-deep);
  padding: 100px 0;
  text-align: center;
}
.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 48px);
  color: #fff;
  margin-bottom: 24px;
  font-weight: 700;
}
.cta-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}
.cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 20px 48px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}
.cta-wa:hover { background: #1DA855; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer {
  background: #080F1F;
  padding: 40px 0;
  color: rgba(255,255,255,0.45);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}
.footer-brand-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.10em;
}
.footer-brand-text em {
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  font-style: normal;
  color: rgba(201,169,110,0.45);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-info p { font-size: 13px; line-height: 1.6; }
.footer-small { font-size: 11px; opacity: 0.6; margin-top: 4px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-body {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}
.lightbox-body img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
/* Marca d'água na foto ampliada do lightbox */
.lightbox-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/marca-dagua.svg') center / 38% no-repeat;
  opacity: 0.52;
  pointer-events: none;
  z-index: 3;
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 20px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-card--price {
    grid-column: span 2;
    flex-direction: column;
    gap: 6px;
    padding: 28px 32px;
  }
  .spec-card--price .spec-price-label,
  .spec-card--price .spec-price-value,
  .spec-card--price .spec-label {
    padding: 0;
    border: none;
  }
  .gallery-full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-h: 70px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--blue-deep);
    padding: 20px 32px;
    gap: 20px;
    border-top: 1px solid rgba(201,169,110,0.3);
  }
  .menu-btn { display: flex; }
  .wa-number { display: none; }
  .wa-btn { padding: 10px 14px; }
  .hero { padding-bottom: 48px; }
  .hero-content { padding: 0 24px; }
  .hero-stats { display: none; }
  .content-block { grid-template-columns: 1fr; gap: 32px; }
  .content-block--reverse { direction: ltr; }
  .content-photo { height: 280px; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .gallery-full { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid--4col { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .container { padding: 0 20px; }
}
@media (max-width: 480px) {
  .specs-grid { grid-template-columns: 1fr; }
  .spec-card--price { grid-column: span 1; flex-direction: column; }
  .gallery-full { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 20px; gap: 16px; }
}
