/* ============================================================
   HAU CABANAS · editorial cinematic
   Design dials: variance 6 · motion 4 · density 4
   ============================================================ */

:root {
  /* palette: espresso + forest green + stone (not beige/brass) */
  --ink: #2a1d12;
  --espresso: #3f2c1b;
  --bark: #6f5538;
  --green: #33503d;
  --green-deep: #25392c;
  --stone: #f3eee4;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --sand: #e7dbc7;
  --muted: #6b5c49;
  --line: rgba(42, 29, 18, .14);
  --line-soft: rgba(42, 29, 18, .08);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --radius: 14px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 80px;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .25vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 380;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--espresso);
  color: var(--cream);
  padding: .6rem 1rem;
  border-radius: 8px;
  transition: top .2s;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 1.1rem;
}

.eyebrow--light {
  color: rgba(255, 255, 255, .78);
}

.section-title {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem);
  color: var(--ink);
}

.section-title--light {
  color: var(--cream);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-lede {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 40rem;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--espresso);
  --fg: var(--cream);
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  padding: .92em 1.7em;
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--solid {
  background: var(--espresso);
  color: var(--cream);
  box-shadow: 0 10px 24px -14px rgba(42, 29, 18, .7);
}

.btn--solid:hover {
  background: var(--green);
}

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--lg {
  padding: 1.05em 2.1em;
  font-size: .98rem;
}

.btn--sm {
  padding: .7em 1.3em;
  font-size: .82rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--link {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--bark);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.btn--link:hover {
  color: var(--green);
  transform: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: .6rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: calc(var(--header-h) - 1.2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  height: 62px;
  width: auto;
  transition: opacity .35s var(--ease);
}

.brand-logo--dark {
  display: none;
}

.nav-list {
  display: flex;
  gap: clamp(1rem, 2vw, 2.1rem);
}

.nav-list a {
  font-size: .92rem;
  font-weight: 500;
  color: #fff;
  position: relative;
  padding: .3rem 0;
  transition: color .3s;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width .35s var(--ease);
}

.nav-list a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .9rem;
}

/* scrolled state */
.site-header.is-scrolled {
  background: var(--cream);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -22px rgba(42, 29, 18, .5);
}

.site-header.is-scrolled .brand-logo--light {
  display: none;
}

.site-header.is-scrolled .brand-logo--dark {
  display: block;
}

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

.site-header.is-scrolled .brand-logo {
  height: 54px;
}

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .3s;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* full-screen drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* visibility flips instantly on open (0s) but is delayed on close so the fade-out is visible */
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .4s var(--ease), visibility 0s linear 0s;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.mobile-menu__logo {
  height: 52px;
  width: auto;
}

.mobile-menu__close {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
}

.mobile-menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.mobile-menu__nav ul {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu__nav li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.mobile-menu.is-open .mobile-menu__nav li {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-menu__nav li:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(2) { transition-delay: .14s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(3) { transition-delay: .20s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(4) { transition-delay: .26s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(5) { transition-delay: .32s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(6) { transition-delay: .38s; }

.mobile-menu__nav a {
  display: block;
  padding: .55rem 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu__foot {
  padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease) .42s, transform .5s var(--ease) .42s;
}

.mobile-menu.is-open .mobile-menu__foot {
  opacity: 1;
  transform: none;
}

.mobile-menu__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .9rem;
  margin-top: 1.1rem;
}

.mobile-menu__contact a {
  position: relative;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--muted);
  transition: color .3s;
}

.mobile-menu__contact a:hover {
  color: var(--ink);
}

.mobile-menu__contact a + a::before {
  content: "·";
  position: absolute;
  left: -.55rem;
  color: var(--line);
}

@media (prefers-reduced-motion: reduce) {

  .mobile-menu__nav li,
  .mobile-menu__foot {
    transition: none;
    transform: none;
  }
}

/* drawer only exists on mobile — never leave it stuck on desktop */
@media (min-width: 861px) {
  .mobile-menu {
    display: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(6rem, 9vh, 8rem);
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  transform: scale(1.04);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 14, 8, .78) 0%, rgba(20, 14, 8, .28) 42%, rgba(20, 14, 8, .5) 70%, rgba(20, 14, 8, .42) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 56rem;
}

.hero-title {
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.1rem);
  color: #fff;
  font-weight: 360;
  position: relative;
  min-height: 2.2em;
}

@media (min-width: 700px) {
  .hero-title {
    min-height: 2.3em;
  }
}

.hero-title .rot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.hero-title .rot.is-active {
  opacity: 1;
  transform: none;
  position: relative;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.3rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 20px;
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: #fff;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  30% {
    opacity: 1;
  }

  60% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

/* ============================================================
   FATOS
   ============================================================ */
.facts {
  background: var(--espresso);
  color: var(--cream);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.fact {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.fact-ico {
  width: 30px;
  height: 30px;
  flex: none;
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact p {
  font-size: .98rem;
  line-height: 1.3;
  font-weight: 500;
}

.fact span {
  color: rgba(250, 246, 239, .6);
  font-weight: 400;
  font-size: .9rem;
}

/* ============================================================
   CABANAS
   ============================================================ */
.cabanas {
  padding-block: var(--section-y);
  background: var(--stone);
}

.cabanas-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.cabanas-intro .section-head {
  margin-bottom: 0;
}

.cabanas-logo {
  flex-shrink: 0;
  width: clamp(120px, 14vw, 200px);
  height: auto;
  animation: spin 32s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cabana {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(4rem, 7vw, 6rem);
}

.cabana--reverse {
  grid-template-columns: .85fr 1.15fr;
}

.cabana--reverse .cabana-media {
  order: 2;
}

.cabana-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 40px 60px -40px rgba(42, 29, 18, .55);
}

.cabana-media img {
  width: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.cabana-media:hover img {
  transform: scale(1.04);
}

.cabana-kicker {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bark);
  font-weight: 600;
  margin-bottom: .6rem;
}

.cabana-name {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  line-height: 1;
}

.cabana-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  margin-top: .7rem;
  font-weight: 360;
}

.cabana-text {
  margin-top: 1.1rem;
  color: var(--muted);
}

.cabana-note {
  margin-top: 1rem;
  color: var(--bark);
  font-size: .95rem;
}

.amenities {
  margin: 1.6rem 0 1.9rem;
  font-size: .95rem;
  line-height: 2.4rem;
  color: var(--espresso);
  /* régua fina sob cada linha que quebra (efeito region-list) */
  background-image: repeating-linear-gradient(to bottom,
      transparent 0,
      transparent calc(2.4rem - 1px),
      var(--line) calc(2.4rem - 1px),
      var(--line) 2.4rem);
}

.amenities li {
  display: inline;
}

.amenities li:not(:last-child)::after {
  content: "·";
  margin: 0 .55em;
  color: var(--bark);
  font-weight: 700;
}

/* galeria */
.gallery-wrap {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.gallery-head .eyebrow {
  margin-bottom: 0;
}

.gallery {
  display: flex;
  gap: clamp(.6rem, 1.2vw, 1rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .25rem;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 2 / 3;
  padding: 0;
  background: var(--sand);
  flex: 0 0 calc((100% - 3 * clamp(.6rem, 1.2vw, 1rem)) / 4);
  scroll-snap-align: start;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(37, 57, 44, 0);
  transition: background .35s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::after {
  background: rgba(37, 57, 44, .18);
}

/* dots de navegação do carrossel */
.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  cursor: pointer;
  transition: width .35s var(--ease), background .35s var(--ease), border-radius .35s var(--ease);
}

.gallery-dots button:hover {
  background: var(--green);
}

.gallery-dots button.is-active {
  width: 22px;
  border-radius: 5px;
  background: var(--green);
}

/* ============================================================
   EXPERIÊNCIA
   ============================================================ */
.experience {
  padding-block: var(--section-y);
  background: var(--cream);
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.exp-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.exp-item--reverse .exp-media {
  order: 2;
}

.exp-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 36px 54px -40px rgba(42, 29, 18, .5);
}

.exp-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.exp-item:hover .exp-media img {
  transform: scale(1.05);
}

.exp-text h3 {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
}

.exp-text p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 34rem;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials {
  padding-block: var(--section-y);
  background: var(--stone);
}

/* ---- nota agregada ---- */
.rating-agg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.4rem;
}

.rating-stars {
  display: inline-flex;
  gap: .18rem;
}

.rating-stars .star {
  width: 1.15rem;
  height: 1.15rem;
  fill: var(--bark);
}

.rating-score {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1;
}

.rating-count {
  font-family: var(--sans);
  font-size: .9rem;
  letter-spacing: .02em;
  color: var(--muted);
}

/* ---- slider ---- */
.quotes-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: clamp(.6rem, 2vw, 1.6rem);
  row-gap: 1rem;
  grid-template-areas:
    "track track track"
    "prev  dots  next";
}

.quotes-wrap .quote-arrow--prev {
  grid-area: prev;
}

.quotes-wrap .quote-arrow--next {
  grid-area: next;
}

.quotes-wrap .quotes {
  grid-area: track;
  min-width: 0;
}

.quotes-wrap .gallery-dots {
  grid-area: dots;
  margin-top: 0;
}

@media (min-width: 900px) {
  .quotes-wrap {
    grid-template-areas:
      "prev track next"
      "dots dots dots";
  }
}

.quotes {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--radius);
  outline: none;
}

.quotes:focus-visible {
  box-shadow: 0 0 0 3px rgba(51, 80, 61, .35);
}

.quotes::-webkit-scrollbar {
  display: none;
}

.quote {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.6rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.4rem;
  min-height: clamp(24rem, 42vh, 30rem);
  position: relative;
  overflow: hidden;
}

/* aspa decorativa grande atrás do texto */
.quote::before {
  content: "\201C";
  position: absolute;
  top: clamp(.2rem, 1vw, .9rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 11rem);
  line-height: 1;
  color: var(--sand);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.quote-stars {
  display: inline-flex;
  gap: .28rem;
  position: relative;
  z-index: 1;
}

.quote-stars .star {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--bark);
}

.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.85rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 360;
  max-width: min(46rem, 100%);
  position: relative;
  z-index: 1;
}

.quote figcaption {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bark);
  position: relative;
  z-index: 1;
}

.quote-meta {
  display: block;
  margin-top: .4rem;
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: none;
  color: var(--muted);
}

/* ---- setas ---- */
.quote-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--espresso);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
    border-color .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
}

.quote-arrow svg {
  width: 20px;
  height: 20px;
}

.quote-arrow:hover,
.quote-arrow:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

/* ============================================================
   RESERVA (CTA)
   ============================================================ */
.reserve {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-block: clamp(5rem, 11vw, 9rem);
  text-align: center;
}

.reserve-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(25, 18, 10, .66), rgba(25, 18, 10, .74));
}

