/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #faf8f5;
  --color-bg-dark: #10131a;
  --color-text: #1c1c1e;
  --color-text-light: #6b6b6f;
  --color-text-inverse: #f5f3ef;
  --color-gold: #b8935a;
  --color-gold-light: #d4b483;
  --color-line: #e4dfd6;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Jost', 'Segoe UI', sans-serif;
  --container-width: 1180px;
  --transition: 0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.3px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
  display: block;
}
.eyebrow--center { text-align: center; }

.section {
  padding: 110px 0;
}
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}
.section--dark .eyebrow { color: var(--color-gold-light); }

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 700px;
  margin: 0 auto 60px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn--gold {
  background: var(--color-gold);
  color: #fff;
}
.btn--gold:hover { background: var(--color-gold-light); }
.btn--ghost {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--outline {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.btn--outline:hover { background: var(--color-gold); color: #fff; }
.btn--full { width: 100%; text-align: center; }
.btn--nav { padding: 10px 24px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(16, 19, 26, 0.92);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 1px;
}
.logo span { color: var(--color-gold-light); }
.logo--footer { color: var(--color-text-inverse); }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 32px;
}
.nav a {
  color: #f0ede8;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-gold-light);
  transition: width var(--transition);
}
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--color-gold-light); }
.nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.nav-toggle span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(184,147,90,0.25), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(184,147,90,0.18), transparent 55%),
    url('../images/fachada.webp') center/cover no-repeat;
}
.hero-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.45) 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.5) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero__content .eyebrow { color: var(--color-gold-light); text-align: center; }
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: #e7e3db;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 8px; }
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,16,23,0.8) 0%, rgba(13,16,23,0.55) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-top: 10px;
}
.page-hero--suites { background-image: url('../images/suite.webp'); }
.page-hero--contato { background-image: url('../images/fachada.webp'); }
.page-hero--experiencias { background-image: url('../images/piscina.webp'); }
.page-hero--gastronomia { background-image: url('../images/restaurante.webp'); }
.page-hero--eventos { background-image: url('../images/casamentos.webp'); }
.page-hero--blog { background-image: url('../images/blog.webp'); }
.page-hero--blog-historia { background-image: url('../images/blog-post-historia.webp'); }
.page-hero--blog-pratos { background-image: url('../images/blog-post-pratos.webp'); }
.page-hero--blog-sustentabilidade { background-image: url('../images/blog-post-sustentabilidade.webp'); }
.page-hero--404 { background-image: url('../images/lobby.webp'); min-height: 70vh; }
.page-hero--404 .hero__subtitle { color: #e7e3db; }
.page-hero--404 .hero__actions { justify-content: center; margin-top: 30px; }

/* ===== Home explore grid ===== */
/* ===== Home closing CTA banner ===== */
.cta-banner {
  position: relative;
  padding: 150px 0;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,16,23,0.78) 0%, rgba(13,16,23,0.6) 55%, rgba(13,16,23,0.88) 100%);
}
.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}
.cta-banner .eyebrow { color: var(--color-gold-light); }
.cta-banner .section-title { color: #fff; }
.cta-banner__subtitle {
  color: #d8d4cb;
  margin: 0 auto 34px;
  max-width: 480px;
  font-size: 1rem;
}
.cta-banner__contact {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}
.cta-banner__contact a { color: #d8d4cb; }
.cta-banner__contact a:hover { color: var(--color-gold-light); }

/* ===== In-page topic navigation (merged category pages) ===== */
.section-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-line);
}
.section-nav a {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.section-nav a:hover { color: var(--color-gold); }

/* ===== About ===== */
.section:has(.about) {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  width: 100%;
}
.about__text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 24px; }
.about__text p { color: var(--color-text-light); margin-bottom: 18px; }

.stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
}
.stats--center {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0;
  text-align: center;
}
.credibility-bar {
  padding: 48px 0;
  border-bottom: 1px solid var(--color-line);
}
.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-gold);
}
.stat__label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  letter-spacing: 0.5px;
}

.about--reverse .about__text { order: 2; }
.about--reverse .about__visual { order: 1; }

.about__visual { position: relative; }
.frame {
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: url('../images/lobby.webp') center/cover no-repeat;
  position: relative;
}
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid #c9a06e;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.4),
    0 0 0 1px rgba(0,0,0,0.65),
    0 0 0 2px rgba(255,255,255,0.55);
}

