/* CAF Premium — Carlos Alberto Felipe, Especialista Alphaville Jacuhy */

/* Fontes hospedadas no próprio site (mais rápido e sem envio de dados ao Google). Licença SIL OFL. */

:root {
	--white: #ffffff;
	--black: #000000;
	--graphite: #262626;
	--paper: #f5f4f1;
	--mist: #625f59;
	--stone: #e9e6e0;
	--line: #dcd9d2;
	--brass: #a8844f;
	--brass-deep: #7a5c33;
	--wa: #1f8a4c;
	--serif: "Cormorant", "Cormorant Garamond", Garamond, Georgia, serif;
	--sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--graphite); font: 400 17.5px/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--black); line-height: 1.08; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--black); color: var(--white); padding: 10px 16px; z-index: 200; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { flex: none; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 1px; font: 400 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--graphite); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--stone); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--black); color: var(--black); background: transparent; }
.btn-line:hover { background: var(--black); color: var(--white); }
.btn-gold { border-color: var(--brass); color: var(--black); background: transparent; }
.btn-gold:hover { background: var(--brass); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #176e3c; }
.link-more { font-size: 15px; color: var(--black); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; }
.link-more:hover { color: var(--brass-deep); }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--white); }
.has-hero .site-header.is-solid, .has-hero.menu-open .site-header { background: var(--paper); border-color: var(--line); color: var(--graphite); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: .01em; color: currentColor; }
.site-header:not(.is-solid) .brand-name { color: inherit; }
.brand-sub { font-size: 12.5px; letter-spacing: .03em; opacity: .78; margin-top: 4px; }
.brand-creci { color: var(--brass); margin-left: 6px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav-list a:hover, .nav-list .current-menu-item a { border-color: var(--brass); }
.has-hero .site-header:not(.is-solid) .btn-gold { color: var(--white); }
.nav-contact { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: inherit; }

@media (max-width: 1180px) {
	.nav-list { gap: 18px; } .nav-list a { font-size: 14.5px; }
}
@media (max-width: 1080px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: block; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); color: var(--graphite); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
	.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
	.menu-open { overflow: hidden; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; font-family: var(--serif); font-weight: 600; font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav-cta { margin-top: 28px; }
	.has-hero .site-header .nav .btn-gold { color: var(--black); }
	.nav-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; font-size: 15px; }
	.nav-contact a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: var(--mist); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-photo .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.72) 100%); }
