/* ==========================================================================
   CASARÕES DE GRAMADO — style.css
   Paleta escura/quente · Playfair Display (títulos) + Inter (corpo)
   Breakpoints: sm 40rem (640px) · md 48rem (768px) · lg 64rem (1024px) · xl 80rem (1280px)
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --charcoal: #1a1714;
  --charcoal-light: #2a2520;
  --charcoal-lighter: #3a352f;
  --espresso: #0d0b09;
  --warm: #2c2620;
  --warm-light: #3d3529;
  --gold: #d84012;
  --gold-light: #e85a2f;
  --gold-dark: #b5350f;
  --cream: #f5f0e8;
  --cream-dark: #e8e0d4;
  --stone: #a89b8c;
  --stone-light: #c4b8a8;
  --moss: #4a5d3a;
  --moss-light: #5a7048;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-display: clamp(3rem, 8vw, 7rem);
  --text-h1: clamp(2.5rem, 5vw, 4.5rem);
  --text-h2: clamp(2rem, 4vw, 3.5rem);
  --text-h3: clamp(1.5rem, 2.5vw, 2rem);

  --spacing-section: clamp(5rem, 10vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-base: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0 solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--charcoal);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

img, svg, iframe {
  display: block;
  vertical-align: middle;
}

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

button, input, textarea, select {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}

button {
  cursor: pointer;
}

small {
  font-size: 80%;
}

[hidden] {
  display: none !important;
}

::selection {
  background-color: var(--gold);
  color: var(--espresso);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--espresso); }
::-webkit-scrollbar-thumb { background: var(--charcoal-lighter); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* Textura de grão sobre a página */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* 3. LAYOUT ---------------------------------------------------------------- */
.container {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--5xl { max-width: 64rem; }
.container--3xl { max-width: 48rem; }

@media (min-width: 64rem) {
  .container { padding-inline: 2.5rem; }
}

.section { padding-block: var(--spacing-section); }

.bg-charcoal { background-color: var(--charcoal); }
.bg-warm { background-color: var(--warm); }
.bg-espresso { background-color: var(--espresso); }

.cover {
  position: absolute;
  inset: 0;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. ANIMAÇÕES --------------------------------------------------------------
   [data-reveal]  → aparece ao entrar na tela (valor = margem em px).
   [data-stagger] → aplica atraso progressivo aos filhos com data-reveal.
   Cada componente ajusta --reveal-x / -y / -scale / -duration / -ease.
   -------------------------------------------------------------------------- */
@property --reveal-x { syntax: '*'; inherits: false; }
@property --reveal-y { syntax: '*'; inherits: false; }
@property --reveal-scale { syntax: '*'; inherits: false; }
@property --reveal-opacity { syntax: '*'; inherits: false; }
@property --reveal-duration { syntax: '*'; inherits: false; }
@property --reveal-delay { syntax: '*'; inherits: false; }
@property --reveal-ease { syntax: '*'; inherits: false; }

.js [data-reveal] {
  opacity: var(--reveal-opacity, 0);
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 20px), 0) scale(var(--reveal-scale, 1));
}

.js [data-reveal].is-visible {
  animation: reveal var(--reveal-duration, 0.6s) var(--reveal-ease, var(--ease-in-out)) var(--reveal-delay, 0s) both;
}

@keyframes reveal {
  from {
    opacity: var(--reveal-opacity, 0);
    transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 20px), 0) scale(var(--reveal-scale, 1));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes fade-out {
  to { opacity: 0; }
}

@keyframes grow-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Transição entre páginas */
/* overflow-x: clip corta os blocos que entram deslizando pela lateral ([data-reveal] com --reveal-x);
   sem isso, no celular a página fica mais larga que a tela e o menu fixo sai para fora. */
main {
  overflow-x: clip;
  animation: fade-in 0.4s var(--ease) backwards;
}
.is-leaving main { animation: fade-out 0.3s var(--ease) forwards; }

/* 5. LOADER ---------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loader-out 0.6s var(--ease) 1.2s forwards;
}

@keyframes loader-out {
  to { opacity: 0; visibility: hidden; }
}

.no-loader .loader,
html:not(.js) .loader { display: none; }

.loader__inner {
  text-align: center;
  animation: rise 0.5s var(--ease-in-out) 0.2s backwards;
}

.loader__logo {
  height: 2.5rem;
  width: auto;
}

.loader__line {
  margin: 1.5rem auto 0;
  height: 1px;
  width: 80px;
  background-color: var(--gold);
  animation: loader-line 0.8s var(--ease) 0.5s backwards;
}

@keyframes loader-line {
  from { width: 0; }
}

/* 6. NAVBAR ---------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-block: 1.25rem;
  background-color: transparent;
  transition: all 0.5s var(--ease-base);
  animation: nav-in 0.6s var(--ease) backwards;
}

@keyframes nav-in {
  from { transform: translateY(-100px); }
}

.nav.is-scrolled {
  padding-block: 0.75rem;
  background-color: rgba(13, 11, 9, 0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s var(--ease-base);
}

.nav__logo:hover { opacity: 0.8; }

.nav__logo img,
.footer__logo img {
  height: 2rem;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 64rem) {
  .nav__links { display: flex; }
}

.nav__link {
  position: relative;
  padding-block: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 232, 0.8);
  transition: color 0.3s var(--ease-base);
}

.nav__link:hover { color: var(--cream); }

.nav__link[aria-current='page'],
.nav__link.is-active { color: var(--gold); }

.nav__link[aria-current='page']::after,
.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--gold);
}

.nav__link--parent {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__chevron {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.3s var(--ease-base);
}

.nav__dropdown { position: relative; }

.nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 220px;
  overflow: hidden;
  background-color: rgba(13, 11, 9, 0.95);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease-in-out), transform 0.2s var(--ease-in-out), visibility 0.2s;
}

.nav__dropdown.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__dropdown.is-open .nav__chevron { transform: rotate(180deg); }

.nav__menu-link {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 240, 232, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s var(--ease-base);
}

.nav__menu-link:last-child { border-bottom: 0; }

.nav__menu-link:hover {
  color: var(--cream);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav__menu-link[aria-current='page'] {
  color: var(--gold);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav__cta {
  position: relative;
  overflow: hidden;
  padding: 0.625rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background-color: var(--gold);
  color: var(--espresso);
  transition: all 0.3s var(--ease-base);
}

.nav__cta:hover {
  background-color: var(--gold-light);
  box-shadow: 0 4px 20px rgba(216, 64, 18, 0.3);
}

.nav__cta-label { position: relative; }

/* Botão hambúrguer */
.hamburger {
  position: relative;
  z-index: 60;
  width: 2rem;
  height: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
}

@media (min-width: 64rem) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  width: 1.5rem;
  height: 1px;
  background-color: var(--cream);
  transition: transform 0.3s var(--ease-in-out), opacity 0.2s var(--ease-in-out);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile em tela cheia */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background-color: rgba(13, 11, 9, 0.98);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-in-out), visibility 0.4s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s var(--ease-in-out), transform 0.4s var(--ease-in-out);
  transition-delay: calc(var(--i, 0) * 0.08s);
}

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

