/* =====================================================
   home-v2.css — overrides e novos componentes da v2
   Carrega DEPOIS de main.css. Componentes novos:
   .hero-video + .hero-sound (Ato 1), .apoio (Ato 2),
   .tipologia (Ato 4), .prova (Ato 6),
   .reservas__signature (Ato 8), .version-pill (toggle).
   ===================================================== */

/* =====================================================
   ATO I — HERO · vídeo loop + toggle de áudio
   Vídeo cobre o hero, atrás do conteúdo. .hero-water
   (CSS animations) fica em z-index ainda mais baixo como
   fallback se o vídeo falhar. Conteúdo (texto) z-index 2.
   ===================================================== */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
  display: block;
  /* Overlay sutil pra garantir contraste do texto sand sobre
     vídeos que podem ter momentos muito claros (céu, água). */
  filter: brightness(0.82) saturate(1.05);
}
@media (max-width: 700px) {
  .hero-video {
    object-position: 60% 50%;
  }
}
/* Camada de escurecimento sobre o vídeo, pra texto respirar */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.22) 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

/* Em prefers-reduced-motion: esconde o vídeo, mantém o fallback CSS */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* --- Toggle de som ambiente ----------------------------- */
.hero-sound {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  background: rgba(31, 51, 40, 0.45);
  color: var(--sand);
  border: 1px solid rgba(237, 227, 210, 0.25);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  font-weight: 400;
  cursor: pointer;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  opacity: 0;
  animation: hero-sound-in 1.2s var(--ease) 2.8s forwards;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease), transform 320ms var(--ease);
}
.hero-sound:hover {
  background: rgba(31, 51, 40, 0.7);
  border-color: rgba(237, 227, 210, 0.5);
  transform: translateY(-1px);
}
@keyframes hero-sound-in {
  to { opacity: 1; }
}

.hero-sound__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--sand);
  opacity: 0.85;
}
/* Ondas sonoras: invisíveis quando OFF, aparecem quando ON */
.hero-sound__wave {
  opacity: 0;
  transition: opacity 320ms var(--ease);
  stroke-linecap: round;
}
.hero-sound[aria-pressed="true"] .hero-sound__wave { opacity: 1; }
.hero-sound[aria-pressed="true"] .hero-sound__wave--2 {
  transition-delay: 80ms;
}

.hero-sound__label {
  white-space: nowrap;
  font-style: italic;
}

/* Quando o som está ON, o label troca via JS (data attribute), mas o
   estilo do botão também muda sutilmente pra reforçar o estado. */
.hero-sound[aria-pressed="true"] {
  background: rgba(31, 51, 40, 0.65);
  border-color: rgba(237, 227, 210, 0.4);
}

@media (max-width: 600px) {
  .hero-sound {
    bottom: 1rem;
    left: 1rem;
    padding: 0.45rem 0.8rem 0.45rem 0.6rem;
    font-size: 0.62rem;
  }
}

/* =====================================================
   ATO II — DOBRA DE APOIO
   Padrão manifesto editorial (espelhado da página de método):
   foto larga + eyebrow + section-title curto + parágrafos uniformes
   com stagger reveal entre eles via --delay.
   ===================================================== */

.apoio-card { padding: clamp(3rem, 7vw, 6rem) 0 clamp(7rem, 14vw, 12rem); }

/* Imagem contida no .apoio (que já aplica max-width + gutter horizontal).
   Margin-bottom equivale ao gap entre eyebrow e bloco 1. */
.apoio__media {
  aspect-ratio: 21 / 9;
  margin: 0 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  border-radius: 4px;
}
.apoio__media .placeholder {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  aspect-ratio: auto;
}
.apoio__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) { .apoio__media { aspect-ratio: 16 / 9; } }
@media (max-width: 600px) { .apoio__media { aspect-ratio: 4 / 3; } }

.apoio {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 0 clamp(2rem, 8vw, 6rem);
}
/* 3 linhas centralizadas, padrão idêntico ao .demo--apoio do método:
   p1 pequena-itálico (descritor poético do destino), p2 maior-medium
   (frase-âncora do hotel), p3 pequena-muted (footnote / essência).
   Stagger por --delay no [data-animate] de cada parágrafo. */
.apoio__lines {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem);
  line-height: 1.4;
  text-align: center;
  max-width: 30em;
  margin: 0 auto;
  color: var(--ink);
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.apoio__lines p { margin: 0 0 1.4em; }
.apoio__lines p:last-child { margin-bottom: 0; }

