:root {
    --ink: #111111;
    --graphite: #1c1c1c;
    --muted: #67625a;
    --cream: #fbf9f4;
    --paper: #fffdfa;
    /* Dourado champanhe: menos saturado que o amarelo-ouro anterior. É a cor
       da marca (a fênix da logo): para voltar ao tom antigo, #d2a93b. */
    --gold: #c9a961;
    --gold-deep: #9a7b3c;   /* mesmo tom, escuro o bastante para texto em fundo claro */
    --gold-glow: rgba(201, 169, 97, .28);
    --zinc-950: #0b0c0d;
    --zinc-900: #141516;
    --zinc-800: #1f2124;
    --line: #e6e1d8;
    --shadow: 0 18px 55px rgba(17, 17, 17, .14);
    --sombra-sm: 0 1px 2px rgba(17, 17, 17, .05), 0 1px 3px rgba(17, 17, 17, .04);
    --sombra-xl: 0 24px 48px -16px rgba(17, 17, 17, .28), 0 8px 16px -8px rgba(17, 17, 17, .12);
    --suave: .3s cubic-bezier(.2, .8, .2, 1);

    /* Ritmo vertical. `--secao` é o respiro de CADA seção: entre duas, o
       espaço é o dobro. Mudar aqui muda a página inteira, de uma vez. */
    --r1: .5rem;    /*  8px */
    --r2: 1rem;     /* 16px */
    --r3: 1.5rem;   /* 24px */
    --r4: 2rem;     /* 32px */
    --r5: 3rem;     /* 48px */
    --secao: 3.5rem; /* 56px -> 112px entre seções */
    --font-title: "Cormorant Garamond", Georgia, serif;
    --font-interface: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-text: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-family: var(--font-text);
    color: var(--ink);
    background: var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: white; background: var(--graphite); }
