/* Ragazzo Imóveis: folha de estilos única do site */

/* Fonte dos títulos hospedada no próprio site (sem chamadas a terceiros) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("../fonts/montserrat-latin.woff2") format("woff2"); }

:root {
  --ink: #18222a;
  --ink-2: #24313b;
  --ink-3: #4a5761;
  --orange: #f28a1e;
  --orange-soft: #fdf1e2;
  --orange-text: #a35200; /* laranja escurecido para texto sobre fundo claro (contraste AA) */
  --whats: #25d366;
  --paper: #faf8f5;
  --white: #ffffff;
  --line: #e4dfd8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(24, 34, 42, .08);
  --wrap: 1180px;
  --font-title: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--orange-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #ffd29a; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-3); font-size: 1.125rem; }
.section--dark .section-head p { color: #c9d1d7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-title); font-size: .8rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--orange); }
.section--dark .eyebrow, .hero .eyebrow { color: var(--orange); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: var(--white); }

/* Marcadores de conteúdo a preencher */
.editar { background: var(--orange-soft); color: var(--ink); border: 1px dashed var(--orange); border-radius: 6px; padding: .05em .4em; font-style: normal; }
.section--dark .editar { background: rgba(242, 138, 30, .16); color: #ffe2bd; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-title); font-weight: 700; font-size: .98rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #ff9d36; color: var(--ink); }
.btn--whats { background: var(--whats); color: #0b2b16; }
.btn--whats:hover { background: #3fe07b; color: #0b2b16; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 66px; width: auto; }
.nav-toggle {
  display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--font-title); font-weight: 700; font-size: .9rem; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--ink);
  font-family: var(--font-title); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.site-nav li a:hover { background: var(--orange-soft); }
.site-nav li a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 8px 8px 0 0; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .brand img { height: 50px; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch;
    gap: 1rem; padding: 1rem 1.25rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; padding: clamp(3rem, 7vw, 5.5rem) 0 0; }
.hero-copy { padding-bottom: clamp(7rem, 12vw, 9rem); }
.hero-copy p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3dae0; max-width: 34rem; }
.hero h1 span { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-art { align-self: end; }
.hero-art svg { width: 100%; }
.hero-meta { margin-top: 1.5rem; font-size: .9rem; color: #aab5bd; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-copy { padding-bottom: 8rem; }
}

/* Busca */
.search-wrap { position: relative; z-index: 2; margin-top: -5rem; }
.search-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 1.5rem; }
.search-card h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.search-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; align-items: end; }
@media (max-width: 960px) { .search-grid { grid-template-columns: 1fr 1fr; } .search-grid .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .search-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .35rem; }
.field label, .field .label { font-family: var(--font-title); font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .85rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #8c979f; border-radius: 10px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--ink); }
.field .hint { font-size: .85rem; color: var(--ink-3); }
.field .error { font-size: .875rem; color: #a11a1a; font-weight: 600; }
.field [aria-invalid="true"] { border-color: #a11a1a; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: 1.4rem; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange); color: var(--ink); }
.cat-card svg { width: 40px; height: 40px; color: var(--orange-text); }
.cat-card strong { font-family: var(--font-title); font-size: 1.05rem; }
.cat-card span { font-size: .9rem; color: var(--orange-text); font-weight: 600; }

/* Cards de imóveis */
.aviso-exemplo { display: flex; gap: .75rem; align-items: flex-start; background: var(--orange-soft); border: 1px dashed var(--orange); border-radius: 12px; padding: 1rem 1.15rem; margin-bottom: 1.75rem; font-size: .98rem; }
.aviso-exemplo svg { width: 22px; height: 22px; flex: none; margin-top: .2rem; color: var(--orange-text); }
.aviso-exemplo p { margin: 0; }

.imoveis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 960px) { .imoveis-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .imoveis-grid { grid-template-columns: 1fr; } }

.imovel-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.imovel-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.imovel-media { position: relative; aspect-ratio: 32 / 21; background: #e9e5df; }
.imovel-media img { width: 100%; height: 100%; object-fit: cover; }
.imovel-tags { position: absolute; left: .75rem; top: .75rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { padding: .25rem .65rem; border-radius: 999px; font-family: var(--font-title); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: var(--white); }
.tag--exemplo { background: var(--orange); color: var(--ink); }
.imovel-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem; flex: 1; }
.imovel-body h3 { margin: 0; font-size: 1.08rem; }
.imovel-local { margin: 0; color: var(--ink-3); font-size: .95rem; }
.imovel-preco { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; }
.imovel-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .25rem 0 0; padding: .8rem 0 0; border-top: 1px solid var(--line); }
.imovel-specs div { display: flex; flex-direction: column-reverse; }
.imovel-specs dt { font-size: .75rem; color: var(--ink-3); }
.imovel-specs dd { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: .95rem; }
.imovel-codigo { margin: 0; font-size: .82rem; color: var(--ink-3); }
.imovel-body .btn { margin-top: auto; }

.resultados-info { margin: 0 0 1.25rem; font-weight: 600; }
.vazio { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem 1.5rem; text-align: center; }
.vazio p { color: var(--ink-3); }
.center-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2.25rem; }

/* Serviços e diferenciais */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.servico { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--orange); }
.servico .num { font-family: var(--font-title); font-weight: 800; font-size: .85rem; letter-spacing: .2em; color: var(--orange-text); margin-bottom: .75rem; }
.servico p { color: var(--ink-3); }
.servico a { margin-top: auto; font-family: var(--font-title); font-weight: 700; }

.diferencial { height: 100%; padding: 1.5rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: var(--ink-2); }
.diferencial svg { width: 34px; height: 34px; color: var(--orange); margin-bottom: 1rem; }
.diferencial p { color: #c9d1d7; margin: 0; font-size: .98rem; }

/* Sobre */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .sobre { grid-template-columns: 1fr; } }
.sobre-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.sobre-card img { width: min(100%, 360px); margin: 0 auto 1.5rem; }
.dados { margin: 0; display: grid; gap: .9rem; }
.dados div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.dados dt { font-family: var(--font-title); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: .2rem; }
.dados dd { margin: 0; }

/* Depoimentos */
.depoimento { height: 100%; margin: 0; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.depoimento blockquote { margin: 0 0 1.25rem; font-size: 1.05rem; }
.depoimento blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3rem; line-height: .8; color: var(--orange); }
.depoimento figcaption { font-size: .92rem; color: var(--ink-3); }

/* Faixa de chamada */
.cta-band { background: var(--orange); color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.75rem; }
.cta-band h2 { margin: 0 0 .35rem; }
.cta-band p { margin: 0; max-width: 38rem; }
.cta-band .btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); color: var(--white); }

