/**
 * Design layer — Pousada Alto da Estância.
 * Editorial, warm, premium. Fraunces display serif + Archivo. References:
 * Meu Talento (centered section intros, refined café + region blog), UXUA
 * (chalets as characters), Aman (silence/rhythm). Slow motion, generous
 * whitespace, hairline ornaments. Reads tokens.css; sits on base.css.
 */

/* ============ Paper grain (felt, not seen) ============ */
body {
  background-image: radial-gradient(rgba(35, 32, 28, 0.02) 1px, transparent 1px);
  background-size: 5px 5px;
}

/* ============ Display type polish ============ */
.lead {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: var(--text-subtitle);
  line-height: 1.4;
  color: inherit;
  margin-bottom: var(--space-3);
}

.lead--center {
  margin-inline: auto;
  max-width: 40ch;
}

/* ============ Section titles — small caps (Meu Talento style) ============
   Titles rendered in versalete/small caps: elegant, warm, no numbers, no
   dividing lines, no ornaments. The small caps + letter-spacing carry the
   sophistication on their own. */
h2 {
  font-variant-caps: small-caps;
  letter-spacing: 0.04em;
  font-weight: 440;
}

/* Optional eyebrow label (hero location, policy pages). Clean small caps,
   no number, no line. */
.kicker {
  color: var(--color-terracotta);
  font-variant-caps: small-caps;
  letter-spacing: 0.16em;
  text-transform: none;
}

.kicker--light {
  color: var(--color-gold);
}

.section--forest .kicker {
  color: var(--color-gold);
}

.section__head {
  margin-bottom: var(--space-5);
}

.section__head--center {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

/* Breathing room between a centered title and its supporting line. */
.section__head--center h2 {
  margin-bottom: var(--space-4);
}

/* ============ Buttons — premium, prominent, rounded ============ */
.button {
  border-radius: 999px; /* rounded pill — friendly, not square/rigid */
  letter-spacing: var(--tracking-nav);
  gap: 0.6em; /* space for an optional leading icon */
}

/* Official-app icon inside a button (inherits the button text colour). */
.btn-ic {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

/* WhatsApp — traditional green. */
.button--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.button--whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

/* Header reserve CTA — filled, prominent, springy on hover. */
.button--reserve {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(168, 90, 60, 0.75);
  transition: transform var(--duration-fast) var(--ease-out-expo),
    background-color var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) var(--ease-out-expo);
}

.button--reserve:hover {
  background: #90492f;
  border-color: #90492f;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 34px -10px rgba(168, 90, 60, 0.85);
}

.button--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

/* Primary CTA: warm terracotta, confident presence, animated arrow.
   Used on the conversion buttons (reserve, chalets, café). */
.button--cta {
  gap: 0.7em;
  padding: 1.05em 2.2em;
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: var(--color-cream);
  box-shadow: 0 10px 26px -12px rgba(168, 90, 60, 0.7);
}

.button--cta::after {
  content: '\2192'; /* → arrow (not a dash) */
  font-size: 1.1em;
  line-height: 1;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.button--cta:hover {
  background: #90492f;
  border-color: #90492f;
  color: var(--color-cream);
}

.button--cta:hover::after {
  transform: translateX(5px);
}

.section--forest .button--ghost,
.hero .button--ghost {
  color: var(--color-cream);
  border-color: rgba(243, 237, 226, 0.5);
}

.section--forest .button--ghost:hover,
.hero .button--ghost:hover {
  background: var(--color-cream);
  color: var(--color-forest);
  border-color: var(--color-cream);
}

.site-header .button--ghost {
  color: var(--color-cream);
  border-color: rgba(243, 237, 226, 0.5);
}

/* ============ Section transitions — soft fades (no hard colour bands) ============
   Dark (forest) sections dissolve into the cream neighbours instead of hard
   cutting. Opt-in per section with .fade-top / .fade-bottom. */
.section--forest {
  position: relative;
}

.section--forest > .container {
  position: relative;
  z-index: 1;
}

.fade-top::before,
.fade-bottom::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(34px, 4vw, 56px); /* short + clean, not a big blurry band */
  pointer-events: none;
  z-index: 0;
}

/* oklab interpolation avoids the muddy grey midpoint of an sRGB blend. */
.fade-top::before {
  top: 0;
  background: linear-gradient(to bottom in oklab, var(--color-cream), var(--color-forest));
}

.fade-bottom::after {
  bottom: 0;
  background: linear-gradient(to top in oklab, var(--color-cream), var(--color-forest));
}

/* ============ Como chegar — address + facts ============ */
.location {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.location__pin {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-cream-soft);
  color: var(--color-terracotta);
  box-shadow: inset 0 0 0 1px rgba(176, 131, 75, 0.25);
}

.location__pin svg {
  width: 22px;
  height: 22px;
}

.location__addr {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  padding-top: 2px;
}

.location__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: var(--space-2);
  max-width: 40rem;
}

.location__facts li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--text-small);
  color: var(--color-cream-muted);
}

