:root {
  --sand: #f6f1e9;
  --sand-2: #efe7da;
  --ink: #10263a;
  --ink-2: #3c4f61;
  --ocean: #1e6f8e;
  --sun: #e0a96d;
  --white: #fff;
  --line: rgba(16, 38, 58, .12);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ocean); margin: 0 0 12px; }
.img-missing { background: linear-gradient(135deg, #cfe0e6, #f0e2cf); min-height: 100%; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: 14px 24px; font: 700 15px var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--ocean); transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(16px, 4vw, 48px); color: var(--white); transition: background .25s, color .25s, box-shadow .25s; }
.nav.solid { background: rgba(246, 241, 233, .94); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px var(--serif); }
.logo svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.logo svg path:first-child { stroke: var(--sun); }
.links { display: flex; gap: 26px; }
.links a { text-decoration: none; font-weight: 600; font-size: 14.5px; opacity: .9; }
.links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 2px; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .9; }
.langs button { border: 0; background: transparent; color: inherit; font: 700 12px var(--sans); padding: 5px 9px; border-radius: 999px; cursor: pointer; text-transform: uppercase; }
.langs button[aria-pressed="true"] { background: currentColor; }
.langs button[aria-pressed="true"] span { color: var(--ink); }
.nav.solid .langs button[aria-pressed="true"] span { color: var(--sand); }
.nav:not(.solid) .btn-sm { background: var(--white); color: var(--ink); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); padding: 120px clamp(16px, 5vw, 64px) 40px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: drift 18s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 40, .35) 0%, rgba(10, 25, 40, .1) 35%, rgba(10, 25, 40, .75) 100%); }
.hero-inner { position: relative; max-width: 820px; margin-bottom: 36px; }
.hero .eyebrow { color: var(--sun); }
.hero h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 400; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 620px; margin: 20px 0 0; opacity: .92; }
.booking { position: relative; display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr auto; gap: 10px; background: var(--white); color: var(--ink); border-radius: 22px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); max-width: 1100px; }
.booking label { display: grid; gap: 2px; padding: 8px 14px; border-radius: 14px; background: var(--sand); font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.booking input, .booking select { border: 0; background: transparent; font: 600 15px var(--sans); color: var(--ink); padding: 2px 0; outline: none; width: 100%; text-transform: none; letter-spacing: 0; }
.booking label:focus-within { box-shadow: 0 0 0 2px var(--ocean); }
.booking .btn { border-radius: 14px; }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 48px); gap: 24px; }
.perks div { display: grid; gap: 2px; border-left: 2px solid var(--sun); padding-left: 16px; }
.perks b { font: 500 28px var(--serif); }
.perks span { color: var(--ink-2); }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--sand-2); }
.section.alt > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.head { margin-bottom: 40px; }
.head h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 720px; }

/* rooms */
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.room { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; }
.room:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 38, 58, .12); }
.room-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.room:hover .room-media img { transform: scale(1.05); }
.room-media .count { position: absolute; right: 12px; bottom: 12px; background: rgba(16, 38, 58, .78); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.room-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room h3 { font-size: 26px; }
.room .short { color: var(--ink-2); margin: 0; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.room-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.price small { display: block; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.price b { font: 500 26px var(--serif); }
.link-btn { background: none; border: 0; font: 700 14.5px var(--sans); color: var(--ocean); cursor: pointer; padding: 6px 0; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* about */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.about-img { margin: 0; border-radius: 220px 220px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 20px; }
.prose p { margin: 0 0 14px; color: var(--ink-2); font-size: 17px; }
.facts { display: flex; gap: 40px; margin: 28px 0 0; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ink-2); }
.facts dd { margin: 0; font: 500 30px var(--serif); }

/* gallery */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; font: 700 14px var(--sans); color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry a { display: block; margin: 0 0 16px; border-radius: 14px; overflow: hidden; break-inside: avoid; position: relative; background: var(--sand-2); }
.masonry img { width: 100%; height: auto; transition: transform .5s; }
.masonry a:hover img { transform: scale(1.04); }
.masonry span { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: .25s; }
.masonry a:hover span, .masonry a:focus-visible span { opacity: 1; transform: none; }

/* nearby */
.nearby { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.place { display: grid; gap: 14px; }
.place a { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand); display: block; }
.place img { width: 100%; height: 100%; object-fit: cover; }
.place h3 { font-size: 24px; }
.place .dist { font-size: 13px; font-weight: 700; color: var(--ocean); }
.place p { margin: 0; color: var(--ink-2); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { background: var(--white); border-radius: var(--r); padding: 28px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quote .stars { color: var(--sun); letter-spacing: 3px; }
.quote blockquote { margin: 0; font: 400 20px/1.45 var(--serif); }
.quote figcaption { margin-top: auto; font-weight: 700; }
.quote figcaption span { display: block; font-weight: 500; color: var(--ink-2); font-size: 14px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; max-width: 1240px; margin: 0 auto clamp(48px, 6vw, 96px); padding: 0 clamp(16px, 4vw, 48px); }
.contact-card { background: var(--ink); color: var(--white); border-radius: var(--r) 0 0 var(--r); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.contact-card .eyebrow { color: var(--sun); }
.contact-card h2 { font-size: clamp(30px, 3.6vw, 44px); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-list span { color: #9fb3c4; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.policies h3 { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .1em; color: #9fb3c4; margin-bottom: 6px; }
.policies p { margin: 0; color: #d4dee6; font-size: 14.5px; }
.contact-card .btn { background: var(--sun); color: var(--ink); align-self: flex-start; }
.contact-card .btn:hover { background: #fff; }
.map { border-radius: 0 var(--r) var(--r) 0; overflow: hidden; min-height: 420px; background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; border: 0; min-height: 420px; }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* room modal */
.room-modal { border: 0; border-radius: 22px; padding: 0; width: min(960px, calc(100vw - 32px)); max-height: calc(100svh - 32px); background: var(--sand); color: var(--ink); }
.room-modal::backdrop { background: rgba(10, 20, 30, .6); backdrop-filter: blur(3px); }
.rm-close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; font-size: 16px; }
.rm-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 160px; gap: 6px; }
.rm-gallery a { overflow: hidden; display: block; background: var(--sand-2); }
.rm-gallery a:first-child { grid-row: span 2; }
.rm-gallery img { width: 100%; height: 100%; object-fit: cover; }
.rm-content { padding: 28px clamp(20px, 4vw, 40px) 36px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.rm-content h2 { font-size: 36px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
.rm-side { background: var(--white); border-radius: 16px; padding: 22px; display: grid; gap: 12px; align-self: start; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .links { display: none; }
  .booking { grid-template-columns: 1fr 1fr; }
  .booking .wide, .booking .btn { grid-column: 1 / -1; }
  .about, .contact { grid-template-columns: 1fr; }
  .contact-card { border-radius: var(--r) var(--r) 0 0; }
  .map { border-radius: 0 0 var(--r) var(--r); }
  .rm-content { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav .btn-sm { display: none; }
  .hero { padding-bottom: 20px; }
  .perks { grid-template-columns: 1fr; gap: 16px; }
  .rm-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .rm-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
  .facts { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } * { transition: none !important; } }

/* foto que não carregou: some e deixa o fundo do bloco */
img.img-missing { visibility: hidden; }
.masonry img.img-missing { aspect-ratio: 4 / 3; }
