@font-face {
  font-family: Shalimar;
  src: url("fonts/Shalimar-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #20372c;
  --olive: #3d5b45;
  --charcoal: #292d29;
  --leaf: #92c981;
  --paper: #f7f5ec;
  --stone: #e4eadc;
  --white: #fffef9;
  --text: #2a342c;
  --muted: #4d5b50;
  --line: #b8c4b1;
  --focus: #935c13;
  --radius: 6px;
  --photo-corner: clamp(28px, 5vw, 80px);
  --display: Georgia, serif;
  --body: Arial, sans-serif;
  --frame: min(100% - 2.5rem, 78rem);
  --section: clamp(3.25rem, 8vw, 7.5rem);
  --gap: clamp(1rem, 3vw, 2.6rem);
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
picture { display: block; }
img { display: block; width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--forest); font-family: var(--display); margin: 0; font-weight: 500; line-height: .99; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8.8vw, 7.4rem); }
h2 { font-size: clamp(2.45rem, 5.8vw, 5rem); }
h3 { font-size: clamp(1.68rem, 3.4vw, 2.85rem); }
p { margin: .8rem 0 0; line-height: 1.62; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.frame { width: var(--frame); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-intro { margin-bottom: clamp(1.4rem, 3vw, 2.7rem); }
.section-intro > p:last-child { max-width: 42ch; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: fixed; z-index: 10; left: 1rem; top: .6rem; transform: translateY(-180%); padding: .7rem 1rem; background: var(--white); }
.skip:focus { transform: none; }
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top-home { position: fixed; z-index: 8; inset: 0 0 auto; color: #fff; background: transparent; border: 0; }
.top-home .top-booking, .top-home .menu-trigger { color: #fff; text-shadow: 0 1px 2px #101812, 0 0 6px #101812; }
.top-home .menu-trigger { box-shadow: 0 0 4px #101812; }
.top-home :focus-visible { outline-color: #fff; }
.top-home:has(.site-menu[open]) .top-inner { visibility: hidden; }
html:has(.top-home) { scrollbar-gutter: stable; }
.top-home ~ :is(main, footer) [id]:not(#inicio), .top-home ~ footer[id] { scroll-margin-top: clamp(4.75rem, 8vw, 6rem); }
.top-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 4.75rem; gap: .35rem 1rem; padding-block: .75rem; }
.top-booking { display: inline-flex; min-height: 44px; align-items: center; }
.wordmark { color: var(--forest); text-decoration: none; font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 600; letter-spacing: -.04em; line-height: .92; display: inline-flex; flex-direction: column; gap: .3rem; }
.wordmark span { font: 700 .76rem var(--body); letter-spacing: .19em; text-transform: uppercase; }
.top-with-menu, .menu-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .4rem; }
.brand-logo { display: inline-block; width: clamp(3.7rem, 7vw, 6rem); }
.brand-logo img { width: 100%; height: auto; }
.top .brand-logo img { filter: brightness(0); }
.top-home .brand-logo img { filter: brightness(0) invert(1) drop-shadow(0 1px 4px #101812); }
.top-with-menu .brand-logo, .menu-head .brand-logo { grid-column: 2; grid-row: 1; }
.top-with-menu .top-booking { grid-column: 1; grid-row: 1; justify-self: start; }
.top-with-menu .menu-trigger, .menu-head form { grid-column: 3; grid-row: 1; justify-self: end; }
.menu-trigger, .menu-close { display: inline-grid; place-items: center; width: clamp(2.75rem, 4.3vw, 3.5rem); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; padding: 0; color: inherit; background: transparent; cursor: pointer; }
.menu-lines { width: 54%; height: 39%; border-block: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
html:has(.site-menu[open]) { overflow: hidden; }
.site-menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; color: #fff; background: transparent; }
.site-menu::backdrop { background: transparent; }
.site-menu[open] { display: flex; flex-direction: column; }
.menu-head { flex: none; padding-top: clamp(.5rem, 1.5vw, 1.25rem); }
.menu-head .brand-logo { width: clamp(5.5rem, 13vw, 10.75rem); }
.menu-panel { width: min(100%, 45rem); margin-inline: auto; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: center; padding: 0 clamp(1.25rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem); }
.menu-panel a, .menu-close { text-shadow: 0 1px 2px #101812, 0 0 6px #101812; }
.menu-close span { font: 400 1.4rem/1 var(--body); }
.menu-links { display: grid; align-self: stretch; margin-block: auto; padding-block: clamp(1.5rem, 4vh, 3rem); }
.menu-links a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .15rem 1.25rem 0; border-bottom: 1px solid #ffffff40; color: inherit; text-align: center; text-decoration: none; font: 400 clamp(2.3rem, 6vw, 4rem)/1.04 Shalimar, "Snell Roundhand", Georgia, cursive; }
.menu-links a::after { content: "↗"; position: absolute; inset-inline-end: .25rem; font: 400 .95rem var(--body); opacity: 0; }
.menu-links a:hover, .menu-links a:focus-visible, .menu-links a[aria-current] { border-color: #fff; }
.menu-links a:hover::after, .menu-links a:focus-visible::after, .menu-links a[aria-current]::after { opacity: 1; }
.menu-booking { display: flex; align-items: center; gap: 1rem; min-height: 44px; padding: .35rem .9rem; border: 1px solid currentColor; color: inherit; font-weight: 700; text-decoration: none; }
.menu-booking:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-menu :focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px #16251e; }
.hero, .stay-section { background: var(--charcoal); color: var(--paper); }
.hero-copy { width: var(--frame); margin-inline: auto; padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.hero-copy .eyebrow { margin-bottom: .8rem; color: var(--leaf); }
.hero-copy h1 { font-size: clamp(2.7rem, 6.2vw, 5.75rem); max-width: 19ch; color: var(--white); }
.hero-copy h1 em { font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 46ch; }
.hero-copy .button { margin-top: 1.35rem; }
.hero-photo { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 85svh; object-fit: cover; object-position: 50% 62%; }
.eyebrow { color: #425c45; font-size: .875rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; margin: 0 0 .65rem; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--olive); border-radius: var(--radius); background: var(--olive); color: var(--white); padding: .55rem 1.15rem; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; }
.button:hover { background: var(--forest); }
.text-link { color: var(--forest); font-weight: 750; text-underline-offset: .25em; }
.booking-section { padding-block: clamp(2rem, 5vw, 4rem); }
.booking-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); }
.booking-form h2 { font-size: clamp(1.7rem, 4vw, 3rem); }
.booking-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); align-items: end; gap: .75rem; margin-top: 1rem; }
.booking-fields label { display: grid; min-width: 0; gap: .25rem; font-weight: 700; }
.booking-fields input, .booking-fields select { width: 100%; min-width: 0; min-height: 44px; padding: .4rem .65rem; color: var(--forest); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font: 1rem var(--body); }
.booking-result a { display: inline-flex; min-height: 44px; align-items: center; }
.map-section { background: var(--stone); }
.map-layout { display: grid; gap: var(--gap); align-items: start; }
.map-figure { margin: 0; }
.map-photo { position: relative; isolation: isolate; aspect-ratio: 1; border-radius: .5rem; overflow: hidden; background: #444b45; }
.map-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) contrast(.93) brightness(.88); }
.map-photo figcaption, figcaption { font-size: .875rem; color: var(--muted); line-height: 1.5; margin-top: .55rem; }
.map-area { position: absolute; inset: 0; background: url("media/mapa-igc.jpg") center / 100% 100% no-repeat; opacity: 0; transition: opacity .18s ease; }
.map-area.piscina { clip-path: polygon(46.8% 25%, 51.8% 26.4%, 47% 42.9%, 40.2% 42%, 42.3% 36.3%); }
.map-area.suites { clip-path: polygon(43% 53%, 49.8% 53.5%, 52.5% 59.3%, 50.8% 65%, 54.3% 68.3%, 48.3% 73%, 45% 75%, 41.5% 71%, 40.2% 61%); }
.map-area.chegada { clip-path: polygon(24% 48%, 33.5% 51%, 42% 50%, 44.5% 53%, 40.6% 61.4%, 36.5% 65.6%, 33.9% 61%, 30.2% 54.5%); }
.map-photo[data-active=piscina] .map-area.piscina,
.map-photo[data-active=suites] .map-area.suites,
.map-photo[data-active=chegada] .map-area.chegada { opacity: 1; }
.map-label { position: absolute; left: 50%; top: 50%; z-index: 1; padding: .32rem .65rem; transform: translate(-50%, -125%); color: var(--white); background: var(--forest); border: 1px solid var(--white); border-radius: var(--radius); font-weight: 700; pointer-events: none; }
.map-photo[data-active=piscina] .map-label { left: 46%; top: 34%; }
.map-photo[data-active=suites] .map-label { left: 48%; top: 66%; }
.map-photo[data-active=chegada] .map-label { left: 34%; top: 53%; }
.map-sidebar { min-width: 0; display: grid; gap: .8rem; }
.map-feature { background: var(--white); border: 1px solid var(--line); border-radius: .5rem; overflow: hidden; }
.map-feature img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 54%; }
.map-feature-copy { padding: 1rem 1.1rem 1.18rem; }
.map-feature-copy > .text-link { display: inline-flex; min-height: 44px; align-items: center; }
.map-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; }
.map-list a { display: flex; justify-content: center; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; border-bottom: 1px solid #a9b9a9; }
.map-list a:hover, .map-list a.is-active { background: #d5e4ca; }
.other-places { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.other-places a { display: inline-flex; align-items: center; min-height: 44px; }
.cards { display: grid; gap: var(--gap); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: .5rem; overflow: hidden; text-decoration: none; }
.card:hover h3 { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.card img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 48%; }
.card > div { padding: 1rem 1.15rem 1.25rem; }
.stay-section h2, .stay-section h3 { color: var(--white); }
.stay-section .eyebrow { color: var(--stone); }
.stay-section h2 { font-style: italic; }
.room-choices { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.room-choices a { display: grid; align-content: center; gap: .2rem; min-height: 44px; padding: .5rem .75rem; border: 1px solid #a0b295; color: var(--white); border-radius: var(--radius); text-decoration: none; }
.room-choices a:hover, .room-choices a[aria-current] { background: var(--stone); color: var(--forest); }
.stay-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.55rem, 2vw, 1.25rem); align-items: start; }
.stay-photo { padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.stay-photo:first-child { grid-column: 1 / -1; }
.stay-photo img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius) var(--photo-corner) var(--radius) var(--radius); }
.stay-caption { padding-top: 1.25rem; }
.stay-caption p { margin-top: .35rem; }
.stay-caption .text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--white); }
.photo-dialog { width: min(92vw, 64rem); max-height: 92vh; padding: clamp(.6rem, 2vw, 1.25rem); color: var(--paper); background: var(--forest); border: 1px solid var(--line); border-radius: var(--radius); }
.photo-dialog::backdrop { background: #111c; }
.photo-dialog img { max-height: 68vh; object-fit: contain; }
.gallery-tools { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: space-between; align-items: center; padding-block: .4rem; }
.gallery-tools p { margin: 0; }
.editorial-line { padding-block: clamp(1.75rem, 5vw, 4rem); text-align: center; background: var(--stone); color: var(--forest); }
.editorial-line p { margin: 0 auto; font: italic clamp(1.5rem, 4vw, 2.75rem) var(--display); }
.hero :focus-visible, .stay-section :focus-visible { outline-color: var(--leaf); }
.hero .button { background: var(--paper); color: var(--charcoal); border-color: var(--paper); }
.hero .button:hover { background: var(--leaf); border-color: var(--leaf); }
.spaces { padding-top: 0; }
.information { background: #e2ebdd; }
.info-columns { display: grid; gap: var(--gap); }
.info-columns h2 { font-size: clamp(2.2rem, 4.7vw, 3.7rem); }
footer { background: var(--forest); color: var(--paper); }
.footer-inner { display: grid; gap: 1rem; padding-block: 1.75rem; }
footer .wordmark { color: var(--paper); }
footer address { font-style: normal; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: .22em; }
.detail-photo { aspect-ratio: 4 / 5; max-height: 85svh; object-fit: cover; border-radius: .5rem; margin-top: 1.3rem; }
.detail-body { max-width: 48rem; }
.detail-body .text-link { display: inline-flex; min-height: 44px; align-items: center; }
.detail-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .75rem; margin-top: 1.3rem; }
.detail-gallery img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: .35rem; }
.breadcrumb { min-height: 44px; display: inline-flex; align-items: center; margin-bottom: 1.3rem; text-underline-offset: .25em; }
.guide-head { background: var(--white); border-bottom: 1px solid var(--line); }
.guide-head h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .8rem; margin-top: 1rem; }
.swatch { min-height: 8rem; padding: 1rem; border-radius: .5rem; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: end; background: var(--sample); color: var(--sample-text, var(--text)); }
.type-demo { background: var(--white); border: 1px solid var(--line); border-radius: .5rem; padding: 1.1rem; }
.type-demo p { margin-bottom: 1rem; }
#referencias-do-mapa-grid img { height: auto; }
.guide-table { width: 100%; border-collapse: collapse; }
.guide-table th, .guide-table td { border-bottom: 1px solid var(--line); padding: .75rem .5rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.guide-table th { color: var(--forest); }
@media (min-width: 42rem) {
  .stay-gallery { grid-template-columns: minmax(0, 2.2fr) repeat(2, minmax(0, 1fr)); align-items: center; }
  .stay-photo:first-child { grid-column: auto; }
  .map-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .map-list a { justify-content: center; }
  .cards, .info-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; }
}
@media (min-width: 48rem) {
  .menu-panel { width: min(56%, 45rem); }
  .hero-photo { aspect-ratio: 16 / 9; max-height: min(42rem, 85svh); }
  .map-feature img, .card img, .stay-photo img, .detail-photo, .detail-gallery img { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .map-area { transition: none; }
}