/* Small check mark instead of a bullet. */
.location__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2px solid var(--color-ochre);
  border-bottom: 2px solid var(--color-ochre);
  transform: rotate(-45deg);
}

/* Route CTA — larger, prominent, easy to hit and read (older guests).
   Auto width so the label stays on one line; wraps only if truly needed. */
.location__cta {
  margin-top: var(--space-2);
  font-size: 1.02rem;
  padding: 1.15em 2em;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 16px 36px -16px rgba(168, 90, 60, 0.8);
  transition: transform var(--duration-fast) var(--ease-out-expo),
    background-color var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) var(--ease-out-expo);
}

/* No trailing arrow here: pin + label is cleaner and shorter. */
.location__cta::after {
  content: none;
}

.location__cta .btn-ic {
  width: 1.35em;
  height: 1.35em;
}

@media (hover: hover) {
  .location__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 46px -16px rgba(168, 90, 60, 0.92);
  }
}

/* ============ Como chegar — embedded map ============ */
.map-embed {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 40px -22px rgba(35, 32, 28, 0.5);
  border: 1px solid rgba(176, 131, 75, 0.28);
  background-color: var(--color-cream-soft); /* soft loading state */
}

.map-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
}

@media (min-width: 900px) {
  .map-embed iframe {
    aspect-ratio: 3 / 2;
    min-height: 360px;
  }
}

/* Subtle tour invitation at the end of the accommodations section. */
.chalets-tour {
  text-align: center;
  max-width: none;
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-subtitle);
  color: var(--color-cream-muted);
}

.chalets-tour a {
  color: var(--color-terracotta);
  text-underline-offset: 0.25em;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo);
}

/* Frosted fade band over the hero top: softly separates the menu from the
   video and makes the links legible. Disappears once the header goes solid. */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 190px;
  background: linear-gradient(to bottom, rgba(16, 25, 20, 0.62), rgba(16, 25, 20, 0.18) 55%, transparent);
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--duration-base) var(--ease-out-expo);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header .logo-slot__wordmark,
.site-header .site-nav a {
  color: #fbf7f0; /* brighter than cream for stronger legibility over video */
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-header .site-nav a {
  display: inline-block;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out-expo),
    transform var(--duration-fast) var(--ease-out-expo),
    text-shadow var(--duration-fast) var(--ease-out-expo);
}

/* Menu hover: bright white glow + a gentle zoom. */
.site-header .site-nav a:hover {
  color: #ffffff;
  transform: scale(1.09);
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}

.site-header.is-scrolled .logo-slot__wordmark,
.site-header.is-scrolled .site-nav a {
  text-shadow: none;
}

/* Scrolled header: deep forest bar with light type (never plain white/cream). */
.site-header.is-scrolled {
  background-color: rgba(26, 40, 32, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(203, 160, 90, 0.28);
}

.site-header.is-scrolled .logo-slot__wordmark {
  color: var(--color-cream);
}

.site-header.is-scrolled .site-nav a {
  color: var(--color-on-forest);
}

.site-header.is-scrolled .site-nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.55);
}

.site-header.is-scrolled .button--ghost {
  color: var(--color-cream);
  border-color: rgba(243, 237, 226, 0.5);
}

.site-header.is-scrolled .button--ghost:hover {
  background: var(--color-cream);
  color: var(--color-forest);
  border-color: var(--color-cream);
}

@media (max-width: 899px) {
  .site-nav {
    display: none; /* single-scroll page: CTA + footer nav cover mobile */
  }
}

/* On phones the header carries only the wordmark — the hero's prominent
   "Reservar sua estadia" CTA sits right below it, so a second header CTA would
   only crowd the narrow row. Removing it also rules out any overflow. */
@media (max-width: 560px) {
  .site-header__inner {
    padding-block: var(--space-2);
  }

  .site-header .button {
    display: none;
  }

  .logo-slot__img {
    height: 56px;
  }
}

/* ============ Mobile menu (hamburger + slide-in panel) ============ */
.nav-toggle { display: none; }
/* Reserve CTA lives only inside the mobile menu; the desktop header has its own
   button. Higher specificity so it beats ".site-header .site-nav a { display }". */
.site-header .site-nav a.site-nav__cta { display: none; }
.nav-backdrop { display: none; }

