@font-face { font-family: Inter; src: url("/assets/fontes/inter-latino.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: Baskervville; src: url("/assets/fontes/baskervville.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --white: #fffefb;
  --sand: #f7efe1;
  --sky: #f1f6f7;
  --navy: #182f40;
  --muted: #495b65;
  --blue: #1b5270;
  --deep-blue: #143d54;
  --orange: #954322;
  --gold: #ad8142;
  --line: #d7dfdd;
  --serif: "Baskervville", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 1rem/1.55 var(--sans);
  overflow-wrap: anywhere;
}
img { display: block; max-inline-size: 100%; }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[id] { scroll-margin-top: 1.25rem; }
.wrap { width: min(78rem, 100% - 2 * clamp(12px, 4.2vw, 58px)); margin-inline: auto; }
.section { padding-block: clamp(36px, 6vw, 90px); }
.skip {
  position: absolute;
  z-index: 2;
  inset: 1rem auto auto 1rem;
  transform: translateY(-180%);
  background: var(--white);
  padding: .65em 1em;
}
.skip:focus { transform: none; }

.header { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px clamp(12px, 2vw, 28px);
}
.brand {
  min-width: 0;
  display: flex;
  justify-self: start;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.brand img { width: 39px; height: auto; flex: none; border-radius: 0; }
.brand span { min-width: 0; }
.brand strong { display: block; font: 1.32rem/1.15 var(--serif); }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; line-height: 1.25; }
.masthead nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 clamp(10px, 2.2vw, 30px);
}
.masthead nav a { padding: .6em .1em; text-decoration: none; font-size: .84rem; font-weight: 600; }
.masthead nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .25em; }
.masthead > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  max-inline-size: 100%;
  min-height: 44px;
  padding: .65em 1em;
  border: 1px solid transparent;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button span { flex: none; }
.button.small { padding: .55em .8em; }
.outline { border-color: #b59a70; color: var(--deep-blue); background: transparent; }
.outline:hover { background: var(--sand); border-color: var(--deep-blue); }
.blue { background: var(--blue); color: var(--white); }
.blue:hover { background: var(--deep-blue); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(10px, 1.3vw, 18px);
  margin-top: clamp(15px, 3.4vw, 46px);
  padding: clamp(10px, 1.15vw, 16px);
  background: #faf6ee;
  border: 1px solid #dfd6c5;
  border-radius: 4px;
}
.hero-copy {
  min-inline-size: 0;
  container-type: inline-size;
  padding: clamp(14px, 3vw, 42px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: 0 0 clamp(12px, 2.1vw, 26px);
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  margin-block: 10px 14px;
  font: clamp(1.7rem, 3.75vw, 4.25rem)/1.12 var(--serif);
  letter-spacing: -.045em;
}
@supports (font-size: 1cqi) {
  .hero h1 { font-size: min(4.25rem, 12.6cqi); }
}
.hero h1 span {
  display: inline-block;
  max-width: 100%;
  line-height: 1.12;
  vertical-align: top;
  white-space: normal;
  hyphens: none;
  overflow-wrap: normal;
}
.hero-intro { max-width: 27ch; color: var(--muted); font-size: clamp(.95rem, 1.4vw, 1.18rem); line-height: 1.45; }
.hero .actions { margin-top: clamp(14px, 2vw, 26px); }
.hero-image { min-width: 0; }
.hero-image img { width: 100%; height: auto; border-radius: 2px; }
.hero-image figcaption { padding: 7px 3px 0; color: var(--muted); font-size: .69rem; line-height: 1.35; }

h2 {
  font: clamp(2.12rem, 4.55vw, 4.05rem)/1.02 var(--serif);
  letter-spacing: -.018em;
  hyphens: auto;
}
h2 em { color: var(--blue); font-style: normal; }
.catalog { padding-top: clamp(32px, 5.2vw, 72px); }
.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  align-items: end;
  gap: 9px 22px;
  margin-bottom: 18px;
}
.catalog-heading p, .estate-copy > p { color: var(--muted); }
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--sky);
}
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  min-height: 44px;
  max-width: 100%;
  padding: .4em .85em;
  border: 1px solid #aacbd9;
  border-radius: 3px;
  background: var(--white);
  color: var(--deep-blue);
  font-weight: 700;
  font-size: .82rem;
}
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
.order { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted); }
.order select {
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: .4em .6em;
  border: 1px solid #aacbd9;
  border-radius: 3px;
  color: var(--navy);
  background: var(--white);
}
.count, .footnote { color: var(--muted); font-size: .83rem; }
.count { margin: 10px 0; }
.footnote { margin-top: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.card {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.card figure {
  position: relative;
  display: grid;
  background: var(--sky);
  border-radius: 3px 3px 0 0;
}
.card img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; border-radius: 3px 3px 0 0; }
.tag {
  position: absolute;
  top: 9px;
  left: 9px;
  max-width: calc(100% - 18px);
  padding: .35em .65em;
  border-radius: 2px;
  background: var(--sand);
  color: var(--navy);
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.25;
}
.card figcaption { padding: .3em .75em; background: var(--sky); color: var(--muted); font-size: .72rem; }
.card-body { display: flex; flex: 1; flex-direction: column; min-inline-size: 0; padding: 13px 15px 9px; }
.card h3 { font: clamp(1.34rem, 2.18vw, 1.9rem)/1.15 var(--serif); hyphens: auto; }
.card-body p { color: var(--muted); margin-top: 5px; font-size: .85rem; line-height: 1.45; }
.card-body .price { color: var(--navy); font-weight: 700; font-size: 1rem; margin-top: auto; padding-top: 12px; }
.card-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 9px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 700;
}
.card-links a { display: inline-flex; align-items: center; min-height: 42px; color: var(--deep-blue); text-underline-offset: .2em; text-decoration-color: transparent; }
.card-links a:hover { text-decoration-color: currentColor; }
.ref { color: var(--muted); font-weight: 500; }