.mobile-menu.is-closing .mobile-menu__item {
  opacity: 0;
  transform: translateY(-20px);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: var(--cream);
  transition: color 0.3s var(--ease-base);
}

.mobile-menu__link:hover,
.mobile-menu__link[aria-current='page'],
.mobile-menu__link.is-active { color: var(--gold); }

.mobile-menu__chevron {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  transition: transform 0.3s var(--ease-in-out);
}

.mobile-menu__toggle[aria-expanded='true'] .mobile-menu__chevron { transform: rotate(180deg); }

.mobile-menu__sub {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.3s var(--ease-in-out), opacity 0.3s var(--ease-in-out), visibility 0.3s;
}

.mobile-menu__toggle[aria-expanded='true'] + .mobile-menu__sub {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.mobile-menu__sub-inner {
  overflow: hidden;
  min-height: 0;
}

.mobile-menu__sub-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
}

.mobile-menu__sublink {
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.3s var(--ease-base);
}

.mobile-menu__sublink:hover,
.mobile-menu__sublink[aria-current='page'] { color: var(--gold); }

.mobile-menu__cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background-color: var(--gold);
  color: var(--espresso);
}

/* 7. RODAPÉ ---------------------------------------------------------------- */
.footer {
  background-color: var(--espresso);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner { padding-block: 4rem; }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.5rem;
}

@media (min-width: 48rem) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .footer__inner { padding-block: 5rem; }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

.footer__logo { margin-bottom: 1rem; }

.footer__about {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone);
}

.footer__title {
  margin-bottom: 1.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a,
.footer__links span {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--stone);
  transition: color 0.3s var(--ease-base);
}

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

.footer__bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .footer__bottom { flex-direction: row; }
}

.footer__bottom span {
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  letter-spacing: 0.025em;
  color: rgba(168, 155, 140, 0.6);
}

/* 8. WHATSAPP FLUTUANTE ---------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: box-shadow 0.3s var(--ease-base), scale 0.25s var(--ease);
  animation: wa-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s backwards;
}

@keyframes wa-in {
  from { opacity: 0; transform: scale(0); }
}

.wa-float:hover {
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  scale: 1.1;
}

.wa-float:active { scale: 0.95; }

.wa-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: #fff;
}

.wa-float__ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #25d366;
  opacity: 0.2;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* 9. BOTÕES ---------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.5s var(--ease-base);
}

.btn--lg { padding: 1rem 2.5rem; }

.btn--primary {
  background-color: var(--gold);
  color: var(--espresso);
}

.btn--primary:hover {
  background-color: var(--gold-light);
  box-shadow: 0 8px 30px rgba(216, 64, 18, 0.3);
}

.btn--outline {
  border: 1px solid rgba(245, 240, 232, 0.3);
  color: var(--cream);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn__label {
  position: relative;
  z-index: 10;
}

.btn__icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.625rem;
  vertical-align: -0.25em;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.shimmer {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-base);
}

.btn:hover .shimmer,
.nav__cta:hover .shimmer { transform: translateX(100%); }

/* 10. TÍTULO DE SEÇÃO ------------------------------------------------------ */
.heading {
  text-align: center;
  margin-bottom: 4rem;
  --reveal-y: 30px;
  --reveal-duration: 0.7s;
  --reveal-ease: var(--ease);
}

@media (min-width: 64rem) {
  .heading { margin-bottom: 5rem; }
}

.heading__label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.heading__title {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
}

.heading__subtitle {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--stone);
}

/* 11. HERO ----------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero--short { min-height: 70vh; }

.hero__media {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero__img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: linear-gradient(to top, var(--espresso), rgba(13, 11, 9, 0.5), rgba(26, 23, 20, 0.3));
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.hero__label {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  animation: rise 0.6s var(--ease-in-out) 0.8s backwards;
}

.hero__title {
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 0.95;
  color: var(--cream);
  perspective: 1000px;
}

.hero__subtitle {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.8);
  animation: rise 0.6s var(--ease-in-out) 1.2s backwards;
}

@media (min-width: 48rem) {
  .hero__subtitle { font-size: 1.125rem; }
}

/* Trecho em negrito do subtítulo (botão Negrito no painel) */
.hero__subtitle strong {
  font-weight: 600;
  color: var(--cream);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: rise 0.6s var(--ease-in-out) 1.5s backwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fade-in 0.6s var(--ease-in-out) 2s backwards;
}

.hero__scroll-text {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(245, 240, 232, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 2.5rem;
  overflow: hidden;
  background-color: rgba(245, 240, 232, 0.2);
}

.hero__scroll-line::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--gold);
  animation: scroll-line 2s var(--ease-in-out) infinite;
}

@keyframes scroll-line {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

/* Título animado palavra por palavra */
.js [data-split]:not(.is-split) { visibility: hidden; }

.split {
  display: inline-flex;
  flex-wrap: wrap;
}

.split__word {
  display: inline-block;
  margin-right: 0.3em;
  transform-origin: center bottom;
  opacity: 0;
  transform: translateY(40px) rotateX(-60deg);
}

.split.is-visible .split__word {
  animation: word-in 0.9s var(--ease) both;
  animation-delay: calc(var(--split-delay, 0s) + var(--word-index, 0) * 0.08s);
}

@keyframes word-in {
  to { opacity: 1; transform: none; }
}

/* 12. MANIFESTO ------------------------------------------------------------ */
.manifesto {
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.manifesto__body {
  --reveal-y: 40px;
  --reveal-duration: 0.8s;
  --reveal-ease: var(--ease);
}

.manifesto__text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.625;
  letter-spacing: 0.025em;
  color: rgba(245, 240, 232, 0.9);
}

@media (min-width: 48rem) {
  .manifesto__text { font-size: 1.5rem; }
}

@media (min-width: 64rem) {
  .manifesto__text { font-size: 1.75rem; }
}

.manifesto__text em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold);
}

.divider {
  display: flex;
  justify-content: center;
}

.divider--top { margin-bottom: 2.5rem; }
.divider--bottom { margin-top: 2.5rem; }

.js .divider[data-reveal] {
  opacity: 1;
  transform: scaleX(0);
}

.js .divider[data-reveal].is-visible {
  animation: grow-x 1s var(--ease) both;
}

.divider__line {
  width: 5rem;
  height: 1px;
  background-image: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* 13. EDITORIAL (imagem + texto) ------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  min-height: 80vh;
}

.editorial__media {
  position: relative;
  overflow: hidden;
  --reveal-x: -60px;
  --reveal-y: 0;
  --reveal-duration: 0.8s;
  --reveal-ease: var(--ease);
}

.editorial--reverse .editorial__media { --reveal-x: 60px; }

.editorial__img {
  width: 100%;
  height: 100%;
  min-height: 50vh;
  object-fit: cover;
  transition: scale 0.6s var(--ease-in-out);
}

.editorial__img:hover { scale: 1.03; }