@media (max-width: 899px) {
  .site-header { z-index: 50; }
  .site-header.nav-open { z-index: 60; }

  /* hamburger button, pinned to the right of the header */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px 9px;
    margin-left: auto;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
    z-index: 61;
  }
  .nav-toggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: #fbf7f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s var(--ease-out-expo), opacity 0.2s;
  }
  .site-header.is-scrolled .nav-toggle__bar,
  .site-header.nav-open .nav-toggle__bar {
    background: var(--color-forest);
    box-shadow: none;
  }
  .site-header.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* slide-in panel (overrides the .site-nav display:none above) */
  .site-nav {
    display: block !important;
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100dvh;
    padding: calc(var(--space-6) + 24px) var(--space-5) var(--space-5);
    background: var(--color-cream);
    box-shadow: -14px 0 44px rgba(20, 25, 18, 0.28);
    transform: translateX(100%);
    transition: transform 0.34s var(--ease-out-expo);
    overflow-y: auto;
    z-index: 55;
  }
  .site-header.nav-open .site-nav { transform: translateX(0); }

  .site-nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }
  .site-nav li { width: 100%; }

  .site-header .site-nav a {
    display: block;
    width: 100%;
    padding: 0.95rem 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-forest) !important;
    text-shadow: none !important;
    border-bottom: 1px solid rgba(43, 51, 42, 0.12);
    transition: color 0.2s var(--ease-out-expo);
  }
  .site-header .site-nav a:hover {
    transform: none;
    color: var(--color-terracotta) !important;
  }

  /* reserve CTA at the bottom of the menu (shown only here, on mobile) */
  .site-header .site-nav a.site-nav__cta {
    display: block;
    margin-top: var(--space-5);
    padding: 0.95rem 1.4rem;
    text-align: center;
    background: var(--color-terracotta);
    color: #fff !important;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .site-header .site-nav a.site-nav__cta:hover { color: #fff !important; }

  /* the menu carries the reserve CTA, so hide the header button */
  .site-header .button--reserve { display: none; }

  /* dimmed backdrop behind the panel */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 25, 18, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out-expo);
    z-index: 54;
  }
  body.nav-lock { overflow: hidden; }
  body.nav-lock .nav-backdrop { opacity: 1; visibility: visible; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--color-cream);
  background-color: var(--color-forest-deep);
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 40, 32, 0.4) 0%,
    rgba(26, 40, 32, 0.1) 38%,
    rgba(26, 40, 32, 0.72) 100%
  );
}

/* Hero content hugs the left (not the centred container), leaving the video
   open on the right for more presence. */
.hero__content {
  position: relative;
  margin-inline: 0;
  padding-block: var(--space-6) calc(var(--space-6) + var(--space-4));
  padding-left: clamp(1.5rem, 5vw, 5rem);
}

.hero__inner {
  max-width: 40rem;
  text-align: left;
}

.hero__title {
  /* Softer warm ivory (pure white was tiring) + smaller + gentle depth. */
  font-size: clamp(2.4rem, 1rem + 5vw, 4.6rem);
  color: #f4ecdb;
  font-weight: 400;
  max-width: 15ch;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 26px rgba(16, 25, 20, 0.5);
}

.hero__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: var(--text-subtitle);
  color: var(--color-cream);
  max-width: 34ch;
  margin-bottom: var(--space-5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Location line above the hero title — legible and present (not a tiny label). */
.hero__place {
  font-family: var(--font-body);
  font-variant-caps: small-caps;
  font-size: clamp(0.95rem, 0.82rem + 0.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-cream);
  margin-bottom: var(--space-3);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

/* ============ Feature lists (replace the old table look) ============ */
.features {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  max-width: 40rem;
}

.features li {
  position: relative;
  font-size: var(--text-small);
  letter-spacing: 0.02em;
  color: inherit;
  padding-left: 1.1rem;
}

/* Small gold diamond marker instead of a dash/checkbox. */
.features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--color-ochre);
}

.section--forest .features li::before {
  background: var(--color-gold);
}

/* Inline variant (chalet meta): flowing, middot-separated, no bullets. */
.features--inline {
  gap: 0;
  font-family: var(--font-body);
}

.features--inline li {
  padding: 0;
  color: var(--color-cream-muted);
}

.features--inline li::before {
  display: none;
}

.features--inline li:not(:last-child)::after {
  content: '·';
  margin: 0 0.6em;
  color: var(--color-ochre);
}

.section--forest .features--inline li {
  color: var(--color-on-forest-muted);
}

/* ============ Amenities mini-grid (icon highlights) ============ */
.amenities-grid {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
  text-align: center;
}

@media (min-width: 760px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.amenity__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: var(--space-1);
  border-radius: 50%;
  color: var(--color-terracotta);
  background: radial-gradient(circle at 50% 40%, rgba(168, 90, 60, 0.14), rgba(176, 131, 75, 0.08));
  box-shadow: inset 0 0 0 1px rgba(176, 131, 75, 0.25);
  transition: transform var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.amenity__icon svg {
  width: 34px;
  height: 34px;
}

@media (hover: hover) {
  .amenity:hover .amenity__icon {
    transform: translateY(-4px) scale(1.06);
    color: var(--color-forest);
    box-shadow: inset 0 0 0 1px rgba(34, 51, 42, 0.35);
  }
}

.amenity__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-forest);
}

.amenity__desc {
  font-size: var(--text-small);
  color: var(--color-cream-muted);
  max-width: 22ch;
  margin-inline: auto;
}

/* ============ Editorial split ============ */
.split {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-6);
  }

  .split--flip > *:first-child {
    order: 2;
  }
}

/* Rounded photo frame with a gentle zoom on hover (signals interaction). */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out-expo);
}

.frame--tall img {
  aspect-ratio: 4 / 3;
}

@media (hover: hover) {
  .frame:hover img {
    transform: scale(1.045);
  }
}

/* ============ Accommodations ============ */
.chalet {
  padding-block: var(--space-6);
}

.chalet__index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: var(--space-2);
}

