/* ===== Área pública – imobiliária ===== */
:root {
    --ink: #14263a;
    --ink-2: #1f3a56;
    --accent: #b8893b;
    --accent-dark: #9a7030;
    --bg: #f6f4ef;
    --line: #e6e2d8;
    --muted: #6b7684;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(20, 38, 58, .10);
}
body.site { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand-text, .price-big, .property-price { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
a { color: var(--ink-2); }
img { max-width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Botões */
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-whatsapp { background: #1fa855; border-color: #1fa855; color: #fff; font-weight: 600; }
.btn-whatsapp:hover { background: #178a44; border-color: #178a44; color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(184, 137, 59, .2); }

/* Header */
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 1030; }
.site-header .navbar { padding-block: .6rem; }
.brand-text { font-size: 1.6rem; color: var(--ink); line-height: 1; }
.site-header .navbar-brand img { max-width: 200px; object-fit: contain; }
.site-header .nav-link { font-weight: 500; color: var(--ink); padding: .5rem 1rem; position: relative; }
.site-header .nav-link.active, .site-header .nav-link:hover { color: var(--accent-dark); }
@media (min-width: 992px) {
    .site-header .nav-link.active::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .1rem; height: 2px; background: var(--accent); }
}
.navbar-toggler { border: 0; padding: .25rem; }
.navbar-toggler:focus { box-shadow: none; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff;
    display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); z-index: 1040; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* Hero / banner */
.hero { position: relative; background: var(--ink); }
.hero .carousel-item { height: clamp(380px, 62vh, 620px); background: linear-gradient(135deg, var(--ink), var(--ink-2)); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; padding-bottom: 3rem;
    background: linear-gradient(90deg, rgba(10, 20, 32, .72), rgba(10, 20, 32, .25)); }
.hero-content { color: #fff; max-width: 560px; }
.hero-direita { margin-left: auto; text-align: right; }
.hero-centro { margin-inline: auto; text-align: center; max-width: 720px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 1rem; }
.hero-text { font-size: 1.1rem; opacity: .92; margin-bottom: 1.5rem; }
.hero-vazio { padding: 5rem 0 6rem; color: #fff; background: linear-gradient(135deg, var(--ink), var(--ink-2)); }
.hero .carousel-indicators { margin-bottom: 4.5rem; }

/* Busca */
.search-overlap { position: relative; z-index: 5; margin-top: -3.5rem; }
.search-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; border: 1px solid var(--line); }
.search-box .form-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .25rem; }
@media (max-width: 991.98px) { .search-overlap { margin-top: -2rem; } }

/* Seções */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.eyebrow { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; margin-bottom: .3rem; }
.page-head { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; padding: 3rem 0 2.5rem; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 .3rem; }
.page-head p { margin: 0; opacity: .8; }
.cta { background: var(--ink); color: #fff; padding: 4rem 0; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { opacity: .8; margin-bottom: 1.5rem; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; color: var(--accent); }
.empty-state h3 { color: var(--ink); margin-top: .5rem; }

/* Card de imóvel */
.property-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.property-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #e9e6df; overflow: hidden; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.property-card:hover .property-media img { transform: scale(1.05); }
.property-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #a8a392; gap: .3rem; }
.property-placeholder i { font-size: 2.6rem; }
.badge-finalidade, .badge-destaque { position: absolute; top: .8rem; font-size: .72rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.badge-finalidade { left: .8rem; background: var(--ink); color: #fff; }
.badge-destaque { right: .8rem; background: var(--accent); color: #fff; }
.property-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.property-tipo { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); font-weight: 700; }
.property-title { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.05rem; line-height: 1.3; margin: .25rem 0 .4rem; }
.property-title a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.property-title a:hover { color: var(--accent-dark); }
.property-local { color: var(--muted); font-size: .88rem; margin: 0 0 .8rem; }
.property-specs { list-style: none; padding: .7rem 0; margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; border-block: 1px solid var(--line); font-size: .88rem; }
.property-specs i { color: var(--accent); margin-right: .15rem; }
.property-specs small { color: var(--muted); }
.property-footer { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.property-price { font-size: 1.5rem; color: var(--ink); }
.property-price small { font-family: 'Inter', sans-serif; font-size: .8rem; color: var(--muted); }
.property-price .consulte, .price-big .consulte { font-size: 1.15rem; color: var(--muted); }
.property-ref { font-size: .75rem; color: var(--muted); }

/* Paginação */
.site-pagination .page-link { color: var(--ink); border-color: var(--line); margin: 0 .15rem; border-radius: 8px !important; }
.site-pagination .active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Página do imóvel */
.breadcrumb a { color: var(--muted); text-decoration: none; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #e9e6df; }
.gallery-zoom { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; aspect-ratio: 16 / 10; }
.gallery-zoom img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; right: .8rem; bottom: .8rem; background: rgba(0, 0, 0, .6); color: #fff; padding: .25rem .65rem; border-radius: 999px; font-size: .8rem; pointer-events: none; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .6rem 0 .2rem; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 96px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; opacity: .65; aspect-ratio: 4 / 3; }
.gallery-thumbs button.active { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-empty { aspect-ratio: 16 / 10; border-radius: var(--radius); background: #e9e6df; color: #a8a392; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.1rem; }
.gallery-empty i { font-size: 4rem; }
#lightbox .modal-content { position: relative; }
#lightbox .carousel-item img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; z-index: 5; }
.imovel-titulo { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin: 1.5rem 0; padding: 1.2rem; background: var(--bg); border-radius: var(--radius); }
.info-grid dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.info-grid dd { margin: 0; font-weight: 600; }
.block-title { font-size: 1.5rem; margin: 2.2rem 0 1rem; }
.spec-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; }
.spec-grid li { border: 1px solid var(--line); border-radius: 12px; padding: .9rem; text-align: center; display: flex; flex-direction: column; gap: .15rem; }
.spec-grid i { font-size: 1.5rem; color: var(--accent); }
.spec-grid strong { font-size: 1.25rem; }
.spec-grid span { font-size: .8rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .6rem 1rem; }
.check-list i { color: var(--accent); margin-right: .35rem; }
.texto { line-height: 1.75; }
.texto-rico h2, .texto-rico h3, .texto-rico h4 { font-family: 'DM Serif Display', serif; margin: 1.6rem 0 .6rem; }
.video-box { border-radius: var(--radius); overflow: hidden; background: #000; }

.side-sticky { position: sticky; top: 92px; display: grid; gap: 1.2rem; }
.price-card, .contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; background: #fff; box-shadow: var(--shadow); }
.price-big { font-size: 2.2rem; line-height: 1.1; }
.price-big small { font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--muted); }
.price-extra { list-style: none; padding: 0; margin: .8rem 0 0; font-size: .9rem; }
.price-extra li { display: flex; justify-content: space-between; padding: .35rem 0; border-top: 1px dashed var(--line); }
.price-extra span { color: var(--muted); }
.corretor { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.corretor img, .corretor-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.corretor-avatar { display: grid; place-items: center; background: var(--bg); font-size: 1.8rem; color: var(--muted); }
@media (max-width: 991.98px) { .side-sticky { position: static; } }

/* Contato */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list > li > i { width: 46px; height: 46px; border-radius: 12px; background: var(--bg); color: var(--accent-dark); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; text-decoration: none; }

/* Footer */
.site-footer { background: #0f1d2c; color: #fff; padding: 4rem 0 1.5rem; }
.site-footer .brand-text { color: #fff; }
.footer-logo { max-width: 200px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-title { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--accent); margin-bottom: 1rem; }
.footer-links li { margin-bottom: .6rem; color: rgba(255, 255, 255, .7); }
.footer-links i { color: var(--accent); margin-right: .45rem; }
.footer-links a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social-link { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background .2s; }
.social-link:hover { background: var(--accent); color: #fff; }
.social-dark { background: var(--ink); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .55); text-align: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
