/* Atlântico através do vidro. Fotos reais, superfícies pontuais e leitura editorial. */
:root {
  color-scheme: light;
  --bg: #f5f2eb;
  --surface: #e8e8df;
  --fg: #133c43; /* sobre --bg: 10.70:1 */
  --muted: #4b6263; /* sobre --bg: 5.82:1 */
  --ocean: #133c43;
  --deep: #103238;
  --white: #faf8f2; /* sobre --ocean: 11.27:1 */
  --champagne: #e8d8b9; /* sobre --ocean: 8.52:1 */
  --turquoise: #b5dfd4; /* sobre --ocean: 8.24:1 */
  --line: #a5b1aa;
  --glass-bg: rgb(12 40 47 / 0.8);
  --glass-light: rgb(245 242 235 / 0.91);
  --glass-border: rgb(250 248 242 / 0.42);
  --glass-light-border: rgb(250 248 242 / 0.8);
  --shadow: rgb(7 29 35 / 0.16);
  --inner-light: rgb(250 248 242 / 0.15);
  --focus: #16777c;
  --photo-caption: rgb(12 40 47 / 0.91);
  --serif: "Baskerville", "Baskerville Old Face", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Gill Sans", "Candara", "Optima", sans-serif;
  --gutter: clamp(1.25rem, 0.7rem + 3vw, 4.5rem);
  --section-space: clamp(4.5rem, 3rem + 4vw, 8rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #102d32;
    --surface: #183b40;
    --fg: #faf8f2; /* sobre --bg: 13.70:1 */
    --muted: #bed0cb; /* sobre --bg: 9.06:1; sobre --surface: 7.52:1 */
    --line: #738f89;
    --focus: #b5dfd4;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1.125rem/1.6 var(--sans); }
img { display: block; max-width: 100%; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.glass :focus-visible, .spa :focus-visible, .reservation :focus-visible { outline-color: var(--champagne); }
.glass-light :focus-visible { outline-color: var(--ocean); }
section, main { scroll-margin-top: 1.5rem; }
section:focus, main:focus { outline-offset: -4px; }
::selection { background: var(--ocean); color: var(--white); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.7rem, 1.8rem + 2.7vw, 5.4rem); line-height: 1.04; letter-spacing: -0.04em; }
h2 em { font-weight: 400; }
h3 { font-size: clamp(1.65rem, 1.3rem + 0.9vw, 2.25rem); line-height: 1.15; }
p { text-wrap: pretty; }
address { font-style: normal; }
figcaption { padding-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1320px); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { font: 0.8125rem/1.5 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 1.2rem; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 44px; padding-block: 0.5rem; font-size: 1rem; }
.text-link span, .button span { font-size: 1.3rem; text-decoration: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 1rem 1.5rem; min-height: 56px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: 1rem; line-height: 1.3; transition: opacity 160ms ease; }
.button:hover { opacity: 0.87; }
.button-primary { background: var(--ocean); color: var(--white); }
.button-sand { background: var(--champagne); color: var(--ocean); }
.button-outline { border-color: var(--champagne); color: var(--white); }
.skip-link { position: absolute; left: 1rem; top: -8rem; z-index: 10; padding: 1rem; min-height: 44px; background: var(--bg); color: var(--fg); }
.skip-link:focus { top: 1rem; }
.demo-notice { padding: 0.5rem 1rem; text-align: center; font-size: 0.8125rem; line-height: 1.5; }
.demo-notice span { padding-inline: 0.5rem; }

/* O fundo opaco é o padrão. Vidro nunca é aninhado nem fixado sobre o scroll.
   Branco sobre vidro escuro (80%), mesmo sobre foto branca: 7.66:1.
   Champanhe sobre o mesmo vidro escuro: 5.80:1.
   Azul sobre vidro claro (91%), mesmo sobre foto preta: 8.74:1.
   Texto secundário claro sobre --surface: 5.28:1. */
.glass { background: var(--deep); color: var(--white); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--inner-light), 0 16px 36px var(--shadow); border-radius: 8px; }
.glass-light { background: var(--white); color: var(--ocean); border-color: var(--glass-light-border); }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .glass { background: var(--glass-bg); -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15); }
  .glass-light { background: var(--glass-light); }
}
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .glass { background: var(--deep); }
  .glass-light { background: var(--white); }
}