.chalet h3 {
  font-size: var(--text-title);
  margin-bottom: var(--space-3);
}

/* Accommodation name on the /acomodacoes/ page (h2 after the index eyebrow). */
.chalet__index + h2 {
  font-size: var(--text-title);
  margin-bottom: var(--space-3);
}

.chalet .frame img {
  aspect-ratio: 4 / 5;
}

.chalet--wide .frame img {
  aspect-ratio: 3 / 2;
}

.chalet__actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ============ Reservation ============ */
.reserve__inner {
  max-width: 60rem;
}

.reserve__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-3) var(--space-4);
  padding: var(--space-5);
  background: rgba(243, 237, 226, 0.06);
  border: var(--hairline-on-dark);
}

.reserve__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 9rem;
  flex: 1;
}

.reserve__field label {
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--color-gold);
}

.reserve__field input,
.reserve__field select {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-cream);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(203, 160, 90, 0.5);
  padding: 0.5em 0;
  min-height: 44px;
  color-scheme: dark; /* native date/select picker in dark */
}

.reserve__field input:focus-visible,
.reserve__field select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.reserve__form .button {
  flex: 0 0 auto;
}

.reserve__alt {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--text-small);
  color: var(--color-on-forest-muted);
}

.reserve__alt a {
  color: var(--color-gold);
}

/* ============ Café da manhã media ============ */
.cafe__media {
  display: grid;
  gap: var(--space-3);
}

.cafe__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.cafe__thumbs .frame img {
  aspect-ratio: 3 / 2;
}

/* ============ Gallery — fixed-row mosaic ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(150px, 38vw, 260px);
  grid-auto-flow: dense;
  gap: var(--space-3);
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(180px, 19vw, 290px);
    gap: var(--space-4);
  }

  .gallery__item--tall {
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.gallery__item picture {
  display: block;
  height: 100%;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.035);
  }
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-4) var(--space-3) var(--space-2);
  font-size: var(--text-kicker);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--color-cream);
  background: linear-gradient(to top, rgba(35, 32, 28, 0.55), transparent);
}

/* ============ Tour ============ */
.tour-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  color: var(--color-cream);
  text-decoration: none;
}

.tour-card img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}

@media (hover: hover) {
  .tour-card:hover img {
    transform: scale(1.03);
  }
}

.tour-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  text-align: center;
  /* Forest gradient veil — keeps the photo rich and the text legible. */
  background: linear-gradient(to top, rgba(20, 31, 25, 0.72), rgba(26, 40, 32, 0.4));
  transition: background-color var(--duration-base) var(--ease-out-expo);
  padding: var(--space-4);
}

/* On hover deepen the veil (focus), never wash it out to a sandy tint. */
.tour-card:hover .tour-card__overlay {
  background: linear-gradient(to top, rgba(20, 31, 25, 0.8), rgba(26, 40, 32, 0.5));
}

.tour-card__overlay strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-subtitle);
}

/* ============ Chapada — blog cards ============ */
.posts {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 800px) {
  .posts {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card .frame img {
  aspect-ratio: 3 / 2;
}

.post-card__cat {
  font-size: var(--text-kicker);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--color-gold);
  margin: var(--space-4) 0 var(--space-2);
}

.post-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  color: var(--color-on-forest);
}

.post-card__excerpt {
  font-size: var(--text-small);
  color: var(--color-on-forest-muted);
  margin-bottom: var(--space-3);
}

.post-card__more {
  margin-top: auto;
  font-size: var(--text-kicker);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.7;
}

/* Post cards on a light section (e.g. the /chapada/ blog page). */
.section:not(.section--forest) .post-card__title {
  color: var(--color-forest);
}

.section:not(.section--forest) .post-card__cat,
.section:not(.section--forest) .post-card__more {
  color: var(--color-terracotta);
}

.section:not(.section--forest) .post-card__excerpt {
  color: var(--color-cream-muted);
}

/* Post card title as a link keeps the title colour, not the default link red. */
.post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.post-card__title a:hover {
  color: var(--color-terracotta);
}

/* "Ler o guia" as a real link is fully visible and interactive. */
a.post-card__more {
  opacity: 1;
  text-decoration: none;
}

a.post-card__more::after {
  content: " \2192"; /* arrow, not a dash */
  transition: transform var(--duration-fast) var(--ease-out-expo);
  display: inline-block;
}

a.post-card__more:hover::after {
  transform: translateX(4px);
}

/* ============ Reviews — carousel of platform-style cards ============ */
.reviews-wrap {
  position: relative;
}

.reviews {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: var(--space-2) 2px var(--space-4);
  scrollbar-width: none; /* Firefox */
}

.reviews::-webkit-scrollbar {
  display: none; /* WebKit */
}

.reviews:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 4px;
}