main { color: white; background: var(--graphite); }
a { color: inherit; transition: color var(--suave), opacity var(--suave); }
img { max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; font-size: 1.05rem; letter-spacing: .01em; }
.brand strong { display: block; color: var(--gold); font-family: var(--font-title); font-size: 1.55rem; font-weight: 600; line-height: .9; }
.brand-logo { display: block; height: auto; border-radius: 5px; object-fit: contain; }
.main-menu a:hover { color: var(--gold-deep); }
.instagram-button { border: 1px solid #c13584; border-radius: 999px; padding: 10px 16px; color: white !important; background: linear-gradient(135deg, #833ab4, #c13584, #f77737); }
.instagram-button:hover { color: white !important; filter: brightness(1.08); }
.menu-button { display: none; border: 1px solid rgba(210,169,59,.7); border-radius: 8px; padding: 8px 12px; color: white; background: var(--graphite); font-family: var(--font-interface); }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700 !important; }
.page-hero h1, .not-found h1 { margin: 0; font-family: var(--font-title); font-weight: 600; line-height: 1.02; }
.filters label { display: grid; gap: 7px; color: var(--muted); font-family: var(--font-interface); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
select, input, textarea { width: 100%; min-height: 45px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; color: var(--ink); background: white; font: inherit; }
textarea { padding-block: 12px; resize: vertical; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 0 22px; color: var(--ink); background: var(--gold); font-family: var(--font-interface); font-weight: 600; text-decoration: none; cursor: pointer;
          transition: transform var(--suave), box-shadow var(--suave), background var(--suave), color var(--suave), filter var(--suave); }
/* Hover dos botões: sobe um pixel, ganha um brilho interno e uma sombra na
   cor do próprio botão. Nada de trocar a cor inteira. */
.button:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 10px 24px -10px var(--gold-glow); }
.button:active { transform: translateY(0); }
.section { padding-block: var(--secao); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2, .cta-section h2, .contact-grid h2 { margin: 0; font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 600; line-height: 1.12; }
.section-heading a { color: var(--gold); font-family: var(--font-interface); font-weight: 700; text-decoration: none; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
/* O card é uma coluna: foto num retângulo sempre igual, corpo ocupando o
   resto e preço colado na base. Sem isso, foto de proporção diferente
   empurrava título e preço para alturas diferentes em cada card. */
.property-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(17,17,17,.06); border-radius: 16px; color: var(--ink); background: white; box-shadow: var(--sombra-sm); transition: transform var(--suave), box-shadow var(--suave), border-color var(--suave); }
.property-card:hover { transform: translateY(-6px); border-color: rgba(17,17,17,.1); box-shadow: var(--sombra-xl); }
.property-card:hover .property-media img { transform: scale(1.05); }
/* aspect-ratio em vez de min-height: a altura passa a ser consequência da
   largura, igual para todo mundo, e o object-fit corta o excesso da foto em
   vez de deformá-la. */
.property-media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #e2e8ef, #93a6b8); text-decoration: none; }
.property-media::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -130px; border-radius: 50%; background: rgba(255,255,255,.22); }
.media-placeholder { color: rgba(255,255,255,.7); font-family: var(--font-title); font-size: 4.7rem; }
.property-badge, .featured-badge { position: absolute; z-index: 2; top: 14px; left: 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; color: white; background: rgba(17,17,17,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--font-interface); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.featured-badge { right: 14px; left: auto; border-color: transparent; color: var(--ink); background: var(--gold); }
.property-badge.inline, .featured-badge.inline { position: static; display: inline-flex; margin: 0 5px 10px 0; }
.property-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.property-location { margin: 0 0 8px; color: var(--muted); font-size: .8rem; letter-spacing: .01em; }
/* Duas linhas sempre: título curto e título longo terminam na mesma altura,
   então os dados e o preço de todos os cards ficam na mesma linha. */
.property-card h3 { margin: 0 0 16px; font-family: var(--font-title); font-size: 1.45rem; line-height: 1.25;
                    min-height: calc(1.45rem * 1.25 * 2); display: -webkit-box; -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical; overflow: hidden; }
.property-card h3 a { text-decoration: none; }
.property-features { min-height: 24px; display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 16px; color: var(--muted); font-size: .82rem; }
.property-price { margin-top: auto; color: var(--gold-deep); font-family: var(--font-interface); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.empty-public { padding: 55px 30px; border: 1px dashed #aebdb8; border-radius: 15px; color: var(--ink); text-align: center; background: var(--cream); }
.empty-public h3 { margin: 0 0 8px; font-family: var(--font-title); font-size: 1.8rem; }
.empty-public p { color: var(--muted); }
.cta-section { margin-block: var(--secao); display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px 56px; border-radius: 20px; color: white; background: var(--gold); }
.cta-section p:not(.eyebrow) { margin-bottom: 0; }
.cta-section .eyebrow { color: #fff8ec; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5rem); }
.page-hero p:last-child { max-width: 660px; color: #d9d2c6; font-size: 1.08rem; }
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; padding: 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; box-shadow: 0 10px 35px rgba(0,0,0,.18); }
.clear-filter { min-height: 46px; display: grid; place-items: center; color: var(--muted); font-weight: 700; text-decoration: none; }
.results-heading { margin: 46px 0 24px; }
.results-heading h2 { font-family: var(--font-title); font-weight: 600; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--gold); font-family: var(--font-interface); font-weight: 600; text-decoration: none; }
.wide { width: 100%; }
.contact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 70px; }
.contact-card { padding: 34px; border-radius: 16px; color: var(--ink); background: var(--cream); }
.contact-card p { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.partnership-intro { max-width: 900px; margin-inline: auto; text-align: center; }
.partnership-intro h1 { max-width: 850px; margin-inline: auto; }
.partnership-intro > p:last-of-type { margin-inline: auto; }
.partnership-intro .button { margin-top: 22px; }
.services-heading { max-width: 760px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.service-card { display: flex; flex-direction: column; padding: 34px 30px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 12px 34px rgba(17,17,17,.06); }
.service-card.featured-service { border-color: rgba(210,169,59,.72); box-shadow: 0 18px 42px rgba(210,169,59,.17); }
.service-number { color: var(--gold); font-family: var(--font-interface); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.service-card h2 { margin: 20px 0 14px; font-family: var(--font-title); font-size: 2rem; line-height: 1.05; }
.service-card p, .service-card li { color: var(--muted); line-height: 1.65; }
.service-card ul { margin: 8px 0 22px; padding-left: 20px; }
.service-card li { margin-bottom: 8px; }
.service-note { padding: 14px; border-left: 3px solid var(--gold); background: var(--cream); font-size: .82rem; }
.service-card .button { width: 100%; margin-top: auto; padding-inline: 14px; text-align: center; }
.whatsapp-service { color: white; background: #25d366; }
.whatsapp-service:hover { color: white; background: #1ebe5d; }
.whatsapp-button, .whatsapp-service { font-weight: 700; }
.advisory-process { padding-block: var(--secao); color: var(--ink); background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.process-grid strong { color: var(--gold); font-family: var(--font-interface); }
.process-grid h3 { margin: 28px 0 10px; font-family: var(--font-title); font-size: 1.55rem; }
.process-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }
.advisory-cta { background: var(--gold); }
.lead-form-section { padding-top: var(--secao); }
.lead-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 32px; align-items: start; }
.lead-form { padding: 32px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: white; box-shadow: var(--shadow); }
.form-grid-public { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid-public label { display: grid; gap: 8px; color: var(--graphite); font-family: var(--font-interface); font-size: .78rem; font-weight: 600; }
.form-grid-public .full-field { grid-column: 1 / -1; }
.form-submit { width: 100%; margin-top: 24px; }
.form-privacy { margin: 14px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.lead-sidebar { position: sticky; top: 125px; padding: 34px; border-radius: 18px; color: var(--ink); background: var(--cream); }
.lead-sidebar h2 { margin: 0 0 18px; font-family: var(--font-title); font-size: 2.35rem; line-height: 1.05; }
.lead-sidebar p, .lead-sidebar li { color: var(--muted); line-height: 1.7; }
.lead-sidebar ol { padding-left: 20px; }
.lead-sidebar li { margin-bottom: 12px; }
.not-found { min-height: 65vh; display: grid; place-content: center; justify-items: start; }
.not-found h1 { font-size: clamp(3rem, 6vw, 5rem); }
.not-found p:not(.eyebrow) { max-width: 600px; color: #d9d2c6; }

/* Home boutique contemporânea */
body, main { color: var(--ink); background: var(--paper); }
.main-menu a { font-family: var(--font-interface); text-decoration: none; font-weight: 600; font-size: .73rem; letter-spacing: .02em; white-space: nowrap; }
.main-menu .instagram-button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; padding: 0; color: var(--ink) !important; background: transparent; }
.main-menu .instagram-button:hover { color: var(--gold) !important; background: rgba(210,169,59,.08); filter: none; }
.instagram-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
/* Ícone e texto na mesma linha de centro: sem o flex, o SVG ficava na
   linha de base do texto e aparecia mais alto que ele. */
.main-menu .nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; line-height: 1; color: white; background: var(--gold); box-shadow: 0 9px 24px rgba(210,169,59,.22); }
.main-menu .nav-cta:hover { color: white; background: #bd9229; }
.nav-cta svg { display: block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.home-hero { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; color: white; background: var(--hero-image) center 48% / cover no-repeat; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,13,.96) 0%, rgba(11,12,13,.82) 34%, rgba(11,12,13,.28) 62%, rgba(11,12,13,.02) 100%); }
.home-hero-inner { position: relative; z-index: 1; min-height: 620px; display: flex; align-items: center; padding-bottom: 60px; }
.home-hero-copy { width: min(590px, 52%); }
.home-hero h1 { margin: 0; font-family: var(--font-title); font-size: clamp(3.4rem, 5.3vw, 5.2rem); font-weight: 700; letter-spacing: -.04em; line-height: .93; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.home-hero h1 span { color: var(--gold); }
.home-hero-copy > p { max-width: 510px; margin: 27px 0 31px; color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .button { min-height: 50px; border-radius: 999px; padding-inline: 31px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-primary { color: var(--ink); background: var(--gold); }
.hero-primary:hover { box-shadow: 0 0 0 4px var(--gold-glow), 0 14px 34px -12px var(--gold-glow), inset 0 0 0 1px rgba(255,255,255,.35); }
.hero-secondary { border: 1px solid rgba(255,255,255,.55); color: white; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-secondary:hover { border-color: white; color: var(--ink); background: white; }

.home-search-wrap { position: relative; z-index: 5; margin-top: -76px; }
/* Vidro: o card flutua metade sobre a foto, metade sobre o fundo claro. O
   blur deixa a foto passar borrada por trás, em vez de um bloco opaco. */
.home-search { padding: 24px 28px 26px; border: 1px solid rgba(255,255,255,.65); border-radius: 24px; color: var(--ink);
               background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
               box-shadow: 0 30px 70px -24px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.6) inset; }
.home-search-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.home-search-heading span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: var(--gold); background: var(--zinc-900);  }
.home-search-heading span svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.home-search-heading h2 { margin: 0; font-family: var(--font-interface); font-size: 1.05rem; }
.home-search-grid { display: grid; grid-template-columns: 1.05fr 1.05fr 1.05fr .9fr .9fr .78fr auto; gap: 11px; align-items: end; }
.home-search-grid label { display: grid; gap: 7px; color: var(--graphite); font-family: var(--font-interface); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.home-search-grid select, .home-search-grid input { min-height: 46px; border: 1px solid rgba(17,17,17,.1); border-radius: 12px; background: rgba(255,255,255,.85);
                                                    transition: border-color var(--suave), box-shadow var(--suave), background var(--suave); }
.home-search-grid select:hover, .home-search-grid input:hover { border-color: rgba(17,17,17,.22); }
.home-search-grid select:focus, .home-search-grid input:focus { outline: none; border-color: var(--gold); background: white; box-shadow: 0 0 0 3px var(--gold-glow); }
.home-search-grid .button { min-height: 46px; padding-inline: 18px; color: white; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.home-section-heading h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 3.7rem); line-height: 1; }
.home-section-heading div > p:last-child { margin: 13px 0 0; color: var(--muted); }
.home-section-heading > a { color: var(--gold); font-family: var(--font-interface); font-size: .78rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.home-featured .property-card { border: 0; border-radius: 18px; box-shadow: 0 14px 38px rgba(17,17,17,.09); }

.page-hero { padding-block: var(--secao); background: var(--ink); color: white; }
.contact-grid > div > p { color: var(--muted); line-height: 1.8; }

/* Seções inferiores da Home e rodapé */

.conversation-section { position: relative; overflow: hidden; padding-block: var(--r5); color: white; background: #141516; }
.conversation-section::before { content: ""; position: absolute; width: 430px; height: 430px; right: -120px; top: -210px; border: 1px solid rgba(210,169,59,.18); border-radius: 50%; box-shadow: 0 0 0 52px rgba(210,169,59,.025), 0 0 0 105px rgba(210,169,59,.018); }
/* Duas colunas: texto e botão à esquerda, lista de diferenciais à direita.
   Sem altura fixa: a seção acaba onde o conteúdo acaba. */
.conversation-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--r5); align-items: center; }
.conversation-texto { max-width: 560px; }
.conversation-texto h2 { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.02; }
.conversation-texto p:not(.eyebrow) { margin: var(--r2) 0 0; color: rgba(255,255,255,.73); font-size: 1rem; line-height: 1.7; }
.conversation-texto .button { margin-top: var(--r3); min-height: 48px; border-radius: 999px; padding-inline: 28px; color: white; background: var(--gold); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.conversation-texto .button:hover { background: #bd9229; }
/* Lista compacta: ícone dourado, título, descrição, linha fina entre itens. */
.diferenciais { list-style: none; margin: 0; padding: 0; }
.diferenciais li { display: flex; align-items: flex-start; gap: var(--r2); padding: var(--r2) 0; border-top: 1px solid rgba(255,255,255,.1); }
.diferenciais li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.diferenciais svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.diferenciais h3 { margin: 0 0 3px; color: white; font-family: var(--font-interface); font-size: .92rem; font-weight: 600 !important; line-height: 1.3; }
.diferenciais p { margin: 0; color: rgba(255,255,255,.58); font-size: .82rem; line-height: 1.55; }

/* ---------- rodapé ---------- */
/* Três colunas começando na mesma linha. Antes a do meio tinha um
   padding-top só dela, e as três arrancavam de alturas diferentes. */
.site-footer { color: #cfc9bf; background: #0e0f10; }
.footer-main { display: grid; grid-template-columns: minmax(270px, 1.2fr) minmax(155px, .6fr) minmax(390px, 1.1fr);
               gap: clamp(45px, 6vw, 88px); align-items: start; padding-block: 76px 64px; }
.footer-column { min-width: 0; }
.footer-column h2 { min-height: 34px; margin: 0 0 22px; color: rgba(255,255,255,.92); font-family: var(--font-title); font-size: 1.35rem; font-weight: 600 !important; letter-spacing: .01em; text-transform: none; }
/* A logo faz as vezes de título da primeira coluna: a altura reservada é a
   mesma do h2 das outras duas, para as três começarem juntas. */
.footer-mark .footer-brand { min-height: 34px; display: inline-flex; align-items: center; margin: 0 0 24px; padding: 0; background: transparent; }
.footer-mark .footer-logo { width: min(260px, 100%); height: auto; border-radius: 0; object-fit: contain; }
.footer-mark p { max-width: 310px; margin: 0; color: #cfc9bf; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px;
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
                 padding-block: 23px; border-top: 1px solid rgba(255,255,255,.1);
                 color: rgba(255,255,255,.38); font-size: .72rem; line-height: 1.5; }
.footer-column a { display: block; width: fit-content; margin: 0 0 12px; color: rgba(255,255,255,.62); font-size: .84rem; line-height: 1.55; text-decoration: none; transition: color var(--suave), transform var(--suave); }
.footer-column a:hover { color: var(--gold); transform: translateX(2px); }
.footer-column p { margin: 17px 0 0; color: #aaa49b; font-size: .82rem; line-height: 1.7; }
.footer-column span { color: #aaa49b; font-size: .78rem; }
.floating-whatsapp:hover { transform: translateY(-2px); background: #1ebe5d; }

/* Refinamento clean: header, carrossel, regiões e rodapé */
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(210, 169, 59, .5); color: #171717; background: rgba(244,240,232,.97); backdrop-filter: blur(12px); border-bottom-color: rgba(17,17,17,.08); box-shadow: 0 5px 22px rgba(17,17,17,.04); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-logo { width: clamp(225px, 22vw, 275px); }
.main-menu { display: flex; align-items: center; gap: 15px; }

.home-featured { background: white; overflow: hidden; }
.home-featured .home-section-heading { align-items: center; margin-bottom: 29px; }
.home-featured .home-section-heading h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 3.55rem); }
.carousel-actions { display: flex; align-items: center; gap: 9px; }
.carousel-actions a { margin-right: 9px; color: var(--gold); font-family: var(--font-interface); font-size: .76rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.carousel-actions button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--graphite); background: white; cursor: pointer; transition: color .2s, border-color .2s, opacity .2s; }
.carousel-actions button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.carousel-actions button:disabled { opacity: .3; cursor: default; }
.property-carousel { width: 100%; overflow: hidden; }
.property-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: none; touch-action: pan-x pan-y; }
.property-track::-webkit-scrollbar { display: none; }
.property-track .property-card { min-width: 0; scroll-snap-align: start; }
.home-featured .property-badge, .home-featured .featured-badge { display: none; }
.home-featured .property-body { padding: 20px 21px 22px; }
.home-featured .property-location { margin-bottom: 7px; }
.home-featured .property-card h3 { margin-bottom: 12px; }

.floating-whatsapp { position: fixed; z-index: 50; right: 16px; bottom: 16px; display: grid; min-height: 0; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,.94); border-radius: 50%; padding: 0; color: white; background: #25d366; box-shadow: 0 6px 17px rgba(0,0,0,.17); font-family: var(--font-interface); font-size: .78rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; width: 40px; height: 40px; place-items: center; border-width: 1px; }
.floating-whatsapp svg { width: 20px; height: 20px; fill: none; stroke: white; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Rodapé coeso e navegação interna da Home */
.section-anchor { display: block; height: 0; scroll-margin-top: 88px; }
.footer-contact-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 34px; }
.footer-contact-flow > a, .footer-contact-flow > p { min-width: 0; display: flex; flex-direction: column; gap: 4px; margin: 0; }
.footer-contact-flow > a { width: auto; }
.footer-contact-flow span { color: rgba(255,255,255,.38); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact-flow strong { overflow-wrap: anywhere; color: #d8d2c7; font-size: .82rem; font-weight: 500; line-height: 1.5; }
.footer-contact-flow a:hover strong { color: var(--gold); }

/* ---------- bloco 2: fotos, filtros avançados, paginação ---------- */
.property-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.property-code { display: inline-block; margin-left: .4rem; padding: .05rem .35rem; border-radius: 3px;
                 background: rgba(0,0,0,.06); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
                 font-size: .72rem; letter-spacing: .02em; }

.filtros-avancados { grid-column: 1 / -1; margin: .25rem 0 .5rem; padding: 0; border-top: 1px solid rgba(0,0,0,.08); }
.filtros-avancados summary { padding: .75rem 0; color: var(--gold, #b8912f); cursor: pointer;
                             font-family: Montserrat, Arial, sans-serif; font-size: .85rem; font-weight: 600; }
.avancados-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                  gap: .75rem 1rem; padding-bottom: .75rem; }
.avancados-titulo { margin: .5rem 0 .5rem; font-family: Montserrat, Arial, sans-serif; font-size: .78rem;
                    letter-spacing: .04em; text-transform: uppercase; color: #67625a; }
.avancados-caracteristicas { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                             gap: .4rem 1rem; padding-bottom: 1rem; }
.filters label.check { flex-direction: row; align-items: center; gap: .45rem; font-weight: normal; font-size: .88rem; }
.filters label.check input { width: auto; }

.paginacao { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem;
             font-family: Montserrat, Arial, sans-serif; font-size: .88rem; }
.paginacao a { color: var(--gold, #b8912f); font-weight: 600; text-decoration: none; }
.paginacao a:hover { text-decoration: underline; }
.paginacao span { color: #67625a; }

.lista-caracteristicas { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
                         gap: .35rem 1rem; margin: 0 0 1.5rem; padding-left: 1.1rem; }
.lista-caracteristicas li { color: #4a453e; }

/* "Ver imóveis" abre a lista completa na própria Home */
.todos-imoveis { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,.08); }
.todos-imoveis[hidden] { display: none; }
.todos-mais { margin-top: 1.75rem; text-align: center; }

.imovel-topo-wrap { padding: var(--r4) 0 var(--r2); }
.imovel-topo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
               gap: 1.75rem; align-items: start; margin-top: 1rem; }

/* --- galeria --- */
.imovel-galeria { min-width: 0; }
.imovel-galeria:focus-visible { outline: 2px solid var(--gold, #b8912f); outline-offset: 4px; }
.galeria-palco { position: relative; overflow: hidden; border-radius: 12px; background: #ece8e1; }
.galeria-trilho { display: flex; transition: transform .35s ease; }
.galeria-slide { flex: 0 0 100%; margin: 0; }
.galeria-slide img { display: block; width: 100%; height: clamp(260px, 52vh, 520px); object-fit: cover; }
.galeria-slide iframe, .galeria-slide video { display: block; width: 100%; height: clamp(260px, 52vh, 520px); border: 0; background: #000; }
/* Sem JS os slides ficam empilhados e continuam visíveis. */
.imovel-galeria:not(.com-script) .galeria-trilho { flex-direction: column; }
.imovel-galeria:not(.com-script) .galeria-seta,
.imovel-galeria:not(.com-script) .galeria-contador { display: none; }

.galeria-seta { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
                display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
                background: rgba(255,255,255,.92); color: #1c1c1c; font-size: 1.6rem; line-height: 1;
                box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.galeria-seta:hover { background: #fff; }
.galeria-seta.anterior { left: .75rem; }
.galeria-seta.proxima { right: .75rem; }
.galeria-contador { position: absolute; right: .75rem; bottom: .75rem; margin: 0; padding: .25rem .6rem;
                    border-radius: 5px; background: rgba(0,0,0,.62); color: #fff;
                    font-family: Montserrat, Arial, sans-serif; font-size: .78rem; }

.galeria-miniaturas { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto;
                      scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: .25rem; }
.galeria-miniaturas .miniatura { flex: 0 0 auto; width: 96px; height: 70px; padding: 0; border: 0;
                                 border-radius: 8px; overflow: hidden; background: #ece8e1; cursor: pointer;
                                 opacity: .68; transition: opacity .15s; }
.galeria-miniaturas .miniatura img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galeria-miniaturas .miniatura.ativa, .galeria-miniaturas .miniatura:hover { opacity: 1; }
.galeria-miniaturas .miniatura.ativa { outline: 2px solid var(--gold, #b8912f); outline-offset: -2px; }
.miniatura-video { display: grid; place-items: center; gap: .1rem; color: #4a453e; }
.miniatura-video span { font-size: 1.1rem; }
.miniatura-video small { font-family: Montserrat, Arial, sans-serif; font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; }
.galeria-vazia { display: grid; place-items: center; gap: .5rem; min-height: 300px; border-radius: 12px;
                 background: #ece8e1; color: #9a938a; }
.galeria-vazia span { font-family: var(--font-title, "Cormorant Garamond", Georgia, serif); font-size: 3rem; }

/* --- painel lateral --- */
.imovel-painel { min-width: 0; }
.painel-conteudo { position: sticky; top: 1rem; padding: 1.5rem; border-radius: 12px;
                   background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.painel-conteudo h1 { margin: .6rem 0 .3rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; }
.painel-local { margin: 0 0 .2rem; color: #67625a; }
.painel-codigo { margin: 0 0 .9rem; color: #8a837a; font-size: .85rem; }
.painel-preco { display: block; margin-bottom: 1.1rem; color: var(--gold, #b8912f);
                font-family: var(--font-title, "Cormorant Garamond", Georgia, serif);
                font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; }
.painel-atributos { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin: 0 0 1.25rem;
                    padding: 1rem 0; border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); }
.painel-atributos div { display: flex; flex-direction: column; }
.painel-atributos dt { font-weight: 600; font-size: 1.05rem; }
.painel-atributos dd { margin: 0; color: #67625a; font-size: .82rem; }
.painel-ctas { display: flex; flex-direction: column; gap: .55rem; }
.painel-ctas .button { width: 100%; min-height: 46px; display: grid; place-items: center; text-align: center; }
.cta-principal { background: #1f8a53; color: #fff; }
.cta-principal:hover { background: #19703f; color: #fff; }
.cta-secundario { border: 1px solid rgba(0,0,0,.16); background: #fff; color: #2e2e2e; }
.cta-secundario:hover { border-color: var(--gold, #b8912f); background: #fdfbf7; }

.painel-descricao { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(0,0,0,.08); }
.painel-descricao h2 { margin: 0 0 .6rem; font-size: 1.15rem; }
.descricao-texto { white-space: pre-line; color: #4a453e; font-size: .92rem; line-height: 1.65; }
.descricao-texto.recolhida { max-height: 11.5rem; overflow: hidden;
                             -webkit-mask-image: linear-gradient(#000 70%, transparent);
                             mask-image: linear-gradient(#000 70%, transparent); }
.ler-mais { margin-top: .6rem; padding: 0; border: 0; background: none; cursor: pointer;
            color: #1f8a53; font-family: Montserrat, Arial, sans-serif; font-size: .87rem; font-weight: 600; }
.ler-mais:hover { text-decoration: underline; }

/* --- blocos complementares --- */
.imovel-complementos { padding-bottom: 1rem; }
.complementos-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.bloco-info { padding: 1.4rem; border-radius: 12px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.bloco-info h2 { margin: 0 0 .9rem; font-size: 1.2rem; }
.bloco-info h3 { margin: 1.2rem 0 .6rem; font-family: Montserrat, Arial, sans-serif; font-size: .78rem;
                 letter-spacing: .05em; text-transform: uppercase; color: #67625a; }
.ficha-rapida { list-style: none; margin: 0; padding: 0; }
.ficha-rapida li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0;
                   border-bottom: 1px solid rgba(0,0,0,.06); }
.ficha-rapida li:last-child { border-bottom: 0; }
.ficha-rapida span { color: #67625a; font-size: .88rem; }

/* --- celular: coluna única, carrossel primeiro --- */
@media (prefers-reduced-motion: reduce) {
    .galeria-trilho { transition: none; }
    .galeria-miniaturas { scroll-behavior: auto; }
}

/* ---------- cartão de visita do corretor ---------- */
.cartao-pagina { display: grid; place-items: center; padding: var(--secao) var(--r2); }
.cartao-corretor { width: min(520px, 100%); padding: 2rem; border-radius: 16px; background: #fff;
                   box-shadow: 0 4px 24px rgba(0,0,0,.09); text-align: center; }
.cartao-topo { padding-bottom: 1.25rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.cartao-foto { width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
               border: 4px solid var(--gold, #b8912f); }
.cartao-foto-vazia { display: grid; place-items: center; margin: 0 auto; background: #ece8e1;
                     color: #9a938a; font-family: var(--font-title, Georgia, serif); font-size: 3.5rem; }
.cartao-corretor h1 { margin: 1rem 0 .25rem; font-size: 1.8rem; }
.cartao-creci { margin: 0 0 .35rem; color: #67625a; font-size: .9rem; }
.cartao-imobiliaria { margin: 0; color: var(--gold, #b8912f);
                      font-family: Montserrat, Arial, sans-serif; font-size: .85rem;
                      font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.cartao-bio { margin: 1.25rem 0 0; color: #4a453e; font-size: .95rem; line-height: 1.6; }
.cartao-contatos { display: grid; gap: .6rem; margin: 1.25rem 0; }
.cartao-contatos p { display: flex; justify-content: space-between; gap: 1rem; margin: 0;
                     padding: .55rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.cartao-contatos span { color: #67625a; font-size: .87rem; }
.cartao-acoes { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.25rem; }
.cartao-acoes .button { width: 100%; min-height: 48px; display: grid; place-items: center; }

/* ---------- página Sobre ---------- */
.sobre-secao { padding-top: var(--secao); }
.sobre-layout { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.sobre-layout.sem-foto { grid-template-columns: minmax(0, 1fr); max-width: 70ch; }
.sobre-retrato { margin: 0; border-radius: 12px; overflow: hidden; background: #ece8e1; }
.sobre-retrato img { display: block; width: 100%; height: auto; }
.sobre-texto p { margin: 0 0 1.1rem; color: #4a453e; font-size: 1.02rem; line-height: 1.7; }
.sobre-creci { font-family: Montserrat, Arial, sans-serif; font-size: .82rem; letter-spacing: .04em;
               text-transform: uppercase; color: #8a837a !important; }
.sobre-acoes { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }

@media (max-width: 1100px) {
    .menu-button { display: inline-flex; }
    .main-menu { position: absolute; inset: 96px 20px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid rgba(210,169,59,.42); border-radius: 12px; color: white; background: var(--graphite); box-shadow: var(--shadow); }
    .main-menu.is-open { display: flex; }
    .main-menu a { padding: 13px; }
    .header-logo { width: 245px; }
    .main-menu { gap: 10px; }
    .main-menu a { font-size: .68rem; }
    .home-search-grid { grid-template-columns: repeat(4, 1fr); }
    .header-inner { min-height: 76px; }
    .main-menu { inset: 76px 20px auto; }
    .property-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
}

@media (max-width: 950px) {
    :root { --secao: 2.75rem; }   /* 44px -> 88px entre seções */
    .contact-grid { grid-template-columns: 1fr; }
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .filters { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .lead-layout { grid-template-columns: 1fr; }
    .lead-sidebar { position: static; }
    .header-inner { min-height: 80px; }
    .main-menu { inset: 80px 20px auto; }
    .home-hero, .home-hero-inner { min-height: 570px; }
    .home-hero-copy { width: min(620px, 76%); }
    .home-search-wrap { margin-top: -55px; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 65px; }
    .footer-contact { grid-column: 1 / -1; }
    .imovel-topo { grid-template-columns: 1fr; gap: 1.25rem; }
    .painel-conteudo { position: static; padding: 1.25rem; }
    .painel-atributos { grid-template-columns: 1fr 1fr; }
    .galeria-miniaturas .miniatura { width: 78px; height: 58px; }
    .galeria-seta { width: 40px; height: 40px; }
}

@media (max-width: 700px) {
    :root { --secao: 2.25rem; }   /* 36px -> 72px entre seções */
    .shell { width: min(100% - 28px, 1180px); }
    .menu-button { display: inline-flex; }
    .header-inner { min-height: 84px; }
    .header-logo { width: min(245px, calc(100vw - 100px)); }
    .main-menu { inset: 84px 14px auto; }
    .property-grid, .filters, .process-grid, .form-grid-public { grid-template-columns: 1fr; }
    .section-heading, .cta-section { align-items: flex-start; flex-direction: column; }
    .cta-section { padding: var(--r4) var(--r3); }
    .form-grid-public .full-field { grid-column: auto; }
    .lead-form { padding: 24px 20px; }
    .floating-whatsapp { right: 14px; bottom: 14px; min-height: 44px; padding-inline: 16px; }
    .header-logo { width: min(220px, calc(100vw - 105px)); }
    .main-menu { inset: 74px 14px auto; }
    .main-menu .instagram-button { width: 100%; height: 42px; border-radius: 8px; }
    .home-hero { min-height: 520px; background-position: 61% center; }
    .home-hero::before { background: linear-gradient(90deg, rgba(11,12,13,.9), rgba(11,12,13,.57) 72%, rgba(11,12,13,.25)); }
    .home-hero-inner { min-height: 520px; align-items: center; padding-bottom: 50px; }
    .home-hero-copy { width: 100%; }
    .home-hero h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
    .home-hero-copy > p { font-size: .95rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .home-search-wrap { margin-top: -28px; }
    .home-search { padding: 20px; }
    .home-search-grid { grid-template-columns: 1fr; }
    .home-section-heading { align-items: flex-start; flex-direction: column; }
    .conversation-inner { grid-template-columns: 1fr; gap: var(--r4); }
    .conversation-texto { max-width: none; }
    .conversation-texto h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
    .conversation-texto .button { width: 100%; }
    .floating-whatsapp { right: 12px; bottom: 12px; width: 42px; height: 42px; }
    .floating-whatsapp svg { width: 21px; height: 21px; }
    .header-inner { min-height: 72px; }
    .header-logo { width: min(215px, calc(100vw - 100px)); }
    .main-menu { inset: 72px 14px auto; }
    .home-featured .home-section-heading { align-items: flex-start; gap: 18px; }
    .carousel-actions { width: 100%; }
    .carousel-actions a { margin-right: auto; }
    .property-track { grid-auto-columns: 100%; gap: 16px; }
    .floating-whatsapp { width: 38px; height: 38px; right: 10px; bottom: 10px; }
    .floating-whatsapp svg { width: 19px; height: 19px; }
    .section-anchor { scroll-margin-top: 76px; }
    .footer-main { grid-template-columns: 1fr; gap: 38px; padding-block: 58px 48px; }
    .footer-mark .footer-logo { width: min(240px, 100%); }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 9px; }
    .footer-contact { grid-column: auto; }
    .footer-contact-flow { grid-template-columns: 1fr; gap: 17px; }
    .sobre-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .sobre-retrato { max-width: 260px; }
    .sobre-acoes .button { width: 100%; text-align: center; }
}

@media (max-width: 520px) {
    .imovel-topo-wrap { padding-top: 1rem; }
    .painel-ctas .button { min-height: 50px; font-size: .95rem; }
}

body[data-theme="rs"] { --accent: #ca9e55; --ink: #17343e; }