/* ============================================================
   Category page layouts — each page gets its own structure so
   Experiências / Gastronomia / Eventos no longer share the same
   alternating photo-left/text-right ".about" grid. Brand tokens
   (type, gold, cream/dark) are shared; only the silhouette differs.
   ============================================================ */

/* --- Gastronomia: "Um dia em pratos" — centered editorial menu --- */
.daypart {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  scroll-margin-top: 96px;
}
.daypart + .daypart { margin-top: 130px; }
.daypart__service {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}
.daypart__service::before,
.daypart__service::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.55;
}
.daypart h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  margin-bottom: 34px;
}
.daypart__figure {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 38px;
}
.daypart__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.daypart__lead {
  color: var(--color-text-light);
  max-width: 58ch;
  margin: 0 auto 30px;
}
.daypart__menu {
  max-width: 500px;
  margin: 0 auto 32px;
  text-align: left;
}
.daypart__menu li {
  padding: 14px 4px;
  border-bottom: 1px solid var(--color-line);
}
.daypart__menu li:first-child { border-top: 1px solid var(--color-line); }
.daypart__menu strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-gold);
  margin-bottom: 2px;
}
.daypart__menu span {
  font-size: 0.92rem;
  color: var(--color-text-light);
}

/* --- Eventos: "Ficha de proposta" — occasion + hard-fact spec sheet --- */
.occasion { scroll-margin-top: 96px; }
.occasion__head { max-width: 720px; margin-bottom: 40px; }
.occasion__head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 8px;
  line-height: 1.12;
}
.occasion__banner {
  width: 100%;
  aspect-ratio: 21 / 8;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 48px;
}
.occasion__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.occasion__body {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.occasion__body p {
  color: var(--color-text-light);
  margin-bottom: 18px;
}
.section--dark .occasion__body p { color: #c3c1bd; }
.occasion__cta { margin-top: 30px; }
.occasion__spec { border-top: 2px solid var(--color-gold); }
.spec-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}
.section--dark .spec-row { border-bottom-color: rgba(255,255,255,0.14); }
.spec-row dt {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  padding-top: 3px;
}
.spec-row dd { font-size: 0.95rem; }

/* --- Experiências: "Lookbook imersivo" — full-bleed band + overlap card --- */
.exp {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  background-size: cover;
  background-position: center;
  scroll-margin-top: 0;
}
.exp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(16,19,26,0.05) 40%, rgba(16,19,26,0.42) 100%);
}
.exp__card {
  position: relative;
  z-index: 2;
  max-width: 460px;
  background: var(--color-bg);
  padding: 42px 44px;
  border-radius: 4px;
  box-shadow: 0 34px 70px rgba(16,19,26,0.32);
}
.exp--right .exp__card { margin-left: auto; }
.exp__card h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 16px; }
.exp__card p { color: var(--color-text-light); margin-bottom: 24px; }
.exp__detail {
  padding: 76px 0;
}
.exp__detail-inner {
  max-width: 62ch;
  margin: 0 auto;
}
.exp__detail p {
  color: var(--color-text-light);
  margin-bottom: 18px;
}
.section--dark .exp__detail p { color: #c3c1bd; }

/* ===== Suite split (full-viewport, half photo / half copy) ===== */
.suite-split {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}
.suite-split--reverse { flex-direction: row-reverse; }
.suite-split__media {
  width: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.suite-split__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  /* Extra top padding clears the fixed header, which otherwise sits on
     top of the eyebrow/heading once the section is pinned at the very
     top of the viewport. */
  padding: 130px 90px 80px;
  overflow-y: auto;
  max-height: 100vh;
}
.suite-split__content p { max-width: 460px; }
.suite-split__content .price { display: block; margin-top: 6px; font-family: var(--font-serif); color: var(--color-gold); font-size: 1.05rem; }
.suite-split__content .btn { margin-top: 22px; align-self: flex-start; }

@media (max-width: 900px) {
  .suite-split, .suite-split--reverse { flex-direction: column; min-height: auto; }
  .suite-split__media { width: 100%; height: 60vh; }
  .suite-split__content { width: 100%; max-height: none; padding: 48px 24px; }
}

/* ===== Suites ===== */
.suites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 32px;
}
.suite-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
/* Stretches the card's one real link over the whole card, so clicking
   anywhere (not just the title text or "read more") navigates — instead of
   relying on separate <a> tags scattered across the image/title/link text. */