.review {
  flex: 0 0 min(340px, 84%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: #fff;
  border: 1px solid rgba(35, 32, 28, 0.08);
  border-radius: 16px;
  padding: var(--space-4);
  box-shadow: 0 16px 40px -26px rgba(35, 32, 28, 0.55);
  transition: transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

@media (hover: hover) {
  .review:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 54px -24px rgba(35, 32, 28, 0.55);
  }
}

/* Prev/next arrows */
.reviews__arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(35, 32, 28, 0.12);
  background: #fff;
  color: var(--color-forest);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -12px rgba(35, 32, 28, 0.5);
  transition: background-color var(--duration-fast) var(--ease-out-expo),
    color var(--duration-fast) var(--ease-out-expo);
}

.reviews__arrow:hover {
  background: var(--color-forest);
  color: var(--color-cream);
}

.reviews__arrow--prev {
  left: -10px;
}

.reviews__arrow--next {
  right: -10px;
}

@media (max-width: 760px) {
  .reviews__arrow {
    display: none; /* mobile swipes the carousel */
  }
}

/* Card head: stars (left) + platform badge (right). */
.review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review__stars {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #f4a72b; /* review-star amber */
  max-width: none;
}

.review__badge .review__ic {
  display: block;
  width: 20px;
  height: 20px;
}

.review__text {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.6;
  color: #3c3a35;
  margin: 0;
  max-width: none;
}

/* Author row at the bottom (avatar photo/initial + name + verified source). */
.review__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(35, 32, 28, 0.08);
}

.review__avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

/* Real reviewer photo (when provided) fills the avatar. */
.review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
  margin: 0;
}

.review__meta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #5f6368;
  margin: 2px 0 0;
  max-width: none;
}

/* "Ver todas as avaliações" button below the carousel. */
.reviews-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-5);
}

/* Generic "ver mais" button row under a section. */
.section-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

/* ============ Subpage intro (accommodations / chapada) ============ */
.page-intro {
  padding-top: calc(var(--space-6) + var(--space-5));
  padding-bottom: var(--space-5);
  text-align: center;
  background: var(--color-forest);
  color: var(--color-on-forest);
}

.page-intro h1 {
  color: var(--color-cream);
  margin-bottom: var(--space-3);
}

.page-intro .lead {
  margin-inline: auto;
  max-width: 44ch;
}

.page-intro .kicker {
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-3);
}

/* Region hero eyebrow ("A REGIÃO"): elegant Playfair, larger, gold and
   optically centered. The text-indent balances the trailing letter-spacing,
   which otherwise pulls centered uppercase text slightly to the left. */
.page-intro--region .kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.15rem);
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

/* Back link pinned to the top-left, just under the logo: a clear pill button,
   left-aligned regardless of the centered intro. */
.page-intro__back {
  display: flex;
  align-items: center;
  gap: 0.35em;
  width: fit-content;
  margin: 0 auto var(--space-5) 0; /* right auto pushes it to the left edge */
  padding: 0.6em 1.15em;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
  border: 1px solid rgba(203, 160, 90, 0.5);
  border-radius: 999px;
  transition: color var(--duration-fast) var(--ease-out-expo),
    border-color var(--duration-fast) var(--ease-out-expo),
    background-color var(--duration-fast) var(--ease-out-expo);
}

.page-intro__back:hover {
  color: var(--color-cream);
  border-color: var(--color-cream);
  background-color: rgba(255, 255, 255, 0.06);
}

/* "Ver mais fotos" expander (native <details>). */
.more-photos {
  margin-top: var(--space-4);
}

.more-photos > summary {
  display: inline-flex;
  cursor: pointer;
  list-style: none;
}

.more-photos > summary::-webkit-details-marker {
  display: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
}

/* Tour invitation banner. */
.tour-invite {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}

.tour-invite .kicker {
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-3);
}

.tour-invite .button {
  margin-top: var(--space-4);
}

/* ============ Recognition — stat cards ============ */
.stat-cards {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) auto;
  max-width: 62rem;
}

@media (min-width: 720px) {
  .stat-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  background: #fff;
  border: 1px solid rgba(35, 32, 28, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 46px -30px rgba(35, 32, 28, 0.6);
  transition: transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

@media (hover: hover) {
  .stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -28px rgba(35, 32, 28, 0.6);
  }
}

.stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-cream);
  margin-bottom: var(--space-1);
  color: var(--color-ochre);
}

.stat-card__ic {
  width: 26px;
  height: 26px;
  display: block;
}

/* Friendly, rounded numbers (sans, not the serif old-style figures). */
.stat-card__num {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.9rem + 2vw, 3.4rem);
  letter-spacing: -0.01em;
  color: var(--color-forest);
  line-height: 1;
}

.stat-card__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-cream-muted);
  max-width: none;
}

.recognition {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* ============ Contact — highlighted card (no green competing w/ footer) ============ */
.contact-card {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(165deg, #fffdf9, var(--color-cream));
  border: 1px solid rgba(176, 131, 75, 0.28);
  border-radius: 24px;
  box-shadow: 0 34px 80px -46px rgba(35, 32, 28, 0.65);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

/* Warm accent bar along the top edge. */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-ochre), var(--color-gold));
}

@media (hover: hover) {
  .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 44px 90px -44px rgba(35, 32, 28, 0.65);
  }
}

.contact-card .kicker {
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-3);
}