.site-header { position: absolute; top: 4rem; left: var(--gutter); right: var(--gutter); z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; min-height: 86px; padding: 0.75rem 1.75rem; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; flex-shrink: 0; justify-content: center; min-height: 44px; font: 1.65rem/1.05 var(--serif); letter-spacing: 0.1em; text-decoration: none; }
.wordmark span { margin-top: 0.5rem; font: 0.625rem/1.2 var(--sans); letter-spacing: 0.26em; }
.site-header nav { display: flex; gap: clamp(1rem, 0.3rem + 1.4vw, 2rem); flex-wrap: wrap; }
.site-header nav a, .header-booking { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 1rem; }
.site-header nav a:hover { text-decoration: underline; }
.header-booking { gap: 1.5rem; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; margin-inline: 0.75rem; border-radius: 10px; min-height: 820px; min-height: max(820px, calc(100svh - 54px)); }
.hero-photo { position: absolute; inset: 0; z-index: -1; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 64% 50%; border-radius: 10px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; border-radius: 10px; }
.hero-photo figcaption { position: absolute; bottom: 1rem; left: 2rem; padding: 0.4rem 0.75rem; max-width: calc(100% - 4rem); color: var(--white); background: var(--photo-caption); border-radius: 3px; font-size: 0.8125rem; }
.hero-body { display: flex; align-items: center; min-height: inherit; padding: 9.5rem var(--gutter) 13rem; }
.hero-copy { width: min(100%, 530px); padding: clamp(1.5rem, 0.8rem + 1.8vw, 2.75rem); }
.hero-copy .eyebrow { color: var(--champagne); }
.hotel-name { display: block; font-size: clamp(3.5rem, 2.2rem + 3vw, 5.75rem); line-height: 0.95; letter-spacing: -0.045em; }
.hotel-kind { display: block; font-style: italic; font-size: clamp(2.4rem, 1.8rem + 1.6vw, 4rem); line-height: 1.1; margin-top: 0.25rem; }
.hotel-location { display: block; font: 1.0625rem/1.5 var(--sans); margin-top: 1.3rem; max-width: 33ch; }
.hero-intro { margin-block: 1.2rem 0.8rem; font-size: 1.125rem; max-width: 33ch; }
.hero-copy .text-link { color: var(--champagne); }
.booking-bar { position: absolute; bottom: 4.25rem; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; gap: 2rem; padding: 1.4rem 1.75rem; }
.booking-bar > p { flex: 1; }
.booking-bar .eyebrow { display: block; margin-bottom: 0.15rem; font-size: 0.6875rem; }
.booking-bar strong { font: 1.7rem/1.2 var(--serif); }
.booking-bar > .text-link { flex-shrink: 0; }