.contours { width: 100%; height: 100%; color: var(--brass); }
.hero-contours { position: absolute; inset: 0; opacity: .55; }
.hero-in { width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(120px, 15vh, 170px); }
.hero-kicker { font-size: 15px; letter-spacing: .04em; color: rgba(255,255,255,.82); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.hero-kicker::before { content: ""; width: 44px; height: 1px; background: var(--brass); }
.hero-title { color: var(--white); font-size: clamp(52px, 8.2vw, 116px); line-height: .95; letter-spacing: -.015em; max-width: 11.5em; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; margin: 26px 0 34px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.motion .hero-kicker, .motion .hero-title, .motion .hero-sub, .motion .hero-actions { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.motion .hero-title { transition-delay: .08s; } .motion .hero-sub { transition-delay: .22s; } .motion .hero-actions { transition-delay: .34s; }
.motion .hero-media img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-ready .hero-kicker, .is-ready .hero-title, .is-ready .hero-sub, .is-ready .hero-actions { opacity: 1; transform: none; }
.is-ready .hero-media img { transform: none; }

.hero-loc { min-height: min(64vh, 620px); }
.hero-loc .hero-in { padding-bottom: 64px; }

/* ---------- Busca ---------- */
.search { display: flex; gap: 0; background: var(--white); border: 1px solid var(--line); }
.search > .sf { flex: 1 1 0; }
.search > .sf-code { flex: .8 1 0; }
.search > .sf:nth-child(2) { flex-grow: 1.25; }
.sf { display: flex; flex-direction: column; justify-content: center; padding: 14px 16px 12px; border-right: 1px solid var(--line); min-width: 0; }
.sf label { font-size: 12.5px; color: var(--mist); letter-spacing: .02em; margin-bottom: 4px; }
.sf select, .sf input { border: 0; background: transparent; padding: 2px 0; font-size: 16px; color: var(--black); width: 100%; min-width: 0; appearance: none; -webkit-appearance: none; border-radius: 0; cursor: pointer; }
.sf select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a07f52' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 20px; }
.sf input::placeholder { color: #b5b3ad; }
.sf:focus-within { background: var(--stone); }
.sf select:focus, .sf input:focus { outline: none; }
.search-btn { min-height: 76px; border-radius: 0; padding: 0 28px; }
.search-dock { position: relative; z-index: 2; margin-top: -54px; }
.search-hero { box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.search-bar { margin-top: 8px; }
@media (max-width: 900px) {
	.search { display: grid; grid-template-columns: 1fr 1fr; }
	.sf { border-bottom: 1px solid var(--line); }
	.sf:nth-child(2n) { border-right: 0; }
	.sf-code { grid-column: 1 / -1; border-right: 0; }
	.search-btn { grid-column: 1 / -1; min-height: 58px; }
	.search-dock { margin-top: -36px; }
	.search > .sf:nth-last-child(3):nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
	.sf select, .sf input { font-size: 15.5px; }
}
@media (max-width: 560px) { .hero-kicker::before { display: none; } }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.search-dock + .section { padding-top: clamp(80px, 9vw, 120px); }
.section-stone { background: var(--stone); }
.section-dark { background: var(--black); color: rgba(255,255,255,.82); overflow: hidden; }
.section-dark .sec-title { color: var(--white); }
.band-contours { position: absolute; inset: 0; height: 100%; opacity: .22; pointer-events: none; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-title { font-size: clamp(34px, 4vw, 52px); max-width: 18em; }
.sec-title::before { content: ""; display: block; width: 36px; height: 2px; background: var(--brass); margin-bottom: 20px; }
.cta-in .sec-title::before { margin-left: auto; margin-right: auto; }
.sec-lead { margin: 14px 0 0; font-size: 18px; max-width: 34em; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(36px, 4vw, 56px) clamp(22px, 2.6vw, 36px); position: relative; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.card-large .card-media { aspect-ratio: 3 / 2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-nophoto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--mist); font-size: 14px; }
.badges { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.badges-inline { position: static; margin-bottom: 16px; }
.badge { font-size: 12.5px; letter-spacing: .03em; padding: 5px 11px; line-height: 1.2; background: var(--white); color: var(--black); }
.badge-gold { background: var(--brass); color: var(--white); }
.badge-dark, .badge-sold { background: var(--black); color: var(--white); }
.badge-reserved { background: var(--white); color: var(--brass-deep); box-shadow: inset 0 0 0 1px var(--brass); }
.badges-inline .badge-light { box-shadow: inset 0 0 0 1px var(--line); }
.card.is-sold .card-media img { filter: grayscale(.7); }
.card-body { padding-top: 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--mist); margin-bottom: 8px; }
.card-code { color: var(--brass-deep); }
.card-title { font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.card-large .card-title { font-size: clamp(27px, 2.6vw, 34px); }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.card-loc { display: flex; align-items: flex-start; gap: 6px; font-size: 14.5px; color: var(--mist); margin-bottom: 14px; }
.card-loc .ico { margin-top: 3px; color: var(--brass); }
.specs { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--black); }
.specs li { display: inline-flex; align-items: center; gap: 7px; }
.specs .ico { color: var(--brass); }
.specs small { font-size: inherit; color: var(--mist); }
.card-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.price { font-family: var(--sans); font-weight: 400; font-size: 23px; color: var(--black); margin: 0; letter-spacing: .01em; font-variant-numeric: lining-nums; }
.card-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.card-actions .btn-wa span { overflow: hidden; text-overflow: ellipsis; }
.section-dark .card-title, .section-dark .price, .section-dark .specs { color: var(--white); }
.section-dark .card-foot { border-color: rgba(255,255,255,.16); }
.section-dark .card-loc, .section-dark .card-meta, .section-dark .specs small { color: rgba(255,255,255,.6); }
.section-dark .btn-line { border-color: rgba(255,255,255,.7); color: var(--white); }
.section-dark .btn-line:hover { background: var(--white); color: var(--black); }
@media (max-width: 380px) { .card-actions { grid-template-columns: 1fr; } }

/* ---------- Categorias ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--black); }
.cat { display: flex; flex-direction: column; gap: 14px; padding: 34px 32px 34px 0; text-decoration: none; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.cat + .cat { padding-left: 32px; border-left: 1px solid var(--line); }
.cat-name { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 3.8vw, 50px); color: var(--black); line-height: 1; }
.cat-copy { max-width: 24em; }
.cat-count { margin-top: auto; font-size: 14.5px; color: var(--brass-deep); }
.cat:hover .cat-name { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--brass); text-underline-offset: 8px; }
@media (max-width: 820px) { .cats { grid-template-columns: 1fr; } .cat, .cat + .cat { padding: 26px 0; border-left: 0; } }

/* ---------- Split / sobre ---------- */
.split-in, .about-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-media { aspect-ratio: 5 / 4; background: var(--black); overflow: hidden; position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-contours { position: absolute; inset: 0; opacity: .5; }
.split-text .sec-title { margin-bottom: 22px; }
.split-text .prose { margin-bottom: 26px; }
.about-in { grid-template-columns: .8fr 1fr; }
.about-photo { aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: clamp(80px, 12vw, 160px); color: var(--brass); opacity: .5; }
.about-text .sec-title, .about-text .page-title { margin-bottom: 24px; }
.about-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 32em; }
.about-sign { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--black); margin: 26px 0 28px; line-height: 1.3; }
.about-sign span { font-family: var(--sans); font-size: 14.5px; color: var(--mist); }
.about-page { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.about-in-lg { align-items: start; }
.credentials { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 44px; margin: 32px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credentials dt { font-size: 13px; color: var(--mist); }
.credentials dd { margin: 4px 0 0; color: var(--black); }
@media (max-width: 860px) {
	.split-in, .about-in { grid-template-columns: 1fr; }
	.about-photo { max-width: 420px; }
	.credentials { grid-template-columns: 1fr 1fr; }
}

/* ---------- Texto corrido ---------- */
.prose { max-width: 68ch; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose h2 { font-size: 34px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 26px; margin: 1.4em 0 .4em; }
.prose strong { font-weight: 500; color: var(--black); }
.prose-lg { font-size: 18.5px; line-height: 1.7; }
.prose-page { padding: 8px 0 100px; }

/* ---------- Formulário de interesse ---------- */
.lead-wrap { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.lead-intro .sec-title { margin-bottom: 18px; }
.lead-intro p { font-size: 18px; max-width: 30em; }
.link-wa { display: inline-flex; align-items: center; gap: 10px; color: var(--wa); text-decoration: none; margin-top: 8px; }
.link-wa:hover { text-decoration: underline; }
.lead-form { background: var(--white); padding: clamp(24px, 3vw, 40px); }
.section-stone .lead-form { border: 1px solid var(--line); }
.lead-title { font-size: 32px; margin-bottom: 18px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.lf { display: flex; flex-direction: column; gap: 6px; }
.lf-wide { grid-column: 1 / -1; }
.lf label { font-size: 13.5px; color: var(--mist); }
.lf input, .lf select, .lf textarea { width: 100%; border: 0; border-bottom: 1px solid #c9c7c1; background: transparent; padding: 10px 0; font-size: 16px; color: var(--black); border-radius: 0; appearance: none; -webkit-appearance: none; }
.lf select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a07f52' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.lf textarea { resize: vertical; min-height: 90px; }
.lf input:focus, .lf select:focus, .lf textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mist); margin: 22px 0 22px; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--black); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-msg { padding: 14px 16px; font-size: 15px; margin-bottom: 18px; }
.lead-ok { background: #e9f4ed; color: #185c33; }
.lead-err { background: #fbecea; color: #8b2b20; }
@media (max-width: 860px) { .lead-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lf-grid { grid-template-columns: 1fr; } .lead-form .btn { width: 100%; } }

/* ---------- Cabeçalho de página e listagem ---------- */
.page-head { padding: clamp(44px, 6vw, 84px) 0 clamp(28px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--mist); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--black); text-decoration: underline; }
.crumbs-light { color: rgba(255,255,255,.7); }
.crumbs-light a:hover { color: var(--white); }
.page-title { font-size: clamp(46px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.02em; }
.page-lead { font-size: clamp(17px, 1.5vw, 20px); margin: 18px 0 0; max-width: 36em; }
.list-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 30px 0 34px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.list-count { margin: 0; color: var(--mist); }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { font-size: 14px; color: var(--mist); }
.sort select { border: 1px solid var(--line); background: var(--white); padding: 10px 34px 10px 14px; appearance: none; -webkit-appearance: none; border-radius: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a07f52' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.list-grid { margin-bottom: 20px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 56px 0 90px; }
.pagination .page-numbers { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--line); color: var(--black); }
.pagination .page-numbers.current { background: var(--black); color: var(--white); border-color: var(--black); }
.pagination a.page-numbers:hover { border-color: var(--black); }
.pagination .dots { border: 0; }
.empty { padding: clamp(40px, 6vw, 72px) 0 80px; max-width: 40em; }
.empty h3 { font-size: 34px; margin-bottom: 12px; }
.empty p { font-size: 18px; }
.loc-desc { margin: 44px 0 34px; font-size: 18.5px; }
.cta-band { border-top: 1px solid var(--line); }
.cta-in { max-width: 760px; text-align: center; }
.cta-in .sec-title { margin: 0 auto 16px; }
.cta-in p { font-size: 18px; margin-bottom: 28px; }

/* ---------- Localizações ---------- */
.locs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; padding: 18px 0 110px; }
.locs-single { grid-template-columns: 1fr; }
.loc { display: grid; text-decoration: none; position: relative; color: var(--white); overflow: hidden; background: var(--black); }
.loc-media, .loc-body { grid-area: 1 / 1; }
.loc-media { aspect-ratio: 16 / 9; display: block; position: relative; }
.locs-single .loc-media { aspect-ratio: 21 / 9; }
.loc-media img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.loc-media .contours { position: absolute; inset: 0; opacity: .55; }
.loc:hover .loc-media img { opacity: .65; transform: scale(1.03); }
.loc-body { align-self: end; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 4px; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0)); }
.loc-name { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; }
.loc-city { color: rgba(255,255,255,.8); }
.loc-count { color: var(--brass); margin-top: 8px; font-size: 15px; }
@media (max-width: 760px) { .locs { grid-template-columns: 1fr; } .locs-single .loc-media { aspect-ratio: 4 / 3; } }

/* ---------- Contato ---------- */
.contact-page { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); padding: 20px var(--gutter) 110px; align-items: start; }
.contact-channels { display: flex; flex-direction: column; border-top: 1px solid var(--black); }
.channel { display: flex; gap: 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.channel .ico { color: var(--brass); }
.channel span { display: flex; flex-direction: column; color: var(--mist); }
.channel strong { font-family: var(--serif); font-weight: 600; font-size: 27px; color: var(--black); }
.channel:hover strong { text-decoration: underline; text-decoration-color: var(--brass); }
.contact-form .lead-form { border: 1px solid var(--line); }
@media (max-width: 860px) { .contact-page { grid-template-columns: 1fr; } }

/* ---------- Página do imóvel ---------- */
.property > .wrap:first-child { padding-top: 34px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.gallery:not(.has-thumbs) { grid-template-columns: 1fr; }
.gallery button { border: 0; padding: 0; margin: 0; background: var(--stone); cursor: zoom-in; position: relative; overflow: hidden; display: block; width: 100%; }
.gallery-main { aspect-ratio: 3 / 2; }
.gallery:not(.has-thumbs) .gallery-main { aspect-ratio: 21 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.025); }
.gallery-side { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }
.gallery-side .gallery-tile:only-child { grid-column: 1 / -1; grid-row: span 2; }
.gallery-hint { position: absolute; right: 16px; bottom: 16px; background: rgba(255,255,255,.94); color: var(--black); font-size: 14px; padding: 9px 14px; display: inline-flex; gap: 8px; align-items: center; }
.gallery-more { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 34px; }
.gallery-empty { aspect-ratio: 21 / 9; background: var(--black); color: rgba(255,255,255,.75); position: relative; display: flex; align-items: center; justify-content: center; }
.gallery-empty .contours { position: absolute; inset: 0; opacity: .45; }
.gallery-empty p { position: relative; margin: 0; }
@media (max-width: 820px) {
	.gallery { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
	.gallery-side { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 6px; padding: 0 var(--gutter); }
	.gallery-side .gallery-tile { aspect-ratio: 1; }
	.gallery-side .gallery-tile:only-child { grid-column: auto; grid-row: auto; }
	.gallery-main, .gallery:not(.has-thumbs) .gallery-main { aspect-ratio: 4 / 3; }
}

.property-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 5vw, 80px); padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(60px, 7vw, 100px); align-items: start; }
.property-title { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 14px; }
.property-loc { display: flex; gap: 8px; align-items: center; color: var(--mist); font-size: 17px; }
.property-loc .ico { color: var(--brass); }
.property-price-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; padding: 22px 0; margin: 22px 0 26px; border-top: 1px solid var(--black); border-bottom: 1px solid var(--line); }
.property-price { font-family: var(--sans); font-weight: 400; font-size: clamp(30px, 3vw, 38px); letter-spacing: .01em; color: var(--black); margin: 0; }
.property-code { margin: 0; color: var(--brass-deep); }
.specs-lg { gap: 18px 34px; font-size: 17px; margin-bottom: 8px; }
.specs-lg li { flex-direction: column; align-items: flex-start; gap: 6px; }
.property-block { padding: 40px 0 0; }
.property-block h2 { font-size: 32px; margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks-cols { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 24px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: var(--brass); }
.ficha { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 32px; margin: 0; }
.ficha div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ficha dt { color: var(--mist); font-size: 15px; }
.ficha dd { margin: 0; color: var(--black); text-align: right; font-size: 15px; }

.property-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-box { border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.contact-box h2 { font-size: 34px; }
.contact-box > p { margin-bottom: 8px; }
.contact-agent { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mist); }
.contact-agent strong { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--black); }
.contact-agent p { margin: 0; line-height: 1.45; }
.agent-ph { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
@media (max-width: 980px) {
	.property-layout { grid-template-columns: 1fr; }
	.property-aside { position: static; }
}

.mobile-bar { display: none; }
@media (max-width: 760px) {
	.single-imovel .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--white); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; gap: 14px; }
	.mobile-bar p { margin: 0; display: flex; flex-direction: column; line-height: 1.2; }
	.mobile-bar span { font-size: 20px; color: var(--black); }
	.mobile-bar small { color: var(--mist); font-size: 12.5px; }
	.single-imovel .wa-float { display: none; }
	.single-imovel .site-footer { padding-bottom: 90px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-open { overflow: hidden; }
.lb-stage { margin: 0; max-width: 92vw; max-height: 84vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; padding: 14px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }
@media (max-width: 640px) { .lb-prev, .lb-next { display: none; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.68); font-size: 15px; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 80px; padding-bottom: 56px; }
.footer-name { font-family: var(--serif); font-weight: 600; font-size: 34px; color: var(--white); margin-bottom: 14px; line-height: 1.1; }
.footer-brand p:last-child { line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a, .footer-contact > span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-contact .ico { color: var(--brass); }
.footer-contact a:hover { color: var(--white); }
.footer-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.footer-list li { margin-bottom: 10px; break-inside: avoid; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 28px; font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer-legal p { margin: 0; }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr; padding-top: 60px; } }

/* ---------- WhatsApp flutuante e aviso ---------- */
.wa-float { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 95; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.menu-open .wa-float { display: none; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--black); color: var(--white); padding: 12px 20px; font-size: 15px; z-index: 310; }
.toast[hidden] { display: none; }

.page-404 { padding-bottom: 120px; }
.page-404 .row-actions { margin-top: 30px; }

/* Faixa escura do "Sobre" na home */
.section-dark .about-sign { color: var(--white); }
.section-dark .about-sign span, .section-dark .about-lead { color: rgba(255,255,255,.78); }
.section-dark .btn-dark { background: var(--white); color: var(--black); }
.section-dark .btn-dark:hover { background: var(--stone); }
.section-dark .link-more { color: var(--white); }
.section-dark .about-photo { background: #1c1c1c; }
.section-dark .sec-lead { color: rgba(255,255,255,.78); }

/* =====================================================================
   Identidade visual Carlos A. Felipe (manual, página 17)
   Petróleo + areia, Marcellus nos títulos e Montserrat como apoio.
   Este arquivo é carregado depois de site.css e só substitui o necessário.
   ===================================================================== */
@font-face { font-family: "Marcellus"; src: url("fonts/marcellus.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat.woff2") format("woff2-variations"), url("fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--petrol: #004851;      /* Petróleo da marca */
	--petrol-deep: #00363d;
	--sand: #dfd1a7;        /* Areia da marca */
	--sand-soft: #f6f1e4;
	--olive: #899064;       /* Verde da marca */
	--caramel: #b77729;     /* Caramelo da marca */

	--black: var(--petrol-deep);
	--graphite: #22393c;
	--paper: var(--sand-soft);
	--stone: #ece3cc;
	--line: #d9cfb6;
	--mist: #56686a;
	--brass: var(--caramel);
	--brass-deep: #8a571c;
	--wa: #5f6744;
	--serif: "Marcellus", "Trajan Pro", Georgia, serif;
	--sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

body { font-size: 16.5px; line-height: 1.68; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: 0; line-height: 1.12; }
.btn { font-weight: 500; font-size: 14px; letter-spacing: .06em; }
.btn-sm { font-size: 13px; }
.price, .property-price { font-weight: 500; letter-spacing: 0; }
.btn-dark { background: var(--petrol); color: var(--sand-soft); }
.btn-dark:hover { background: var(--petrol-deep); }
.btn-light { background: var(--sand); color: var(--petrol-deep); }
.btn-light:hover { background: var(--sand-soft); }
.btn-wa:hover { background: #4c5336; }

/* ---------- Logotipo ---------- */
.logo { display: block; color: var(--sand); }
.logo svg { display: block; width: 100%; height: auto; }
.brand { gap: 6px; }
.brand .logo { width: 232px; }
.brand-sub { font-size: 11px; letter-spacing: .12em; opacity: .8; margin-top: 0; }
.brand-creci { color: var(--sand); margin-left: 0; }
.footer-name .logo { width: 280px; margin-bottom: 4px; }

/* ---------- Cabeçalho petróleo ---------- */
.site-header, .has-hero .site-header.is-solid, .has-hero.menu-open .site-header { background: var(--petrol); border-color: rgba(223, 209, 167, .18); color: var(--sand-soft); }
.has-hero .site-header { color: var(--sand-soft); }
.nav-list a:hover, .nav-list .current-menu-item a { border-color: var(--sand); }
.btn-gold, .has-hero .site-header:not(.is-solid) .btn-gold { border-color: var(--sand); color: var(--sand); }
.btn-gold:hover { background: var(--sand); color: var(--petrol-deep); }
@media (max-width: 1080px) {
	.nav { background: var(--petrol); color: var(--sand-soft); }
	.nav-list a { border-color: rgba(223, 209, 167, .2); font-weight: 400; }
	.has-hero .site-header .nav .btn-gold { color: var(--sand); }
	.nav-contact a { color: rgba(246, 241, 228, .75); }
	.brand .logo { width: 190px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--petrol); }
.hero .contours, .section-dark .contours, .split-media .contours, .loc-media .contours, .gallery-empty .contours { color: var(--sand); }
.hero-contours { opacity: .28; }
.hero-title { color: var(--sand); font-size: clamp(44px, 6.6vw, 94px); line-height: 1.02; letter-spacing: .005em; max-width: 12em; }
.hero-kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 241, 228, .85); }
.hero-kicker::before { background: var(--sand); }
.hero-sub { color: rgba(246, 241, 228, .86); }
.btn-ghost { border-color: rgba(223, 209, 167, .7); color: var(--sand-soft); }
.hero-mark { position: absolute; right: max(4vw, calc((100vw - var(--wrap)) / 2)); top: 50%; width: min(34vw, 440px); transform: translateY(-46%); color: var(--sand); opacity: .12; pointer-events: none; }
.hero-mark svg { width: 100%; height: auto; display: block; }
.hero.has-photo .hero-mark { display: none; }
@media (max-width: 760px) { .hero-mark { width: 70vw; right: -12vw; top: 30%; opacity: .08; } }

/* ---------- Seções ---------- */
.section-dark { background: var(--petrol); color: rgba(246, 241, 228, .82); }
.section-dark .sec-title, .section-dark .card-title, .section-dark .price, .section-dark .about-sign { color: var(--sand); }
.band-contours { opacity: .14; }
.sec-title::before { background: var(--caramel); }
.section-dark .sec-title::before { background: var(--sand); }
.section-dark .badge-gold { background: var(--sand); color: var(--petrol-deep); }
.section-dark .card-code { color: var(--sand); }
.section-dark .specs .ico, .section-dark .card-loc .ico { color: var(--sand); }
.section-dark .btn-dark { background: var(--sand); color: var(--petrol-deep); }
.section-dark .btn-dark:hover { background: var(--sand-soft); }
.section-dark .btn-wa { background: var(--olive); color: var(--petrol-deep); }
.section-dark .btn-wa:hover { background: #a2a97c; }
.section-dark .about-photo { background: var(--petrol-deep); }
.photo-ph { color: var(--sand); opacity: .35; }

.badge-gold { background: var(--caramel); }
.badge-dark { background: var(--petrol); }
.card-media, .split-media, .gallery-empty, .loc { background: var(--petrol); }
.card-nophoto { color: rgba(223, 209, 167, .75); }
.card-media .card-nophoto .ico { color: var(--sand); }
.cats { border-top-color: var(--petrol); }
.contact-channels { border-top-color: var(--petrol); }
.property-price-row { border-top-color: var(--petrol); }
.cat-name, .about-sign, .loc-name, .footer-name, .channel strong, .contact-agent strong { font-weight: 400; }
.loc-count { color: var(--sand); }
.pagination .page-numbers.current { background: var(--petrol); border-color: var(--petrol); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--petrol-deep); color: rgba(246, 241, 228, .7); }
.footer-contact .ico { color: var(--sand); }
.footer-legal { border-top-color: rgba(223, 209, 167, .16); }

/* ---------- WhatsApp e foco ---------- */
.wa-float { background: var(--petrol); color: var(--sand); box-shadow: 0 0 0 1px rgba(223, 209, 167, .5), 0 12px 30px -10px rgba(0, 40, 45, .6); }
:focus-visible { outline-color: var(--caramel); }
.site-header :focus-visible, .section-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--sand); }

/* Ajustes de largura para a Montserrat */
.nav { gap: 22px; }
.nav-list { gap: 20px; }
.nav-list a { font-size: 13.5px; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 1240px) { .nav-list { gap: 14px; } .nav-list a { font-size: 13px; } .nav-cta { padding: 0 16px; } }
.sf select, .sf input { font-size: 14.5px; }
.sf label { font-size: 11.5px; }
.search-btn { font-size: 13.5px; padding: 0 22px; }
.section-dark .card-media { background: rgba(223, 209, 167, .07); box-shadow: inset 0 0 0 1px rgba(223, 209, 167, .18); }
.card-meta, .card-loc { font-size: 13px; }
.specs { font-size: 14px; gap: 8px 16px; }
.card-title { font-size: 24px; }
.card-actions .btn-sm { padding: 0 12px; letter-spacing: .03em; }
.btn-block { white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 980px) { .property-layout { grid-template-columns: minmax(0, 1fr); } }

[data-icon]{display:inline-flex}
.nav-cta,.nav-contact a,.footer-contact a{cursor:pointer}
#app:focus{outline:none}

/* Foto ainda não enviada ao bucket: esconde o ícone de imagem quebrada */
img.img-off { visibility: hidden; }