.contact-card h2 {
  margin-bottom: var(--space-3);
}

.contact-card__lead {
  max-width: 36ch;
  margin: 0 auto var(--space-5);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #6b6357;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* On phones: full-width contact buttons that never overflow the card. The
   e-mail is one long token, so it must be allowed to break and not be forced
   to uppercase (which made it too wide and clipped). */
@media (max-width: 560px) {
  .contact-actions {
    flex-direction: column;
    width: 100%;
  }

  .contact-actions .button {
    width: 100%;
    max-width: 100%;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    padding-inline: 1rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-actions [data-contact="email"] {
    text-transform: none;
    letter-spacing: 0.01em;
  }
}

/* WhatsApp is the primary contact channel — bigger button, bigger number,
   winning over the generic .contact-actions .button sizing on mobile too. */
.contact-actions .button--whatsapp {
  font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 1.05rem 2.2rem;
  white-space: normal;
}

.contact-actions .button--whatsapp .btn-ic {
  width: 1.55em;
  height: 1.55em;
}

/* ============ Footer ============ */
.site-footer {
  border-top: 2px solid var(--color-gold);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-6);
  }
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-cream);
}

.site-footer__logo {
  display: block;
  height: 124px;
  width: auto;
  margin-bottom: var(--space-3);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* Recognition badges (TripAdvisor, Kayak) — brand-coloured wordmarks. */
.footer-awards {
  margin-top: var(--space-4);
}

.footer-awards__label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-on-forest-muted);
  margin-bottom: var(--space-2);
}

.footer-awards__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.award {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(203, 160, 90, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color var(--duration-fast) var(--ease-out-expo);
}

.award__ic {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.award:hover {
  background: rgba(255, 255, 255, 0.1);
}

.award__ta {
  color: #34e0a1;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.award__kayak {
  color: #ff690f;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.site-footer nav ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.site-footer nav a {
  text-decoration: none;
}

.site-footer nav a:hover {
  text-decoration: underline;
}

.site-footer__orbita {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(203, 160, 90, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  font-size: var(--text-kicker);
  letter-spacing: 0.06em;
}

/* Full-width legal bar at the very bottom. */
.site-footer__legal {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--container-pad);
  border-top: 1px solid rgba(203, 160, 90, 0.18);
  text-align: center;
  font-size: var(--text-small);
  color: var(--color-on-forest-muted);
}

/* Órbita signature — discreet logo mark + credit, keeps the brand's own
   colours (purple/green), a touch larger than a favicon. */
.orbita-credit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-on-forest-muted);
  letter-spacing: 0.04em;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.orbita-credit__mark {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.orbita-credit__text {
  font-size: 0.7rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.orbita-credit__text strong {
  color: var(--color-cream);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.orbita-credit:hover .orbita-credit__mark {
  transform: rotate(-8deg) scale(1.06);
}

.orbita-credit:hover .orbita-credit__text strong {
  color: var(--color-gold);
}

/* ============ Scroll reveals ============ */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}



/* ============================================================================
   Sand theme for the top bar and footer (v: areia).
   Green stays only in the section dividers/backgrounds. The header bar and the
   footer move to a deeper warm sand for a stronger presence, and the logo sits
   in a white organic badge, large and prominent (dark logo art on white).
   ============================================================================ */

/* ---- Header logo: transparent art directly on the bar, no box.
   Light (cream) art over the hero, dark (green) art on the sand bar. ---- */
.site-header .logo-slot {
  background: none;
  padding: 0;
  box-shadow: none;
}

.logo-slot__img {
  height: 76px;
}

.logo-slot__img--dark {
  display: none; /* over the hero the light version shows */
}

.logo-slot__img--light {
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.5));
}

/* Scrolled top bar becomes deep sand with dark text. */
.site-header.is-scrolled {
  background-color: var(--color-sand-deep);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(120, 96, 60, 0.3);
}

.site-header.is-scrolled .site-nav a {
  color: var(--color-forest-deep);
  text-shadow: none;
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--color-terracotta);
  text-shadow: none;
}

/* On the sand bar, swap to the dark logo art. */
.site-header.is-scrolled .logo-slot__img--light {
  display: none;
}

.site-header.is-scrolled .logo-slot__img--dark {
  display: block;
  filter: none;
}

@media (max-width: 560px) {
  .logo-slot__img {
    height: 54px;
  }
}

/* ---- Footer: warm sand surface with dark text ---- */
.site-footer {
  background: var(--color-sand-deep);
  color: var(--color-forest);
  border-top: 2px solid var(--color-ochre);
}

.site-footer p {
  color: var(--color-forest);
}

.site-footer a {
  color: var(--color-terracotta);
}

.site-footer__logo {
  filter: none; /* dark logo reads well directly on sand */
}

.site-footer__brand {
  color: var(--color-forest-deep);
}

.footer-awards__label {
  color: var(--color-forest);
}

/* Recognition seals: light cards on the sand, soft shadow, brand marks legible.
   Reads as premium certification badges rather than heavy dark pills. */
