@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 600 750;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --ink: #202823;
  --muted: #555d54;
  --forest: #17382a;
  --accent: #a0582e;
  --rule: #d9d0bf;
  --gutter: clamp(18px, 2.3vw, 44px);
  --sans: "Segoe UI", system-ui, sans-serif;
  --heading: "DM Sans", var(--sans);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; line-height: 1.5; }
a { color: inherit; text-underline-offset: .27em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, a, summary, input, select { touch-action: manipulation; }
:focus-visible { outline: 2px solid #a54d25; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1900px, calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }
.skip { position: fixed; left: 18px; top: 12px; z-index: 10; transform: translateY(-200%); background: white; padding: 12px; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; color: var(--forest); }
.brand strong { display: block; font: 700 clamp(1.25rem, 3.2vw, 1.7rem)/1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; white-space: nowrap; }
.brand small { display: block; margin-top: 4px; font-size: .59rem; line-height: 1; letter-spacing: .24em; font-weight: 650; }
.brand-mark { display: block; width: 45px; height: 45px; }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 33px); }
nav a { position: relative; display: grid; align-items: center; min-height: 44px; color: var(--forest); font-size: 1rem; font-weight: 650; text-decoration: none; }
nav a::after { content: ""; position: absolute; inset: auto 0 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
nav a:is(:hover, :focus-visible, [aria-current="location"])::after { transform: scaleX(1); }
#conteudo { padding-top: 1px; background: linear-gradient(180deg, #f7f3ea, #eee8d9 37%, #eaeadd 65%, #f7f3ea); }
.hero { --hero-overlap: clamp(72px, 12vw, 194px); display: grid; isolation: isolate; grid-template-areas: "copy art"; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); min-height: clamp(560px, calc(100svh - 99px), 825px); margin-block: 16px clamp(24px, 3vw, 44px); overflow: hidden; color: #22382b; background: radial-gradient(ellipse at 20% 20%, #fbf3dfbf, transparent 60%), linear-gradient(145deg, #dedfce, #edf0e2 76%); border: 1px solid #dcded2; border-radius: 7px; scroll-margin-top: 76px; }
.hero-art { grid-area: art; position: relative; margin: 0 0 0 calc(-1 * var(--hero-overlap)); overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slides { touch-action: pan-y pinch-zoom; background: #d4bea0; mask-image: linear-gradient(90deg, transparent 2%, #0006 18%, #000 31%); }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.hero-copy { grid-area: copy; position: relative; z-index: 2; align-self: center; min-width: 0; padding: clamp(26px, 4.6vw, 76px); }
.hero .eyebrow { color: #49614e; font-size: .79rem; }
.hero h1 { max-width: 11ch; margin-top: 18px; font-size: clamp(3.6rem, 5.45vw, 6.65rem); line-height: 1; letter-spacing: -.06em; text-wrap: balance; }
.hero-description { max-width: 35ch; margin: 22px 0 20px; color: #45584a; font-size: clamp(1.05rem, 1.42vw, 1.25rem); line-height: 1.52; text-wrap: pretty; }
.hero-availability { margin: 0 0 13px; color: #774224; font-size: 1rem; font-weight: 700; }
.hero .hero-action { --icon-shift: 0 3px; display: inline-flex; width: auto; justify-content: space-between; gap: 18px; min-height: 54px; padding-inline: 19px; color: #fffaf0; background: #244735; border-color: #244735; }
.hero .hero-action:hover { background: #345a43; border-color: #345a43; }
.hero-gallery-controls { position: absolute; z-index: 1; left: calc(var(--hero-overlap) + 14px); bottom: 12px; display: flex; align-items: center; }
.hero-dot { display: grid; place-items: center; width: 27px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; }
.hero-dot:focus-visible { outline-color: #fffdf4; outline-offset: -4px; box-shadow: inset 0 0 0 5px #24392bc4; }
.hero-dot::before { content: ""; width: 7px; height: 7px; border: 1px solid #fff8e6a6; border-radius: 50%; background: #23382a59; box-shadow: 0 0 0 1px #26372966; }
.hero-dot:hover::before { border-color: #fff8e6cf; }
.hero-dot[aria-current="true"]::before { width: 9px; height: 9px; background: #fff8e6b8; }
.hero-credit { position: absolute; z-index: 1; right: 14px; bottom: 20px; padding: 3px 6px; border-radius: 3px; color: #fffdf4; background: #1e33289c; backdrop-filter: blur(4px); font-size: .72rem; }
.hero-gallery-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  nav a::after, .hero-action, .hero-gallery-controls button, .section-link span, .route-submit, .route-current, .model-map, .route-visual, .map-interaction-bar { transition: transform 210ms ease, background-color 210ms ease, box-shadow 210ms ease, border-color 210ms ease; }
  .hero-action:hover, .route-submit:hover:not(:disabled), .route-current:hover:not(:disabled) { transform: translateY(-2px); }
  .hero-action:active, .route-submit:active:not(:disabled), .route-current:active:not(:disabled) { transform: translateY(1px); }
  .section-link:hover span { transform: translateY(-3px); }
  .link-down:hover span { transform: translateY(3px); }
  .hero-slide.is-entering { z-index: 1; animation: hero-slide-in 650ms cubic-bezier(.25,.68,.32,1) both; }
  .hero-slide.is-entering img { animation: hero-slide-settle 650ms cubic-bezier(.25,.68,.32,1) both; }
  .hero-copy > * { animation: hero-texto 560ms cubic-bezier(.2,.65,.3,1) both; }
  .hero-copy h1 { animation-delay: 75ms; }
  .hero-copy .hero-description { animation-delay: 140ms; }
  .hero-copy .hero-availability { animation-delay: 200ms; }
  .hero-copy .hero-action { animation-delay: 245ms; }
  .chapter[data-entered] .chapter-heading { animation: chapter-heading-in 560ms cubic-bezier(.2,.65,.3,1) both; }
  .chapter[data-entered]::before { animation: chapter-line-in 650ms cubic-bezier(.2,.65,.3,1) both; }
  .chapter[data-entered] :is(.model-map, .route-controls, .route-visual) { animation: chapter-surface-in 600ms 80ms ease-out both; }
  #resumo-trajeto:not([hidden]) { animation: hero-texto 330ms ease-out both; }
  @keyframes hero-slide-in { from { opacity: 0; } }
  @keyframes hero-slide-settle { from { transform: scale(1.025); } }
  @keyframes hero-texto { from { opacity: .55; translate: 0 11px; } }
  @keyframes chapter-heading-in { from { opacity: .55; translate: 0 16px; } }
  @keyframes chapter-line-in { from { opacity: .35; scale: .45 1; } }
  @keyframes chapter-surface-in { from { opacity: .73; } }
}
.chapter { position: relative; padding-block: clamp(40px, 5.1vw, 74px) clamp(30px, 4vw, 56px); border-top: 1px solid #bfb39c55; scroll-margin-top: 63px; }
.chapter::before { content: ""; position: absolute; top: 0; left: max(var(--gutter), calc((100% - 1900px) / 2)); height: 3px; width: clamp(46px, 6vw, 92px); background: var(--accent); transform-origin: left; }
.chapter:focus-visible { outline-offset: -3px; }
.model-section { background: linear-gradient(180deg, #f1edde00, #f2ebdf70 70%, #f1edde00); }
.intro { padding: 0 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.chapter-next { display: flex; justify-content: end; border-top: 1px solid var(--rule); margin-top: 18px; padding-top: 8px; }
.intro h2 { font-size: clamp(1.9rem, 3.45vw, 3.6rem); line-height: 1.1; letter-spacing: -.045em; }
.map-intro { margin: 6px 0 0; color: var(--muted); font-size: 1rem; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--forest); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 660; }
.eyebrow span { width: 15px; height: 1px; background: var(--accent); display: inline-block; }
.eyebrow strong { font-weight: inherit; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; margin: 0; }
h1 { font-size: clamp(1.85rem, 3.45vw, 3.75rem); line-height: 1.1; letter-spacing: -.045em; }
.atlas { display: grid; grid-template-columns: minmax(0, 1fr) clamp(218px, 15.5vw, 268px); grid-template-areas: "filters ." "map ficha" "caption ficha" "lista lista"; column-gap: clamp(14px, 1.65vw, 28px); align-items: start; }
.filters { grid-area: filters; display: grid; grid-template-columns: minmax(110px, 1fr) minmax(250px, 1.8fr) auto; grid-template-areas: "search options find"; align-items: end; gap: 8px; margin-bottom: 10px; max-width: 660px; }
.search-control { grid-area: search; }
.filter-fields { grid-area: options; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 8px; }
.filters-toggle { display: none; grid-area: toggle; }
.filters label { display: grid; gap: 5px; min-width: 0; }
.filters label span { font-size: .92rem; color: var(--ink); font-weight: 640; }
.filters input, .filters select { width: 100%; min-width: 0; min-height: 45px; padding: 9px 11px; border: 1px solid #b9b4a5; border-radius: 3px; background: #faf7ef; }
.filters select { appearance: none; padding-right: 27px; background-image: linear-gradient(45deg, transparent 50%, #5c645c 50%), linear-gradient(135deg,#5c645c 50%,transparent 50%); background-position: calc(100% - 15px) 53%, calc(100% - 10px) 53%; background-size: 5px 5px; background-repeat: no-repeat; }
.find-button { grid-area: find; }
.find-button, .filters-toggle { border: 1px solid var(--forest); border-radius: 3px; padding: 0 14px; min-height: 45px; color: var(--forest); background: transparent; font-weight: 650; }
.filters-toggle:hover { background: #e8ecdf; }
.find-button { background: var(--forest); color: #fffaf0; }
.find-button:hover { background: #274d38; }
.filters-toggle[aria-expanded="true"] { background: #e6eadb; }
.filters-toggle.has-options { background: var(--forest); color: #fffaf0; }
.filters-toggle.has-options:hover { background: #274d38; }
.filters select[data-active] { background-color: #dce7ca; border-color: #5a775d; color: #183b2b; font-weight: 700; }
.search-notice { grid-column: 1 / -1; margin: 0; color: var(--ink); font-size: .95rem; }
.model-map { grid-area: map; min-width: 0; border: 1px solid #d6cbb5; border-radius: 7px; overflow: hidden; background: #f7f3e8; }
.map-frame { position: relative; height: max(490px, calc(100svh - 270px)); min-width: 0; isolation: isolate; background: #eee9de; }
.map-interaction-bar { display: grid; align-items: center; min-height: 37px; padding: 5px 12px; border-bottom: 1px solid var(--rule); background: #faf7ef; color: var(--forest); }
.map-interaction-bar p { margin: 0; font-size: .88rem; line-height: 1.24; }
.model-map[data-map-active], .route-visual[data-map-active] { border-color: #5c7a66; box-shadow: 0 0 0 2px #52705c38; }
[data-map-active] .map-interaction-bar { background: #e7ede1; border-color: #b6c3b3; }
.map-rotation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding: 4px 12px; background: #faf7ef; border-bottom: 1px solid var(--rule); color: var(--forest); }
.map-rotation p { margin: 0; font-size: .88rem; }
.map-inclination { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .88rem; }
.map-inclination label { font-weight: 650; }
.map-inclination input { width: clamp(72px, 24vw, 145px); min-width: 0; height: 44px; margin: 0; accent-color: var(--forest); }
.map-inclination button { min-height: 44px; padding: 0 9px; border: 1px solid #c2bcae; border-radius: 4px; background: transparent; color: var(--forest); font-weight: 650; }
.map-inclination button:hover { background: #e8ecdf; }
#mapa { display: block; width: 100%; height: 100%; touch-action: auto; cursor: pointer; }
#mapa:focus-visible, #superficie-rota:focus-visible { outline-offset: -3px; }
[data-map-active] #mapa { touch-action: none; cursor: grab; }
#mapa.hovering:not(.dragging) { cursor: pointer; }
[data-map-active] #mapa.dragging { cursor: grabbing; }
[data-map-active][data-rotating] #mapa:is(.dragging, :not(.hovering)) { cursor: ew-resize; }
.model-map:is(:not([data-map-active]), [data-rotating]) #dica-mapa { display: none; }
.map-top, .map-footer { position: absolute; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; pointer-events: none; }
.map-top { top: 14px; gap: 6px; }
.map-top button { pointer-events: auto; }
.map-footer { bottom: 12px; }
.map-bottom { display: flex; flex-wrap: wrap; gap: 6px 10px; min-width: 0; color: #404b40; font-size: .78rem; }
.map-bottom span { background: #fbf7ed; border: 1px solid #d9cfba; padding: 4px 8px; border-radius: 3px; }
.mode { display: flex; background: #fcf8ee; border: 1px solid #c2bcae; border-radius: 4px; overflow: hidden; pointer-events: auto; }
.map-view { display: flex; gap: 7px; pointer-events: auto; }
.map-corner { display: flex; align-items: center; gap: 8px; }
.rotate-button, .fullscreen-toggle { min-height: 44px; background: #fcf8ee; border: 1px solid #c2bcae; border-radius: 4px; padding: 0 11px; color: var(--forest); font-size: .875rem; font-weight: 650; white-space: nowrap; }
:is(.rotate-button, .fullscreen-toggle):hover { background: #e8ecdf; }
:is(.rotate-button, .fullscreen-toggle)[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fffaf0; }
.mode button { border: 0; min-width: 44px; min-height: 44px; padding: 0 9px; background: none; font-weight: 680; white-space: nowrap; }
.mode button[aria-pressed="true"] { background: var(--forest); color: #fffaf0; }
.mode button:focus-visible { outline-offset: -4px; }
.compass { display: flex; }
.compass i { width: 20px; height: 20px; border: 1px solid #9ca18c; border-radius: 50%; position: relative; background: #faf7eb; transform: rotate(var(--north-angle, 0deg)); }
.compass i::before { content: ""; width: 8px; height: 11px; position: absolute; inset: 3px auto auto 5px; background: var(--forest); clip-path: polygon(50% 0, 100% 100%, 50% 73%, 0 100%); }
.map-compass { display: grid; justify-items: center; gap: 2px; color: var(--forest); font-size: .83rem; font-weight: 650; line-height: 1; }
.map-compass i { width: 27px; height: 27px; }
.map-compass i::before { width: 11px; height: 15px; inset: 4px auto auto 7px; }
.map-tools { display: flex; flex: none; border: 1px solid #c6beac; border-radius: 4px; background: #faf7ed; box-shadow: 0 2px 7px #30221914; pointer-events: auto; }
.map-tools button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--forest); font-size: 1.3rem; line-height: 1; }
.map-tools .reset-map { width: auto; min-width: 62px; padding: 0 8px; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.map-tools button + button { border-left: 1px solid var(--rule); }
.map-tools button:hover:not(:disabled) { background: #e8ecdf; }
.map-tools button:disabled { opacity: .38; cursor: default; }
.map-caption { grid-area: caption; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 12px; min-height: 44px; font-size: .94rem; color: var(--muted); }
.map-caption p { margin: 0; }
.clear-filters, .lot-toggle, .lot-share button, .sold-nearby button { min-height: 44px; border: 0; background: transparent; color: var(--forest); padding: 0; font-size: .85rem; font-weight: 650; text-decoration: underline; text-underline-offset: .27em; }
.lot-panel { grid-area: ficha; min-width: 0; padding: 8px 0 0 clamp(12px, 1.4vw, 22px); border-left: 1px solid var(--rule); scroll-margin-top: 12px; }
.lot-panel h2 { font-size: clamp(2.15rem, 2.7vw, 3rem); line-height: 1.08; letter-spacing: -.035em; margin: 9px 0 7px; }
.lot-panel:not([data-selected]) h2 { font-size: clamp(1.35rem, 1.75vw, 1.85rem); line-height: 1.14; }
.lot-panel[data-selected] { border-left-color: var(--accent); }
.lot-toggle, .lot-quick-area { display: none; }
.lot-street { margin: 0 0 14px; color: var(--muted); }
.lot-street:empty { display: none; }
dl { margin: 0; border-top: 2px solid var(--accent); }
dl div { display: grid; grid-template-columns: minmax(0, 1fr) max-content; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
dt { color: var(--muted); font-size: .95rem; }
dd { margin: 0; text-align: right; font-weight: 650; }
.side-measures h3 { margin: 12px 0 2px; font-size: .97rem; }
.side-measures dl { border-top: 0; }
.side-note { color: var(--muted); font-size: .87rem; margin: 7px 0 0; }
.availability { font-size: .96rem; margin: 15px 0 13px; }
.price { font: 700 1.6rem var(--heading); margin: 0 0 6px; }
.conditions { margin: 0 0 12px; font-size: .91rem; }
.consult { display: grid; place-items: center; background: var(--forest); border: 1px solid var(--forest); color: #fffaf0; text-decoration: none; border-radius: 3px; width: 100%; padding: 8px; min-height: 48px; font-weight: 650; font-size: .97rem; text-align: center; }
.consult:hover { background: #274d38; }
.lot-contact {
  width: 100%;
  min-height: 48px;
  padding: 8px 11px;
  border: 1px solid #184332;
  border-radius: 8px;
  background: #1b503a;
  color: #fff;
  box-shadow: 0 2px 4px #183a2a25;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  scroll-margin: 8px 0 14px;
}
.lot-contact:hover { background: #153f2e; }
.lot-contact:active { box-shadow: none; }
.lot-contact > .action-icon { width: 24px; height: 24px; }
.lot-contact-pending { margin: 0; color: var(--muted); font-size: .88rem; scroll-margin: 8px 0 14px; }
@media (prefers-reduced-motion: no-preference) {
  .lot-contact { transition: background-color 160ms ease, box-shadow 160ms ease; }
}
.sold-nearby { margin-top: 4px; }
.sold-nearby button { text-align: left; font-size: .94rem; }
.sold-nearby p { margin: 0 0 7px; padding: 8px 10px; background: #e6eae7; color: var(--ink); border-radius: 3px; }
.lot-share { margin-top: 4px; }
.lot-share button { text-align: left; }
.share-status { color: var(--muted); font-size: .83rem; margin: 0 0 4px; }
.share-status:empty { display: none; }
.lot-share input { width: 100%; min-height: 44px; padding: 6px 8px; color: var(--ink); background: #fcf8ee; border: 1px solid #b9b4a5; border-radius: 3px; }
.legend { margin-top: 14px; }
.legend summary { font-size: .96rem; }
.legend-items { display: grid; gap: 7px 10px; padding-bottom: 8px; }
.legend-items > div { display: flex; align-items: center; gap: 9px; font-size: .95rem; color: #444b43; }
.swatch { width: 19px; height: 12px; border: 1px solid #796c56; border-radius: 2px; flex: none; }
.plot { background: #dce7ca; border-color: #42614d; }
.sold { background: #bdc6c1; border-color: #53645a; }
.block { background: #e5d4b3; }
.road { background: #575b53; }
body[data-mode="2D"] .road { background: #dfdacc; }
.garden { background: #a4ad83; }
.selected { background: #cd8247; border-color: #733f22; }
details { border-top: 1px solid var(--rule); scroll-margin-top: 15px; }
#lista { grid-area: lista; }
summary { min-height: 44px; padding: 10px 0; font-weight: 620; color: var(--forest); }
.lots-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px,1fr)); gap: 7px; padding: 5px 0 18px; }
.lots-list button { min-height: 44px; background: #fdf9f0; border: 1px solid #c7bda8; border-radius: 3px; }
.lots-list button[aria-current="true"] { background: #e8c49f; border-color: #a0582e; }
.lots-list button:hover { border-color: var(--forest); }
.location { background: linear-gradient(180deg, #eaeadd00, #f7f3ea 100%); }
.location-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 18px; }
.location h2 { font-size: clamp(2rem, 3.35vw, 3.5rem); line-height: 1.12; letter-spacing: -.045em; }
.section-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; color: var(--forest); font-weight: 650; }
.section-link:hover { color: #804321; }
.location-grid { display: grid; grid-template-columns: minmax(260px, 330px) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "controls map" "details map"; align-items: start; gap: 16px clamp(20px, 3.4vw, 54px); }
.route-controls { grid-area: controls; min-width: 0; padding: clamp(14px, 2vw, 24px); background: #fcf9f0; border: 1px solid var(--rule); border-radius: 7px; }
.route-address { margin: 0 0 18px; color: var(--muted); }
.route-address strong { color: var(--ink); }
.route-address span { display: block; }
.route-address a { color: var(--forest); text-underline-offset: 3px; font-weight: 650; }
.route-origin { display: block; margin-bottom: 5px; font-weight: 650; }
#origem-rota { width: 100%; min-height: 46px; padding: 8px 10px; background: #faf7ef; border: 1px solid #b9b4a5; border-radius: 3px; }
.route-submit { margin-top: 8px; }
.route-current { width: 100%; min-height: 48px; margin-top: 8px; padding-inline: 10px; border: 1px solid #768b79; border-radius: 3px; background: transparent; color: var(--forest); font-weight: 650; }
.route-current:hover, .route-choice:hover { background: #e8ecdf; }
.route-controls :disabled { opacity: .66; cursor: wait; }
.route-status { margin: 12px 0 0; color: var(--muted); }
.route-results p { margin: 12px 0 4px; font-weight: 650; }
.route-results ul { margin: 0; padding: 0; list-style: none; }
.route-choice { width: 100%; min-height: 44px; margin-top: 5px; padding: 8px; border: 1px solid var(--rule); border-radius: 3px; text-align: left; background: #faf7ef; }
.route-visual { grid-area: map; min-width: 0; border: 1px solid #d6cbb5; border-radius: 7px; background: #e9eddf; overflow: hidden; isolation: isolate; box-shadow: 0 9px 24px #28251512; }
#superficie-rota { height: clamp(310px, 44vw, 590px); cursor: pointer; }
#mapa-referencia { display: block; width: 100%; height: 100%; object-fit: contain; }
#mapa-rota { height: 100%; background: #e9eddf; font-family: var(--sans); touch-action: auto; }
[data-map-active] #mapa-rota { touch-action: none; }
#mapa-rota .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; }
.leaflet .maplibregl-canvas { outline: none; }
#mapa-rota .roteiro-base-online { opacity: 0; }
#mapa-rota[data-base-online] .roteiro-base-online { opacity: 1; }
#mapa-rota[data-base-online] .route-region-labels { display: none; }
#mapa-rota[data-base-online] .leaflet-regionalRoads-pane { visibility: hidden; }
#mapa-rota .local-map-label { border: 0; background: transparent; box-shadow: none; color: #475343; font-size: .81rem; font-weight: 650; text-shadow: 0 1px #f7f7e8, 1px 0 #f7f7e8, -1px 0 #f7f7e8; padding: 0; }
#mapa-rota .local-map-label::before { display: none; }
.route-credit { display: flex; justify-content: end; flex-wrap: wrap; gap: 4px 12px; align-items: center; min-height: 36px; padding: 6px 10px; color: var(--muted); background: #f4f4e9; font-size: .78rem; }
.route-base-notice { margin: 0; padding: 10px 12px; background: #fbf7ea; color: var(--muted); font-size: .91rem; }
.route-details { grid-area: details; padding: 2px 2px 0; }
#resumo-trajeto:not([hidden]) { margin-bottom: 5px; padding: 10px 12px; border-left: 2px solid var(--accent); background: #fdfaf2; }
.route-distance { font-size: 1.02rem; color: var(--forest); }
.route-details p { margin: 4px 0 6px; color: var(--muted); }
.map-link { display: flex; align-items: center; width: fit-content; min-height: 44px; color: var(--forest); font-weight: 650; }
.map-link:hover { color: #8d481f; }
.with-icon { display: inline-flex; align-items: center; justify-content: center; gap: .5em; }
.action-icon { display: block; flex: none; width: 1.125rem; height: 1.125rem; }
svg.action-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.action-icon--brand { width: 1.25rem; height: 1.25rem; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .action-icon { transition: translate 170ms ease, scale 170ms ease; }
  .with-icon:focus-visible > .action-icon { translate: var(--icon-shift, 0 -2px); }
  .with-icon:not(:disabled):active > .action-icon { scale: .93; }
  @media (hover: hover) and (pointer: fine) {
    .with-icon:not(:disabled):hover > .action-icon { translate: var(--icon-shift, 0 -2px); }
  }
}
.street-view { font-size: .94rem; }
.street-view .action-icon { width: 1.25rem; height: 1.25rem; color: var(--accent); }
body.explorador-aberto { overflow: hidden; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding-block: 20px; border-top: 1px solid var(--rule); color: var(--forest); font-weight: 650; }
.site-footer small { display: block; color: var(--muted); font-size: .84rem; font-weight: 400; }
body.explorador-aberto :is(.site-header, .hero, .intro, .chapter-next, .location, .site-footer, .skip) { display: none; }
.atlas.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  align-content: start;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) max(10px, env(safe-area-inset-bottom));
  background: var(--paper);
}
.atlas.is-expanded .map-frame { height: max(330px, calc(100dvh - 180px)); }
@media (max-width: 850px) {
  :root { --gutter: 14px; }
  .header-inner { min-height: 57px; }
  .header-inner nav { margin-left: auto; }
  .brand-mark { width: 37px; height: 37px; }
  .intro { padding: 0 0 15px; }
  .intro .eyebrow { font-size: .68rem; }
  .atlas { grid-template-columns: minmax(0, 1fr); grid-template-areas: "filters" "map" "ficha" "caption" "lista"; }
  .map-frame { height: clamp(360px, calc(100svh - 330px), 640px); }
  .atlas.is-expanded .map-frame { height: clamp(255px, calc(100dvh - 263px), 680px); }
  .map-top, .map-footer { left: 8px; right: 8px; }
  .map-top { top: 8px; }
  .map-footer { bottom: 8px; }
  .lot-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "lot action" "info info" "sold sold" "share share" "legend legend";
    align-items: center;
    column-gap: 10px;
    border: 1px solid #d6cbb5;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    padding: 9px 12px 3px;
    background: #fcf9f0;
  }
  .model-map { border-radius: 7px 7px 0 0; }
  .lot-panel[data-selected] {
    border-left-color: #d6cbb5;
    box-shadow: inset 0 2px var(--accent);
    background: linear-gradient(#f8eedf 0, #fcf9f0 92px);
  }
  .lot-header { grid-area: lot; min-width: 0; }
  .lot-header > [aria-live] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .lot-panel h2 { font-size: clamp(1.65rem, 5.3vw, 2.05rem); margin: 0; }
  .lot-quick-area { display: block; margin: 0; font-size: .96rem; color: var(--muted); }
  .lot-info { grid-area: info; margin-top: 6px; }
  .lot-info > #medidas { display: none; }
  .lot-panel > :is(.lot-contact, .lot-contact-pending) { grid-area: action; align-self: start; }
  .lot-panel > .lot-contact-pending { align-self: center; text-align: right; }
  .sold-nearby { grid-area: sold; }
  .lot-share { grid-area: share; }
  .lot-panel > .legend { grid-area: legend; }
  .lot-panel[data-selected][data-expanded="false"] > :is(.lot-info, .lot-share) { display: none; }
  .legend-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lot-panel:not([data-selected]) .lot-quick-area { display: none; }
  .lot-panel:not([data-selected]) .availability { margin-top: 2px; }
  .lot-toggle { display: inline-block; }
  .location-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "controls" "map" "details"; }
}
@media (max-width: 720px), (max-width: 960px) and (orientation: portrait) {
  .hero { --hero-overlap: 0px; --hero-rise: 25px; grid-template-areas: "art" "copy"; grid-template-columns: minmax(0, 1fr); grid-template-rows: clamp(192px, min(46svh, 86vw), 440px) auto; min-height: 0; margin-top: 10px; }
  .hero-copy { margin-top: calc(-1 * var(--hero-rise)); padding: clamp(19px, 5vw, 38px) clamp(19px, 6vw, 50px) clamp(25px, 5vw, 41px); }
  .hero-slides { mask-image: linear-gradient(180deg, #000 78%, #000b 90%, transparent); }
  .hero-slide img { object-position: 52% 44%; }
  .hero h1 { font-size: clamp(2.66rem, 8.5vw, 4.85rem); margin-top: 12px; }
  .hero-description { margin: 14px 0 19px; font-size: 1.02rem; }
  .hero-credit { bottom: calc(var(--hero-rise) + 16px); right: 9px; }
  .hero-gallery-controls { bottom: calc(var(--hero-rise) + 8px); left: 9px; }
}
@media (max-width: 560px) {
  .hero { grid-template-rows: clamp(182px, min(39svh, 86vw), 340px) auto; }
  .hero-slide img { object-position: 52% 50%; }
  .hero .hero-action { gap: 12px; padding-inline: 12px; max-width: 100%; }
  .header-inner { gap: 9px; }
  .header-inner nav { gap: 12px; }
  .header-inner nav a { font-size: .89rem; white-space: nowrap; }
  .header-inner nav .nav-model { white-space: normal; line-height: 1.12; text-align: center; }
  .intro { flex-direction: column; align-items: start; gap: 3px; }
  .filters { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "search find toggle" "options options options"; gap: 7px 6px; }
  .filters[data-expanded="false"] { grid-template-areas: "search find toggle"; }
  .filters[data-expanded="false"] .filter-fields { display: none; }
  .filters-toggle { display: block; }
  .find-button, .filters-toggle { padding-inline: 8px; font-size: .88rem; white-space: nowrap; }
  .lot-contact { padding-inline: 8px; font-size: .88rem; white-space: nowrap; }
  .map-frame { height: clamp(280px, calc(100svh - 355px), 505px); }
  .map-view { gap: 5px; }
  .mode button { padding-inline: 6px; font-size: .84rem; }
  .rotate-button, .fullscreen-toggle { min-width: 44px; padding-inline: 6px; font-size: .83rem; }
  .map-bottom { font-size: .73rem; }
  .map-caption { gap: 0 8px; }
  #dica-mapa { display: none; }
}
@media (max-width: 365px) {
  .header-inner { gap: 7px; }
  .brand { gap: 5px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-inner nav { gap: 8px; }
  .header-inner nav a { font-size: .825rem; }
  .map-compass { position: absolute; top: calc(100% + 6px); right: 0; }
}