/* Vídeo no editorial */
.editorial__play {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.15);
  border: none; cursor: pointer;
  color: rgba(255,255,255,.85);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.editorial__play svg {
  width: 5rem; height: 5rem;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.5));
  transition: transform .3s var(--ease);
}
.editorial__play:hover {
  color: #fff;
  background: rgba(0,0,0,.25);
}
.editorial__play:hover svg { transform: scale(1.1); }

.editorial__video-wrap {
  position: absolute; inset: 0;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal, #1a1614);
}

.editorial__video-loader {
  width: 2.5rem; height: 2.5rem;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--gold, #c9a96e);
  border-radius: 50%;
  animation: editorial-spin .8s linear infinite;
}
@keyframes editorial-spin { to { transform: rotate(360deg); } }

/* Player próprio (criado por video.ts): controles no estilo do site em vez dos do navegador */
.vplayer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--espresso);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.vplayer.is-ocioso { cursor: none; }

.vplayer__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.vplayer.is-tela-cheia .vplayer__video { object-fit: contain; }

.vplayer .editorial__video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  margin: -1.25rem 0 0 -1.25rem;
}

.vplayer__btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--cream);
  transition: color 0.3s var(--ease-base), background-color 0.3s var(--ease-base), transform 0.3s var(--ease-base);
}

.vplayer__btn svg { width: 1.25rem; height: 1.25rem; }
.vplayer__btn:hover { color: var(--gold-light); }

.vplayer__btn:focus-visible,
.vplayer__centro:focus-visible,
.vplayer__progresso:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Botão grande no centro: aparece com o vídeo pausado */
.vplayer__centro {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(245, 240, 232, 0.35);
  border-radius: 50%;
  background-color: rgba(13, 11, 9, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease-base), transform 0.4s var(--ease), background-color 0.3s var(--ease-base);
}

.vplayer__centro svg { width: 1.75rem; height: 1.75rem; margin-left: 0.2rem; }
.vplayer__centro:hover { background-color: var(--gold); color: var(--espresso); }

.vplayer.is-tocando .vplayer__centro,
.vplayer.is-carregando .vplayer__centro {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
}

.vplayer__fechar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background-color: rgba(13, 11, 9, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.vplayer__fechar:hover { background-color: rgba(13, 11, 9, 0.75); }

/* Barra de controles com degradê */
.vplayer__barra {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 3rem 1rem 0.875rem;
  background-image: linear-gradient(to top, rgba(13, 11, 9, 0.85), rgba(13, 11, 9, 0.35) 60%, transparent);
  transition: opacity 0.4s var(--ease-base), transform 0.4s var(--ease-base);
}

@media (min-width: 48rem) {
  .vplayer__barra { gap: 0.75rem; padding: 3.5rem 1.5rem 1.25rem; }
}

.vplayer.is-ocioso .vplayer__barra,
.vplayer.is-ocioso .vplayer__fechar {
  opacity: 0;
  pointer-events: none;
}

.vplayer.is-ocioso .vplayer__barra { transform: translateY(0.5rem); }
.vplayer__fechar { transition: opacity 0.4s var(--ease-base), background-color 0.3s var(--ease-base); }

.vplayer__tocar {
  background-color: var(--gold);
  color: var(--espresso);
}

.vplayer__tocar:hover {
  background-color: var(--gold-light);
  color: var(--espresso);
}

.vplayer__tempo {
  flex-shrink: 0;
  min-width: 2.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.85);
}

.vplayer__tempo--total { color: rgba(245, 240, 232, 0.55); text-align: right; }

@media (max-width: 30rem) {
  .vplayer__tempo--total { display: none; }
}

/* Barra de progresso: área de toque alta, linha fina */
.vplayer__progresso {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  height: 1.75rem;
  cursor: pointer;
  touch-action: none;
}

.vplayer__trilho {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background-color: rgba(245, 240, 232, 0.2);
  transition: height 0.2s var(--ease-base);
}

.vplayer__carregado,
.vplayer__assistido {
  position: absolute;
  inset: 0;
  transform-origin: left center;
}

.vplayer__carregado {
  background-color: rgba(245, 240, 232, 0.3);
  transform: scaleX(var(--carregado, 0));
}

.vplayer__assistido {
  background-color: var(--gold);
  transform: scaleX(var(--assistido, 0));
}

.vplayer__marcador {
  position: absolute;
  top: 50%;
  left: calc(var(--assistido, 0) * 100%);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 64, 18, 0.25);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s var(--ease-base);
}

.vplayer__progresso:hover .vplayer__trilho,
.vplayer.is-arrastando .vplayer__trilho,
.vplayer__progresso:focus-visible .vplayer__trilho { height: 4px; }

.vplayer__progresso:hover .vplayer__marcador,
.vplayer.is-arrastando .vplayer__marcador,
.vplayer__progresso:focus-visible .vplayer__marcador { transform: translate(-50%, -50%) scale(1); }

@media (hover: none) {
  .vplayer__trilho { height: 3px; }
  .vplayer__marcador { transform: translate(-50%, -50%) scale(1); }
}

.editorial__body {
  display: flex;
  align-items: center;
}

.editorial__content {
  max-width: 36rem;
  padding: 4rem 2rem;
  --reveal-y: 40px;
  --reveal-duration: 0.7s;
  --reveal-delay: 0.2s;
  --reveal-ease: var(--ease);
}

@media (min-width: 64rem) {
  .editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial__img { min-height: 100%; }
  .editorial--reverse .editorial__media { order: 2; }
  .editorial--reverse .editorial__body { order: 1; }
  .editorial__content { padding-inline: 4rem; }
}

@media (min-width: 80rem) {
  .editorial__content { padding-inline: 5rem; }
}

.editorial__label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.editorial__title {
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.05;
  color: var(--cream);
}

.editorial__text {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--stone-light);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  transition: color 0.3s var(--ease-base);
}

.link-arrow:hover { color: var(--gold-light); }

.link-arrow__icon {
  display: inline-block;
  animation: nudge 1.5s var(--ease-in-out) infinite;
}

.editorial__rule {
  width: 100%;
  height: 1px;
  margin-block: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  --reveal-y: 20px;
  --reveal-duration: 0.5s;
}

.stat__value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
  color: var(--cream);
}

.stat__value small {
  margin-left: 0.125rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--stone);
}

@media (min-width: 48rem) {
  .stat__value { font-size: 1.875rem; line-height: 2.25rem; }
}

.stat__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  color: var(--stone);
}
/* 14. CONHEÇA GRAMADO (guia da região) -------------------------------------
   Migalhas → o destino (título, fotos e destaques) → faixa com frase →
   o que fazer (blocos de texto + grade de fotos, alternando o lado).
   -------------------------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding-block: 1.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--stone);
}

.breadcrumbs__link:hover { color: var(--gold); }
.breadcrumbs__sep { color: rgba(168, 155, 140, 0.5); }
.breadcrumbs__atual { color: var(--cream); }

.guide-intro { padding-top: clamp(3rem, 6vw, 5rem); }

/* Cabeçalho: texto pequeno, título, linha dourada e texto */
.guide-head {
  --reveal-y: 30px;
  --reveal-duration: 0.7s;
  --reveal-ease: var(--ease);
}

