/* PROPOSTA 04 — LEAN TECH (baseada na Proposta 02 — Business Tech)
   ArtBarra Imóveis RJ — Barra Prime Offices
   Versão enxuta: cabeçalho + hero + rodapé/CTA idênticos à Proposta 02,
   miolo simplificado para 5 blocos genéricos "Empreendimento + Galeria".
   Tom rosado/cobre removido dos overlays de foto — mantido apenas no cabeçalho (padrão ArtBarra).
   Fontes: Space Grotesk (títulos) + Inter (corpo)
*/

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

:root {
  --steel:       #14424D;
  --steel-2:     #1B5866;
  --ice:         #F2F6F7;
  --copper:      #D9713C;
  --copper-2:    #E88F5D;
  --graphite:    #22292E;
  --white:       #FFFFFF;
  --text-medium: #52626A;
  --text-light:  #8598A0;
  --border:      rgba(20, 66, 77, 0.12);
  --header-h:    76px;
  --artbarra-cream:  #F5F0EC;
  --artbarra-red:    #7B0000;
  --artbarra-red-tx: #3D1212;
}

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

/* ===== WATERMARK via ::after (mesmo padrão do deploy_definitivo) ===== */
.photo-frame {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 0;
  background: #D7E1E3;
}
.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;
}
.photo-frame:hover img { transform: scale(1.045); }
/* SUBSTITUIR PELA LOGO DEFINITIVA SE HOUVER VERSÃO COM FUNDO TRANSPARENTE */
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../NOVO_BARRA/LOGOTIPOS_MARCA_DAGUA/LOGOTIPO_MARCADAGUA.jpeg') center / 65% auto no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}
.gallery-item { cursor: pointer; }

/* ===== HEADER — padrão ArtBarra (idêntico às demais propostas; único lugar com o tom da marca) ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--artbarra-cream);
  z-index: 1000;
  border-bottom: 2px solid var(--artbarra-red);
  box-shadow: 0 4px 24px rgba(123, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 8px 28px rgba(123, 0, 0, 0.14); }
.header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: .9;
}
.brand-wordmark-small {
  font-family: 'Pinyon Script', cursive;
  font-size: 18px;
  color: var(--artbarra-red);
}
.brand-wordmark-large {
  font-family: 'Pinyon Script', cursive;
  font-size: 34px;
  color: var(--artbarra-red);
}

.wa-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}
.wa-btn:hover { background: #1DA855; transform: translateY(-1px); }
.wa-number { font-size: 14px; }

/* ===== HERO (idêntico à Proposta 02, overlay neutralizado) ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-frame { position: absolute; inset: 0; height: 100%; }
/* Hero fica sem marca d'água — aplicada apenas nas fotos de galeria/exibição */
.hero-frame::after { content: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Overlay neutro (sem o tom cobre/rosado) — o tom da marca fica só no cabeçalho */
  background: linear-gradient(115deg, rgba(20,66,77,0.92) 0%, rgba(20,66,77,0.60) 45%, rgba(20,66,77,0.24) 80%, rgba(20,66,77,0.14) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 90px;
}
.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(32px, 4.8vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(217, 113, 60, 0.35);
}
.hero-cta:hover { background: var(--copper-2); transform: translateY(-2px); }
.hero-cta--ghost {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: none;
}
.hero-cta--ghost:hover { background: rgba(255,255,255,0.18); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in-view { opacity: 1; transform: none; transition: none; }
}

/* ===== SECTION TAGS (reaproveitado na CTA) ===== */
.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}
.section-tag--light { color: var(--copper-2); }

/* ===== BLOCOS "EMPREENDIMENTO + GALERIA" (miolo enxuto) ===== */
.condo-block { border-top: 1px solid var(--border); }
.condo-block:first-of-type { border-top: none; }

.condo-hero {
  position: relative;
  height: 54vh;
  min-height: 360px;
  max-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.condo-hero-frame { position: absolute; inset: 0; height: 100%; }
.condo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,66,77,0.90) 0%, rgba(20,66,77,0.42) 58%, rgba(20,66,77,0.10) 100%);
  z-index: 1;
}
.condo-hero-content { position: relative; z-index: 2; padding-bottom: 40px; }
.condo-index {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--copper-2);
  margin-bottom: 10px;
}
.condo-hero-content h2 {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.condo-hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  line-height: 1.7;
}

.condo-gallery-wrap { padding: 34px 32px 72px; }
.condo-gallery-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}
.condo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.condo-gallery .photo-frame { height: 200px; border-radius: 12px; }

/* ===== CTA SECTION (idêntica à Proposta 02, overlay neutralizado) ===== */
.cta-section { padding: 0; position: relative; margin-top: 0; }
.cta-bg { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.cta-photo-bg { position: absolute; inset: 0; height: 100%; }
.cta-overlay {
  position: absolute;
  inset: 0;
  /* Overlay neutro (sem o tom cobre/rosado) — o tom da marca fica só no cabeçalho */
  background: linear-gradient(135deg, rgba(20,66,77,0.90) 0%, rgba(20,66,77,0.72) 100%);
  z-index: 1;
}
.cta-content { position: relative; z-index: 2; text-align: center; padding: 88px 32px; }
.cta-title {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  color: #fff;
  margin: 10px 0 16px;
  line-height: 1.2;
}
.cta-desc { font-size: 15px; color: rgba(255,255,255,0.78); margin-bottom: 36px; }
.cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 17px 40px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.35);
}
.cta-wa:hover { background: #1DA855; transform: translateY(-2px); }

/* ===== FOOTER (idêntico à Proposta 02) ===== */
.footer { background: var(--graphite); padding: 52px 0 0; color: rgba(255,255,255,0.6); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; max-width: 620px; }
.footer-logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  padding: 6px 10px;
  flex-shrink: 0;
}
.footer-logo-img { display: block; height: 30px; width: auto; border-radius: 4px; }
.footer-contact-text { font-size: 13.5px; line-height: 1.6; max-width: 320px; }
.footer-wa {
  color: var(--copper-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  border-bottom: 1px solid rgba(217,113,60,0.5);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.footer-wa:hover { color: #fff; }
.footer-announce-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--copper-2);
  letter-spacing: 0.02em;
  text-align: right;
}
.footer-disclaimer { padding: 20px 32px 28px; }
.footer-disclaimer p { font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,0.4); text-align: center; }

/* ===== LIGHTBOX (com marca d'água também na foto ampliada) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 24, 0.94);
  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: 8px;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
/* Marca d'água também sobre a foto ampliada no lightbox (mesma técnica do .photo-frame::after) */
.lightbox-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../NOVO_BARRA/LOGOTIPOS_MARCA_DAGUA/LOGOTIPO_MARCADAGUA.jpeg') center / 55% auto no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.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: 18px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border-radius: 50%;
  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: 860px) {
  :root { --header-h: 68px; }
  .wa-number { display: none; }
  .wa-btn { padding: 9px 12px; }
  .hero-content { padding: 0 24px 64px; }
  .container { padding: 0 20px; }
  .condo-gallery-wrap { padding: 28px 20px 56px; }
  .condo-hero { height: 46vh; min-height: 320px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-announce-text { text-align: left; }
}
@media (max-width: 560px) {
  .condo-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .cta-content { padding: 64px 20px; }
}
