:root {
  --green: #1c3326;
  --green-2: #2c4a37;
  --sage: #8aa892;
  --sage-ink: #4f6f5a; /* sálvia para texto: contraste ≥ 4.5 em branco e creme */
  --cream: #f7f4ee;
  --sand: #ece5d8;
  --line: #e4ded2;
  --ink: #1e2521;
  --muted: #66706a;
  --wa: #1d7a46;
  --wa-2: #16653a;
  --r: 16px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(28, 51, 38, .05), 0 12px 32px rgba(28, 51, 38, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; font: 400 16px/1.7 var(--sans); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; color: var(--green); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
ul { margin: 0; padding: 0; list-style: none; }
.ico { flex: none; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sm { padding: 24px 0 clamp(64px, 9vw, 112px); }
.soft { background: var(--cream); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-ink); margin: 0 0 14px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 640px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { gap: 10px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 500 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; background: var(--green); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(29, 122, 70, .25); }
.btn-wa:hover { background: var(--wa-2); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--cream); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; box-shadow: none; }
.btn-block { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin: 0; color: var(--green); }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #cfe0d3; display: grid; place-items: center; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font: 500 1.3rem/1.1 var(--serif); letter-spacing: -.01em; }
.brand-txt small { white-space: nowrap; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--green); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--green); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 54px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; min-width: 220px; display: grid; }
.menu nav a { padding: 12px 16px; text-decoration: none; border-radius: 10px; }
.menu nav a:hover { background: var(--cream); }
@media (max-width: 900px) {
  .top-in { height: 64px; gap: 8px; }
  .nav { display: none; }
  .menu { display: block; }
  .top .btn-sm { margin-left: auto; padding: 0 14px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-txt strong { font-size: 1.12rem; }
  .brand-txt small { font-size: .6rem; }
}
/* Celulares estreitos: botão do cabeçalho só com o ícone, subtítulo da marca mais compacto. */
@media (max-width: 480px) {
  .top .btn-sm { width: 42px; padding: 0; }
  .top .btn-sm span { display: none; }
  .brand-txt small { letter-spacing: .08em; }
  .top-in { gap: 6px; }
}

/* hero */
.hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 28, 20, .15) 0%, rgba(14, 28, 20, .2) 40%, rgba(14, 28, 20, .78) 100%); }
.hero-in { position: relative; z-index: 1; padding: 120px 0 clamp(48px, 8vw, 96px); }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .eyebrow { color: #d9e6dc; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 540px; color: rgba(255, 255, 255, .9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stats { border-bottom: 1px solid var(--line); }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 28px 0; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { font: 400 2rem/1 var(--serif); color: var(--green); }
.stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* intro */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.intro-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro p:not(.eyebrow) { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pills li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: var(--green); }

/* catalog */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head .link { white-space: nowrap; }
.sub { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 48px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sec-head + .sub, .section-sm > .sub:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-img img, .card-img .nophoto { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.tag { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .94); color: var(--green); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.45rem; margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: .94rem; line-height: 1.6; margin-bottom: 18px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .92rem; color: var(--green); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; font-size: .86rem; color: var(--ink); }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .ico { color: var(--sage); }
.nophoto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--cream); color: var(--sage); min-height: 100%; }
.nophoto span { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; }