.suite-card .card-link::after {
  content: '';
  position: absolute;
  inset: 0;
}
.suite-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.suite-card__media {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.suite-card__media--1 { background-image: url('../images/suite.webp'); }
.suite-card__media--2 { background-image: url('../images/piscina.webp'); }
.suite-card__media--3 { background-image: url('../images/fachada.webp'); }
.suite-card__media--4 { background-image: url('../images/lobby.webp'); }
.suite-card__media--deluxe { background-image: url('../images/suite-deluxe.webp'); }
.suite-card__media--premium { background-image: url('../images/suite-premium.webp'); }
.suite-card__media--vistamar { background-image: url('../images/suite-vista-mar.webp'); }
.suite-card__media--presidencial { background-image: url('../images/suite-presidencial.webp'); }
.suite-card__media--restaurante { background-image: url('../images/blog-post-pratos.webp'); }
.suite-card__media--bar { background-image: url('../images/bar.webp'); }
.suite-card__media--cafe { background-image: url('../images/cafe.webp'); }
.suite-card__media--casamentos { background-image: url('../images/casamentos.webp'); }
.suite-card__media--corporativo { background-image: url('../images/corporativo.webp'); }
.suite-card__media--historia { background-image: url('../images/blog-post-historia.webp'); }
.suite-card__media--sustentabilidade { background-image: url('../images/blog-post-sustentabilidade.webp'); }
.suite-card__media--premios { background-image: url('../images/premios.webp'); }
.suite-card__media--luademel { background-image: url('../images/lua-de-mel.webp'); }
.suite-card__media--passeios { background-image: url('../images/passeios.webp'); }
.suite-card__media--pacotes { background-image: url('../images/piscina.webp'); }
.suite-card__media--gastronomia { background-image: url('../images/restaurante.webp'); }
.suite-card__media--blog { background-image: url('../images/blog.webp'); }
.suite-card .card-link {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--color-gold-light);
  text-transform: uppercase;
}
.suite-card__body { padding: 26px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.suite-card__body h3 { font-size: 1.3rem; margin-bottom: 10px; color: #fff; }
.suite-card__body p { color: #c3c1bd; font-size: 0.92rem; margin-bottom: 18px; }
.suite-card__body .price,
.suite-card__body .card-link { margin-top: auto; }
.suite-card .price {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--color-gold-light);
  text-transform: uppercase;
}

/* Suite cards on a light section (e.g. home "Explore" grid) */
.section:not(.section--dark) .suite-card {
  background: #fff;
  border: 1px solid var(--color-line);
}
.section:not(.section--dark) .suite-card__body h3 { color: var(--color-text); }
.section:not(.section--dark) .suite-card__body p { color: var(--color-text-light); }
.section:not(.section--dark) .suite-card .price,
.section:not(.section--dark) .suite-card .card-link { color: var(--color-gold); }

/* ===== Gallery Carousel — oval / racetrack =====
   ONE set of 12 photos, each shown exactly once. JS (script.js) positions each
   photo around a loop: it drifts LEFT across the front row (large), turns off
   the left edge, then drifts RIGHT across the back row (small, faint), turns
   off the right edge, and comes round again. A photo is never in both rows at
   once. All sizes/positions are set inline by JS; the CSS here is the frame,
   the edge fade, and the reduced-motion fallback. */
.gallery-carousel {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
/* Default (no JS, or reduced motion): a plain scrollable photo strip, so the
   section is never a broken pile of stacked absolute items if the script or
   its CDN fails to load. */
.gallery-oval {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.gallery-oval-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 320px);
  height: 300px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

/* JS oval active: absolute-positioned items driven every frame by script.js. */
.gallery-carousel--animating { height: 500px; cursor: grab; }
.gallery-carousel--animating.is-dragging { cursor: grabbing; }
.gallery-carousel--animating .gallery-oval {
  display: block;
  overflow: visible;
  padding: 0;
  height: 100%;
}
.gallery-carousel--animating .gallery-oval-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 380px;
  height: 380px;
  will-change: transform;
}

@media (max-width: 900px) { .gallery-carousel--animating { height: 420px; } }
@media (max-width: 640px) {
  .gallery-carousel--animating { height: 340px; }
  .gallery-carousel {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-carousel { -webkit-mask-image: none; mask-image: none; }
}

/* ===== Amenities ===== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.amenities-grid--4 { grid-template-columns: repeat(4, 1fr); }
.amenity {
  text-align: center;
  padding: 40px 28px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.5);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.amenity:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--color-gold);
}
.amenity__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.amenity:hover .amenity__icon { transform: scale(1.08); background: rgba(184,147,90,0.08); }
.amenity__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.amenity h3 { font-size: 1.1rem; margin-bottom: 10px; }
.amenity p { color: var(--color-text-light); font-size: 0.9rem; }

/* On dark sections (e.g. the "Como reservar" steps on contato), the light
   translucent card reads as a muddy grey block with dim text. Swap it for
   the same subtle glass treatment the suite cards use on dark. */
.section--dark .amenity {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.section--dark .amenity:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--color-gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.section--dark .amenity p { color: #c3c1bd; }

/* "Como reservar" steps (contato): tighter gap + wider cards so each step
   title stays on one line, with a shared min-height so all four read as a
   uniform row regardless of how much body text each has. */
#como-funciona .amenities-grid { gap: 28px 20px; }
#como-funciona .amenity {
  padding: 42px 22px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#como-funciona .amenity h3 {
  font-size: 1rem;
}
/* Guarantee one line only where the 4-up cards are actually wide enough;
   below this the grid narrows (and then drops to 2-up), so let it wrap
   instead of overflowing the card. */
@media (min-width: 1100px) {
  #como-funciona .amenity h3 { white-space: nowrap; }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-gold-light);
  font-size: 1.3rem;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: #c3c1bd;
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  min-height: 160px;
}
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  text-align: center;
}
.testimonial.active { opacity: 1; visibility: visible; position: relative; }
.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: #f0ede8;
  margin-bottom: 20px;
}
.testimonial__author {
  color: var(--color-gold-light);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.testimonial-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background var(--transition);
}
.testimonial-dots span.active { background: var(--color-gold); }

/* ===== Contact ===== */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.contact__info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 20px; }
.contact__info p { color: var(--color-text-light); margin-bottom: 24px; }
.contact__list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--color-text-light);
}
.contact__list strong { color: var(--color-text); }