.apoio__lines p:nth-child(1) {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.95em;
}
.apoio__lines p:nth-child(2) {
  color: var(--ink);
  font-weight: 400;
  font-size: 1em;
}
.apoio__lines p:nth-child(3) {
  color: var(--ink-soft);
  font-size: 0.85em;
}

.apoio__lines em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}

/* =====================================================
   ATO IV — ACOMODAÇÕES
   Intro card centralizado + 4 .tipologia full-bleed.
   Cada tipologia é seu próprio .card no .stack — herda
   o batimento de scale-down/overlap do template.
   ===================================================== */

.acomodacoes-intro,
.espacos-intro {
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
}
.acomodacoes-intro .eyebrow { margin-bottom: 1.25rem; }
.acomodacoes-intro h2,
.espacos-intro h2 { margin-bottom: 1.25rem; }
.acomodacoes-intro__lede,
.espacos-intro__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto;
}
/* .espacos-intro agora vive em fundo verde escuro (card--green):
   lede e textos auxiliares precisam tom sand pra contrastar. */
.espacos-intro.card--green .espacos-intro__lede { color: rgba(237, 227, 210, 0.88); }

.tipologia {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: end;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  color: var(--sand);
  background: var(--ink); /* fallback se o placeholder falhar */
}
.tipologia__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tipologia__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tipologia__media > img {
  position: relative;
  z-index: 0;
}
.tipologia__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.22) 35%,
      rgba(0, 0, 0, 0.62) 75%,
      rgba(0, 0, 0, 0.82) 100%
    );
  pointer-events: none;
  z-index: 2;
}
/* Overlay mais escuro no card do Hotel Boutique — a foto da fachada
   tem muita luz diurna e brancos que comprometem a leitura do texto. */
.tipologia--suite .tipologia__media::after {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.45) 35%,
      rgba(0, 0, 0, 0.78) 75%,
      rgba(0, 0, 0, 0.90) 100%
    );
}
.tipologia__media .placeholder {
  width: 100%; height: 100%;
  border: none;
  border-radius: 0;
  aspect-ratio: auto;
}
.tipologia__media .placeholder__icon,
.tipologia__media .placeholder__label,
.tipologia__media .placeholder__spec { color: var(--sand); opacity: 0.85; }

.tipologia__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.tipologia__content .eyebrow {
  color: rgba(237, 227, 210, 0.7);
  margin-bottom: 0.75rem;
}
.tipologia__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin-bottom: 1rem;
  color: var(--sand);
  text-wrap: balance;
  max-width: 18ch;
}
.tipologia__features {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 2px 12px rgba(0, 0, 0, 0.55);
}
.tipologia__copy {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  max-width: 50ch;
  color: rgba(237, 227, 210, 0.92);
}
.tipologia__price {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 227, 210, 0.75);
  font-weight: 400;
}
.tipologia__price strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--sand);
  margin-right: 0.15rem;
}
.tipologia__price span {
  opacity: 0.6;
}
.tipologia__cta {
  margin-top: 1.25rem;
}
.tipologia__cta .btn-primary {
  background: transparent;
  color: var(--sand);
  border: 1px solid rgba(237, 227, 210, 0.55);
  padding: 0.55rem 1.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}
.tipologia__cta .btn-primary:hover {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--sand);
}

/* Placeholder por tipologia — paleta direta dos tokens da marca,
   substituível por foto real assim que o cliente entregar */
/* Tipologias atuais: --casa e --suite. */

@media (max-width: 700px) {
  .tipologia { min-height: 78vh; min-height: 78svh; }
  .tipologia__name { font-size: clamp(2rem, 8vw, 3rem); max-width: 16ch; }
}

/* =====================================================
   ATO V — ESPAÇOS COMUNS
   Reaproveita 100% o layout .pousada (split-sticky).
   Só ajustamos o background da seção wrapper para que o
   tom seja sutilmente distinto da Pousada da v1 — aqui é
   "habitar", não "essência". Card já é card--green.
   ===================================================== */

.espacos-section .pousada__panel .eyebrow { color: rgba(237, 227, 210, 0.65); }

/* Sem a coluna de mídia sticky: panels ocupam a largura toda.
   Aguardando novo layout para esta dobra. */
.espacos-section .pousada { grid-template-columns: 1fr; }
.pousada__panels--solo .pousada__panel {
  max-width: 64ch;
  margin: 0 auto;
  padding: 6rem clamp(2rem, 5vw, 5rem);
}

