/* ==========================================================================
   Vertua — folha de estilos única. Cores e tipografia como custom properties.
   Sem !important em lugar nenhum: variações de fundo/cor de seção usam
   classes (.section-*), não inline styles competindo com o cascade.
   ========================================================================== */

:root{
  color-scheme: light only;
  --navy:#0C2E4E;
  --navy-light:#153E68;
  --gold:#A97D3F;
  --gold-light:#C9A468;
  --graphite:#3C3C3A;
  --offwhite:#F1EFE8;
  --paper:#FFFFFF;
  --line:#E2DED2;
  --muted:#6b6b67;
  --muted-2:#5b5b57;
  --maxw:1120px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; background:var(--paper); }
html, body{ forced-color-adjust:none; }
body{
  font-family:'Carlito','Calibri','Inter',sans-serif;
  color:var(--graphite);
  background:var(--paper);
  line-height:1.6;
  font-size:16px;
}
h1,h2,h3{ font-family:'Lora','Georgia',serif; color:var(--navy); font-weight:600; line-height:1.25; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ list-style:none; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
:focus-visible{ outline:2.5px solid var(--gold); outline-offset:2px; }

.kicker{
  text-transform:uppercase; letter-spacing:2px; font-size:12.5px; font-weight:600;
  color:var(--gold); margin-bottom:10px;
}

/* Variações de fundo por seção — substituem os antigos inline !important */
section{ padding:88px 0; }
.section-paper{ background:var(--paper); color:var(--graphite); }
.section-tint{ background:var(--offwhite); color:var(--graphite); }
.section-navy{ background:linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%); color:var(--offwhite); }
.section-navy h1, .section-navy h2, .section-navy h3{ color:#fff; }
.section-navy .kicker{ color:var(--gold-light); }

@media (max-width:768px){ section{ padding:56px 0; } }

/* BOTÕES */
.btn{
  display:inline-flex; align-items:center; gap:8px; justify-content:center;
  padding:15px 28px; border-radius:100px; font-weight:600; font-size:15px;
  cursor:pointer; border:1.5px solid transparent; transition:transform .15s ease, opacity .15s ease, background-color .15s ease;
}
.btn:active{ transform:scale(0.98); }
.btn-primary{ background:#25D366; color:#0b3b23; }
.btn-primary:hover{ opacity:.92; }
.btn-outline{ border-color:rgba(255,255,255,.5); color:#fff; background:transparent; }
.btn-outline:hover{ background:rgba(255,255,255,.08); }
.btn-navy{ background:var(--navy); color:var(--offwhite); }
.btn-navy:hover{ background:var(--navy-light); }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.5; cursor:not-allowed; }

/* HEADER / NAV */
header{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.94);
  backdrop-filter:blur(6px); border-bottom:0.5px solid var(--line);
}
.navbar{ display:flex; align-items:center; justify-content:space-between; height:76px; gap:16px; }
.logo{ font-family:'Lora',serif; font-weight:600; letter-spacing:3px; font-size:21px; color:var(--navy); flex:0 0 auto; }
.navlinks{ display:flex; gap:32px; font-size:14.5px; font-weight:500; }
.navlinks a{ color:var(--graphite); }
.navlinks a:hover, .navlinks a[aria-current="page"]{ color:var(--navy); }
.navcta{ display:flex; align-items:center; flex:0 0 auto; }
.navcta .btn{ padding:11px 20px; font-size:13.5px; }
.burger{
  display:none; width:40px; height:40px; border-radius:8px; background:none; border:1px solid var(--line);
  color:var(--navy); cursor:pointer; font-size:18px; align-items:center; justify-content:center;
}

@media (max-width:860px){
  .navlinks{
    display:none; position:absolute; top:76px; left:0; right:0; background:var(--paper);
    border-bottom:1px solid var(--line); flex-direction:column; gap:0; padding:8px 24px 18px;
  }
  .navlinks.open{ display:flex; }
  .navlinks a{ padding:13px 0; border-bottom:1px solid var(--line); }
  .navlinks a:last-child{ border-bottom:none; }
  .burger{ display:flex; }
}

/* HERO */
.hero{ padding:96px 0 72px; position:relative; overflow:hidden; }
.hero:before{
  content:''; position:absolute; right:-120px; top:-120px; width:420px; height:420px;
  border-radius:50%; border:70px solid rgba(255,255,255,.045); pointer-events:none;
}
.hero-inner{ max-width:680px; position:relative; }
.badge{
  display:inline-block; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.18);
  color:var(--gold-light); font-size:12.5px; font-weight:600; letter-spacing:1px;
  text-transform:uppercase; padding:7px 16px; border-radius:100px; margin-bottom:22px;
}
.hero h1{ font-size:44px; margin-bottom:20px; letter-spacing:-.3px; }
.hero p.lead{ font-size:17.5px; color:#cfd9e3; max-width:560px; margin-bottom:34px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px; }
.trustrow{ display:flex; gap:28px; flex-wrap:wrap; font-size:13.5px; color:#a9b8c8; border-top:1px solid rgba(255,255,255,.14); padding-top:22px; }
.trustrow span{ display:flex; align-items:center; gap:7px; }
.trustrow span:before{ content:'✓'; color:var(--gold-light); font-weight:700; }
@media (max-width:600px){ .hero h1{ font-size:30px; } }

.pagehero{ padding:64px 0 56px; }
.pagehero h1{ font-size:34px; margin-bottom:12px; }
.pagehero p{ color:#cfd9e3; max-width:560px; font-size:16px; }
@media (max-width:600px){ .pagehero h1{ font-size:27px; } }

/* BLOCO DE DUAS VERTICAIS (index) */
.vert-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.vert-card{ border:1px solid var(--line); border-radius:16px; padding:34px 30px; background:var(--paper); }
.vert-card h3{ font-size:20px; margin-bottom:10px; }
.vert-card p{ font-size:14.5px; color:var(--muted-2); margin-bottom:20px; }
@media (max-width:760px){ .vert-grid{ grid-template-columns:1fr; } }

/* HEADING GENÉRICO */
.head{ max-width:600px; margin-bottom:44px; }
.head p{ color:var(--muted); font-size:16px; margin-top:8px; }
.head.center{ margin-left:auto; margin-right:auto; text-align:center; }
@media (max-width:768px){ .head{ margin-bottom:32px; } }

/* STEPS (como funciona) */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.step{ background:var(--offwhite); border-radius:12px; padding:26px 22px; }
.step .n{
  width:34px; height:34px; border-radius:50%; background:var(--navy); color:var(--offwhite);
  font-family:'Lora',serif; font-weight:600; display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; font-size:14px;
}
.step h3{ font-size:16px; margin-bottom:8px; }
.step p{ font-size:14px; color:var(--muted-2); }
@media (max-width:860px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }

/* DIFERENCIAIS */
.diff-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.diff-card{ border:1px solid var(--line); border-radius:14px; padding:30px 26px; }
.diff-card .ic{
  width:44px; height:44px; border-radius:10px; background:var(--offwhite); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:18px; font-weight:700;
}
.diff-card h3{ font-size:17px; margin-bottom:8px; }
.diff-card p{ font-size:14.5px; color:var(--muted-2); }
@media (max-width:860px){ .diff-grid{ grid-template-columns:1fr; } }

/* SERVIÇOS */
.serv-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.serv-card{ background:var(--paper); border-radius:12px; padding:26px; border:1px solid var(--line); position:relative; }
.serv-card h3{ font-size:16.5px; margin-bottom:6px; }
.serv-card p{ font-size:14px; color:var(--muted-2); }
.soon{
  position:absolute; top:18px; right:18px; font-size:10.5px; text-transform:uppercase; letter-spacing:1px;
  background:var(--gold); color:#fff; padding:3px 9px; border-radius:100px; font-weight:700;
}
@media (max-width:700px){ .serv-grid{ grid-template-columns:1fr; } }

/* CIDADES */
.city-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px 18px; margin-top:8px; }
.city-grid div{ font-size:14.5px; padding:9px 0; border-bottom:1px solid var(--line); color:var(--graphite); }
@media (max-width:700px){ .city-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:400px){ .city-grid{ grid-template-columns:1fr; } }
.cityhelp{ margin-top:26px; font-size:14.5px; color:var(--muted-2); text-align:center; }
.cityhelp a{ color:var(--navy); text-decoration:underline; }

/* MAPA */
.map-block{ display:flex; flex-direction:column; align-items:center; margin-bottom:20px; }
.cv-map{ width:100%; max-width:680px; height:auto; display:block; margin:0 auto; }
.cv-map .prov{ transition:fill .25s ease, transform .25s ease; cursor:pointer; transform-origin:center; transform-box:fill-box; }
.cv-map .prov:hover, .cv-map .prov:focus-visible{ fill:var(--gold); transform:scale(1.06); }
.cv-map .prov.active{ fill:var(--gold); transform:scale(1.08); }
.cv-map .map-label{ font-family:'Lora',serif; font-size:17px; fill:var(--navy); font-weight:600; pointer-events:none; }
.map-hint{ font-size:13px; color:#8a8a86; margin-top:6px; text-align:center; }
.map-list-fallback{ font-size:13px; color:var(--muted); text-align:center; margin-top:4px; }

/* FILTROS */
.filter-bar{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin:24px 0 40px; }
.filter-chip{
  border:1.3px solid var(--line); background:var(--paper); color:var(--graphite); font-size:13.5px; font-weight:600;
  padding:9px 18px; border-radius:100px; cursor:pointer;
}
.filter-chip.active{ background:var(--navy); color:var(--offwhite); border-color:var(--navy); }
.filters-form{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:0 0 32px; }
.filters-form select, .filters-form input{
  padding:11px 12px; border-radius:9px; border:1px solid var(--line); font-size:13.5px;
  font-family:inherit; background:var(--paper); color:var(--graphite);
}
@media (max-width:860px){ .filters-form{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .filters-form{ grid-template-columns:1fr; } }

.result-count{ font-size:13.5px; color:var(--muted); margin-bottom:18px; }

/* IMÓVEIS — GRID E CARD */
.prop-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.prop-card{ border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--paper); transition:opacity .2s ease; }
.prop-card.hidden{ display:none; }
.prop-photo{
  height:160px; background:linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.35);
  font-family:'Lora',serif; font-size:13px; letter-spacing:1px; text-transform:uppercase;
  position:relative;
}
.prop-photo img{ width:100%; height:100%; object-fit:cover; }
.prop-badge{
  position:absolute; top:12px; left:12px; background:var(--gold); color:#fff; font-size:11px;
  font-weight:700; text-transform:uppercase; letter-spacing:.5px; padding:4px 10px; border-radius:100px;
}
.prop-body{ padding:18px 20px 20px; }
.prop-top{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:4px; gap:8px; }
.prop-price{ font-family:'Lora',serif; color:var(--navy); font-weight:600; font-size:18px; }
.prop-ref{ font-size:11px; color:#9a9a95; white-space:nowrap; }
.prop-zone{ font-size:14px; color:var(--graphite); font-weight:600; margin-bottom:8px; }
.prop-specs{ display:flex; gap:14px; font-size:13px; color:var(--muted); margin-bottom:10px; flex-wrap:wrap; }
.prop-tags{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.prop-tag{ font-size:11.5px; background:var(--offwhite); color:var(--muted-2); padding:3px 9px; border-radius:100px; }
.prop-card .btn{ width:100%; padding:11px; font-size:13.5px; }
.prop-empty, .prop-empty-state{
  border:1.5px dashed var(--line); border-radius:14px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; padding:40px 24px; gap:12px;
  grid-column:1/-1; color:var(--muted);
}
.example-flag{
  display:inline-block; background:#fdf0e0; color:var(--gold); border:1px solid #f0d9b5;
  font-size:12px; padding:6px 14px; border-radius:100px; margin-bottom:22px; font-weight:600;
}
@media (max-width:860px){ .prop-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .prop-grid{ grid-template-columns:1fr; } }

/* AVISO LEGAL FIXO (vitrines) */
.legal-notice{
  background:var(--offwhite); border:1px solid var(--line); border-radius:12px;
  padding:16px 20px; font-size:13px; color:var(--muted-2); margin-bottom:32px; line-height:1.55;
}

/* ETIQUETA CEE */
.cee-badge{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; }
.cee-letter{
  display:inline-flex; align-items:center; justify-content:center; width:30px; height:26px;
  color:#fff; font-family:'Lora',serif; font-weight:700; font-size:14px; border-radius:3px 8px 8px 3px;
}
.cee-A{ background:#2E9B4F; } .cee-B{ background:#6BB744; } .cee-C{ background:#BFD730; }
.cee-D{ background:#F4E11A; color:#3C3C3A; } .cee-E{ background:#F2A71B; }
.cee-F{ background:#EB6E23; } .cee-G{ background:#DC2A2A; }

/* SOBRE */
.about-card{ display:flex; gap:32px; align-items:flex-start; background:var(--offwhite); border-radius:16px; padding:38px; }
.avatar{
  flex:0 0 84px; width:84px; height:84px; border-radius:50%; background:var(--navy); color:var(--gold-light);
  font-family:'Lora',serif; font-weight:600; font-size:26px; display:flex; align-items:center; justify-content:center;
}
.about-card h3{ font-size:19px; margin-bottom:2px; }
.about-role{ font-size:12.5px; text-transform:uppercase; letter-spacing:1px; color:var(--gold); font-weight:700; margin-bottom:14px; }
.about-card p{ font-size:15px; color:#4a4a46; margin-bottom:10px; }
@media (max-width:640px){ .about-card{ flex-direction:column; padding:28px 22px; } }

/* FAQ */
details{ border-bottom:1px solid var(--line); padding:18px 0; }
details summary{
  cursor:pointer; font-family:'Lora',serif; font-weight:600; color:var(--navy); font-size:16px;
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px;
}
details summary::-webkit-details-marker{ display:none; }
details summary:after{ content:'+'; font-size:22px; color:var(--gold); font-weight:400; }
details[open] summary:after{ content:'–'; }
details p{ font-size:14.5px; color:var(--muted-2); margin-top:12px; max-width:640px; }

/* CONTATO / FORMULÁRIO */
.contact-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:flex-start; }
.contact-side{ background:var(--navy); color:var(--offwhite); border-radius:16px; padding:38px; }
.contact-side h3{ color:#fff; font-size:20px; margin-bottom:12px; }
.contact-side p{ font-size:14.5px; color:#c3cedb; margin-bottom:22px; }
form{ display:flex; flex-direction:column; gap:14px; }
form input, form select, form textarea{
  width:100%; padding:13px 14px; border-radius:9px; border:1px solid var(--line);
  font-family:inherit; font-size:14.5px; background:var(--paper); color:var(--graphite);
}
form label{ font-size:12.5px; font-weight:600; color:var(--navy); margin-bottom:-8px; }
form textarea{ resize:vertical; min-height:90px; }
form button{ margin-top:6px; }
.field-error{ font-size:12.5px; color:#B3261E; display:none; }
.field-error.show{ display:block; }
.consent-row{ display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--muted-2); }
.consent-row input{ width:auto; margin-top:3px; }
.consent-row a{ color:var(--navy); text-decoration:underline; }
@media (max-width:860px){ .contact-wrap{ grid-template-columns:1fr; } }

/* PLACEHOLDER / EM CONSTRUÇÃO */
.placeholder-block{ text-align:center; padding:60px 24px; color:var(--muted); }
.placeholder-block h1{ margin-bottom:14px; }
[data-fill]{ color:var(--gold); font-weight:600; }

/* PÁGINAS LEGAIS */
.legal-page{ max-width:720px; margin:0 auto; padding:56px 24px 72px; }
.legal-page h1{ margin-bottom:8px; }
.legal-page .legal-updated{ font-size:13px; color:var(--muted); margin-bottom:36px; }
.legal-page h2{ font-size:19px; margin:34px 0 12px; }
.legal-page h2:first-of-type{ margin-top:0; }
.legal-page p{ font-size:14.5px; color:var(--graphite); margin-bottom:12px; }
.legal-page ul{ margin:0 0 12px 0; padding-left:22px; list-style:disc; }
.legal-page li{ font-size:14.5px; color:var(--graphite); margin-bottom:6px; }
.legal-page a{ color:var(--navy); text-decoration:underline; }
.legal-page strong{ color:var(--navy); }

/* FOOTER */
footer{ background:var(--navy); color:#a9b8c8; padding:56px 0 28px; }
.foot-top{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px; margin-bottom:38px; }
.foot-logo{ font-family:'Lora',serif; color:#fff; letter-spacing:3px; font-weight:600; font-size:19px; margin-bottom:10px; }
.foot-tag{ font-size:13.5px; max-width:280px; color:#8ea0b3; }
.foot-links{ display:flex; gap:48px; flex-wrap:wrap; }
.foot-links div h4{ color:#fff; font-size:12.5px; text-transform:uppercase; letter-spacing:1px; margin-bottom:12px; font-weight:600; }
.foot-links a{ display:block; font-size:13.5px; color:#a9b8c8; margin-bottom:9px; }
.foot-links a:hover{ color:#fff; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:22px; font-size:12.5px; color:#6f8296; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
@media (max-width:640px){ .foot-top{ flex-direction:column; } .foot-bottom{ flex-direction:column; gap:6px; } }