.award {
  background: #fffdf8;
  border: 1px solid rgba(120, 96, 60, 0.3);
  box-shadow: 0 8px 20px -10px rgba(60, 44, 20, 0.45);
  padding: 9px 18px;
  transition: transform var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) var(--ease-out-expo),
    border-color var(--duration-fast) var(--ease-out-expo);
}

.award:hover {
  background: #ffffff;
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(60, 44, 20, 0.5);
}

/* On the light card the TripAdvisor mark reads in a deep green (mint would be
   invisible on cream); Kayak keeps its orange. */
.award__ta {
  color: #0a6b4f;
}

.site-footer__orbita {
  border-top: 1px solid rgba(120, 96, 60, 0.3);
}

.site-footer__legal {
  border-top: 1px solid rgba(120, 96, 60, 0.22);
  color: var(--color-forest);
}

.orbita-credit {
  color: var(--color-forest);
}

.orbita-credit__text strong {
  color: var(--color-forest-deep);
}

.orbita-credit:hover .orbita-credit__text strong {
  color: var(--color-terracotta);
}

/* Footer menu links in deep green so they stand out on the sand (not the faint
   terracotta). Terracotta stays as the hover accent. */
.site-footer nav a {
  color: var(--color-forest-deep);
  font-weight: 500;
}

.site-footer nav a:hover {
  color: var(--color-terracotta);
  text-decoration: underline;
}

/* Brighter, shinier hover on the top menu links, in both header states. */
.site-header .site-nav a:hover {
  color: #ffffff;
  transform: scale(1.1);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.85), 0 0 8px rgba(203, 160, 90, 0.55);
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--color-terracotta);
  transform: scale(1.09);
  text-shadow: 0 0 12px rgba(203, 160, 90, 0.6);
}

/* ============ Gallery carousel + lightbox (acomodações) ============ */
.gallery-carousel {
  position: relative;
}

.gallery-track {
  list-style: none;
  display: flex;
  gap: var(--space-3);
  margin: 0;
  padding: var(--space-2) 2px var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: clamp(230px, 40vw, 380px);
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px -20px rgba(35, 32, 28, 0.65);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out-expo);
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 3px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(176, 131, 75, 0.45);
  background: rgba(255, 253, 248, 0.94);
  color: var(--color-forest);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(35, 32, 28, 0.55);
  transition: background-color var(--duration-fast) var(--ease-out-expo),
    transform var(--duration-fast) var(--ease-out-expo);
}

.gallery-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.gallery-arrow--prev {
  left: -10px;
}

.gallery-arrow--next {
  right: -10px;
}

.gallery-arrow[disabled] {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .gallery-arrow--prev {
    left: 4px;
  }
  .gallery-arrow--next {
    right: 4px;
  }
}

/* Lightbox: full image at 70%+ of the screen, with a back button. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(16, 25, 20, 0.93);
  backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: min(90vw, 1400px);
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
}

.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  border: 1px solid rgba(243, 237, 226, 0.55);
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out-expo),
    border-color var(--duration-fast) var(--ease-out-expo);
}

.lightbox__close::before {
  content: "\2039";
  font-size: 1.4em;
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: var(--color-cream);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(243, 237, 226, 0.4);
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-cream);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out-expo);
}

.lightbox__nav:hover {
  background: rgba(0, 0, 0, 0.62);
}

.lightbox__nav--prev {
  left: clamp(0.5rem, 3vw, 2rem);
}

.lightbox__nav--next {
  right: clamp(0.5rem, 3vw, 2rem);
}

/* ============ Back link: more breathing room from the top bar ============ */
.page-intro__back {
  margin-top: var(--space-4);
}

/* ============ Órbita credit: "Desenvolvido por" in black for emphasis ============ */
.site-footer .orbita-credit__text {
  color: #141414;
}

/* ============ Kicker: readable size (avoid tiny labels) ============
   Repeated feedback: small overline labels were too small. Keep them legible. */
.kicker {
  font-size: 1rem;
}

/* ============ Legal bar: a green band to break the sand, gold text ============ */
.site-footer__legal {
  background: var(--color-forest-deep);
  color: var(--color-gold);
  border-top: none;
}

/* ============ Featured blog post (top of the guide) ============ */
.post-feature {
  display: grid;
  grid-template-columns: 1fr;
  background: #fffdf8;
  border: 1px solid rgba(176, 131, 75, 0.28);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 54px -32px rgba(35, 32, 28, 0.6);
  margin-bottom: var(--space-6);
}

@media (min-width: 760px) {
  .post-feature {
    grid-template-columns: 1.15fr 1fr;
  }
}

.post-feature__media {
  display: block;
  overflow: hidden;
  min-height: 240px;
}

.post-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out-expo);
}

.post-feature__media:hover img {
  transform: scale(1.04);
}

.post-feature__body {
  padding: clamp(1.6rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-feature__label {
  display: block;
  font-family: var(--font-body);
  font-variant-caps: small-caps;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-terracotta);
  margin-bottom: var(--space-2);
}

.post-feature__title {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem);
  margin-bottom: var(--space-3);
}