.guide-head--center {
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

@media (min-width: 64rem) {
  .guide-head--center { margin-bottom: 4.5rem; }
}

.guide-head__label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.guide-head__title {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
}

.guide-head__title--sm { font-size: clamp(1.75rem, 3vw, 2.5rem); }

.guide-head__line {
  width: 3.5rem;
  height: 1px;
  margin-top: 1.5rem;
  background-color: var(--gold);
}

.guide-head--center .guide-head__line { margin-inline: auto; }

.guide-head__text { margin-top: 1.75rem; }

.guide-head__text p,
.guide-block__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone-light);
}

.guide-head__text p + p,
.guide-block__text p + p { margin-top: 1rem; }

@media (min-width: 48rem) {
  .guide-head__text p { font-size: 1.0625rem; }
}

/* Grade de fotos (abre em tela cheia ao clicar) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .photo-grid { gap: 1rem; }
}

.photo-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--charcoal-light);
  cursor: zoom-in;
}

.photo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(216, 64, 18, 0);
  pointer-events: none;
  transition: border-color 0.5s var(--ease-base);
}

.photo-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.6s var(--ease-in-out);
}

/* Foto sozinha na última linha (1, 3, 5… fotos) ocupa a largura toda, em formato mais largo */
.photo-tile:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

@media (hover: hover) {
  .photo-tile:hover .photo-tile__img { scale: 1.05; }
  .photo-tile:hover::after { border-color: rgba(216, 64, 18, 0.35); }
}

/* Destaques abaixo das fotos: início em negrito + texto */
.guide-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 64rem;
  margin: 3.5rem auto 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .guide-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 3rem;
    margin-top: 4.5rem;
  }
}

.guide-points__item {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--stone-light);
  --reveal-y: 20px;
}

.guide-points__title {
  font-weight: 600;
  color: var(--cream);
}

/* Faixa com frase: a foto fica fixa e a seção funciona como janela (como .parallax) */
.photo-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(22rem, 70vh, 40rem);
  clip-path: inset(0);
}

.photo-band__media {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.photo-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-band__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(13, 11, 9, 0.75), rgba(13, 11, 9, 0.45), rgba(13, 11, 9, 0.6));
}

.photo-band__inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-inline: auto;
  padding: 4rem 1.5rem;
  text-align: center;
  --reveal-y: 0;
  --reveal-scale: 0.95;
  --reveal-duration: 0.8s;
  --reveal-ease: var(--ease);
}

.photo-band__text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(13, 11, 9, 0.5);
}

.photo-band__text em {
  font-style: italic;
  color: var(--gold-light);
}

/* O que fazer: blocos com texto de um lado e fotos do outro */
.guide-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-block: 3.5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.guide-block:last-child { padding-bottom: 0; }

.guide-block__body {
  --reveal-x: -40px;
  --reveal-y: 0;
  --reveal-duration: 0.8s;
  --reveal-ease: var(--ease);
}

.guide-block__media {
  --reveal-x: 40px;
  --reveal-y: 0;
  --reveal-duration: 0.8s;
  --reveal-ease: var(--ease);
}

.guide-block__text { margin-top: 1.75rem; }

@media (min-width: 64rem) {
  .guide-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 5rem;
    padding-block: 5rem;
  }

  .guide-block--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .guide-block--reverse .guide-block__body { order: 2; --reveal-x: 40px; }
  .guide-block--reverse .guide-block__media { --reveal-x: -40px; }
}

/* 14.1 CENTRAL DE RESERVAS (faixa com título, linha e botões) -------------- */
.booking-bar {
  background-color: var(--espresso);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.booking-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-block: 2.75rem;
  text-align: center;
  --reveal-y: 20px;
  --reveal-duration: 0.6s;
  --reveal-ease: var(--ease);
}

.booking-bar__title {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cream);
}

.booking-bar__title::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  flex-shrink: 0;
  background-color: var(--gold);
  transform: rotate(45deg);
}

.booking-bar__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--stone);
}

.booking-bar__line {
  width: 5rem;
  height: 1px;
  background-image: linear-gradient(to right, transparent, var(--gold), transparent);
}

.js .booking-bar__inner[data-reveal] .booking-bar__line {
  transform: scaleX(0);
  transition: transform 1.2s var(--ease) 0.3s;
}

.js .booking-bar__inner[data-reveal].is-visible .booking-bar__line { transform: none; }

.booking-bar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 39.99rem) {
  .booking-bar__actions {
    flex-direction: column;
    width: 100%;
    max-width: 20rem;
  }
}

@media (min-width: 64rem) {
  .booking-bar__inner {
    flex-direction: row;
    gap: 2.5rem;
    padding-block: 2.25rem;
    text-align: left;
  }

  .booking-bar__heading,
  .booking-bar__actions { flex-shrink: 0; }

  .booking-bar__text { padding-left: 1.275rem; }

  .booking-bar__line {
    flex: 1;
    width: auto;
    background-image: linear-gradient(to right, rgba(216, 64, 18, 0.7), rgba(216, 64, 18, 0.08));
  }

  .js .booking-bar__inner[data-reveal] .booking-bar__line { transform-origin: left; }
}

/* 14.2 FOTO EM PARALLAX ----------------------------------------------------
   A foto fica fixa na tela e a seção recorta uma "janela" (clip-path), o que
   funciona também no iPhone, onde background-attachment: fixed não funciona. */
.parallax {
  position: relative;
  height: clamp(20rem, 75vh, 46rem);
  clip-path: inset(0);
}

.parallax__media {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.parallax__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 15. VIVA GRAMADO (texto com foto + cartões) ------------------------------ */
.intro-gramado {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 64rem) {
  .intro-gramado {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 5rem;
    margin-bottom: 6rem;
  }

  .intro-gramado--sem-foto {
    grid-template-columns: minmax(0, 1fr);
    max-width: 48rem;
  }
}

.intro-gramado__body {
  --reveal-y: 30px;
  --reveal-duration: 0.7s;
  --reveal-ease: var(--ease);
}

.intro-gramado__title {
  margin-bottom: 1.75rem;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
}

.intro-gramado__text { margin-bottom: 2rem; }

.intro-gramado__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--stone-light);
}

.intro-gramado__text p + p { margin-top: 1rem; }

.intro-gramado__media {
  position: relative;
  margin: 0 0.75rem 0.75rem 0;
  --reveal-x: 60px;
  --reveal-y: 0;
  --reveal-duration: 0.8s;
  --reveal-ease: var(--ease);
}

/* Moldura dourada deslocada atrás da foto */
.intro-gramado__media::before {
  content: '';
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1px solid rgba(216, 64, 18, 0.35);
  pointer-events: none;
}

.intro-gramado__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 64rem) {
  .intro-gramado__media { margin: 0 1.25rem 1.25rem 0; }
  .intro-gramado__media::before { inset: 1.25rem -1.25rem -1.25rem 1.25rem; }
  .intro-gramado__img { aspect-ratio: 4 / 5; }
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .exp-grid--2,
  .exp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .exp-grid--4 .exp-card { aspect-ratio: 1 / 1; }
}

