@font-face {
  font-family: "Sítios Condensada";
  src: url("assets/open-sans-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Sítios Caligrafia";
  src: url("assets/z003-medium-italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --forest: #08180e;
  --deep: #11291a;
  --gold: #f7c632;
  --gold-light: #ffda60;
  --ink: #19261c;
  --muted: #505c50;
  --paper: #f8f6ee;
  --white: #fffdf7;
  --line: #e0dccb;
  --heading: "Sítios Condensada", Impact, "Arial Narrow", sans-serif;
  --script: "Sítios Caligrafia", "Brush Script MT", cursive;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9b650b; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }

.top { background: var(--forest); color: var(--white); border-bottom: 1px solid #f7c63251; }
.top-inner { display: flex; min-height: 90px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; width: 127px; flex: 0 0 auto; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: 29px; }
nav a { font-size: .95rem; font-weight: 750; }
nav a:hover, .footer a:last-child:hover { color: var(--gold-light); }
.button, .outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 10px 19px;
  font-size: .96rem;
  font-weight: 800;
  text-align: center;
}
.gold { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.outline { background: transparent; border-color: #f7c63292; color: var(--gold-light); }
.outline:hover { background: #f7c63218; }
.small { min-height: 42px; padding: 7px 14px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding-block: 22px;
  background: linear-gradient(90deg, #08180eb8, #08180e57 48%, #08180eb8),
    url("assets/fotos/2222887811906073.webp") center / cover no-repeat, var(--forest);
  border-bottom: 5px solid var(--gold);
}
.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.hero-cta {
  display: block;
  width: min(100%, clamp(340px, min(36vw, 49svh), 440px));
  box-shadow: 0 9px 35px #020c07a0;
}
.hero-cta:focus-visible { outline-color: var(--gold-light); }
.hero-cta img { display: block; width: 100%; height: auto; }

.catalog { padding: 57px 0 66px; scroll-margin-top: 12px; }
.section-title { margin-bottom: 24px; }
.section-title h2, .visit h2 {
  font: 700 clamp(2.65rem, 5vw, 4rem)/.97 var(--heading);
  text-transform: uppercase;
  letter-spacing: .018em;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 94px;
  height: 5px;
  margin-top: 13px;
  transform: rotate(-1deg);
  border-radius: 58% 33% 50% 34%;
  background: var(--gold);
}
.section-title p, .visit p { margin-top: 11px; color: var(--muted); }
.result { margin: 15px 0 12px; color: var(--muted); font-size: .94rem; font-weight: 650; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 12px #27391b09;
}
.card-media {
  display: block;
  width: 100%;
  height: 224px;
  object-fit: cover;
  object-position: center 56%;
  background: #dce3d3;
}
.card-placeholder {
  display: grid;
  place-items: center;
  height: 224px;
  padding: 20px;
  background: linear-gradient(140deg, #edf0e6, #e5e8d7);
  color: var(--muted);
  text-align: center;
  font-size: .94rem;
}
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px 17px 18px;
  border-top: 3px solid var(--gold);
}
.location { color: #435748; font-size: .88rem; font-weight: 750; }
.card-title { font: 700 1.56rem/1.13 var(--heading); overflow-wrap: anywhere; }
.price { min-height: 60px; margin-top: auto; }
.price-label { display: block; color: var(--muted); font-size: .875rem; }
.price-value { display: block; font-size: 1.22rem; font-weight: 850; }
.price small { display: block; font-size: .89rem; color: var(--muted); }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.card-actions .button { min-height: 43px; padding: 7px 12px; font-size: .89rem; }
.card-actions button { color: var(--deep); background: transparent; border-color: #bdb9a7; }
.card-actions button:hover { background: #f2eedf; }

.visit { background: var(--deep); color: var(--white); border-top: 4px solid var(--gold); }
.visit-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 42px; }
.visit p { color: #e0e6d8; }
.site-footer { background: var(--forest); color: var(--white); }
.advert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 38px;
  border-bottom: 1px solid #f7c63251;
}
.advert h2 {
  font: 700 clamp(2rem, 4.5vw, 3.25rem)/1 var(--heading);
  text-transform: uppercase;
}
.advert p { margin-top: 10px; color: #e0e6d8; }
.advert strong { color: var(--gold-light); }
.footer {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
}
.footer p { font-size: .91rem; color: #e0e6d8; }
.brand-footer { width: 100px; }
.footer a:last-child { min-width: max-content; font-size: .93rem; font-weight: 700; }

dialog {
  width: min(620px, calc(100% - 28px));
  max-height: 88vh;
  border: 0;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 18px 80px #08180e70;
  color: var(--ink);
  background: var(--white);
}
dialog::backdrop { background: #08180eba; }
.modal { position: relative; }
#detail-content > img { display: block; width: 100%; height: auto; max-height: min(50vh, 480px); object-fit: contain; background: var(--forest); }
.modal-close { position: absolute; right: 12px; top: 12px; margin: 0; }
.modal-close button { background: var(--white); border: 1px solid var(--line); width: 42px; height: 42px; font-size: 1.6rem; line-height: 1; border-radius: 50%; padding: 0 0 2px; }
.dialog-body { padding: 24px; border-top: 3px solid var(--gold); }
.dialog-body h2 { font: 700 2rem/1.1 var(--heading); padding-right: 32px; margin: 7px 0 14px; }
.description { display: grid; gap: 8px; margin: 15px 0 20px; color: #36493b; white-space: pre-line; }
.toast { position: fixed; z-index: 4; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--forest); color: white; border-radius: 5px; padding: 10px 16px; text-align: center; min-width: 180px; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 34px); }
  .top-inner { min-height: 74px; }
  .brand { width: 99px; }
  nav { gap: 12px; }
  nav a { display: none; }
  .hero { padding: 0; background: var(--forest); }
  .hero-cta { width: 100%; box-shadow: none; }
  .hero-cta:focus-visible { outline-offset: -4px; }
  .catalog { padding: 36px 0 39px; }
  .section-title { margin-bottom: 17px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card-media, .card-placeholder { height: 220px; }
  .visit-inner, .advert, .footer { flex-direction: column; align-items: flex-start; }
  .advert { padding-block: 29px; gap: 16px; }
  .visit-inner { padding-block: 31px; }
  .visit h2 { font-size: 2.45rem; }
  .footer { padding-block: 17px 21px; gap: 9px; }
  .footer .brand { width: 81px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