.post-feature__title a {
  color: var(--color-forest);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.post-feature__title a:hover {
  color: var(--color-terracotta);
}

.post-feature__excerpt {
  color: #6b6357;
  margin-bottom: var(--space-4);
  font-size: 1.06rem;
  line-height: 1.6;
}

.post-feature .button {
  align-self: flex-start;
}

/* ============ Post closing CTA (strong booking invitation) ============ */
.post-cta {
  margin-top: 2.6em;
  text-align: center;
  background: linear-gradient(160deg, var(--color-forest), var(--color-forest-deep));
  color: var(--color-cream);
  border-radius: 22px;
  padding: clamp(2.2rem, 6vw, 3.8rem) clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 28px 64px -34px rgba(16, 25, 20, 0.85);
}

.post-cta__kicker {
  display: block;
  font-family: var(--font-body);
  font-variant-caps: small-caps;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-3);
}

.post-cta h2 {
  color: var(--color-cream);
  margin-bottom: var(--space-3);
}

.article-body .post-cta p {
  color: rgba(243, 237, 226, 0.88);
  max-width: 42ch;
  margin: 0 auto var(--space-5);
  font-size: 1.12rem;
  line-height: 1.6;
}

.post-cta .button--cta {
  font-size: 1.05rem;
  padding: 1.2em 2.6em;
}

/* Buttons inside the article body keep their own text colour (the generic
   .article-body a rule would otherwise turn CTA text terracotta on terracotta). */
.article-body .button--cta {
  color: var(--color-cream);
}
.article-body .button--cta:hover {
  color: var(--color-cream);
}

/* Bigger gallery kicker (repeated request to enlarge "Galeria"). */
.kicker--lg {
  font-size: 1.35rem;
  letter-spacing: 0.14em;
}

/* Legal bar reaches the very bottom: no sand strip after the green band. */
.site-footer {
  padding-bottom: 0;
}

/* Recognition badges v3: light outlined pills that sit gently on the sand,
   warmer and more harmonious than solid cards. Marks stay legible. */
.award {
  background: rgba(255, 253, 248, 0.4);
  border: 1.5px solid rgba(93, 74, 40, 0.4);
  box-shadow: none;
}

.award:hover {
  background: rgba(255, 253, 248, 0.78);
  border-color: var(--color-terracotta);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -12px rgba(60, 44, 20, 0.45);
}

/* Recognition badges v4: just the marks, no pill. Minimal, on the sand. */
.award {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 0.5em;
  transition: opacity var(--duration-fast) var(--ease-out-expo);
}

.award:hover {
  background: none;
  border: none;
  box-shadow: none;
  transform: none;
  opacity: 0.7;
}

.footer-awards__row {
  gap: var(--space-5);
  align-items: center;
}

.award__ic {
  width: 20px;
  height: 20px;
}

.award__ta,
.award__kayak {
  font-size: 0.92rem;
}

/* Kicker/eyebrow labels: uniform uppercase (no small-caps, which made the first
   capital letter look bigger than the rest, e.g. "Galeria"). Fixes it globally. */
.kicker {
  font-variant-caps: normal;
  text-transform: uppercase;
}

/* ============ Per-accommodation media gallery (main + thumbs + arrows) ============ */
.media-gallery__stage-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px -22px rgba(35, 32, 28, 0.6);
}

.media-gallery__stage {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.media-gallery__stage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.mg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(20, 25, 18, 0.4);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out-expo);
}

.mg-arrow:hover {
  background: rgba(20, 25, 18, 0.65);
}

.mg-arrow--prev {
  left: 10px;
}

.mg-arrow--next {
  right: 10px;
}

.media-gallery__thumbs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
  margin: var(--space-2) 0 0;
  padding: 0;
}

.media-gallery__thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color var(--duration-fast) var(--ease-out-expo),
    opacity var(--duration-fast) var(--ease-out-expo);
  opacity: 0.75;
}

.media-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.media-gallery__thumbs button:hover {
  opacity: 1;
  border-color: rgba(168, 90, 60, 0.5);
}

.media-gallery__thumbs button[aria-current="true"] {
  opacity: 1;
  border-color: var(--color-terracotta);
}

/* Footer brand: logo à esquerda, texto ao lado (rodapé mais curto). */
.site-footer__brandcol {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-footer__brandcol .site-footer__logo {
  flex: 0 0 auto;
  height: 108px;
  margin-bottom: 0;
}

.site-footer__brandtext {
  min-width: 0;
}

.site-footer__brandtext .footer-awards {
  margin-top: var(--space-3);
}

@media (max-width: 560px) {
  .site-footer__brandcol {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

/* ============ Glassmorphism no header e rodapé (mantém a cor areia) ============
   Areia translúcida + backdrop blur + fio de vidro fino + sombra suave.
   Elegante, legível, sem ficar opaco demais nem borrado demais. */
.site-header.is-scrolled {
  background-color: rgba(203, 181, 145, 0.72); /* --color-sand-deep translúcido */
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 28px -12px rgba(20, 25, 18, 0.2);
}

.site-footer {
  background: rgba(203, 181, 145, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 -6px 28px -12px rgba(20, 25, 18, 0.16);
}
