/* ============================================================
   GIL FONSECA IMÓVEIS — MODELO DEMONSTRATIVO
   Tema: escuro sofisticado + dourado | Tipografia: Montserrat
   ============================================================ */

:root {
  --gold: #c9a24b;
  --gold-2: #dcbb6a;
  --gold-dark: #a8843a;
  --gold-light: #e7d6ab;

  --bg: #14100b;      /* fundo principal (escuro) */
  --bg-2: #1c1710;    /* painéis / cards */
  --bg-3: #241d14;    /* elementos elevados */
  --line: rgba(231,214,171,.14);

  --tx: #f1ece1;      /* texto claro */
  --tx-2: #b7ad99;    /* texto secundário */
  --ink: #f1ece1;     /* compat: usado por scripts */
  --ink-2: #b7ad99;   /* compat */
  --bege: #1c1710;    /* compat (campos) */
  --bege-2: #2b2318;  /* compat (bordas de campo) */

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', system-ui, sans-serif; color: var(--tx); background: var(--bg); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---- faixa demo ---- */
.demo-banner {
  background: repeating-linear-gradient(45deg, #0e0b07, #0e0b07 14px, #1a140d 14px, #1a140d 28px);
  color: var(--gold-light); text-align: center; font-size: .76rem; letter-spacing: .08em;
  padding: .5rem 1rem; text-transform: uppercase; position: relative; z-index: 60;
}
.demo-banner strong { color: #fff; }

/* ============ CABEÇALHO ============ */
header.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,12,8,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hd-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; padding: .6rem 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 122px; width: auto; transition: height .25s ease, transform .25s ease; }

.hd-right { display: flex; align-items: center; gap: 1rem; }
.hd-contacts { display: flex; align-items: center; gap: .7rem; }
.hd-phone { display: flex; align-items: center; gap: .55rem; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(201,162,75,.08); transition: .2s; }
.hd-phone:hover { border-color: var(--gold); background: rgba(201,162,75,.16); }
.hd-phone .ico { font-size: 1.2rem; }
.hd-phone-txt { display: flex; flex-direction: column; line-height: 1.12; }
.hd-phone-txt b { font-size: 1.02rem; color: var(--gold-2); font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.hd-phone-txt span { font-size: .62rem; color: var(--tx-2); text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.hd-wa { padding: .62rem 1.25rem; }

/* botão hambúrguer (sempre visível) */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 44px; padding: 0 11px; cursor: pointer;
  background: rgba(201,162,75,.10); border: 1px solid var(--line); border-radius: 10px;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--gold-2); border-radius: 2px; transition: .25s; }
.burger:hover { background: rgba(201,162,75,.18); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* drawer (menu que abre) */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: .3s; z-index: 70; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(360px, 86vw);
  background: var(--bg-2); border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  z-index: 80; display: flex; flex-direction: column; padding: 1.4rem 1.4rem 2rem;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.drawer-head img { height: 46px; }
.drawer-close { background: none; border: none; color: var(--tx-2); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.drawer-close:hover { color: var(--gold-2); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  padding: 1.05rem .3rem; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; color: var(--tx);
  display: flex; align-items: center; gap: .7rem; transition: .2s;
}
.drawer nav a:hover { color: var(--gold-2); padding-left: .8rem; }
.drawer-cta { margin-top: auto; display: grid; gap: .7rem; padding-top: 1.4rem; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; font-size: .88rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: none; cursor: pointer; transition: .25s; font-family: inherit;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold-dark)); color: #17120a; box-shadow: 0 8px 22px rgba(201,162,75,.32); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,162,75,.45); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb457; transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1.5px solid var(--gold); color: var(--gold-2); }
.btn-ghost:hover { background: var(--gold); color: #17120a; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 660px; display: flex; align-items: center;
  background: linear-gradient(rgba(12,9,5,.72), rgba(12,9,5,.86)),
    url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1900&q=80') center/cover fixed;
  color: #fff; padding: 4.5rem 0;
}
.hero-inner { width: min(1000px, 94%); margin: 0 auto; text-align: center; }
.hero .eyebrow { color: var(--gold-2); letter-spacing: .35em; text-transform: uppercase; font-size: .74rem; font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; margin: 1rem 0 .7rem; line-height: 1.15; }
.hero p { color: #e4dccc; max-width: 620px; margin: 0 auto 2.2rem; font-size: 1rem; }

/* busca avançada */
.search {
  background: rgba(16,12,8,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 16px; padding: .8rem;
  display: grid; grid-template-columns: 1.1fr 1.1fr 1.6fr auto auto; gap: .7rem; text-align: left;
  box-shadow: var(--shadow-lg); max-width: 1040px; margin: 0 auto; align-items: end;
}
.s-field { display: flex; flex-direction: column; gap: .25rem; position: relative; }
.s-field label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-2); padding-left: .2rem; }
.search select, .search input, .s-dd-btn {
  width: 100%; padding: .8rem .85rem; border: 1px solid var(--bege-2); border-radius: 10px;
  font-family: inherit; font-size: .9rem; color: var(--tx); background: var(--bg-3);
}
.search select:focus, .search input:focus, .s-dd-btn:focus { outline: 2px solid var(--gold); }
.search .btn-gold { align-self: end; height: 48px; white-space: nowrap; }

/* dropdown de tipo (checkboxes) */
.s-dd-btn { display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; }
.s-dd-btn .arrow { transition: .2s; color: var(--gold-2); }
.s-dropdown.open .s-dd-btn .arrow { transform: rotate(180deg); }
.s-dd-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: .5rem; max-height: 300px; overflow-y: auto;
}
.s-dropdown.open .s-dd-panel { display: block; }
.s-dd-panel .group { font-size: .64rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-2); padding: .7rem .6rem .3rem; }
.s-check { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 8px; cursor: pointer; font-size: .88rem; }
.s-check:hover { background: rgba(201,162,75,.1); }
.s-check input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }

/* botão mais filtros */
.s-more { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; height: 48px; align-self: end; padding: 0 1rem; border: 1px solid var(--bege-2); border-radius: 10px; background: var(--bg-3); color: var(--tx); font-family: inherit; font-weight: 600; font-size: .84rem; cursor: pointer; white-space: nowrap; }
.s-more:hover { border-color: var(--gold); color: var(--gold-2); }
.s-extra { grid-column: 1 / -1; display: none; grid-template-columns: 1fr 1fr; gap: .7rem; padding-top: .3rem; }
.s-extra.open { display: grid; }

.hero-code { margin-top: 1rem; }
.hero-code a { display: inline-block; font-size: .8rem; color: var(--tx-2); background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: .4rem 1rem; border-radius: 999px; }
.hero-code a:hover { color: var(--gold-2); border-color: var(--gold); }

/* ============ SEÇÕES ============ */
section { padding: 4.5rem 0; }
.sec-head { text-align: center; margin-bottom: 2.6rem; }
.sec-head .eyebrow { color: var(--gold-2); letter-spacing: .3em; text-transform: uppercase; font-size: .72rem; font-weight: 700; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-top: .5rem; color: #fff; }
.sec-head p { color: var(--tx-2); max-width: 640px; margin: .7rem auto 0; font-size: .93rem; }

/* ============ FAIXA INSTAGRAM ("Siga nosso") ============ */
.band-ig {
  background:
    radial-gradient(900px 500px at 80% 30%, rgba(201,162,75,.12), transparent 60%),
    linear-gradient(135deg, #171009 0%, #0d0a06 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
}
.band-ig-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; min-height: 360px; }
.ig-left { display: flex; flex-direction: column; justify-content: center; user-select: none; }
.ig-left span { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.ig-left span:nth-child(2) { color: rgba(255,255,255,.45); }
.ig-left span:nth-child(3) { color: rgba(255,255,255,.18); }
.ig-photo { display: grid; place-items: center; }
.ig-photo img { max-height: 380px; width: auto; border-radius: 14px; }
.ig-photo-ph {
  width: 210px; height: 320px; border-radius: 20px; border: 2px dashed var(--line);
  background: rgba(255,255,255,.03); display: grid; place-items: center; text-align: center;
  color: var(--tx-2); font-size: .8rem; padding: 1rem; line-height: 1.5;
}
.ig-photo-ph .big { font-size: 2.4rem; display: block; margin-bottom: .5rem; }
.ig-right { text-align: right; }
.ig-right h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; color: #fff; line-height: 1; }
.ig-right .handle { color: var(--gold-2); font-weight: 700; font-size: 1.05rem; margin: .5rem 0 1.4rem; display: block; }
.ig-right .btn { padding: .85rem 2rem; font-size: 1rem; }

/* ============ CARDS DE IMÓVEIS ============ */
.grid-imoveis { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .28s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,75,.35); }
.card .thumb { position: relative; height: 210px; overflow: hidden; display: block; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.card:hover .thumb img { transform: scale(1.06); }
.card .badges { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .4rem; }
.badge { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .65rem; border-radius: 999px; }
.badge-gold { background: var(--gold); color: #17120a; }
.badge-dark { background: rgba(8,6,3,.85); color: var(--gold-light); border: 1px solid var(--line); }
.card .body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card .local { font-size: .74rem; color: var(--gold-2); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.card h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.35; color: #fff; }
.card h3 a:hover { color: var(--gold-2); }
.card .specs { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .78rem; color: var(--tx-2); }
.card .preco { font-size: 1.28rem; font-weight: 800; color: var(--gold-2); margin-top: auto; }
.card .acoes { display: flex; gap: .6rem; margin-top: .5rem; }
.card .acoes .btn { flex: 1; padding: .6rem .8rem; font-size: .8rem; }

/* ============ SERVIÇOS / VALORES ============ */
.grid-serv { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.serv {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow); border-top: 4px solid var(--gold); transition: .25s;
}
.serv:hover { transform: translateY(-5px); border-color: rgba(201,162,75,.35); border-top-color: var(--gold); }
.serv .ico { font-size: 1.8rem; }
.serv h3 { font-size: 1.02rem; margin: .7rem 0 .4rem; color: #fff; }
.serv p { font-size: .85rem; color: var(--tx-2); }
.serv a { display: inline-block; margin-top: .8rem; color: var(--gold-2); font-weight: 700; font-size: .84rem; }

/* ============ QUEM SOMOS ============ */
.sobre-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.sobre-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); height: 430px; width: 100%; object-fit: cover; }
.sobre-wrap h2 { font-size: clamp(1.6rem,2.6vw,2rem); font-weight: 800; margin-bottom: 1rem; color: #fff; }
.sobre-wrap p { color: var(--tx-2); font-size: .94rem; margin-bottom: .9rem; }
.sobre-stats { display: flex; gap: 2.2rem; margin: 1.4rem 0; flex-wrap: wrap; }
.stat b { font-size: 1.7rem; color: var(--gold-2); display: block; }
.stat span { font-size: .78rem; color: var(--tx-2); text-transform: uppercase; letter-spacing: .06em; }

/* ============ PÁGINA: CABEÇALHO DE SEÇÃO ============ */
.page-head {
  background: linear-gradient(rgba(12,9,5,.78), rgba(12,9,5,.86)),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1700&q=80') center/cover;
  color: #fff; padding: 4rem 0 3rem; text-align: center; border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.page-head p { color: #d9cfbd; margin-top: .5rem; font-size: .93rem; }

/* ============ FILTROS (listagem) ============ */
.filtros {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: .7rem;
  margin: -2.2rem auto 2.5rem; position: relative;
}
.filtros select, .filtros input {
  padding: .7rem .75rem; border: 1px solid var(--bege-2); border-radius: 10px;
  font-family: inherit; font-size: .84rem; background: var(--bg-3); color: var(--tx); width: 100%;
}
.filtros select:focus, .filtros input:focus { outline: 2px solid var(--gold); }
.result-count { font-size: .86rem; color: var(--tx-2); margin-bottom: 1.2rem; }

/* ============ PÁGINA IMÓVEL ============ */
.imovel-hero { display: grid; grid-template-columns: 2fr 1fr; gap: .8rem; border-radius: var(--radius); overflow: hidden; max-height: 480px; }
.imovel-hero img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.imovel-hero .principal { grid-row: span 2; }
.imovel-hero .mini { display: grid; gap: .8rem; grid-template-rows: 1fr 1fr; }
.imovel-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 2.5rem; margin-top: 2.5rem; align-items: start; }
.imovel-info h1 { font-size: 1.8rem; font-weight: 800; line-height: 1.3; color: #fff; }
.imovel-info .cod { color: var(--gold-2); font-weight: 700; font-size: .8rem; letter-spacing: .1em; }
.imovel-info h3 { color: #fff; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .9rem; margin: 1.6rem 0; }
.spec { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: .9rem; text-align: center; }
.spec b { display: block; font-size: 1.15rem; color: var(--gold-2); }
.spec span { font-size: .72rem; color: var(--tx-2); text-transform: uppercase; letter-spacing: .05em; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.tag { background: var(--bg-3); color: var(--tx-2); font-size: .78rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); }
.painel-contato { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-lg); position: sticky; top: 90px; }
.painel-contato .preco { font-size: 1.9rem; font-weight: 800; color: var(--gold-2); }
.painel-contato .taxa { font-size: .8rem; color: var(--tx-2); margin-bottom: 1.2rem; }
.painel-contato form { display: grid; gap: .7rem; margin-top: 1.2rem; }
.painel-contato input, .painel-contato select, .painel-contato textarea {
  padding: .72rem .8rem; border: 1px solid var(--bege-2); border-radius: 10px; font-family: inherit; font-size: .85rem; background: var(--bg-3); color: var(--tx); width: 100%;
}
.corretor-line { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .84rem; }
.corretor-line .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #17120a; display: grid; place-items: center; font-weight: 800; }

/* ============ FORMULÁRIO (contato) ============ */
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-card form { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.form-card .full { grid-column: 1 / -1; }
.form-card input, .form-card select, .form-card textarea {
  padding: .72rem .85rem; border: 1px solid var(--bege-2); border-radius: 10px; font-family: inherit; font-size: .87rem; background: var(--bg-3); color: var(--tx); width: 100%;
}
.form-card input::placeholder, .form-card textarea::placeholder, .painel-contato input::placeholder, .painel-contato textarea::placeholder, .search input::placeholder { color: #8c8471; }

/* ============ SEO LINKS ============ */
.seo-links { background: #100c07; border-top: 1px solid var(--line); }
.seo-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.seo-cols h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-2); margin-bottom: .8rem; }
.seo-cols li { margin-bottom: .45rem; }
.seo-cols a { font-size: .84rem; color: var(--tx-2); }
.seo-cols a:hover { color: var(--gold-2); }

/* ============ RODAPÉ ============ */
footer { background: #0e0b07; color: var(--tx-2); padding: 3.5rem 0 0; font-size: .86rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 2.5rem; }
.foot-logo { height: 58px; margin-bottom: 1rem; }
.foot-grid h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.foot-grid li { margin-bottom: .5rem; }
.foot-grid a:hover { color: var(--gold-2); }
.foot-bottom { border-top: 1px solid var(--line); padding: 1.2rem 0; text-align: center; font-size: .76rem; color: #7d745f; }
.creci-tag { display: inline-block; margin-top: .8rem; background: rgba(201,162,75,.16); color: var(--gold-light); padding: .3rem .8rem; border-radius: 6px; font-weight: 700; font-size: .78rem; }

/* ============ WHATSAPP FLUTUANTE ============ */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 64px; height: 64px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.5); transition: .25s;
}
.wa-float svg { width: 36px; height: 36px; fill: #fff; display: block; }
.wa-float:hover { transform: scale(1.1); background:#1fb457; }



/* ============ AJUSTES PREMIUM — HOME, LOGO, HERO, CARDS E MOBILE ============ */
.home-page header.hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(8,6,3,.74), rgba(8,6,3,.20));
  border-bottom-color: rgba(231,214,171,.08);
}
.home-page header.hd.scrolled {
  background: rgba(16,12,8,.94);
  box-shadow: 0 10px 32px rgba(0,0,0,.30);
  border-bottom-color: var(--line);
}
.home-page header.hd.scrolled .brand img { height: 104px; }

.hero {
  min-height: 100vh;
  padding: 8.5rem 0 5.5rem;
  background:
    radial-gradient(700px 420px at 50% 48%, rgba(201,162,75,.15), transparent 62%),
    linear-gradient(rgba(12,9,5,.62), rgba(12,9,5,.90)),
    url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1900&q=80') center/cover fixed;
}
.hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.55rem);
  text-shadow: 0 16px 40px rgba(0,0,0,.48);
  letter-spacing: -.035em;
}
.hero p { font-size: clamp(.96rem, 1.45vw, 1.15rem); }
.search {
  background: rgba(16,12,8,.58);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(231,214,171,.22);
  box-shadow: 0 26px 80px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.05);
}
.search select, .search input, .s-dd-btn, .s-more {
  background: rgba(36,29,20,.78);
  border-color: rgba(231,214,171,.18);
}
.card {
  position: relative;
  isolation: isolate;
  border-radius: 18px;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(220,187,106,.18), transparent 38%, rgba(255,255,255,.035));
  opacity: 0;
  transition: .3s;
  z-index: 1;
}
.card:hover::before { opacity: 1; }
.card .thumb { height: 235px; }
.card .body { position: relative; z-index: 2; }
.card .preco { font-size: 1.42rem; }
.card .acoes .btn { min-height: 42px; }

section, .card, .serv, .form-card, .painel-contato, footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 620px;
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.wa-float {
  box-shadow: 0 10px 26px rgba(37,211,102,.42), 0 0 0 8px rgba(37,211,102,.10);
}
.wa-float::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(37,211,102,.28);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(.9); opacity: .75; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 1120px) {
  .hd-wa { display: none; }                  /* botão WhatsApp fica no menu */
  .brand img { height: 96px; }
}
@media (max-width: 940px) {
  .hd-phone-txt span { display: none; }       /* mostra só o número */
}
@media (max-width: 860px) {
  .hero { background-attachment: scroll; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .s-grow { grid-column: 1 / -1; }
  .s-more { grid-column: 1 / 2; }
  .search .btn-gold { grid-column: 2 / 3; }
  .band-ig-inner { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .ig-left { align-items: center; }
  .ig-right { text-align: center; }
  .ig-photo { order: -1; }
  .sobre-wrap, .imovel-grid, .imovel-hero { grid-template-columns: 1fr; }
  .imovel-hero { max-height: none; }
  .imovel-hero .mini { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .filtros { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .form-card form { grid-template-columns: 1fr; }
  .painel-contato { position: static; }
}
@media (max-width: 640px) {
  body { overflow-wrap: break-word; }
  .hd-contacts { display: none; }             /* no celular, contatos vão pro menu */
  .brand img { height: 74px; }
  section { padding: 3rem 0; }
  .hero { min-height: 88vh; padding: 7.5rem 0 3rem; }
  .search { grid-template-columns: 1fr; border-radius: 18px; padding: .95rem; }
  .s-more, .search .btn-gold { grid-column: 1 / -1; }
  .s-extra.open { grid-template-columns: 1fr; }
  .filtros { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .grid-imoveis { grid-template-columns: 1fr; }
  .ig-right h2 { font-size: 2.4rem; }
  .wa-float { width: 58px; height: 58px; right: 1rem; bottom: 1rem; }
  .wa-float svg { width: 32px; height: 32px; }
}
/* build v3 — tema escuro sofisticado + dourado */


/* ============ EXPLORE MARANHÃO — seção SEO premium ============ */
.explore-ma {
  background:
    radial-gradient(900px 460px at 85% 20%, rgba(201,162,75,.13), transparent 60%),
    linear-gradient(135deg, #efe6d4 0%, #e7dcc8 100%);
  color: #17120a;
  border-top: 1px solid rgba(168,132,58,.22);
  border-bottom: 1px solid rgba(168,132,58,.22);
}
.explore-ma .sec-head h2 { color: #090806; }
.explore-ma .sec-head p { color: rgba(23,18,10,.68); }
.explore-ma .eyebrow { color: #a36f28; }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.explore-card {
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(168,132,58,.20);
  border-radius: 18px;
  padding: 1.45rem;
  box-shadow: 0 18px 50px rgba(81,58,22,.08);
}
.explore-card h3 {
  color: #a36f28;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 1rem;
}
.explore-card a {
  display: block;
  color: #33281b;
  font-size: .92rem;
  padding: .42rem 0;
  transition: .2s;
}
.explore-card a:hover { color: #a36f28; transform: translateX(4px); }
.explore-cta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #14100b;
  color: var(--tx);
  border: 1px solid rgba(201,162,75,.22);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.explore-cta strong { display:block; color:#fff; font-size:1.05rem; }
.explore-cta span { display:block; color:var(--tx-2); font-size:.88rem; margin-top:.18rem; }
@media (max-width: 980px) { .explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .explore-grid { grid-template-columns: 1fr; } .explore-cta { flex-direction:column; align-items:stretch; text-align:center; } }


/* ============ MODELO PORTAL ROBUSTO — blocos premium ============ */
.portal-showcase { background:#100c07; border-top:1px solid var(--line); }
.portal-grid { display:grid; grid-template-columns: 1.35fr 1fr 1fr; gap:1rem; }
.portal-card {
  min-height: 210px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:1.35rem;
  border-radius:20px;
  background:
    linear-gradient(rgba(10,7,4,.15), rgba(10,7,4,.88)),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1200&q=80') center/cover;
  border:1px solid rgba(231,214,171,.16);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
  transition:.28s;
}
.portal-card:nth-child(2){ background-image:linear-gradient(rgba(10,7,4,.12), rgba(10,7,4,.88)),url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=1200&q=80'); }
.portal-card:nth-child(3){ background-image:linear-gradient(rgba(10,7,4,.12), rgba(10,7,4,.88)),url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1200&q=80'); }
.portal-card:nth-child(4){ background-image:linear-gradient(rgba(10,7,4,.12), rgba(10,7,4,.88)),url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?w=1200&q=80'); }
.portal-card:nth-child(5){ background-image:linear-gradient(rgba(10,7,4,.12), rgba(10,7,4,.88)),url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?w=1200&q=80'); }
.portal-card.big { grid-row: span 2; min-height: 438px; }
.portal-card:hover { transform:translateY(-6px); border-color:rgba(201,162,75,.45); box-shadow:var(--shadow-lg); }
.portal-card span { color:var(--gold-2); text-transform:uppercase; letter-spacing:.16em; font-size:.68rem; font-weight:800; }
.portal-card h3 { color:#fff; font-size:1.35rem; margin:.35rem 0; }
.portal-card p { color:#ded4c4; font-size:.88rem; max-width:320px; }
.region-premium { background:linear-gradient(135deg,#171009,#0d0a06); border-top:1px solid var(--line); }
.region-wrap { display:grid; grid-template-columns: .95fr 1.15fr; gap:2.5rem; align-items:center; }
.region-wrap h2 { color:#fff; font-size:clamp(1.7rem,3vw,2.35rem); line-height:1.15; margin:.55rem 0 .85rem; }
.region-wrap p { color:var(--tx-2); margin-bottom:1.25rem; }
.region-chips { display:flex; flex-wrap:wrap; gap:.75rem; }
.region-chips a { padding:.72rem 1rem; border-radius:999px; background:rgba(201,162,75,.10); border:1px solid var(--line); color:var(--gold-light); font-weight:700; font-size:.88rem; transition:.2s; }
.region-chips a:hover { background:var(--gold); color:#17120a; transform:translateY(-2px); }
.trust-section { background:#14100b; border-top:1px solid var(--line); }
.trust-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.trust-card { background:var(--bg-2); border:1px solid var(--line); border-radius:18px; padding:1.55rem; box-shadow:var(--shadow); }
.trust-card b { color:rgba(220,187,106,.36); font-size:2.2rem; }
.trust-card h3 { color:#fff; margin:.2rem 0 .45rem; }
.trust-card p { color:var(--tx-2); font-size:.88rem; }
.lead-band { background:linear-gradient(135deg,var(--gold-2),var(--gold-dark)); color:#17120a; }
.lead-band-inner { display:flex; align-items:center; justify-content:space-between; gap:1.4rem; }
.lead-band .eyebrow { color:rgba(23,18,10,.62); }
.lead-band h2 { font-size:clamp(1.55rem,2.8vw,2.2rem); line-height:1.15; margin:.35rem 0; }
.lead-band p { color:rgba(23,18,10,.72); }
.lead-band .btn-wa { box-shadow:0 14px 32px rgba(0,0,0,.22); white-space:nowrap; }
@media (max-width: 900px) { .portal-grid,.region-wrap,.trust-grid { grid-template-columns:1fr; } .portal-card.big { min-height:260px; } .lead-band-inner { flex-direction:column; text-align:center; align-items:stretch; } }