@media (min-width: 80rem) {
  .exp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .exp-grid--4 .exp-card { aspect-ratio: 3 / 4; }
}

.exp-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  --reveal-y: 40px;
  --reveal-duration: 0.6s;
}

div.exp-card { cursor: default; }

.exp-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.exp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.7s var(--ease-in-out);
}

.exp-card:hover .exp-card__img { scale: 1.08; }

.exp-card__shade {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(13, 11, 9, 0.92) 0%, rgba(13, 11, 9, 0.55) 40%, transparent 72%);
}

.exp-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.exp-grid--4 .exp-card__caption { padding: 1.75rem 1.5rem; }

.exp-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--cream);
  --reveal-opacity: 1;
  --reveal-y: 10px;
}

.exp-card__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.75);
}

.exp-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  transition: color 0.3s var(--ease-base);
}

.exp-card:hover .exp-card__more { color: var(--gold-light); }

.frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(216, 64, 18, 0);
  transition: all 0.5s var(--ease-base);
}

.exp-card:hover .frame { border-color: rgba(216, 64, 18, 0.3); }

/* 16. CHAMADA FINAL (CTA) -------------------------------------------------- */
.cta {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, var(--espresso), rgba(13, 11, 9, 0.7), rgba(13, 11, 9, 0.4));
}

.cta__inner {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
  --reveal-y: 40px;
  --reveal-duration: 0.8s;
  --reveal-ease: var(--ease);
}

.cta__label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.cta__title {
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.05;
  color: var(--cream);
}

.cta__text {
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.7);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* 17. GALERIA -------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  --reveal-y: 30px;
  --reveal-duration: 0.6s;
}

.gallery__item--featured { grid-column: span 2 / span 2; }

@media (min-width: 48rem) {
  .gallery__item--featured { grid-row: span 2 / span 2; }
}

.gallery__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: scale 0.6s var(--ease-in-out);
}

.gallery__item--featured .gallery__img {
  height: 100%;
  min-height: 300px;
  aspect-ratio: auto;
}

@media (min-width: 48rem) {
  .gallery__item--featured .gallery__img { min-height: 500px; }
}

.gallery__item:hover .gallery__img { scale: 1.05; }

.gallery__shade {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 11, 9, 0);
  transition: background-color 0.5s var(--ease-base);
}

.gallery__item:hover .gallery__shade { background-color: rgba(13, 11, 9, 0.2); }
.gallery__item:hover .frame { border-color: rgba(216, 64, 18, 0.2); }

/* Vídeo na galeria: a foto é a capa, com o botão de play por cima */
.gallery__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.15);
  pointer-events: none;
  transition: color 0.3s var(--ease-base), background-color 0.3s var(--ease-base);
}

.gallery__play svg {
  width: 3.25rem;
  height: 3.25rem;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
  transition: scale 0.3s var(--ease-base);
}

.gallery__item--featured .gallery__play svg { width: 5rem; height: 5rem; }
.gallery__item:hover .gallery__play { color: #fff; background-color: rgba(0, 0, 0, 0.05); }
.gallery__item:hover .gallery__play svg { scale: 1.1; }

/* Galerias grandes: as fotos além das primeiras só aparecem depois do botão "Ver todas as fotos" */
.js .gallery:not(.is-expanded) .gallery__item--extra { display: none; }

.gallery__more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  --reveal-y: 20px;
  --reveal-duration: 0.5s;
}

html:not(.js) .gallery__more { display: none; }

/* 18. COMODIDADES ---------------------------------------------------------- */
.amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 40rem) {
  .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
  .amenities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .amenities { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.amenity {
  padding: 1.5rem;
  text-align: center;
  cursor: default;
  background-color: rgba(44, 38, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s var(--ease-base);
  --reveal-y: 20px;
  --reveal-duration: 0.4s;
}

.amenity:hover {
  translate: 0 -4px;
  background-color: var(--warm);
  border-color: rgba(216, 64, 18, 0.3);
}

.amenity__icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  color: rgba(216, 64, 18, 0.7);
  transition: color 0.3s var(--ease-base);
}

.amenity__icon svg,
.contact-card__icon svg {
  width: 100%;
  height: 100%;
}

.amenity:hover .amenity__icon { color: var(--gold); }

.amenity__name {
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  font-weight: 500;
  color: rgba(245, 240, 232, 0.8);
  transition: color 0.3s var(--ease-base);
}

.amenity:hover .amenity__name { color: var(--cream); }

/* 19. QUARTOS -------------------------------------------------------------- */
.rooms {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 40rem) {
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .rooms { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.room {
  padding: 1.5rem;
  background-color: rgba(26, 23, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s var(--ease-base);
  --reveal-y: 20px;
  --reveal-duration: 0.5s;
}

.room:hover {
  translate: 0 -4px;
  border-color: rgba(216, 64, 18, 0.2);
}

.room__name {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--cream);
  transition: color 0.3s var(--ease-base);
}

.room:hover .room__name { color: var(--gold); }

.room__beds {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.room__beds li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--stone);
}

.room__beds li::before {
  content: '';
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background-color: rgba(216, 64, 18, 0.5);
}

/* Opcionais preenchidos pelo painel: foto, descrição e capacidade do quarto */
.room__img {
  width: calc(100% + 3rem);
  max-width: none;
  margin: -1.5rem -1.5rem 1rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.room__desc {
  margin: -0.5rem 0 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone-light);
}

.room__capacity {
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

/* Legenda opcional das fotos da galeria (definida em Fotos e imagens) */
.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.75rem;
  color: var(--cream);
  background-image: linear-gradient(to top, rgba(13, 11, 9, 0.75), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-base);
}

.gallery__item:hover .gallery__caption { opacity: 1; }

@media (hover: none) {
  .gallery__caption { opacity: 1; }
}

/* 20. LOCALIZAÇÃO ---------------------------------------------------------- */
.location {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  --reveal-y: 30px;
  --reveal-duration: 0.7s;
}

.location__map {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--warm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 64rem) {
  .location { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location__map { aspect-ratio: auto; min-height: 400px; }
}

.location__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location__label {
  margin-bottom: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.location__address {
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--cream);
}

.location__neighborhood {
  margin-bottom: 1.5rem;
  color: var(--stone);
}

.location__desc {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone-light);
}

/* 20.1 CALENDÁRIO DE RESERVAS (disponibilidade, valor e WhatsApp) --------- */
.booking-section { scroll-margin-top: 4rem; }

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  --reveal-y: 30px;
  --reveal-duration: 0.7s;
}

@media (min-width: 64rem) {
  .booking { grid-template-columns: minmax(0, 1fr) 22rem; gap: 2rem; align-items: start; }
}

.booking__calendar,
.booking__summary {
  position: relative;
  padding: 1.5rem 1.25rem;
  background-color: rgba(13, 11, 9, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 40rem) {
  .booking__calendar,
  .booking__summary { padding: 2rem; }
}

@media (min-width: 64rem) {
  .booking__summary { position: sticky; top: 6rem; }
}

/* Setas de mês: ficam na altura do nome do mês */
.booking__nav {
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

@media (min-width: 40rem) {
  .booking__nav { top: 1.75rem; left: 1.5rem; right: 1.5rem; }
}

.booking__arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 232, 0.15);
  pointer-events: auto;
  transition: border-color 0.3s var(--ease-base), color 0.3s var(--ease-base), opacity 0.3s var(--ease-base);
}

.booking__arrow svg { width: 1rem; height: 1rem; }
.booking__arrow:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.booking__arrow:disabled { opacity: 0.25; cursor: default; }

.booking__months {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  min-height: 20rem;
}

@media (min-width: 48rem) {
  .booking__months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
}

.booking__loading {
  grid-column: 1 / -1;
  align-self: center;
  max-width: 26rem;
  margin: 0 auto;
  padding-top: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--stone);
}

.booking__month-title {
  margin-bottom: 1.25rem;
  padding-top: 0.35rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: var(--cream);
}

.booking__month-title::first-letter { text-transform: uppercase; }

.booking__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem 0;
}