.estate { padding-block: clamp(32px, 6vw, 82px); background: var(--sand); }
.estate-grid, .owner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(18px, 6vw, 76px); }
.estate-grid { align-items: center; }
.estate img { width: 100%; height: auto; border-radius: 3px; }
.estate figcaption { margin-top: 6px; color: var(--muted); font-size: .73rem; }
.estate-copy > p, .owner-grid > div > p { margin-top: 12px; }
.facts, .owner-points { padding: 0; list-style: none; margin: 14px 0 18px; }
.facts li { padding: .55em 0; border-bottom: 1px solid #ead8b1; font-size: .9rem; }
.owner { background: var(--sky); }
.owner-grid > div > p, .owner-points span { color: var(--muted); }
.owner-points li { border-top: 1px solid var(--line); padding: .6em 0; }
.owner-points strong, .owner-points span { display: block; }
.owner-points span { font-size: .87rem; }
.owner-form {
  min-inline-size: 0;
  display: grid;
  gap: 10px;
  align-self: start;
  padding: clamp(13px, 2.5vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.owner-form h3 { font: clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--serif); }
.owner-form p { color: var(--muted); }
.owner-form label { display: block; min-width: 0; font-size: .87rem; font-weight: 700; }
.owner-form label span { font-weight: 400; color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.owner-form :is(input, textarea, select) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 4px;
  padding: .5em .65em;
  border: 1px solid #a9c9d7;
  border-radius: 3px;
  color: var(--navy);
  background: #fcfeff;
  font-size: max(.95rem, 16px);
  font-weight: 400;
}
.owner-form textarea { resize: vertical; }
.owner-form .privacy { font-size: .77rem; }
.footer { padding-block: 24px; background: var(--white); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; font-size: .84rem; }
.footer a { text-underline-offset: .22em; }
.footer p { color: var(--muted); }
.footer .wordmark { font: 1.35rem/1.15 var(--serif); text-decoration: none; }
.footer-grid > div:last-child { display: grid; gap: .25em; }
.email-status { font-size: .76rem; }

@media (max-width: 920px) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto auto; }
  .hero-copy { padding-inline: clamp(10px, 2vw, 24px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .masthead {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 8px;
    padding-top: 8px;
  }
  .masthead nav {
    order: 1;
    flex: 1 0 100%;
    border-top: 1px solid var(--line);
    gap: 0 clamp(8px, 3vw, 20px);
  }
  .masthead nav a { display: flex; align-items: center; min-height: 40px; padding-inline: .22em; }
  .masthead > .button { white-space: nowrap; }
  .masthead > .button span { display: none; }
  .brand { max-inline-size: 100%; }
  .brand strong { font-size: 1.11rem; }
  .brand img { width: 32px; }
  .hero { grid-template-columns: minmax(0, 1fr); max-width: 36rem; gap: 7px; }
  .hero-image { grid-row: 1; }
  .hero-copy { padding: 8px 9px 12px; }
  .hero h1 { margin-block: 8px 10px; }
  @supports not (font-size: 1cqi) {
    .hero h1 { font-size: min(3.4rem, 8vw); }
  }
  .hero-intro { max-width: 35ch; }
  .catalog-heading, .estate-grid, .owner-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .cards, .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero .button span { display: none; }
  .hero .button { padding-inline: .75em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.catalog-criteria,.catalog-pagination:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-block:14px}.catalog-criteria label{display:grid;gap:4px;font-size:.86rem}.catalog-criteria input{width:min(100%,190px);padding:8px;border:1px solid #bac5c2;border-radius:5px;font:inherit}.catalog-pagination:not([hidden]){justify-content:center}.catalog-pagination button:disabled{opacity:.45}.owner-form [hidden]{display:none}.owner-form [role=status]:empty{display:none}

.masthead nav{flex-wrap:wrap}

.footer :is(.project-other,.project-network-foot) p { color: #fff; }