.reserve-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin-inline: auto;
  color: var(--cream);
}

.reserve-text {
  margin-top: 1.4rem;
  font-size: 1.12rem;
  color: rgba(250, 246, 239, .9);
}

.reserve-scarcity {
  margin: 1.6rem auto 2.2rem;
  font-family: var(--serif);
  font-style: italic;
  color: rgba(250, 246, 239, .78);
  max-width: 34rem;
}

/* ============================================================
   SOBRE
   ============================================================ */
.about {
  padding-block: var(--section-y);
  background: var(--cream);
}

.about-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 40px 60px -40px rgba(42, 29, 18, .5);
}

.about-media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-body p {
  margin-top: 1.2rem;
  color: var(--muted);
}

.about-signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--green);
  margin-top: 1.6rem !important;
}

/* ============================================================
   REGIÃO
   ============================================================ */
.region {
  padding-block: var(--section-y);
  background-color: var(--green-deep);
  background-image: url("https://www.transparenttextures.com/patterns/egg-shell.png");
  color: var(--cream);
}

.region .eyebrow {
  color: var(--sand);
}

.region .section-title {
  color: var(--cream);
}

.region-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.region-body p {
  color: rgba(250, 246, 239, .82);
  margin-top: 1.2rem;
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin: 1.8rem 0;
}