.booking__weekday {
  padding-bottom: 0.5rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--stone);
}

.booking__day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  min-height: 3rem;
  padding: 0.25rem 0;
  color: var(--cream);
  transition: background-color 0.25s var(--ease-base), color 0.25s var(--ease-base);
}

@media (min-width: 40rem) {
  .booking__day { min-height: 3.5rem; }
}

.booking__day-number {
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

.booking__day-price {
  min-height: 0.75rem;
  font-size: 0.6rem;
  line-height: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--stone);
}

.booking__day:not(:disabled):hover { background-color: rgba(216, 64, 18, 0.12); }
.booking__day:not(:disabled):hover .booking__day-number { color: var(--gold-light); }
.booking__day:focus-visible { outline: 1px solid var(--gold); outline-offset: -1px; }
.booking__day:disabled { cursor: default; }

.booking__day.is-today .booking__day-number { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.25em; }

.booking__day.is-busy .booking__day-number,
.booking__day.is-past .booking__day-number {
  color: rgba(168, 155, 140, 0.35);
  text-decoration: line-through;
  text-decoration-color: rgba(168, 155, 140, 0.35);
}

.booking__day.is-busy .booking__day-price,
.booking__day.is-past .booking__day-price { visibility: hidden; }

/* Dia ocupado que ainda serve de saída para a entrada escolhida */
.booking__day.is-checkout-only .booking__day-number { color: var(--stone-light); text-decoration: none; }
.booking__day.is-short { opacity: 0.4; }
/* Dia sem check-in (calendário de preços do painel): ainda pode ser o dia de saída */
.booking__day.is-no-checkin { opacity: 0.4; }

.booking__day.is-range,
.booking__day.is-preview { background-color: rgba(216, 64, 18, 0.14); }

.booking__day.is-start,
.booking__day.is-end,
.booking__day.is-start:hover,
.booking__day.is-end:hover { background-color: var(--gold); }

.booking__day.is-start .booking__day-number,
.booking__day.is-end .booking__day-number,
.booking__day.is-start:hover .booking__day-number,
.booking__day.is-end:hover .booking__day-number { color: var(--espresso); text-decoration: none; }

.booking__day.is-start .booking__day-price { visibility: visible; color: rgba(13, 11, 9, 0.7); }

/* O dia de saída não entra na conta: sem valor */
.booking__day.is-end .booking__day-price { visibility: hidden; }

.booking__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--stone);
}

.booking__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.booking__swatch { width: 0.75rem; height: 0.75rem; border: 1px solid rgba(245, 240, 232, 0.3); }
.booking__swatch--busy { border-color: rgba(168, 155, 140, 0.25); background: linear-gradient(to top right, transparent 45%, rgba(168, 155, 140, 0.45) 45%, rgba(168, 155, 140, 0.45) 55%, transparent 55%); }
.booking__swatch--stay { border-color: var(--gold); background-color: var(--gold); }

.booking.is-error .booking__legend,
.booking.is-error .booking__nav { display: none; }

/* Resumo: datas, hóspedes, valores e botão */
.booking__dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(245, 240, 232, 0.12);
}

.booking__date {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.875rem 1rem;
  text-align: left;
  transition: background-color 0.3s var(--ease-base), box-shadow 0.3s var(--ease-base);
}

.booking__date + .booking__date { border-left: 1px solid rgba(245, 240, 232, 0.12); }
.booking__date:hover { background-color: rgba(245, 240, 232, 0.03); }
.booking.is-ready .booking__date.is-active { box-shadow: inset 0 -2px 0 var(--gold); }

.booking__date-label,
.booking__guests-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.booking__date-value {
  font-size: 0.875rem;
  color: var(--cream);
  white-space: nowrap;
}

.booking__guests {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-top: 0;
}

.booking__stepper { display: flex; align-items: center; gap: 0.75rem; }

/* Toques seguidos nos botões (+, −, dias, casas) contam como cliques, sem o zoom de toque duplo do celular */
.booking button,
.booking a { touch-action: manipulation; }

.booking__step {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease-base), color 0.3s var(--ease-base), opacity 0.3s var(--ease-base);
}

.booking__step:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.booking__step:disabled { opacity: 0.3; cursor: default; }

.booking__count {
  min-width: 1.5rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--cream);
}

.booking__prices { margin-top: 1.5rem; }

.booking__hint {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone);
}

.booking__table { display: flex; flex-direction: column; gap: 0.625rem; }

.booking__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--stone-light);
}

.booking__row dd { color: var(--cream); white-space: nowrap; }
.booking__row--discount dd { color: var(--moss-light); }

.booking__row--total {
  margin-top: 0.375rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: baseline;
  font-weight: 500;
  color: var(--cream);
}

.booking__row--total dd {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--gold-light);
}

.booking__notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cream-dark);
  border-left: 2px solid var(--gold);
  background-color: rgba(216, 64, 18, 0.08);
}

.booking__cta { width: 100%; margin-top: 1.5rem; padding-inline: 1rem; }
.booking__cta .btn__label { display: inline-flex; align-items: center; white-space: nowrap; }

@media (max-width: 23rem) {
  .booking__cta .btn__label { white-space: normal; }
}
.booking.is-ready:not(.is-complete) .booking__cta { opacity: 0.55; }
.booking.is-ready:not(.is-complete) .booking__cta:hover { box-shadow: none; }

.booking__clear {
  display: block;
  margin: 0.875rem auto 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--stone);
  transition: color 0.3s var(--ease-base);
}

.booking__clear:hover { color: var(--gold); }

.booking__note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
  color: var(--stone);
}

.booking.is-error .booking__dates,
.booking.is-error .booking__guests,
.booking.is-error .booking__prices { display: none; }

.booking__unit {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--stone);
}

.booking__age {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--stone);
}

.booking__guests + .booking__guests { border-top: 0; }

