:root {
  --navy: #0e3a4d; --navy-dark: #0a2b39; --gold: #c9a24a; --ink: #1d2a30; --muted: #5b6970;
  --bg: #ffffff; --soft: #f4f6f6; --line: #dde4e5; --busy: #ecd9d9; --sel: #0e3a4d; --wa: #25d366; --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: .5rem; top: .5rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1rem 3rem; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--gold); font-weight: 600; margin: 0 0 .5rem; }
.note { font-size: .88rem; color: var(--muted); }

/* Faixa de contato */
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .45rem 1rem; background: var(--soft); font-size: .85rem; color: var(--navy); }
.topbar a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* Cabeçalho fixo */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; padding: .7rem 1rem; background: var(--navy); }
.brand { font-weight: 700; color: #fff; text-decoration: none; margin-right: auto; letter-spacing: .02em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.site-header nav a { color: #dbe6ea; text-decoration: none; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; padding: .2rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.langs { display: flex; gap: .4rem; font-size: .8rem; }
.langs a { text-decoration: none; color: #dbe6ea; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; padding: .05rem .5rem; }
.langs a[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); font-weight: 700; }

/* Abertura com foto */
.hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.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(8, 28, 38, .15) 0%, rgba(8, 28, 38, .72) 100%); }
.hero-text { position: relative; z-index: 1; max-width: 1080px; width: 100%; margin: 0 auto; padding: 2rem 1rem 3.5rem; }
.hero h1 { color: #fff; font-size: 2rem; max-width: 22ch; margin: .25rem 0 .5rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero .lead { color: #eef3f5; max-width: 60ch; margin: 0 0 1rem; }
.hero .eyebrow { color: #f0d79b; }

/* Barra de busca sobre a foto */
.searchbar { position: relative; z-index: 2; margin: -2.6rem auto 2rem; display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; box-shadow: 0 12px 30px rgba(10, 43, 57, .18); }
.searchbar label { display: grid; gap: .15rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.searchbar select, .searchbar input { font: inherit; text-transform: none; letter-spacing: 0; color: var(--ink); padding: .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.searchbar label:first-child { grid-column: 1 / -1; }
.searchbar .btn { grid-column: 1 / -1; }
.searchbar .msg { grid-column: 1 / -1; margin: 0; }

.btn { display: inline-block; background: var(--navy); color: #fff; border: 0; border-radius: 8px; padding: .8rem 1.4rem; font: inherit; font-weight: 600; text-decoration: none; text-align: center; cursor: pointer; }
.btn:hover { background: var(--navy-dark); }
.hero .btn { background: var(--gold); color: var(--navy-dark); }
.hero .btn:hover { background: #d8b45e; }

/* Cartões dos imóveis */
.properties { text-align: center; }
.properties h2 { margin-top: .2rem; }
.cards { display: grid; gap: 1.25rem; margin: 1.5rem 0; text-align: left; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(10, 43, 57, .07); }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.35rem; }
.card h3 a { text-decoration: none; }
.facts { list-style: none; padding: 0; margin: .25rem 0; }
.facts li { padding: .15rem 0 .15rem 1.2rem; position: relative; color: var(--muted); font-size: .96rem; }
.facts li::before { content: "▪"; position: absolute; left: 0; color: var(--gold); }
.from strong { font-size: 1.4rem; color: var(--navy); }
.card .btn { margin-top: auto; align-self: flex-start; }

/* Página do imóvel */
.two-col { display: grid; gap: 1.5rem; margin-top: 2rem; align-items: start; }
.two-col figure { margin: 0; }
.two-col figure img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro .lead { font-size: 1.1rem; color: var(--muted); margin-top: 0; }
.price { background: var(--soft); border-left: 4px solid var(--gold); border-radius: 8px; padding: .8rem 1rem; margin: 1rem 0; }
.price p { margin: .15rem 0; }
.cleaning { color: var(--muted); font-size: .95rem; }
.gallery { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; cursor: zoom-in; transition: transform .2s; }
.gallery img:hover { transform: scale(1.015); }
.cols { display: grid; gap: 1rem 2rem; }
ul { padding-left: 1.2rem; }
.location ul, .cols ul { list-style: none; padding: 0; }
.location li, .cols li { padding: .3rem 0 .3rem 1.4rem; position: relative; border-bottom: 1px solid var(--line); }
.location li::before, .cols li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.steps li { margin: .4rem 0; }
dt { font-weight: 600; margin-top: 1rem; color: var(--navy); }
dd { margin: .25rem 0 0; color: var(--muted); }
.page-title { background: var(--navy); padding: 2.2rem 1rem; }
.page-title h1 { color: #fff; max-width: 1080px; margin: 0 auto; font-size: 1.9rem; }
.page-title + .wrap { padding-top: 1rem; }

/* Reservar direto */
.benefits { background: var(--soft); border-radius: 14px; padding: 1.5rem 1.25rem; margin: 2.5rem 0 0; }
.benefits h2 { margin-top: 0; text-align: center; }
.benefits ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.benefits li { display: grid; gap: .2rem; }
.benefits strong { color: var(--navy); }
.benefits span { color: var(--muted); font-size: .96rem; }

/* Calendário e formulário */
.widget { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cal-nav button { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 2.5rem; height: 2.5rem; font-size: 1.3rem; cursor: pointer; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.hint { color: var(--muted); font-size: .9rem; text-align: center; }
.months { display: grid; gap: 1rem; }
.month h3 { margin: .25rem 0; text-transform: capitalize; font-size: 1rem; text-align: center; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.weekdays span { font-size: .75rem; color: var(--muted); text-transform: uppercase; }
.day { border: 0; background: #f1f5f5; border-radius: 6px; min-height: 2.5rem; font: inherit; cursor: pointer; }
.day.empty { background: none; }
.day.busy { background: var(--busy); color: #8a6a6a; text-decoration: line-through; cursor: not-allowed; }
.day:disabled:not(.busy) { background: none; color: #b7c0c0; cursor: default; }
.day.between { background: #dbe9ee; }
.day.sel { background: var(--sel); color: #fff; font-weight: 700; }
.chosen { margin: .75rem 0; }
.fields { display: grid; gap: .5rem; }
.fields label { display: grid; gap: .15rem; font-size: .95rem; }
.fields .check { display: flex; align-items: center; gap: .5rem; }
.fields input[type="number"], .fields input[type="text"] { font: inherit; padding: .55rem; border: 1px solid var(--line); border-radius: 8px; }
.msg { color: #9b2c2c; min-height: 1.3rem; margin: .5rem 0; font-size: .92rem; }
[hidden] { display: none !important; }
.day:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }

/* Rodapé */
.site-footer { background: var(--navy-dark); color: #cfdbe0; padding: 2.5rem 1rem 6rem; }
.footer-grid { max-width: 1080px; margin: 0 auto; display: grid; gap: 1.5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer p { margin: .3rem 0; }
.footer-links, .footer-langs { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-links { flex-direction: column; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.wa-float:hover { transform: scale(1.06); }

/* Ampliação de fotos */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 15, 20, .92); display: grid; place-items: center; padding: 1rem; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 88vh; border-radius: 6px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.8rem; cursor: pointer; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; }
.lb-next { right: 1rem; top: 50%; }

@media (min-width: 760px) {
  .hero { min-height: 460px; }
  .hero h1 { font-size: 2.8rem; }
  .searchbar { grid-template-columns: 1.6fr 1fr 1fr .8fr auto; align-items: end; }
  .searchbar label:first-child { grid-column: auto; }
  .searchbar .btn { grid-column: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1.1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cols { grid-template-columns: 1fr 1fr; }
  .months { grid-template-columns: 1fr 1fr; }
  .benefits ul { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .page-title h1 { font-size: 2.4rem; }
}

/* Blog */
.title-inner { max-width: 1080px; margin: 0 auto; }
.page-title .title-inner h1 { margin: .4rem 0; }
.crumbs { font-size: .85rem; color: #b9cbd2; }
.crumbs a { color: #e7f0f3; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: .9rem; margin: .25rem 0; }
.page-title .meta { color: #c3d3d9; }
.post { max-width: 720px; margin: 0 auto; }
.post-cover { margin: 1.5rem 0; }
.post-cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }
.post h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; }
.post p, .post li { font-size: 1.05rem; line-height: 1.75; }
.post ul { padding-left: 1.3rem; }
.post-cta { background: var(--soft); border-left: 4px solid var(--gold); border-radius: 10px; padding: 1.2rem 1.4rem; margin: 2.2rem 0 1rem; }
.post-cta h2 { margin-top: 0; }
.cta-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.related { max-width: 720px; margin: 1.5rem auto 0; }
.related ul { padding-left: 1.2rem; }
.post-card h2 { font-size: 1.3rem; margin: .2rem 0; }
.post-card h2 a { text-decoration: none; }
.post-card .eyebrow { margin: 0; }