/* Contato */
.contato { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .contato { grid-template-columns: 1fr; } }
.contato-lista { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1.25rem; }
.contato-lista li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contato-lista .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-text); }
.contato-lista .ico svg { width: 22px; height: 22px; }
.contato-lista strong { display: block; font-family: var(--font-title); font-size: .95rem; }
address { font-style: normal; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: .88rem; color: var(--ink-3); margin: 1rem 0 0; }
.form-status { margin: 1rem 0 0; font-weight: 600; }

/* Cabeçalho de página interna */
.page-hero { background: var(--ink); color: var(--white); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-hero p { color: #d3dae0; max-width: 40rem; margin: 0; font-size: 1.1rem; }
.breadcrumb { margin-bottom: 1rem; font-size: .9rem; }
.breadcrumb ol { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #8f9ba4; }
.breadcrumb a { color: #ffd29a; }
.filtros { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.filtros h2 { font-size: 1.15rem; }
.filtros-acoes { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Rodapé */
.site-footer { background: #111a20; color: #c9d1d7; padding: 3.5rem 0 6rem; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #ffd29a; }
.site-footer a:hover { color: var(--white); }
.wordmark { font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; color: var(--white); line-height: 1; margin: 0 0 .25rem; }
.wordmark small { display: block; margin-top: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .5em; color: var(--orange); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem; }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 56px; padding: .7rem 1.1rem; border-radius: 999px; background: var(--whats); color: #0b2b16;
  font-family: var(--font-title); font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.whats-float:hover { background: #3fe07b; color: #0b2b16; }
.whats-float svg { width: 28px; height: 28px; }
@media (max-width: 520px) { .whats-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } .whats-float { padding: .85rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .cat-card:hover, .imovel-card:hover { transform: none; }
}

@media print { .site-header, .whats-float, .search-wrap, .cta-band { display: none; } }

/* Filtro de qualificação (janela aberta pelos botões de WhatsApp) */
.q-dialog { width: min(100% - 1.5rem, 640px); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: var(--radius); color: var(--ink); background: var(--white); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: auto; }
.q-dialog::backdrop { background: rgba(17, 26, 32, .72); }
.q-dialog form { padding: clamp(1.25rem, 4vw, 2rem); }
.q-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.q-head h2 { font-size: 1.4rem; margin: 0 0 .5rem; }
.q-fechar { flex: none; width: 44px; height: 44px; margin: -.5rem -.5rem 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.9rem; line-height: 1; cursor: pointer; }
.q-fechar:hover { background: var(--orange-soft); }
.q-intro { color: var(--ink-3); margin-bottom: 1.25rem; }
.q-contexto { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--orange-soft); font-family: var(--font-title); font-weight: 700; font-size: .9rem; }
.q-dialog .form-grid, #contato-form .form-grid { margin-bottom: 1.25rem; }
.q-pular { margin: 1rem 0 0; text-align: center; font-size: .95rem; }
.form-note--topo { margin: 0 0 1.25rem; font-size: .95rem; }
.q-check { display: grid; grid-template-columns: 24px 1fr; gap: .65rem; align-items: start; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: .95rem !important; cursor: pointer; }
.q-check input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; padding: 0; accent-color: var(--ink); }
.q-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Card: título clicável e link de detalhes */
.imovel-body h3 a { color: inherit; text-decoration: none; }
.imovel-body h3 a:hover { text-decoration: underline; }
.imovel-body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.imovel-mais { display: block; text-align: center; font-family: var(--font-title); font-weight: 700; font-size: .92rem; padding: .35rem 0; }
.imovel-body .btn { margin-top: auto; }

/* Página do imóvel */
.detalhe { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .detalhe { grid-template-columns: 1fr; } }
.detalhe-principal { display: grid; gap: 2.25rem; min-width: 0; }
.detalhe-principal h2 { font-size: 1.4rem; }
.detalhe-texto { white-space: pre-line; overflow-wrap: anywhere; margin: 0; }
.detalhe-lateral { position: sticky; top: 96px; display: grid; gap: 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
@media (max-width: 900px) { .detalhe-lateral { position: static; order: -1; } }
.detalhe-preco { font-size: 1.8rem; }
.detalhe-lateral .imovel-specs { border-top: 1px solid var(--line); }
.detalhe-lateral .dados div { grid-template-columns: 7rem 1fr; }
.galeria { position: relative; background: var(--ink); border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.galeria img { width: 100%; height: 100%; object-fit: contain; }
.galeria-btn { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }
.galeria-btn:hover { background: var(--orange); }
.galeria-btn svg { width: 22px; height: 22px; }
.galeria-btn--ant { left: .75rem; }
.galeria-btn--ant svg { transform: rotate(180deg); }
.galeria-btn--prox { right: .75rem; }
.galeria-conta { position: absolute; right: .75rem; bottom: .75rem; margin: 0; padding: .2rem .7rem; border-radius: 999px; background: rgba(17, 26, 32, .8); color: var(--white); font-family: var(--font-title); font-weight: 700; font-size: .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chips li { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .92rem; }
.page-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
.imovel-media a { position: absolute; inset: 0; display: block; }
.imovel-tags { z-index: 1; margin: 0; }

/* Aviso de cookies */
.cookies { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; max-width: 960px; margin-inline: auto; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--ink); color: var(--white); box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.cookies p { margin: 0; flex: 1 1 320px; font-size: .95rem; }
.cookies-acoes { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookies :focus-visible { outline-color: #ffd29a; }

/* ===== Topo da página inicial: composição de fotos ===== */
.hero { background: radial-gradient(60rem 32rem at 88% -10%, rgba(242, 138, 30, .22), transparent 60%), radial-gradient(40rem 26rem at -10% 110%, rgba(242, 138, 30, .10), transparent 60%), var(--ink); }
.hero-inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(3rem, 6vw, 5rem); }
.hero-copy { padding-bottom: clamp(7.5rem, 11vw, 9.5rem); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.hero-selos { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; list-style: none; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .92rem; color: #c9d1d7; }
.hero-selos strong { color: var(--white); font-family: var(--font-title); }
.hero-fotos { position: relative; align-self: start; aspect-ratio: 1 / 1; margin-bottom: clamp(6rem, 9vw, 8rem); }
.hero-foto { position: absolute; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.hero-foto--sala { top: 0; right: 0; width: 86%; height: auto; aspect-ratio: 4 / 3; }
.hero-foto--fachada { left: 0; bottom: 0; width: 40%; height: auto; aspect-ratio: 3 / 4; border: 6px solid var(--ink); }
.hero-foto--lazer { right: 6%; bottom: 5%; width: 46%; height: auto; aspect-ratio: 4 / 3; border: 6px solid var(--ink); }
.hero-moldura { position: absolute; top: -1rem; right: -1rem; width: 62%; aspect-ratio: 4 / 3; border: 3px solid var(--orange); border-radius: 22px; }
.hero-total { position: absolute; top: 58%; left: 30%; display: grid; gap: .1rem; padding: .7rem 1.1rem; border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); line-height: 1.1; }
.hero-total:hover { color: var(--ink); background: var(--orange-soft); }
.hero-total strong { font-family: var(--font-title); font-weight: 800; font-size: 1.7rem; color: var(--orange-text); }
.hero-total span { font-size: .8rem; font-weight: 600; }
.hero-art { display: none; }

@media (max-width: 860px) {
  .hero { background: linear-gradient(180deg, rgba(24, 34, 42, .86) 0%, rgba(24, 34, 42, .93) 60%, var(--ink) 100%), url("../img/hero-sala.webp") center top / cover no-repeat; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-fotos { display: none; }
  .hero-copy { padding-bottom: 8rem; }
}
/* topo mais compacto, para a busca aparecer na primeira tela em notebooks */
.hero-inner { padding-top: clamp(2rem, 3.6vw, 3rem); }
.hero-copy { padding-bottom: clamp(6.5rem, 8.5vw, 7.5rem); }
.hero h1 { font-size: clamp(2rem, 3.7vw, 3rem); }
.hero-selos { margin-top: 1.5rem; padding-top: 1rem; }
.hero-fotos { aspect-ratio: 1 / .84; margin-bottom: clamp(6rem, 8vw, 7rem); }
.hero-foto--sala { width: 80%; }
.hero-foto--fachada { width: 33%; }
.hero-foto--lazer { width: 42%; right: 10%; bottom: 3%; }
.hero-total { top: 61%; left: 26%; }
@media (max-width: 860px) { .hero-copy { padding-bottom: 8rem; } }
@media (max-width: 860px) {
  .hero { background: linear-gradient(180deg, rgba(24, 34, 42, .58) 0%, rgba(24, 34, 42, .8) 42%, var(--ink) 88%), url("../img/hero-sala.webp") center top / cover no-repeat; }
  .hero h1, .hero .lead { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
}