.section-heading { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 5rem; margin-bottom: 3.5rem; }
.section-heading > p { max-width: 43ch; color: var(--muted); padding-bottom: 0.35rem; }
.experience-scene { position: relative; }
.experience-scene > figure img { aspect-ratio: 2 / 1; object-fit: cover; object-position: center 58%; border-radius: 4px; }
.experience-scene > figure figcaption { padding-left: 1.25rem; }
.experience-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: -9rem 2.5rem 0; position: relative; }
.experience-card { padding: 2rem 2.25rem; position: relative; }
.experience-card h3 { font-size: 2.5rem; padding-right: 2rem; margin-bottom: 1rem; }
.experience-card p { max-width: 46ch; }
.experience-card .text-link { color: var(--champagne); margin-top: 1rem; }
.index-number { position: absolute; top: 2rem; right: 2rem; color: var(--champagne); font-size: 0.8125rem; }
.experience-scene > figure figcaption { position: absolute; top: 1rem; left: 1rem; color: var(--white); background: var(--photo-caption); padding: 0.5rem 0.75rem; font-size: 0.8125rem; }
.suites { padding-top: 1rem; }
.split-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 3rem; }
.split-heading h2 { width: 58%; }
.suite-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
.suite-photo img { min-height: 510px; height: 100%; object-fit: cover; }
.suite-copy > p { color: var(--muted); margin-bottom: 1.5rem; }
.room-category { border-top: 1px solid var(--line); padding-block: 1.1rem; }
.room-category h3 { margin-bottom: 0.4rem; }
.room-category p { font-size: 0.9375rem; color: var(--muted); }
.suite-copy > .text-link { margin-top: 0.5rem; }
.spa { background: var(--ocean); color: var(--white); }
.spa-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 5rem; align-items: center; }
.spa-copy .eyebrow, .spa-copy .text-link { color: var(--champagne); }
.spa-copy h2 { margin-bottom: 2rem; }
.spa-copy > p:not(.eyebrow) { margin-top: 1rem; max-width: 40ch; }
.spa-copy .text-link { margin-top: 1.5rem; }
.spa figure img { aspect-ratio: 1 / 1.05; object-fit: cover; }
.spa figcaption { color: var(--champagne); }
.dining-layout { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 5rem; align-items: start; }
.dining-layout h3 { margin-block: 1.75rem 0.9rem; }
.dining-layout article > p { color: var(--muted); max-width: 48ch; }
.restaurant-story img { aspect-ratio: 1.2; object-fit: cover; }
.bar-story { margin-top: 7rem; }
.bar-story img { aspect-ratio: 0.85; object-fit: cover; }
.breakfast-story { margin-top: 5.5rem; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 5rem; align-items: center; }
.breakfast-story h3 { font-size: clamp(2.5rem, 1.9rem + 1.5vw, 4rem); margin-bottom: 1.2rem; }
.breakfast-story p:not(.eyebrow) { color: var(--muted); margin-bottom: 1rem; }
.leisure { background: var(--surface); }
.leisure-photos { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 2rem; align-items: end; }
.leisure-photos img { aspect-ratio: 1.25; object-fit: cover; }
.leisure-photos .beach-photo img { aspect-ratio: 1.5; }
.terrace-photo { margin-top: 3rem; }
.terrace-photo img { aspect-ratio: 2.5; object-fit: cover; object-position: 50% 58%; }
.leisure-note { display: grid; grid-template-columns: 0.8fr 1.2fr auto; gap: 3rem; margin-top: 2.5rem; align-items: start; }
.leisure-note p { color: var(--muted); }
.leisure-note .text-link { white-space: nowrap; }
.location-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }
.location-layout figure img { aspect-ratio: 0.85; object-fit: cover; }
.location-copy h2 { margin-bottom: 2rem; }
.location-copy > p:not(.eyebrow) { color: var(--muted); }
.location-copy address { font-size: 1rem; margin-block: 1.5rem; line-height: 1.5; }
.questions { padding-top: 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 64px; padding: 1.25rem 2rem 1.25rem 0; font-size: 1.125rem; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 1.1rem; font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 1.5rem; color: var(--muted); font-size: 1.0625rem; }
.reservation { background: var(--deep); color: var(--white); text-align: center; }
.reservation .eyebrow { color: var(--champagne); }
.reservation h2 { font-size: clamp(3rem, 2rem + 3.5vw, 6rem); }
.reservation-inner > p:not(.eyebrow) { max-width: 46ch; margin: 1.5rem auto 2rem; }
.reservation-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
.reservation-email, .reservation-phone { display: block; width: fit-content; margin-inline: auto; min-height: 44px; padding-block: 0.5rem; font-size: 1rem; }
.site-footer { padding-block: 3rem 1rem; }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 2rem; padding-bottom: 2.5rem; }
.footer-top p { color: var(--muted); font-size: 1rem; }
.footer-top nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.footer-top nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1rem; font-size: 0.8125rem; color: var(--muted); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }

@media (min-width: 1700px) {
  .hero-body { padding-left: max(var(--gutter), calc((100% - 1320px) / 2)); }
  .hero-copy { width: 570px; }
  .booking-bar { max-width: 1320px; margin-inline: auto; }
}

@media (max-width: 1100px) {
  .site-header { padding-inline: 1.25rem; gap: 1rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: 0.9375rem; }
  .header-booking { padding-left: 1rem; gap: 0.75rem; }
  .wordmark { font-size: 1.4rem; }
  .hero-copy { max-width: 480px; }
  .booking-bar { gap: 1.25rem; }
  .booking-bar strong { font-size: 1.35rem; }
  .booking-bar .button { padding-inline: 1rem; }
  .section-heading, .suite-layout, .spa-layout, .dining-layout, .breakfast-story, .location-layout, .questions { gap: 2.5rem; }
  .experience-options { margin-inline: 1.25rem; }
  .experience-card { padding: 1.75rem; }
  .experience-card h3 { font-size: 2rem; }
  .leisure-note { grid-template-columns: 1fr 1.3fr; gap: 1.5rem; }
  .leisure-note .text-link { grid-column: 2; justify-self: start; }
}