.region-list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(250, 246, 239, .13);
  font-size: 1.02rem;
}

.region-list svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.region-foot {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(250, 246, 239, .78);
  margin-bottom: 2rem !important;
}

.region .btn--outline {
  color: var(--cream);
  border-color: rgba(250, 246, 239, .5);
}

.region .btn--outline:hover {
  background: var(--cream);
  color: var(--green-deep);
  border-color: var(--cream);
}

.region-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.region-media img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 10px;
}

.region-media img:nth-child(1) {
  margin-top: 2.5rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding-block: var(--section-y);
  background: var(--stone);
}

.faq-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq .section-head {
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.accordion {
  display: flex;
  flex-direction: column;
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.4rem 1.35rem 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  color: var(--ink);
  position: relative;
  transition: color .25s;
}

.acc-item summary::-webkit-details-marker {
  display: none;
}

.acc-item summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -7px;
  background:
    linear-gradient(var(--bark), var(--bark)) center/13px 1.6px no-repeat,
    linear-gradient(var(--bark), var(--bark)) center/1.6px 13px no-repeat;
  transition: transform .35s var(--ease);
}

.acc-item[open] summary::after {
  transform: rotate(135deg);
}

.acc-item summary:hover {
  color: var(--green);
}

.acc-body {
  padding: 0 2.4rem 1.5rem 0;
  color: var(--muted);
}

.acc-body a {
  color: var(--green);
  border-bottom: 1px solid currentColor;
}

.acc-body > * + * {
  margin-top: .9rem;
}