/* Total de hóspedes: só mostra a soma de adultos e crianças */
.booking__guests--total { background-color: rgba(245, 240, 232, 0.03); }
.booking__guests--total .booking__count { min-width: 2rem; font-size: 1.5rem; color: var(--gold-light); }

/* Idade de cada criança */
.booking__ages {
  padding: 0.875rem 1rem 1rem;
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-top: 0;
}

.booking__ages-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin-top: 0.75rem;
}

.booking__age-field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }

.booking__age-name {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--stone-light);
}

.booking__select {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--cream);
  background-color: rgba(13, 11, 9, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d84012' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  background-size: 0.875rem;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-base);
}

.booking__select:hover,
.booking__select:focus-visible { border-color: var(--gold); outline: none; }
.booking__select[aria-invalid="true"] { border-color: var(--gold-light); box-shadow: 0 0 0 1px var(--gold-light); }
.booking__select option { color: var(--charcoal); background-color: var(--cream); }

.booking__ages-hint {
  margin-top: 0.625rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--stone);
}

.booking.is-error .booking__ages { display: none; }

/* Anúncio para leitores de tela (mês mostrado no calendário): invisível na tela */
.booking__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Reserva com pagamento online (Mercado Pago): botão e dados de quem reserva */
.booking__pay { width: 100%; margin-top: 0.75rem; padding-inline: 1rem; }
.booking__pay .btn__label { white-space: normal; }
.booking.is-error .booking__pay,
.booking.is-error .booking__payment { display: none; }

.booking__payment {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.booking__payment-title {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--cream);
}

.booking__payment-values { margin-bottom: 1.25rem; }

.booking__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.625rem;
}

.booking__field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.booking__field--wide { grid-column: 1 / -1; }

.booking__field-name {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--stone-light);
}

.booking__input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font: inherit;
  font-size: 1rem; /* 16px: o celular não dá zoom ao tocar no campo */
  color: var(--cream);
  background-color: rgba(13, 11, 9, 0.5);
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 0;
  appearance: none;
}

.booking__input:hover,
.booking__input:focus-visible { border-color: var(--gold); outline: none; }
.booking__input[aria-invalid="true"] { border-color: var(--gold-light); box-shadow: 0 0 0 1px var(--gold-light); }

.booking__accept {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--stone-light);
  cursor: pointer;
}

.booking__accept input { flex: none; width: 1.125rem; height: 1.125rem; margin-top: 0.1rem; accent-color: var(--gold); }
.booking__accept input[aria-invalid="true"] { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.booking__accept a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }

/* Campo isca para robôs: fora da tela (pessoas não veem nem preenchem) */
.booking__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking__payment .booking__cta:disabled { opacity: 0.6; cursor: progress; }

.booking.is-loading .booking__months,
.booking.is-loading .booking__summary { opacity: 0.5; transition: opacity 0.3s var(--ease-base); }

/* Escolha da casa (Central de Reservas da página inicial) */
.booking__houses {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}

.booking__houses-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.booking__house-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 40rem;
}

.booking__house {
  padding: 0.875rem 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--stone-light);
  border: 1px solid rgba(245, 240, 232, 0.15);
  transition: border-color 0.3s var(--ease-base), color 0.3s var(--ease-base), background-color 0.3s var(--ease-base);
}

@media (min-width: 40rem) {
  .booking__house { padding: 1rem 1.25rem; }
}

.booking__house:hover { border-color: rgba(216, 64, 18, 0.6); color: var(--cream); }

.booking__house[aria-pressed='true'] {
  color: var(--cream);
  border-color: var(--gold);
  background-color: rgba(216, 64, 18, 0.12);
  box-shadow: inset 0 -2px 0 var(--gold);
}

/* Calendário dentro da Central de Reservas */
.booking-bar__calendar {
  padding-bottom: 3.5rem;
  scroll-margin-top: 4rem;
}

@media (min-width: 64rem) {
  .booking-bar__calendar { padding-bottom: 4.5rem; }
}

.booking-bar__calendar .booking__calendar,
.booking-bar__calendar .booking__summary { background-color: rgba(245, 240, 232, 0.025); }

/* 21. REGRAS DA CASA ------------------------------------------------------- */
.rules {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.rule {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  --reveal-x: -20px;
  --reveal-y: 0;
  --reveal-duration: 0.4s;
}

.number-badge {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  color: rgba(216, 64, 18, 0.6);
  border: 1px solid rgba(216, 64, 18, 0.2);
  transition: all 0.3s var(--ease-base);
}

.rule:hover .number-badge {
  color: var(--gold);
  border-color: rgba(216, 64, 18, 0.4);
}

.rule__text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone-light);
  transition: color 0.3s var(--ease-base);
}

.rule:hover .rule__text { color: var(--cream); }

/* 22. PERGUNTAS FREQUENTES ------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  --reveal-y: 20px;
  --reveal-duration: 0.4s;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  text-align: left;
  cursor: pointer;
}

.faq__question-text {
  padding-right: 2rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--cream);
  transition: color 0.3s var(--ease-base);
}

@media (min-width: 48rem) {
  .faq__question-text { font-size: 1.125rem; line-height: 1.75rem; }
}

.faq__question:hover .faq__question-text { color: var(--gold); }

.faq__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform 0.3s var(--ease-in-out);
}

.faq__icon svg {
  width: 1rem;
  height: 1rem;
}

.faq__question[aria-expanded='true'] .faq__icon { transform: rotate(45deg); }

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
}

.faq__question[aria-expanded='true'] + .faq__answer,
html:not(.js) .faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq__answer-inner p {
  padding: 0 3rem 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone);
}

/* Perguntas frequentes na página inicial: título à esquerda, perguntas à direita */
.faq-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

@media (min-width: 64rem) {
  .faq-home {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
    gap: 5rem;
  }

  .faq-home__intro {
    position: sticky;
    top: 7rem;
  }
}

.faq-home__intro {
  --reveal-y: 30px;
  --reveal-duration: 0.7s;
  --reveal-ease: var(--ease);
}

.faq-home__title {
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
}

.faq-home__text {
  max-width: 24rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--stone);
}

.faq-home .faq { border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* 23. CONTATO -------------------------------------------------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.contact-card {
  display: block;
  padding: 2rem;
  text-align: center;
  background-color: rgba(26, 23, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s var(--ease-base);
  --reveal-y: 20px;
  --reveal-duration: 0.5s;
}

.contact-card:hover {
  translate: 0 -4px;
  border-color: rgba(216, 64, 18, 0.3);
}

.contact-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  color: rgba(216, 64, 18, 0.7);
  transition: color 0.3s var(--ease-base);
}

.contact-card__title {
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--cream);
  transition: color 0.3s var(--ease-base);
}

.contact-card:hover .contact-card__icon,
.contact-card:hover .contact-card__title { color: var(--gold); }

.contact-card__text {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--stone);
}

.contact-card__text--break { word-break: break-all; }

.contact-card__action {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(216, 64, 18, 0.6);
  transition: color 0.3s var(--ease-base);
}