@media (max-width: 800px) {
  .demo-notice { font-size: 0.75rem; max-width: 45ch; margin-inline: auto; }
  .site-header { position: relative; inset: auto; margin: 0.5rem 0.75rem 0.75rem; padding: 1rem; min-height: 72px; flex-wrap: wrap; gap: 0.5rem 1rem; box-shadow: inset 0 1px 0 var(--inner-light); }
  .site-header nav { order: 4; width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; margin-left: auto; min-width: 44px; min-height: 44px; border: 0; padding: 0.5rem; background: transparent; color: inherit; font-size: 1rem; }
  .header-booking { font-size: 0.9375rem; min-width: 44px; }
  .hero { min-height: auto; margin-inline: 0.75rem; background: var(--ocean); }
  .hero-photo { position: static; }
  .hero-photo img { height: 320px; object-position: 62% 50%; border-radius: 10px 10px 0 0; }
  .hero-video { height: 320px; object-position: 62% 50%; border-radius: 10px 10px 0 0; }
  .hero-body { position: relative; min-height: 0; padding: 0 1rem 1.5rem; margin-top: -1.5rem; align-items: end; }
  .hero-copy { width: 100%; max-width: 430px; padding: 1.5rem; }
  .hero-copy .eyebrow { font-size: 0.6875rem; margin-bottom: 1rem; }
  .hotel-name { font-size: clamp(3.1rem, 2rem + 4vw, 4.5rem); }
  .hotel-kind { font-size: 2.5rem; }
  .hotel-location { max-width: 30ch; font-size: 1rem; }
  .hero-intro { font-size: 1.0625rem; }
  .hero-copy .text-link { font-size: 0.9375rem; gap: 1rem; }
  .booking-bar { position: relative; inset: auto; margin: 0 1rem 0; display: grid; gap: 1rem; padding: 1.25rem; }
  .booking-bar .text-link { justify-self: center; }
  .hero { padding-bottom: 5rem; }
  .hero-photo figcaption { left: 1rem; right: 1rem; bottom: 0.75rem; max-width: none; font-size: 0.75rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
  .section-heading > p { max-width: 55ch; }
  .experience-scene > figure img { aspect-ratio: 1.1; }
  .experience-options { margin: -2rem 0.75rem 0; grid-template-columns: 1fr; gap: 1rem; }
  .experience-card { padding: 1.75rem 1.5rem; }
  .experience-card h3 { font-size: 2.25rem; }
  .suites { padding-top: 0; }
  .split-heading { display: block; margin-bottom: 2rem; }
  .split-heading h2 { width: auto; }
  .suite-layout, .spa-layout, .breakfast-story, .location-layout, .questions { grid-template-columns: 1fr; gap: 2rem; }
  .suite-photo img { min-height: auto; aspect-ratio: 1.1; }
  .spa figure img { aspect-ratio: 1.15; }
  .spa-copy { max-width: 55ch; }
  .dining-layout { grid-template-columns: 1fr; gap: 3rem; }
  .restaurant-story img { aspect-ratio: 1.25; }
  .bar-story { margin-top: 0; width: 84%; margin-left: auto; }
  .bar-story img { aspect-ratio: 1.1; }
  .breakfast-story { margin-top: 3rem; }
  .leisure-photos { grid-template-columns: 1fr; gap: 2rem; }
  .leisure-photos > figure:nth-child(2) { width: 84%; margin-left: auto; }
  .terrace-photo { margin-top: 2rem; }
  .terrace-photo img { aspect-ratio: 1.4; }
  .leisure-note { grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
  .leisure-note .text-link { grid-column: auto; }
  .location-layout figure img { aspect-ratio: 1.1; }
  .location-copy address { display: block; }
  .questions { padding-top: 0; }
  .reservation-actions { flex-direction: column; align-items: center; }
  .reservation-actions .button { width: min(100%, 360px); }
  .footer-top { flex-wrap: wrap; gap: 2rem; }
  .footer-top nav { width: 100%; }
  .footer-bottom { display: block; }
  .footer-bottom p { margin-bottom: 0.75rem; }
}

@media (max-width: 420px) {
  .site-header { gap: 0.4rem; }
  .wordmark { font-size: 1.2rem; }
  .wordmark span { font-size: 0.5625rem; }
  .header-booking { padding-left: 0.65rem; gap: 0.4rem; }
  .menu-toggle { gap: 0.4rem; padding-inline: 0.5rem; }
  .hero-copy { padding: 1.25rem; }
  .hero-body { padding-inline: 0.75rem; }
  .booking-bar { margin-inline: 0.75rem; }
  .hero-intro { max-width: 29ch; }
  .experience-options { margin-inline: 0; }
  .experience-card h3 { font-size: 2rem; }
  .reservation-email { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