.espacos-section.card {
  background: #C99F75; /* marrom dourado do header — substitui o verde escuro padrão */
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 3vw, 2.5rem);
}

/* Sticky cinemático: foto fixa que troca com crossfade conforme o scroll.
   Wrap tem N x altura do frame; o frame fica sticky durante esse trecho.
   Frame tem aspect-ratio fixo — todas as fotos exibidas no mesmo tamanho
   independentemente da orientação original (object-fit: cover). */
.momentos-sticky {
  position: relative;
  height: 400vh; /* 5 fotos × 80vh de scroll */
  max-width: 1000px;
  margin: 0 auto;
}
.momentos-sticky__frame {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.momentos-sticky__frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(86%, 880px);
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 700ms ease;
}
.momentos-sticky__frame img.is-active { opacity: 1; }
.momentos-sticky__counter {
  position: absolute;
  bottom: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  background: rgba(31, 45, 46, 0.75);
  color: #FFF8F2;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  z-index: 2;
}

.momentos-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(-6rem, -8vh, -3rem); /* sobe sobre o fim do sticky */
  position: relative;
  z-index: 3;
}

@media (max-width: 700px) {
  .momentos-sticky__frame img { width: 94%; aspect-ratio: 4 / 5; }
}

/* Painel-mídia: imagem full-bleed colada no topo da dobra,
   título logo abaixo no mesmo tom dos outros painéis (h3) */
.espacos-section .pousada__panel--media {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  min-height: 0;
}
.espaco-figure {
  margin: 0;
  width: 100%;
}
.espaco-figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 13;
  object-fit: cover;
}
.espaco-figure__caption {
  margin: 0;
  padding: 2rem clamp(2rem, 5vw, 5rem) 0;
}
.espaco-figure__caption h3 {
  margin: 0 0 1rem;
  color: var(--sand);
}
.espaco-figure__caption p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(237, 227, 210, 0.92);
  max-width: 56ch;
}

/* Placeholder visual onde futura foto vai entrar — gradient sutil + label */
.espaco-figure__placeholder {
  width: 100%;
  aspect-ratio: 16 / 13;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(237, 227, 210, 0.04) 0 12px,
      rgba(237, 227, 210, 0.08) 12px 24px
    ),
    linear-gradient(160deg,
      color-mix(in srgb, var(--green) 60%, var(--ink) 40%),
      color-mix(in srgb, var(--green-deep) 90%, var(--ink) 10%)
    );
  border-top: 1px solid rgba(237, 227, 210, 0.08);
  border-bottom: 1px solid rgba(237, 227, 210, 0.08);
}
.espaco-figure__placeholder span {
  max-width: 38ch;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 227, 210, 0.55);
  font-weight: 500;
  line-height: 1.6;
}

/* =====================================================
   ATO VI — PROVA SOCIAL
   Reveal estático sequencial (via [data-animate], main.js).
   Sem carrossel — substância sobre movimento.
   ===================================================== */

.prova-section { padding: clamp(6rem, 12vw, 10rem) 0; }
.prova {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.prova .eyebrow { margin-bottom: 1.25rem; }
.prova h2 {
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  max-width: 22ch;
}
/* Carrossel de avaliações (Booking) */
.reviews {
  position: relative;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  max-width: 100%;
}
.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(38rem, 88%);
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem clamp(1rem, 6vw, 4rem) 1.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: left;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track:focus-visible {
  outline: 2px solid var(--ink-soft, #5C5D5B);
  outline-offset: 2px;
  border-radius: 14px;
}

.review {
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(92, 93, 91, 0.12);
  border-radius: 14px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 6px 24px rgba(47, 51, 49, 0.04);
}
.review__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.review__score {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: 8px 8px 8px 0;
  background: #7BC4C4;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
}
.review__meta { min-width: 0; }
.review__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.review__sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin: 0;
}
.review__body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.review__cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-top: auto;
}

.reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(92, 93, 91, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink, #2F3331);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.reviews__nav:hover { background: #fff; transform: translateY(-50%) scale(1.04); }
.reviews__nav[disabled] { opacity: 0.25; cursor: default; }
.reviews__nav--prev { left: 0.25rem; }
.reviews__nav--next { right: 0.25rem; }
@media (max-width: 640px) {
  .reviews__nav { display: none; }
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}
.reviews__dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  background: rgba(92, 93, 91, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}
.reviews__dots button.is-active {
  background: #5C5D5B;
  transform: scale(1.3);
}

.reviews__source {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}
.reviews__source a { color: inherit; border-bottom: 1px solid currentColor; }

/* Selos Tripadvisor Travellers' Choice — fileira de premiações */
.tripadvisor-selos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.tripadvisor-selos img {
  height: clamp(72px, 8vw, 96px);
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 200ms ease;
}
.tripadvisor-selos img:hover { opacity: 1; }
@media (max-width: 500px) {
  .tripadvisor-selos { gap: 1rem; }
  .tripadvisor-selos img { height: 64px; }
}

/* =====================================================
   ATO VIII — RESERVA · assinatura epistolar
   ===================================================== */

.reservas__signature {
  margin-top: 1.5rem !important;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  color: rgba(237, 227, 210, 0.82);
}

/* =====================================================
   TOGGLE V1 ↔ V2
   Pílula fixa no canto inferior esquerdo, oposta ao
   .wa-float (canto inferior direito). Permite alternar
   entre as versões para comparação direta.
   ===================================================== */

.version-pill {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  background: rgba(31, 51, 40, 0.92);
  color: var(--sand);
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 320ms var(--ease), background-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.version-pill:hover {
  transform: translateY(-2px);
  background: rgba(31, 51, 40, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}
.version-pill__label {
  opacity: 0.55;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
}
.version-pill__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.version-pill__v { opacity: 0.5; }
.version-pill__v--active {
  opacity: 1;
  font-weight: 600;
}
.version-pill__sep { opacity: 0.45; }

@media (max-width: 600px) {
  .version-pill {
    bottom: auto;
    top: calc(var(--header-h) + 0.5rem);
    left: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */

/* =====================================================
   HERO TAGLINE — frase âncora centralizada no hero
   ===================================================== */
.hero__tagline {
  --tagline-offset: 28vh; /* distância para baixo do centro do hero */
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.35;
  color: rgba(240, 229, 210, 0.94);
  max-width: 24ch;
  transform: translateY(var(--tagline-offset));
  opacity: 0;
  animation: tagline-fade-in 1.4s var(--ease) 0.6s forwards;
}
@keyframes tagline-fade-in {
  to { opacity: 1; }
}
@media (max-width: 700px) {
  .hero__tagline { --tagline-offset: 22vh; }
}

@media (prefers-reduced-motion: reduce) {
  .tipologia__media .placeholder::before,
  .tipologia__media .placeholder::after { animation: none; }
  .hero__tagline { opacity: 1; animation: none; }
}

/* =====================================================
   Ornamento: divisor com marca centralizada
   Uso: <div class="section-divider" role="separator" aria-hidden="true">
          <img class="section-divider__mark" src="…/logo-principal.svg" alt="">
        </div>
   ===================================================== */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100%, 1100px);
  margin: 2.5rem auto;
  padding: 0 var(--gutter, 2rem);
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
}
.section-divider__mark {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: block;
}
@media (max-width: 700px) {
  .section-divider { gap: 1rem; margin: 1.75rem auto; }
  .section-divider__mark { width: 44px; height: 44px; }
}

/* =====================================================
   Ornamento: friso de assinatura
   Sequência de marcas separadas por traços curtos,
   variação compacta do section-divider para usar dentro
   de blocos de intro (ex.: .espacos-intro).
   ===================================================== */
.signature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin: 2rem auto 0;
  color: var(--peach, #D99B7C);
}
.signature-row__mark {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: block;
}
@media (max-width: 700px) {
  .signature-row { gap: 1.25rem; margin-top: 1.5rem; }
  .signature-row__mark { width: 40px; height: 40px; }
}

/* =====================================================
   DESKTOP (≥1024px) — versão dedicada
   O CSS-base é mobile-first e empilha tudo em coluna
   única. Este bloco reescreve as dobras onde o desktop
   pede outra leitura: 2 colunas onde fizer sentido,
   fotos param de dominar, tipografia respira.
   ===================================================== */

@media (min-width: 1024px) {

  /* ----- Tipografia (header fica como estava: menu é denso, não suporta crescer) ----- */
  .hero__content { max-width: 1100px; }
  .hero .lede { font-size: clamp(1.25rem, 1.6vw, 1.875rem); }

  /* ----- ATO II · Apoio: pull-quote editorial (variante B) -----
     Foto retrato à esquerda + bloco editorial à direita com hierarquia:
     nota (top) · pull-quote (meio, ênfase máxima) · nota-mid (final,
     ênfase intermediária). Ordem visual é diferente da ordem HTML —
     o source mantém quote/note/note--mid (que o mobile usa via
     nth-child), e o flex `order` reorganiza no desktop. */
  .apoio {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(2.5rem, 4vw, 4rem);
    align-items: center;
    justify-content: center;
  }
  .apoio__media {
    aspect-ratio: 4 / 5;
    width: 360px;
    max-width: 100%;
    max-height: none;
    margin: 0;
  }
  .apoio__lines {
    text-align: left;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    font-size: 1rem; /* reset do clamp grande do mobile */
  }
  /* Reordenação visual: nota → quote → nota-mid */
  .apoio__lines .apoio__note { order: 1; }
  .apoio__lines .apoio__quote { order: 2; }
  .apoio__lines .apoio__note--mid { order: 3; }

  /* Reset das regras mobile (nth-child) e aplicação por modifier */
  .apoio__lines p { margin: 0; text-align: left; font-style: normal; font-size: 1em; }

  .apoio__lines p.apoio__quote {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    line-height: 1.25;
    color: var(--ink);
    text-wrap: balance;
  }
  .apoio__lines p.apoio__quote em { font-style: italic; color: var(--green); }

  .apoio__lines p.apoio__note {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.1vw, 1.125rem);
    line-height: 1.55;
    color: var(--ink-soft);
    position: relative;
    padding-left: 1.25rem;
  }
  .apoio__lines p.apoio__note::before {
    content: '·';
    position: absolute;
    left: 0;
    top: -0.1em;
    font-style: normal;
    color: var(--cta);
    font-weight: 700;
  }
  .apoio__lines p.apoio__note em { color: var(--green); font-weight: 400; }

  .apoio__lines p.apoio__note--mid {
    font-style: normal;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: var(--ink);
    line-height: 1.45;
    text-wrap: balance;
  }
  .apoio__lines p.apoio__note--mid::before { display: none; }
  .apoio__lines p.apoio__note--mid em { font-style: italic; font-weight: 300; }

  /* ----- ATO III · Bangalos: tudo proporcionalmente menor ----- */
  .bangalos-section { height: 240vh; }
  .bangalos__head {
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
  }
  .bangalos__eyebrow {
    color: rgba(237, 227, 210, 0.65);
    margin-bottom: 0.65rem;
    font-size: 0.7rem;
  }
  .bangalos__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    max-width: none;
    margin-top: 0;
  }
  .bangalos__footer {
    padding-top: 0;
    padding-bottom: clamp(10rem, 14vw, 13rem);
    margin-top: -1rem;
  }
  /* Cards: foto menor + tipografia interna escalada junto */
  .bangalo {
    max-height: 52vh;
    flex: 0 0 clamp(240px, 24vw, 320px);
    gap: 0.85rem;
  }
  .bangalo__body { flex: 0 0 7rem; }
  .bangalo h3 {
    font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }
  .bangalo__meta {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.6rem;
  }
  .bangalo p {
    font-size: 0.8125rem;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }
  .bangalos__progress span { width: 18px; }
  /* CTA do fim da dobra */
  .bangalos__cta {
    padding: 0.75rem 1.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }

  /* ----- ATO IV · Intros de capítulo: títulos mais sóbrios ----- */
  .acomodacoes-intro h2.display,
  .espacos-intro h2.display,
  .prova h2.display,
  .reservas__inner h2.display { font-size: clamp(2rem, 3.5vw, 3.25rem); }
  .acomodacoes-intro,
  .espacos-intro { padding: clamp(4rem, 7vw, 6rem) 0; }

  /* ----- ATO IV · Tipologia: Magazine assimétrico -----
     Cada tipologia é um .card separado (preserva o visual mobile dos
     stack-cards), mas em desktop nulificamos sombra/radius pra que as 3
     cards cream (intro + casas + suites) pareçam uma superfície única. */
  .tipologia {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    background: var(--paper);
    color: var(--ink);
    padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 10vw, 8rem);
    padding-inline: max(clamp(2rem, 4vw, 4rem), calc((100% - 1320px) / 2));
    max-width: none;
    margin-top: 0; /* anula o -28px overlap base */
    align-items: end;
    box-shadow: none;
    border-radius: 0;
  }
  .tipologia__media {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    width: 62%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
    overflow: hidden;
    border-radius: 6px;
    justify-self: start;
  }
  .tipologia__media::after { display: none; }
  .tipologia__media > img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .tipologia__content {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: end;
    width: min(48%, 480px);
    max-width: none;
    margin: 0;
    background: var(--paper);
    padding: clamp(2rem, 3vw, 2.5rem);
    box-shadow: 0 18px 50px rgba(31, 45, 46, 0.12);
    border-radius: 6px;
    z-index: 1;
    transform: translateY(15%);
  }
  .tipologia__content .eyebrow {
    color: var(--cta);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    font-weight: 600;
    margin-bottom: 0.85rem;
    text-shadow: none;
  }
  .tipologia__name {
    color: var(--ink);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.1;
    margin-bottom: 0.6rem;
    max-width: none;
    text-shadow: none;
  }
  .tipologia__features {
    color: var(--ink-soft);
    text-shadow: none;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    margin-bottom: 1.25rem;
  }
  .tipologia__copy {
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: none;
    margin-bottom: 0;
  }
  /* Rodapé do cartão: linha + preço (esquerda) e CTA (direita) */
  .tipologia__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  }
  .tipologia__price {
    color: var(--ink-soft);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
  }
  .tipologia__price strong {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ink);
    display: block;
    margin: 0 0 0.1rem;
  }
  .tipologia__price span { opacity: 0.7; }
  .tipologia__cta { margin: 0; }
  .tipologia__cta .btn-primary {
    background: transparent;
    color: var(--ink);
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    padding: 0 0 4px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: none;
  }
  .tipologia__cta .btn-primary::after { content: ' →'; }
  .tipologia__cta .btn-primary:hover {
    background: transparent;
    color: var(--cta);
    border-color: var(--cta);
    transform: none;
    box-shadow: none;
  }
  /* Suítes alterna: foto à direita, content à esquerda */
  .tipologia--suite .tipologia__media { justify-self: end; }
  .tipologia--suite .tipologia__content { justify-self: start; }

  /* ----- ATO V · Momentos: bento mosaic em desktop -----
     Em mobile mantém o sticky-crossfade (JS toggle .is-active).
     Em desktop, vira mosaico estático 4×2 com a foto principal grande
     à esquerda. Override anula a posição absoluta e o opacity 0 base. */
  .espacos-section.card { padding-block: clamp(4rem, 7vw, 6rem); }
  .momentos-sticky {
    position: static;
    height: auto;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 4vw, 4rem);
  }
  .momentos-sticky__frame {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: clamp(0.75rem, 1.2vw, 1rem);
    aspect-ratio: 16 / 9;
    overflow: visible;
  }
  .momentos-sticky__counter { display: none; }
  .momentos-sticky__frame img {
    position: relative;
    top: auto; left: auto;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    aspect-ratio: auto;
    transform: none;
    opacity: 1;          /* todas visíveis no bento */
    border-radius: 4px;
    object-fit: cover;
    transition: transform 700ms var(--ease);
  }
  .momentos-sticky__frame img:hover { transform: scale(1.04); z-index: 1; }
  /* Posições do bento — foto 1 grande à esquerda, 4 menores à direita */
  .momentos-sticky__frame img:nth-of-type(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .momentos-sticky__frame img:nth-of-type(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
  .momentos-sticky__frame img:nth-of-type(3) { grid-column: 4 / 5; grid-row: 1 / 2; }
  .momentos-sticky__frame img:nth-of-type(4) { grid-column: 3 / 4; grid-row: 2 / 3; }
  .momentos-sticky__frame img:nth-of-type(5) { grid-column: 4 / 5; grid-row: 2 / 3; }
  .momentos-cta { margin-top: clamp(2rem, 4vw, 3rem); }

  /* ----- Footer: respiro horizontal ----- */
  .footer__inner { gap: 3rem; }
}

/* =====================================================
   ULTRAWIDE (≥1600px) — ajustes finos
   Container ganha respiro, hero cresce, h2 sobe o teto.
   ===================================================== */
@media (min-width: 1600px) {
  :root { --container: 1440px; }
  .hero__content { max-width: 1200px; }
  h2.display { font-size: clamp(3rem, 5.5vw, 5.5rem); }
  .tipologia {
    padding-block: clamp(6rem, 8vw, 8rem) clamp(7rem, 12vw, 10rem);
    padding-inline: max(clamp(3rem, 5vw, 6rem), calc((100% - 1440px) / 2));
  }
}
