:root {
  --cream: #E6DFD3;
  --cream-2: #EDE6DA;
  --ink: #1B1411;
  --sage: #6C6F5E;
  --sage-light: #9A9D8B;
  --sage-dark: #4D5040;
  --wood: #C9A47C;
  --terracotta: #C48653;
  --border: rgba(201, 164, 124, 0.3);
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  margin: 0 auto;
  pointer-events: none;
  transition: max-width 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.5s ease;
}

@media (min-width: 900px) {
  .site-header.scrolled {
    max-width: 920px;
    padding: 14px 24px;
  }
}

.site-header > * { pointer-events: auto; }

.header-brand {
  display: flex; align-items: center;
}
.site-header img {
  width: 42px; height: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header .brand-name {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.site-header.scrolled .brand-name { color: var(--ink); text-shadow: none; }

/* floating glass pill nav, desktop only */
.header-pill {
  display: none;
}

@media (min-width: 900px) {
  .header-pill {
    display: flex;
    position: absolute;
    left: 50%;
    top: 22px;
    transform: translateX(-50%);
    padding: 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    border: 0.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transition: background-color 0.4s ease, border-color 0.4s ease, top 0.3s ease;
  }
  .site-header.scrolled .header-pill { top: 14px; }
}

.site-header.scrolled .header-pill {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(27,20,17,0.08);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-nav a {
  padding: 9px 16px;
  border-radius: 100px;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  transition: background-color 0.15s ease, color 0.4s ease, text-shadow 0.4s ease;
}
.header-nav a:hover { background: rgba(255,255,255,0.16); }
.site-header.scrolled .header-nav a { color: var(--ink); text-shadow: none; }
.site-header.scrolled .header-nav a:hover { background: rgba(27,20,17,0.06); }

.header-right { display: flex; align-items: center; gap: 10px; }

.header-cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 100px;
  background: var(--sage);
  color: var(--cream);
  white-space: nowrap;
  transition: background-color 0.15s ease;
  display: none;
}
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
.header-cta:hover { background: var(--sage-dark); }

/* burger, mobile only */
.header-burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.3);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled .header-burger { background: rgba(27,20,17,0.06); border-color: rgba(27,20,17,0.1); }
.header-burger span {
  width: 16px; height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: background-color 0.4s ease, transform 0.3s ease;
}
.site-header.scrolled .header-burger span { background: var(--ink); }
.header-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.header-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (min-width: 900px) { .header-burger { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  padding: 0 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  padding: 10px 0;
}
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: min(100vh, 880px);
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}

.hero-rotator { position: absolute; inset: 0; }

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 1.8s ease, transform 6.5s ease-out;
}

.hero-bg-img.active {
  opacity: 0.94;
  transform: scale(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,20,17,0.38) 0%, rgba(27,20,17,0.18) 32%, rgba(27,20,17,0.42) 60%, rgba(27,20,17,0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 32px 64px;
  width: 100%;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.0;
  margin-bottom: 18px;
}

.hero p {
  font-size: clamp(15px, 2vw, 19px);
  max-width: 480px;
  color: rgba(230, 223, 211, 0.85);
  font-weight: 400;
  margin-bottom: 22px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cream);
}
.hero-trust .stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.hero-trust .stars svg { width: 13px; height: 13px; fill: var(--terracotta); }
.hero-trust .sep { opacity: 0.5; font-weight: 400; }
.hero-trust .plain { font-weight: 400; opacity: 0.85; }

/* ---------- Section rhythm ---------- */

section { padding: 104px 0; }

.section-tag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.lede {
  font-size: 18px;
  color: rgba(27,20,17,0.72);
  max-width: 560px;
  margin-bottom: 8px;
}

/* ---------- Sobre ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

@media (min-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-gallery figure { border-radius: 12px; overflow: hidden; background: var(--cream-2); }
.about-gallery figure.tall { grid-row: span 2; }
.about-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; display: block; }
.about-gallery figure.tall img { aspect-ratio: 4/9; }

.about-img { border-radius: 12px; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.facts {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}

.facts li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  color: rgba(27,20,17,0.85);
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
}

/* ---------- Galeria (grid genérico, usado no apto e nas comodidades) ---------- */