.contact-card:hover .contact-card__action { color: var(--gold); }

.contact-note {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone);
  --reveal-y: 0;
  --reveal-duration: 0.5s;
  --reveal-delay: 0.3s;
}

.address-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .address-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.address-card {
  padding: 2rem;
  background-color: rgba(44, 38, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s var(--ease-base);
  --reveal-y: 20px;
  --reveal-duration: 0.5s;
}

.address-card:hover { border-color: rgba(216, 64, 18, 0.2); }

.address-card__label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.address-card__street {
  margin-bottom: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--cream);
}

.address-card__district {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--stone);
}

.address-card__desc {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone-light);
}

/* 24. POLÍTICA DE RESERVAS ------------------------------------------------- */
.politica-intro {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.9);
  --reveal-y: 30px;
  --reveal-duration: 0.7s;
}

@media (min-width: 48rem) {
  .politica-intro { font-size: 1.5rem; }
}

.politica-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.politica-card {
  padding: 1.5rem;
  background-color: rgba(26, 23, 20, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s var(--ease-base);
  --reveal-y: 20px;
  --reveal-duration: 0.5s;
}

@media (min-width: 64rem) {
  .politica-card { padding: 2rem; }
}

.politica-card:hover { border-color: rgba(216, 64, 18, 0.2); }

.politica-card__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.politica-card .number-badge {
  width: 2rem;
  height: 2rem;
}

.politica-card__title {
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--cream);
}

.politica-card__text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone-light);
}

.politica-note {
  padding-block: 4rem;
}

.politica-note__inner {
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.politica-note__text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone);
  --reveal-y: 0;
  --reveal-duration: 0.5s;
}

/* Pagamento da reserva (página de volta do Mercado Pago, pagamento.php) */
.pagamento {
  padding: 1.5rem 1.25rem;
  background-color: rgba(13, 11, 9, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 40rem) {
  .pagamento { padding: 2.5rem; }
}

.pagamento--confirmada { border-color: rgba(90, 112, 72, 0.5); }
.pagamento--conflito,
.pagamento--recusado { border-color: rgba(216, 64, 18, 0.35); }

.pagamento__texto {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cream-dark);
}

.pagamento__texto + .pagamento__texto { margin-top: 0.75rem; }

.pagamento__resumo {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pagamento__linha {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--stone-light);
}

.pagamento__linha dd { color: var(--cream); text-align: right; }

.pagamento__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pagamento__acoes .btn { flex: 1 1 14rem; }

.pagamento__nota {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--stone);
}

.pagamento__nota strong { color: var(--gold-light); font-weight: 500; }

/* 25. LIGHTBOX ------------------------------------------------------------- */
/* Com o lightbox aberto a página por trás não rola (inclusive no iPhone) */
html.lb-aberto,
html.lb-aberto body { overflow: hidden; }

.lightbox {
  position: fixed; top: 0; left: 0;
  z-index: 9999;
  width: 100%; height: 100%;
  height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  overscroll-behavior: contain;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

/* Fundo em camada própria: clareia enquanto a foto é arrastada para baixo para fechar */
.lightbox::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background: rgb(10, 8, 6);
  opacity: var(--lb-fundo, 1);
}

.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  z-index: 3;
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  transition: background .3s, color .3s;
}
.lightbox__close:hover { background: rgba(255,255,255,.18); color: #fff; }
.lightbox__close svg { width: 1.25rem; height: 1.25rem; }

.lightbox__counter {
  position: absolute; top: 1.25rem; left: 1.25rem;
  z-index: 3;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
}

/* Nome da foto (definido no painel), embaixo dela */
.lightbox__caption {
  flex: 0 0 auto;
  padding: 0 1.25rem .25rem;
  font-size: .875rem;
  letter-spacing: .05em;
  text-align: center;
  color: rgba(255,255,255,.8);
}
.lightbox__caption[hidden] { display: none; }

/* No celular a foto usa a largura toda; as setas ficam por cima, com fundo escuro */
.lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 4rem .5rem .75rem;
  overflow: hidden;
  touch-action: none;
}

.lightbox__img {
  display: block;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  will-change: transform;
}
.lightbox__img:not([src]) { visibility: hidden; }
.lightbox__img.is-loaded { opacity: 1; }
.lightbox__img[hidden] { display: none; }

/* Vídeo da galeria, com os controles do navegador (o tamanho é calculado no lightbox.ts) */
.lightbox__video {
  display: block;
  max-width: 100%; max-height: 100%;
  border-radius: 2px;
  background: #000;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.lightbox__video.is-loaded { opacity: 1; }
.lightbox__video[hidden] { display: none; }

.lightbox__nav {
  position: absolute; top: 50%;
  z-index: 2;
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,8,6,.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .3s, color .3s, opacity .3s;
  -webkit-tap-highlight-color: transparent;
}
.lightbox__nav:hover { background: rgba(255,255,255,.15); color: #fff; }
.lightbox__nav:disabled { opacity: 0; pointer-events: none; }
.lightbox__nav--prev { left: .75rem; }
.lightbox__nav--next { right: .75rem; }
.lightbox__nav svg { width: 1.125rem; height: 1.125rem; }

.lightbox__thumbs {
  flex: 0 0 auto;
  display: flex; gap: .5rem;
  padding: .75rem 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.lightbox__thumbs[hidden] { display: none; }
.lightbox__thumbs::-webkit-scrollbar { height: 4px; }
.lightbox__thumbs::-webkit-scrollbar-track { background: transparent; }
.lightbox__thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }

.lightbox__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 3.5rem; height: 3.5rem;
  border-radius: 3px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: .4;
  transition: opacity .3s, border-color .3s;
  background: none; padding: 0;
}
.lightbox__thumb:hover { opacity: .7; }
.lightbox__thumb.is-active { opacity: 1; border-color: var(--gold, #c9a96e); }
.lightbox__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* Miniatura de vídeo: triângulo de play no centro */
.lightbox__thumb--video::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  border-style: solid;
  border-width: .4rem 0 .4rem .65rem;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
  filter: drop-shadow(0 0 3px rgba(0,0,0,.8));
}

@media (min-width: 48rem) {
  .lightbox__stage { padding: 3.5rem 4.5rem 1rem; }
  .lightbox__nav { width: 2.75rem; height: 2.75rem; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
  .lightbox__nav:disabled { opacity: .25; }
  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }
  .lightbox__thumbs { padding: .75rem 1.5rem 1.25rem; }
  .lightbox__thumb { width: 4rem; height: 4rem; }
}

/* Celular deitado: a foto usa a altura toda (sem miniaturas; troca pelas setas ou arrastando) */
@media (max-height: 30rem) and (orientation: landscape) {
  .lightbox__stage { padding: .75rem 4.5rem; }
  .lightbox__thumbs { display: none; }
}

/* Foto do quarto clicavel */
.room__img[data-lightbox-item] { cursor: pointer; }

/* 26. MOVIMENTO REDUZIDO --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal],
  .js .divider[data-reveal],
  .split__word {
    opacity: 1;
    transform: none;
  }
}