.acc-body ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.acc-body li + li {
  margin-top: .35rem;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact {
  padding-block: var(--section-y);
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}

.contact-inner {
  max-width: 64rem;
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  text-align: left;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.contact-label {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bark);
  font-weight: 600;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}

.contact-value {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  padding-block: var(--section-y);
  background: var(--stone);
  color: var(--ink);
  text-align: center;
}

.newsletter-inner {
  max-width: 52rem;
  margin-inline: auto;
}

.newsletter .section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.newsletter-embed {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -30px rgba(42, 29, 18, .35);
  overflow: hidden;
}

.newsletter-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 239, .72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer-brand img {
  height: 86px;
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  max-width: 22rem;
  color: rgba(250, 246, 239, .6);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.footer-col h3 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col a,
.footer-col li {
  font-size: .95rem;
  color: rgba(250, 246, 239, .72);
  transition: color .25s;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 239, .12);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  font-size: .82rem;
  color: rgba(250, 246, 239, .5);
}

.footer-bottom-inner a {
  color: rgba(250, 246, 239, .72);
  text-decoration: underline;
  transition: color .25s;
}

.footer-bottom-inner a:hover {
  color: var(--cream);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  display: flex;
  align-items: center;
}

/* label que expande no hover/foco */
.wa-float__label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 100px;
  padding: 0;
  margin-right: 0;
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .6);
  transition: max-width .5s var(--ease), opacity .35s var(--ease),
    padding .5s var(--ease), margin .5s var(--ease);
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label,
.wa-float:focus-within .wa-float__label {
  max-width: 14rem;
  opacity: 1;
  padding: .72rem 1.1rem;
  margin-right: .65rem;
}

/* botão circular */
.wa-float__btn {
  position: relative;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px -12px rgba(37, 211, 102, .55), 0 8px 18px -10px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.wa-float:hover .wa-float__btn {
  transform: scale(1.06);
  box-shadow: 0 22px 38px -12px rgba(37, 211, 102, .6), 0 8px 18px -10px rgba(0, 0, 0, .45);
}

.wa-float:active .wa-float__btn {
  transform: scale(.97);
}

.wa-float__icon {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* anel de pulso */
.wa-float__pulse {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: #25d366;
  pointer-events: none;
  animation: waPulse 2.6s var(--ease) infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: .45;
  }

  70% {
    transform: scale(1.65);
    opacity: 0;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float__pulse {
    animation: none;
    opacity: 0;
  }

  .cabanas-logo {
    animation: none;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(18, 12, 6, .94);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .5rem;
  padding: clamp(1rem, 4vw, 3rem);
}

.lightbox[hidden] {
  display: none;
}

.lb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.lb-stage img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}

.lb-count {
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  letter-spacing: .1em;
}

.lb-close {
  position: absolute;
  top: clamp(.8rem, 2vw, 1.6rem);
  right: clamp(.8rem, 2vw, 1.6rem);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #fff;
  border-radius: 50%;
  transition: background .25s;
  line-height: 1;
}

.lb-close:hover {
  background: rgba(255, 255, 255, .12);
}

.lb-nav {
  width: 56px;
  height: 56px;
  font-size: 2.4rem;
  color: #fff;
  border-radius: 50%;
  transition: background .25s;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, .14);
}

/* ============================================================
   REVEAL (motion): only active when JS present
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}

.js .reveal-ready [data-reveal],
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

  .hero-slide {
    transition: none;
    transform: none;
  }

  .hero-scroll span {
    animation: none;
  }

  .reserve {
    background-attachment: scroll;
  }

  * {
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .gallery-item {
    flex-basis: calc((100% - 2 * clamp(.6rem, 1.2vw, 1rem)) / 3);
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .nav,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions {
    gap: 0;
  }

  .cabana,
  .cabana--reverse,
  .exp-item,
  .about-inner,
  .region-inner,
  .faq-inner {
    grid-template-columns: 1fr;
  }

  .cabana--reverse .cabana-media,
  .exp-item--reverse .exp-media {
    order: 0;
  }

  .about-media {
    max-width: 26rem;
  }

  .faq .section-head {
    position: static;
  }

  .cabanas-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem 1.5rem;
  }

  .contact-grid,
  .footer-inner,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  .region-media img:nth-child(1) {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .gallery-item {
    flex-basis: calc((100% - 1 * clamp(.6rem, 1.2vw, 1rem)) / 2);
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .facts-grid .fact {
    gap: 1rem;
    padding: 1.05rem .15rem;
    border-bottom: 1px solid rgba(250, 246, 239, .12);
  }

  .facts-grid .fact:last-child {
    border-bottom: none;
  }

  .newsletter-embed iframe {
    height: 340px;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
  }

  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: 1rem;
  }

  .lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
  }

  .lb-prev {
    left: .6rem;
  }

  .lb-next {
    right: .6rem;
  }
}