.gallery-subhead {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  margin: 48px 0 4px;
}
.gallery-subhead:first-of-type { margin-top: 40px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-grid figure {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--cream-2);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.5s ease;
}

.gallery-grid a:hover img { transform: scale(1.04); }

.gallery-grid figure.wide img { aspect-ratio: 8/5; }
.gallery-grid figure.wide { grid-column: span 2; }

figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cream);
  background: linear-gradient(0deg, rgba(27,20,17,0.7), transparent 70%);
}

/* ---------- Comodidades ---------- */

.amenities-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 8px;
}

@media (min-width: 860px) {
  .amenities-intro { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
}

.amenities-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.amenities-list li { font-size: 15px; padding-left: 22px; position: relative; }
.amenities-list li::before { content: "—"; position: absolute; left: 0; color: var(--terracotta); }

/* ---------- Localização ---------- */

.location { background: var(--ink); color: var(--cream); }
.location .section-tag { color: var(--terracotta); }
.location .lede { color: rgba(230,223,211,0.75); }
.location h2 { color: var(--cream); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 860px) {
  .location-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
}

.amenities-img { border-radius: 12px; overflow: hidden; }
.amenities-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag-list span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border: 0.5px solid rgba(230,223,211,0.3);
  border-radius: 100px;
  color: rgba(230,223,211,0.85);
}

/* ---------- Avaliações ---------- */

.reviews-section { padding-bottom: 0; }

.laurel-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 4px 0 14px;
}
.laurel { width: 44px; height: auto; flex-shrink: 0; filter: drop-shadow(0 2px 3px rgba(138,101,18,0.35)); }
.laurel-r { transform: scaleX(-1); }
.laurel-badge .num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
}
.laurel-caption {
  font-size: 13px;
  color: rgba(27,20,17,0.6);
  max-width: 420px;
  margin: 0 auto 56px;
}

.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 4px 32px 48px;
  animation: marquee-scroll 46s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  flex: 0 0 320px;
  background: var(--cream-2);
  border-radius: 12px;
  padding: 24px;
}
.review-card .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.review-card p {
  font-size: 14px;
  color: rgba(27,20,17,0.85);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 66px;
}
.review-card .who { display: block; font-family: var(--font-body); font-size: 12px; color: var(--sage-dark); font-weight: 700; letter-spacing: 0.02em; }

@media (max-width: 640px) {
  .review-card { flex-basis: 260px; }
}

/* ---------- Disponibilidade ---------- */

.cal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 32px;
}

.cal-loading { font-size: 14px; color: rgba(27,20,17,0.6); }

.cal-month { flex: 1 1 260px; max-width: 320px; }
.cal-month h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 14px;
}

.cal-weekdays, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-weekdays span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: rgba(27,20,17,0.5);
  text-align: center;
  padding-bottom: 8px;
}

.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  font-size: 13px;
  border-radius: 8px;
}

.cal-day.free { background: var(--cream-2); color: var(--ink); }
.cal-day.booked { background: transparent; color: rgba(27,20,17,0.32); text-decoration: line-through; }
.cal-day.past { color: rgba(27,20,17,0.2); }
.cal-day.empty { background: transparent; }

.cal-updated {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(27,20,17,0.5);
}

/* ---------- Contato ---------- */

.contact { text-align: center; }
.contact h2 { max-width: 640px; margin: 0 auto 20px; }
.contact .lede { max-width: 480px; margin: 0 auto 40px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--sage); color: var(--cream); }
.btn-primary:hover { background: var(--sage-dark); }

.btn-secondary { background: transparent; color: var(--ink); border: 1px solid rgba(27,20,17,0.25); }
.btn-secondary:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */

footer {
  padding: 44px 0 36px;
  text-align: center;
  border-top: 0.5px solid var(--border);
}
footer img { width: 28px; height: auto; margin: 0 auto 12px; }
footer p { font-family: var(--font-body); font-size: 12px; color: rgba(27,20,17,0.5); }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(27,20,17,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
  font-weight: 300;
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .facts { grid-template-columns: 1fr; }
}