.contact__form {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact__form label {
  display: block;
  margin-bottom: 18px;
}
.contact__form label span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-bg);
  transition: border-color var(--transition);
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}
.form-feedback {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-gold);
  min-height: 1.2em;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__inner p { font-size: 0.85rem; color: #ada9a1; }
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: border-color var(--transition), color var(--transition);
}
.footer__social a:hover { border-color: var(--color-gold); color: var(--color-gold-light); }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .btn--nav { display: none; }
  .nav-toggle { display: flex; }

  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 68px; right: 0; left: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: rgba(16,19,26,0.98);
    padding: 24px 32px;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .about, .contact { grid-template-columns: 1fr; }
  .occasion__body { grid-template-columns: 1fr; gap: 34px; }
  .occasion__banner { aspect-ratio: 16 / 9; }
  .daypart + .daypart { margin-top: 90px; }
  .exp { min-height: 0; padding: 300px 0 40px; }
  .exp__card, .exp--right .exp__card { max-width: none; margin: 0; }
  .exp__detail { padding: 56px 0; }
  .suites-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid--4 { grid-template-columns: 1fr 1fr; }
  /* Stacked text+image sections are often taller than 100vh on mobile
     (long paragraphs stack above the image); centering a block taller
     than its container makes it overflow symmetrically top and bottom,
     which can push the image out of its expected scroll position. Flow
     from the top instead, like a normal section. */
  .section:has(.about) {
    min-height: 0;
    display: block;
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .suites-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenities-grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  .section { padding: 80px 0; }
}

/* ===== Blog Article ===== */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 90px 32px 60px;
}
.article__meta {
  color: var(--color-text-light);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}
.article h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin: 44px 0 18px;
  color: var(--color-text);
}
.article p {
  color: var(--color-text-light);
  margin-bottom: 18px;
  line-height: 1.75;
}
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.article__back:hover { color: var(--color-gold-light); }
.article > .btn { margin-top: 16px; }
.article h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  margin: 28px 0 12px;
  color: var(--color-text);
}
.article strong { color: var(--color-text); font-weight: 600; }
.article ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--color-text-light);
  line-height: 1.75;
}
.article li { margin-bottom: 8px; }
.article li strong { color: var(--color-gold); }
.article__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 4px;
  border: 1.5px solid #c9a06e;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.4),
    0 0 0 1px rgba(0,0,0,0.65),
    0 0 0 2px rgba(255,255,255,0.55);
  margin: 8px 0 22px;
}
.article a:not(.article__back) {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article a:not(.article__back):hover { color: var(--color-gold-light); }