/* amenities */
.amen { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 32px; }
.amen-g { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; background: #fff; }
.amen-g h3 { display: flex; align-items: center; gap: 10px; font: 600 .95rem/1.2 var(--sans); color: var(--green); margin-bottom: 14px; }
.amen-g h3 .ico { color: var(--sage); }
.amen-g li { font-size: .93rem; color: var(--muted); padding: 5px 0; }
.amen-g li + li { border-top: 1px solid #f0ece4; }

/* home mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 200px); gap: 10px; margin-top: 16px; }
.m-item { overflow: hidden; border-radius: 12px; background: var(--sand); }
.m-item:first-child { grid-column: span 2; grid-row: span 2; }
.m-item:nth-child(n+10) { display: none; }
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.m-item:hover img { transform: scale(1.03); }
.gallery-all { margin-top: 24px; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
  .m-item:nth-child(n+8) { display: none; }
}

/* location */
.loc { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.loc p { color: var(--muted); }
.addr { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 28px; color: var(--ink) !important; }
.addr .ico { color: var(--sage); margin-top: 3px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r); background: var(--sand); }

/* cta */
.cta { background: var(--green); color: #e6eee8; padding: clamp(56px, 8vw, 88px) 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; color: #c2d2c6; }

/* page head */
.page-head { padding: clamp(40px, 6vw, 72px) 0 32px; }
.page-head-prop { padding-bottom: 24px; }
.page-head-prop h1 { margin-bottom: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.tabs { display: flex; gap: 10px; margin-top: 28px; }
.tabs a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: .92rem; font-weight: 500; color: var(--green); }
.tabs a:hover { border-color: var(--green); }
.tabs span { color: var(--muted); margin-left: 4px; }
.facts-lg { font-size: .95rem; margin: 0; }
.facts-lg li:first-child { font-weight: 600; color: var(--green); }

/* property gallery: proporções fixas, 1 foto principal + até 4 */
.pg { position: relative; display: grid; gap: 8px; height: clamp(300px, 46vw, 540px); border-radius: var(--r); overflow: hidden; }
.pg-item { display: block; overflow: hidden; background: var(--sand); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pg-item:hover img { transform: scale(1.02); }
.pg-1 { height: clamp(260px, 42vw, 540px); }
.pg-2, .pg-3, .pg-4 { grid-template-columns: 2fr 1fr; }
.pg-2 .pg-item:first-child, .pg-3 .pg-item:first-child, .pg-4 .pg-item:first-child { grid-row: span 3; }
.pg-5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pg-5 .pg-item:first-child { grid-row: span 2; }
.pg-5 .pg-item:nth-child(n+6) { display: none; }
.pg-0 .nophoto { border-radius: var(--r); }
.pg-hint { display: none; }
.pg-all { position: absolute; right: 16px; bottom: 16px; box-shadow: var(--shadow); }
@media (max-width: 700px) {
  .wrap:has(> .pg) { width: 100%; }
  .pg:not(.pg-0) { display: flex; height: auto; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .pg::-webkit-scrollbar { display: none; }
  .pg .pg-item { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; display: block !important; }
  .pg-0 { height: 260px; margin-inline: 20px; }
  .pg-all { display: none; }
  .pg-hint { display: block; text-align: center; font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
}

/* property body */
.prop { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 6vw, 88px); padding: 48px 0 clamp(64px, 9vw, 112px); align-items: start; }
.prop-lead { font: 400 clamp(1.25rem, 2.4vw, 1.55rem)/1.45 var(--serif); color: var(--green); margin-bottom: 40px; }
.block { padding: 36px 0; border-top: 1px solid var(--line); }
.block h2 { font-size: 1.6rem; margin-bottom: 20px; }
.block > p { color: var(--muted); }
.block .amen { margin-bottom: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rooms li { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.rooms .ico { color: var(--sage); margin-bottom: 8px; }
.rooms strong { font-weight: 600; color: var(--green); }
.rooms span { font-size: .92rem; color: var(--muted); }
.prop-side { position: sticky; top: 100px; }
.book { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); background: #fff; }
.book h2 { font-size: 1.8rem; margin-bottom: 12px; }
.book > p { color: var(--muted); font-size: .95rem; }
.book-alt { text-align: center; font-size: .85rem; margin: 14px 0 0; }
.sticky-book { display: none; }
@media (max-width: 900px) {
  .prop { grid-template-columns: 1fr; padding-top: 32px; }
  .prop-side { position: static; order: -1; }
  .prop-side .book { box-shadow: none; }
  .sticky-book { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .06); }
  .sticky-book div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
  .sticky-book strong { font: 500 1.05rem var(--serif); color: var(--green); }
  .sticky-book div span { font-size: .8rem; color: var(--muted); }
  body:has(.sticky-book) .foot { padding-bottom: 96px; }
}

/* footer */
.foot { background: #14251b; color: #b5c4b9; padding: clamp(56px, 8vw, 88px) 0 0; font-size: .93rem; }
.foot a { color: #e4ece6; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot h2 { font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8fa596; margin: 6px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 40px; }
.foot .brand { color: #fff; margin-bottom: 20px; }
.foot .brand-mark { background: #23402e; }
.foot .brand-txt small { color: #8fa596; }
.foot-brand p:not(.brand) { max-width: 320px; margin-bottom: 24px; }
.foot li { padding: 4px 0; }
.foot address { font-style: normal; }
.contact li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.contact .ico { color: var(--sage); margin-top: 3px; }
.foot-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #24382b; margin-top: 56px; padding: 24px 0; font-size: .82rem; color: #7f9386; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand, .foot address { grid-column: 1 / -1; } }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.fab .ico { width: 28px; height: 28px; }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lb::backdrop { background: rgba(10, 16, 12, .94); }
.lb img { width: 100%; height: 100%; object-fit: contain; padding: 56px 0; }
.lb-n { position: absolute; top: 20px; left: 0; right: 0; text-align: center; color: #cfd8d2; font-size: .9rem; margin: 0; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb .x { top: 12px; right: 12px; }
.lb .prev { left: 12px; top: calc(50% - 24px); }
.lb .next { right: 12px; top: calc(50% - 24px); }

@media (max-width: 860px) {
  .intro, .loc { grid-template-columns: 1fr; }
  .intro-img { aspect-ratio: 4 / 3; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-in .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 560px) {
  .block .amen, .amen { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .rooms li { padding: 16px; }
}
/* Celular, página de imóvel: a barra fixa com o nome do imóvel é o único botão de reserva visível. */
@media (max-width: 900px) {
  body:has(.sticky-book) .top .btn-sm, body:has(.sticky-book) .prop-side { display: none; }
}
@media (max-width: 340px) { .brand-txt small { display: none; } }
.dist { margin: 0 0 8px; display: grid; gap: 6px; }
.dist li { padding-left: 18px; position: relative; color: var(--ink); }
.dist li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
