/* =========================================================
   DESIGN TOKENS — Rita Dias Assessoria Imobiliária
   Paleta: azul-noturno do mar (navy), areia quente (sand),
   dourado discreto (gold) e branco puro para respiro.
========================================================= */
:root{
  --navy:       #0F1923;   /* fundo escuro principal */
  --navy-soft:  #182334;   /* cards sobre fundo escuro */
  --sand:       #F5EFE4;   /* fundo claro / texto sobre escuro */
  --sand-dim:   #CFC8B8;
  --gold:       #C8A96E;   /* acento dourado, uso pontual (CTA, destaques) */
  --gold-dark:  #A88748;
  --ocean:      #1B6CA8;   /* azul médio — links e badges */
  --ocean-dark: #145285;
  --brand:      #1B4F72;   /* faixa do header — azul imobiliário sóbrio */
  --brand-dark: #153D59;
  --green-wa:   #2EAD58;
  --line:       rgba(245,239,228,0.12);
  --line-dark:  rgba(15,25,35,0.10);

  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius: 14px;
  --container: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--sand);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .4em;
}
.eyebrow{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary{ background: var(--gold); color: var(--navy); }
.btn-primary:hover{ background: var(--gold-dark); }
.btn-whatsapp{ background: var(--green-wa); color: #fff; }
.btn-whatsapp:hover{ background: #25933F; }
.btn-ghost{ background: transparent; border-color: var(--line-dark); color: var(--navy); }
.btn-ghost:hover{ border-color: var(--navy); }
.btn-ghost-light{ background: transparent; border-color: var(--line); color: var(--sand); }
.btn-ghost-light:hover{ border-color: var(--sand); }
.btn-sm{ padding: 9px 16px; font-size: .82rem; }

/* topstitch — divisor recorrente */
.topstitch{
  height: 14px;
  background-image: radial-gradient(circle, var(--line-dark) 1.4px, transparent 1.6px);
  background-size: 22px 14px;
  background-position: center;
  opacity: .9;
}
.topstitch.on-dark{ background-image: radial-gradient(circle, var(--line) 1.4px, transparent 1.6px); }

/* =========================================================
   HEADER
========================================================= */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(15,25,35,.08);
  transition: box-shadow .2s ease;
}
.header-row{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo-full{
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-complete{
  display: flex;
  align-items: center;
}
.logo-complete-img{
  height: 44px;
  width: auto;
  display: block;
}
footer .logo-complete-img{ height: 52px; }
.logo-badge{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
  display: block;
}
.logo-label{
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--navy);
}
.logo-label .logo-small{
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.logo-label .logo-big{
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--navy);
  margin-top: 1px;
}
footer .logo-label .logo-big{ color: var(--sand); }
footer .logo-badge{ width: 52px; height: 52px; }
.main-nav ul{ display: flex; gap: 24px; }
.main-nav a{
  display: flex; align-items: center; gap: 4px;
  color: rgba(15,25,35,.72);
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover, .main-nav a.active{ color: var(--brand); border-color: var(--gold); }
.main-nav .caret{ font-size: .65rem; opacity: .8; transition: transform .2s ease; }

/* =========================================================
   MEGA MENU
========================================================= */
.has-mega{ position: relative; }
.mega-panel{
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--sand);
  border-radius: var(--radius);
  box-shadow: 0 28px 56px -20px rgba(0,0,0,.45);
  padding: 26px 28px;
  display: flex;
  gap: 30px;
  min-width: 560px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 80;
}
@media (min-width: 721px){
  .has-mega:hover .mega-panel,
  .has-mega:focus-within .mega-panel{
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .has-mega:hover > a .caret{ transform: rotate(180deg); }
}
.mega-col h4{
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.mega-col h4 a{ color: inherit; border: none; padding: 0; }
.mega-col ul{ display: flex; flex-direction: column; gap: 7px; }
.mega-col li a{
  color: var(--navy);
  font-size: .85rem;
  font-weight: 400;
  border: none;
  padding: 2px 0;
  opacity: .8;
}
.mega-col li a:hover{ opacity: 1; color: var(--gold-dark); border: none; }
.mega-cta{
  margin-left: auto;
  align-self: center;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ocean);
  border: none !important;
  line-height: 1.3;
  white-space: nowrap;
}
.mega-cta span{ font-weight: 400; font-size: .82rem; color: var(--navy); opacity: .7; }
.mega-cta:hover{ color: var(--gold-dark); }
.header-cta{ display: flex; align-items: center; gap: 14px; }
.header-social{
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle{ display: none; background: none; border: none; color: var(--navy); font-size: 1.6rem; cursor: pointer; }
.header-cta .btn-primary{ background: var(--gold); color: var(--navy); }
.header-cta .btn-primary:hover{ background: var(--gold-dark); }

/* =========================================================
   HERO
========================================================= */
.hero{
  position: relative;
  background: var(--navy);
  color: var(--sand);
  padding: 80px 0 0;
  overflow: hidden;
  min-height: 600px;
}
.hero-bg{
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg-placeholder{
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0F2A3F 0%, #1B4F72 50%, #0A1F2E 100%);
}
/* se o usuário colocar uma <img> dentro de .hero-bg, funciona igual */
.hero-bg img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay{
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(15,25,35,.96) 0%, rgba(15,25,35,.85) 35%, rgba(15,25,35,.55) 65%, rgba(15,25,35,.3) 100%);
}
.hero-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 72px;
}
.hero-copy{ max-width: 720px; }
.hero .eyebrow{ color: var(--gold); }
.hero h1{
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--sand);
  margin: 0 0 20px;
  line-height: 1.12;
}
.hero h1 em{
  font-style: italic;
  color: var(--gold);
}
.hero p{
  font-size: 1.08rem;
  color: var(--sand-dim);
  max-width: 560px;
  margin-bottom: 32px;
}

/* barra de busca */
.hero-search{
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200,169,110,.25);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 36px;
  max-width: 700px;
}
.search-tabs{
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.stab{
  background: transparent;
  border: 1px solid rgba(200,169,110,.3);
  color: var(--sand-dim);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}
.stab.active, .stab:hover{
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.search-bar{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.s-field{
  flex: 1;
  min-width: 140px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(200,169,110,.2);
  background: rgba(15,25,35,.6);
  color: var(--sand);
  font-family: var(--font-body);
  font-size: .87rem;
  outline: none;
  transition: border-color .18s ease;
  appearance: none;
}
.s-field:focus{ border-color: var(--gold); }
.s-field option{ background: var(--navy); color: var(--sand); }
.search-btn{ white-space: nowrap; flex-shrink: 0; }

.hero-specs{
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-specs div{
  display: flex;
  flex-direction: column;
}
.hero-specs strong{
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero-specs span{
  font-size: .78rem;
  color: var(--sand-dim);
  margin-top: 4px;
}

/* =========================================================
   SECTION GENÉRICA
========================================================= */
.section{ padding: 72px 0; }
.section-head{
  margin-bottom: 44px;
}
.section-head h2{
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}
.section-head p{
  color: rgba(15,25,35,.65);
  max-width: 520px;
  font-size: .97rem;
}

/* =========================================================
   CATEGORIAS
========================================================= */
.cat-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy-soft);
  color: var(--sand);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  border: 1px solid var(--line-dark);
  transition: transform .2s ease;
  text-decoration: none;
}
.cat-card:hover{ transform: translateY(-4px); }
.cat-bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform .4s ease;
}
.cat-card:hover .cat-bg{ transform: scale(1.04); }
.cat-bg-1{ background-color: #1B4F72; background-image: linear-gradient(135deg,#1B4F72,#0a2a3e); }
.cat-bg-2{ background-color: #2C3E50; background-image: linear-gradient(135deg,#2C3E50,#1a2535); }
.cat-bg-3{ background-color: #2E4634; background-image: linear-gradient(135deg,#2E4634,#1a2e1f); }
.cat-bg-4{ background-color: #4A3728; background-image: linear-gradient(135deg,#4A3728,#2c2018); }
.cat-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%);
  z-index: 1;
}
.cat-card .cat-label,
.cat-card .eyebrow{ position: relative; z-index: 2; }
.cat-card h3{ color: var(--sand); font-size: 1.2rem; margin-bottom: 2px; }
.cat-card .eyebrow{ color: var(--gold); margin-bottom: 4px; }
.cat-card span.count{ font-family: var(--font-mono); font-size: .75rem; color: var(--sand-dim); }

/* =========================================================
   IMÓVEIS EM DESTAQUE
========================================================= */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.imovel-card{
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.imovel-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 32px -18px rgba(15,25,35,.25); }
.imovel-thumb-link{ display: block; }
.imovel-card .thumb{
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand-dim);
  position: relative;
}
.imovel-card .thumb img{ transition: transform .3s ease; }
.imovel-card:hover .thumb img{ transform: scale(1.05); }
.thumb-placeholder{
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}
.p1{ background: linear-gradient(135deg, #2C5F8A 0%, #1a3f5c 100%); }
.p2{ background: linear-gradient(135deg, #3A7D8A 0%, #1f4f5a 100%); }
.p3{ background: linear-gradient(135deg, #8A6B2C 0%, #5c4515 100%); }
.p4{ background: linear-gradient(135deg, #4A7A3A 0%, #2b4a22 100%); }
.badge{
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.badge-venda{ background: var(--ocean); color: #fff; }
.badge-locacao{ background: var(--gold); color: var(--navy); }
.badge-lancamento{ background: #C0392B; color: #fff; }
.imovel-body{ padding: 18px 18px 20px; }
.imovel-local{
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--ocean);
  letter-spacing: .04em;
  display: block;
  margin-bottom: 6px;
}
.imovel-body h3{ font-size: 1rem; margin: 4px 0 8px; line-height: 1.3; }
.imovel-body h3 a{ color: inherit; }
.imovel-body h3 a:hover{ color: var(--ocean); }
.imovel-specs{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .75rem;
  color: rgba(15,25,35,.55);
  margin-bottom: 4px;
}
.imovel-meta{ display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.imovel-price strong{ font-size: 1.05rem; display: block; }
.imovel-price small{ display: block; font-family: var(--font-mono); font-size: .68rem; color: rgba(15,25,35,.45); }
.icon-wa{
  width: 38px; height: 38px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-wa); color: #fff;
  transition: background .2s ease, transform .2s ease;
  flex-shrink: 0;
}
.icon-wa:hover{ background: #25933F; transform: translateY(-2px); }

/* =========================================================
   DIFERENCIAIS / SPEC SHEET
========================================================= */
.specsheet{
  background: var(--navy);
  color: var(--sand);
}
.specsheet .section-head p{ color: var(--sand-dim); }
.spec-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-item{
  background: var(--navy);
  padding: 28px 22px;
}
.spec-item strong{
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.spec-item span{ font-size: .85rem; color: var(--sand-dim); }

/* =========================================================
   LANÇAMENTOS
========================================================= */
.lancamentos-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.lanc-card{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #fff;
  transition: box-shadow .2s ease;
}
.lanc-card:hover{ box-shadow: 0 12px 28px -12px rgba(15,25,35,.2); }
.lanc-thumb{
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  min-height: 220px;
}
.lt1{ background-color: #3A7D8A; background-image: linear-gradient(135deg,#3A7D8A,#1f4f5a); }
.lt2{ background-color: #1B4F72; background-image: linear-gradient(135deg,#1B4F72,#0a2a3e); }
.lanc-info{
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lanc-info h3{ font-size: 1.25rem; margin: 0; }
.lanc-info p{ font-size: .88rem; color: rgba(15,25,35,.65); line-height: 1.5; margin: 0; }
.lanc-meta{
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.lanc-price{
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
}

/* =========================================================
   SOBRE NÓS
========================================================= */
.sobre-section{
  background: var(--navy);
  color: var(--sand);
}
.sobre-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre-copy .section-head,
.sobre-copy h2{ color: var(--sand); }
.sobre-copy p{ color: var(--sand-dim); font-size: .97rem; line-height: 1.65; margin-bottom: 24px; }
.sobre-lista{
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sobre-lista li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  color: var(--sand-dim);
}
.check{
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}
.sobre-art-block{
  background: var(--navy-soft);
  border: 1px solid rgba(200,169,110,.2);
  border-radius: var(--radius);
  padding: 16px;
}
.sobre-art-block svg{ width: 100%; height: auto; display: block; }

/* =========================================================
   LOCAÇÃO
========================================================= */
.locacao-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.locacao-item{
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.locacao-icon{
  font-size: 2rem;
  margin-bottom: 14px;
}
.locacao-item h4{
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.locacao-item p{
  font-size: .88rem;
  color: rgba(15,25,35,.6);
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   CTA FAIXA FINAL
========================================================= */
.cta-strip{
  position: relative;
  background: var(--navy);
  color: var(--sand);
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-strip-bg{
  position: absolute; inset: 0;
  z-index: 0;
}
.cta-strip-img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta-strip-overlay{
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,20,30,.88) 0%, rgba(10,20,30,.82) 55%, rgba(10,20,30,.9) 100%);
}
.cta-strip .container{ position: relative; z-index: 2; }
.cta-strip h2{ color: var(--sand); font-size: clamp(1.6rem,3.5vw,2.2rem); margin-bottom: 12px; }
.cta-strip p{ color: var(--sand-dim); margin-bottom: 32px; font-size: 1rem; }
.cta-actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 720px){
  .cta-strip{ padding: 72px 0; }
}

/* =========================================================
   FOOTER
========================================================= */
footer{ background: var(--brand-dark); color: var(--sand-dim); padding: 48px 0 24px; }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.footer-grid h4{ color: var(--sand); font-size: .95rem; margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.footer-grid ul li{ margin-bottom: 8px; font-size: .87rem; }
.footer-grid ul li a:hover{ color: var(--gold); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: .78rem; font-family: var(--font-mono);
  flex-wrap: wrap; gap: 10px;
}

/* =========================================================
   WHATSAPP BOTÃO FLUTUANTE
========================================================= */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 999px;
  background: var(--green-wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.wa-float:hover{ transform: scale(1.07); }

.back-to-top{
  position: fixed; right: 22px; bottom: 90px; z-index: 60;
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--navy); color: var(--sand);
  border: 1px solid rgba(200,169,110,.35);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.5);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--gold); color: var(--navy); }
@media (max-width: 720px){
  .back-to-top{ right: 16px; bottom: 82px; width: 42px; height: 42px; }
  .wa-float{ right: 16px; bottom: 16px; }
}

/* =========================================================
   RESPONSIVO
========================================================= */
@media (max-width: 980px){
  .cat-grid{ grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: repeat(2,1fr); }
  .spec-grid{ grid-template-columns: repeat(2,1fr); }
  .lancamentos-grid{ grid-template-columns: 1fr; }
  .lanc-card{ grid-template-columns: 1fr 1.3fr; }
  .sobre-grid{ grid-template-columns: 1fr; gap: 40px; }
  .locacao-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .hero{ min-height: 480px; padding-top: 64px; }
  .hero-bg-img{ object-position: 32% center; }
  .nav-toggle{ display: block; }
  .main-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(15,25,35,.1);
    box-shadow: 0 16px 24px -18px rgba(0,0,0,.25);
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .main-nav.open{ display: block; }
  .main-nav ul{ flex-direction: column; gap: 0; padding: 8px 24px 18px; }
  .main-nav a{ display: flex; padding: 12px 0; border-bottom: 1px solid rgba(15,25,35,.08); }
  .header-social{ display: flex; }
  .header-cta .btn-primary{ display: none; }
  .header-row{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .logo-full{ grid-column: 2; align-items: center; text-align: center; }
  .header-cta{ grid-column: 3; justify-self: end; }
  .has-mega .mega-panel{
    position: static; transform: none;
    opacity: 1; visibility: visible;
    display: none; flex-direction: column;
    gap: 18px; min-width: 0; width: 100%;
    box-shadow: none; border-radius: 10px;
    margin: 6px 0 14px; padding: 16px 18px;
  }
  .has-mega.open .mega-panel{ display: flex; }
  .has-mega.open > a .caret{ transform: rotate(180deg); }
  .mega-cta{ margin-left: 0; text-align: left; }
  .cat-grid, .product-grid, .spec-grid, .locacao-grid{ grid-template-columns: 1fr; }
  .lancamentos-grid{ grid-template-columns: 1fr; }
  .lanc-card{ grid-template-columns: 1fr; }
  .lanc-thumb{ min-height: 180px; aspect-ratio: 16/7; }
  .footer-grid{ grid-template-columns: 1fr; }
  .search-bar{ flex-direction: column; }
  .s-field{ min-width: 100%; }
  .hero-specs{ gap: 20px; }
}

/* =========================================================
   IMAGENS REAIS
   ========================================================= */

/* Hero */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Categorias */
.cat-card { position: relative; overflow: hidden; }
.cat-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.cat-card:hover .cat-bg-img { transform: scale(1.05); }

/* Cards de imóveis */
.thumb { position: relative; overflow: hidden; height: 200px; }
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.imovel-card:hover .thumb img { transform: scale(1.04); }

/* Lançamentos */
.lanc-thumb-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

/* =========================================================
   BOTÕES SOCIAIS NO HEADER (Instagram, Facebook, LinkedIn)
   ========================================================= */
.btn-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}
.btn-instagram:hover { opacity: .85; transform: scale(1.08); }

.btn-social{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}
.btn-social:hover{ opacity: .85; transform: scale(1.08); }
.btn-facebook{ background: #1877F2; }
.btn-youtube{ background: #FF0000; }

/* Ícones sociais no rodapé */
.footer-social{
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social-icon{
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,239,228,.08);
  border: 1px solid var(--line);
  color: var(--sand-dim);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-social-icon:hover{
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* Scroll suave para todas as âncoras */
html { scroll-behavior: smooth; }

/* Offset do header fixo para não esconder o card ao navegar */
[id] { scroll-margin-top: 90px; }

/* =========================================================
   ACESSIBILIDADE — skip link e foco
========================================================= */
.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* =========================================================
   HERO — CTAs e indicadores de confiança
========================================================= */
.hero-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn-lg{ padding: 16px 30px; font-size: 1rem; }
.trust-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.trust-row li{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--sand-dim);
}
.trust-check{ color: var(--gold); font-weight: 700; }

/* contadores animados */
.counter{ font-variant-numeric: tabular-nums; }

/* =========================================================
   CTA INTERMEDIÁRIO
========================================================= */
.mid-cta{
  background: var(--sand);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 40px 0;
}
.mid-cta-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mid-cta-copy h3{ font-size: 1.3rem; margin-bottom: 4px; }
.mid-cta-copy p{ margin: 0; color: rgba(15,25,35,.6); font-size: .92rem; }
.mid-cta-actions{ display: flex; flex-wrap: wrap; gap: 12px; }
.mid-cta-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: #fff;
  font-size: .87rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.mid-cta-btn:hover{ border-color: var(--gold); transform: translateY(-2px); background: var(--sand); }
.mid-cta-icon{ font-size: 1rem; }

/* =========================================================
   AUTORIDADE (linha extra na specsheet)
========================================================= */
.authority-row{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.authority-badge{
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-soft);
  border: 1px solid rgba(200,169,110,.18);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.authority-stars{ color: var(--gold); font-size: 1rem; letter-spacing: 1px; }
.authority-icon{ font-size: 1.4rem; line-height: 1; }
.authority-badge strong{ display: block; font-family: var(--font-mono); font-size: 1rem; color: var(--sand); }
.authority-badge span{ font-size: .74rem; color: var(--sand-dim); }

/* =========================================================
   POR QUE ESCOLHER (ícones)
========================================================= */
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item{
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-item:hover{ transform: translateY(-4px); box-shadow: 0 18px 32px -20px rgba(15,25,35,.25); }
.why-icon{ font-size: 1.8rem; display: block; margin-bottom: 14px; }
.why-item h4{ font-size: 1.02rem; margin-bottom: 8px; }
.why-item p{ font-size: .87rem; color: rgba(15,25,35,.6); line-height: 1.55; margin: 0; }

/* =========================================================
   TAGS DE CARD (Novo / Destaque / Exclusivo)
========================================================= */
.tag{
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  color: #fff;
}
.tag-novo{ background: var(--ocean); }
.tag-destaque{ background: var(--gold-dark); }
.tag-exclusivo{ background: #6B3FA0; }

/* favoritar / compartilhar (injetados via JS) */
.card-actions{
  display: flex;
  gap: 8px;
}
.card-icon-btn{
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
  color: var(--navy);
}
.card-icon-btn:hover{ border-color: var(--gold); transform: translateY(-2px); }
.card-icon-btn.is-fav{ background: #FBEAEA; border-color: #E0847A; color: #C0392B; }
.imovel-meta-top{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px 0;
}

/* =========================================================
   PROVA SOCIAL / DEPOIMENTOS
========================================================= */
.testimonials{ background: var(--sand); }
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card{
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars{ color: var(--gold); letter-spacing: 2px; }
.testimonial-card p{ margin: 0; font-size: .92rem; color: var(--navy); line-height: 1.55; flex: 1; }
.testimonial-author{ display: flex; align-items: center; gap: 12px; }
.testimonial-avatar{
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .82rem;
  flex-shrink: 0;
}
.testimonial-author strong{ display: block; font-size: .9rem; }
.testimonial-author span{ font-size: .76rem; color: rgba(15,25,35,.55); }

/* =========================================================
   SCROLL REVEAL
========================================================= */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVO — novos componentes
========================================================= */
@media (max-width: 980px){
  .authority-row{ grid-template-columns: repeat(2,1fr); }
  .why-grid{ grid-template-columns: repeat(2,1fr); }
  .testimonial-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .mid-cta-inner{ flex-direction: column; align-items: flex-start; }
  .mid-cta-actions{ flex-direction: column; width: 100%; }
  .mid-cta-btn{ width: 100%; justify-content: center; }
  .authority-row{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .trust-row{ gap: 8px 18px; }
  .hero-cta-row{ flex-direction: column; }
  .hero-cta-row .btn{ width: 100%; justify-content: center; }
}