/* ==========================================================================
   Hospedaria Encantada — Garopaba/SC
   Identidade visual inspirada na logotipo: morros, sol e letra manuscrita.

   Índice:
    1. Fontes e variáveis     7. Quartos (cards e tabela)   13. WhatsApp flutuante
    2. Base                   8. Página do quarto           14. Barra de reserva (mobile)
    3. Utilitários            9. Seções da home             15. Lightbox
    4. Botões                10. Conteúdo e guia            16. Animações
    5. Cabeçalho             11. Faixa final
    6. Hero e reserva        12. Rodapé
   ========================================================================== */

/* 1. Fontes e variáveis ---------------------------------------------------- */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kaushan Script";
  src: url("../fonts/kaushan-script-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores da logotipo */
  --brand: #009358;
  --sun: #fff200;

  /* Derivadas: fundo claro para a logo verde e amarela respirar */
  --brand-deep: #00703f;
  --forest: #0b4632;
  --forest-2: #0f5c41;
  --ink: #14352a;
  --ink-soft: #4b6157;
  --paper: #ffffff;
  --cream: #fdfbf3;
  --mist: #eff6f1;
  --hill-1: #d4eadc;
  --hill-2: #b9dcc7;
  --sun-soft: #fff9c2;
  --line: #dbe7df;
  --whatsapp: #25d366;

  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-title: "Young Serif", Georgia, "Times New Roman", serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 14px rgba(11, 70, 50, 0.07);
  --shadow: 0 14px 34px rgba(11, 70, 50, 0.11);
  --shadow-lg: 0 28px 60px rgba(11, 70, 50, 0.17);

  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 96px;
}

/* 2. Base ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--forest);
  overflow-wrap: normal;
}

h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4rem);
}

h2 {
  font-size: clamp(1.85rem, 1.4rem + 2vw, 2.9rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

a {
  color: var(--brand-deep);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

/* 3. Utilitários -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 840px;
}

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

.section--mist {
  background: var(--mist);
}

.section--cream {
  background: var(--cream);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head > p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--ink-soft);
}

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

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}

.section-head--row > div {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  line-height: 1.2;
}

.script {
  position: relative;
  display: inline-block;
  color: var(--brand);
  font-family: var(--font-script);
  font-size: 1.14em;
  letter-spacing: 0;
  line-height: 1;
}

/* Traço amarelo sob a palavra, como o sol da logo */
.script::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -0.1em;
  z-index: -1;
  height: 0.28em;
  border-radius: 999px;
  background: var(--sun);
  transform: rotate(-1.2deg);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.28rem);
}

/* Morros que separam as seções */
.hill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(44px, 8vw, 120px);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--forest);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

/* 4. Botões ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: linear-gradient(135deg, #007f49 0%, #005f37 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 112, 63, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 14px 28px rgba(0, 112, 63, 0.38);
}

.btn--ghost {
  background: var(--paper);
  border-color: var(--hill-2);
  color: var(--brand-deep);
}

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

.btn--sun {
  background: var(--sun);
  color: var(--forest);
  box-shadow: 0 12px 26px rgba(255, 242, 0, 0.24);
}

.btn--sun:hover {
  background: #fff;
}

.btn--sm {
  min-height: 44px;
  padding: 9px 20px;
}

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

.btn .arrow {
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* 5. Cabeçalho ---------------------------------------------------------------------- */
.topbar {
  background: var(--forest);
  color: #e3f1e9;
  font-size: 0.9rem;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.topbar p,
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.topbar a {
  font-weight: 700;
}

.topbar a:hover {
  color: var(--sun);
}

.topbar svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--sun);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.25s;
}

.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(11, 70, 50, 0.09);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  flex: none;
}

.brand img {
  width: 138px;
  height: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
}

.nav-list a:not(.btn) {
  position: relative;
  padding-block: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s;
}

.nav-list a:not(.btn):hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--brand-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
  transition: transform 0.2s, opacity 0.2s;
}

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

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

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

@media (max-width: 900px) {
  :root {
    --header-h: 84px;
  }

  .topbar {
    display: none;
  }

  .brand img {
    width: 114px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a:not(.btn) {
    display: block;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-list a:not(.btn)::after {
    display: none;
  }

  .nav-list .btn {
    width: 100%;
    margin-top: 18px;
  }
}

/* 6. Hero e reserva ------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  padding-block: clamp(20px, 2.4vw, 36px) clamp(44px, 5vw, 64px);
  background:
    radial-gradient(60% 70% at 88% 12%, rgba(255, 242, 0, 0.2) 0%, rgba(255, 242, 0, 0) 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px) clamp(32px, 4vw, 56px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.2rem, 1.3rem + 2.7vw, 3.4rem);
}

.hero-copy .lead {
  max-width: 33em;
  margin-top: 16px;
}

.hero-booking {
  grid-column: 1 / -1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  list-style: none;
  color: var(--ink);
  font-size: 0.975rem;
  font-weight: 600;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
}

/* Morros mais altos no hero, para aparecerem ao redor do formulário */
.hero .hill {
  height: clamp(90px, 12vw, 170px);
}

/* Composição de fotos: arco, foto menor e o sol da logotipo */
.hero-media {
  position: relative;
  width: 100%;
  max-width: min(520px, calc((100vh - 340px) * 0.96));
  aspect-ratio: 1 / 1.04;
  margin-left: auto;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 1%;
  right: 3%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 22px rgba(255, 242, 0, 0.2), 0 0 0 48px rgba(255, 242, 0, 0.1);
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  border: 7px solid var(--paper);
  box-shadow: var(--shadow-lg);
}

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

.hero-photo--arch {
  top: 7%;
  bottom: 0;
  right: 8%;
  width: 67%;
  border-radius: 50% 50% 30px 30px / 34% 34% 30px 30px;
}

.hero-photo--arch img {
  object-position: 76% 50%;
}

.hero-photo--small {
  left: 0;
  bottom: 7%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 28px;
}

.hero-chip {
  position: absolute;
  right: 0;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--forest);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-chip small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-chip svg {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
}

.booking {
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.booking-title {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.booking-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
  gap: 10px;
}

.field {
  min-width: 0;
  padding: 9px 14px 7px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: var(--mist);
  transition: background-color 0.2s, border-color 0.2s;
}

.field:hover {
  background: #e6f1ea;
}

.field:focus-within {
  border-color: var(--brand);
  background: var(--paper);
}

.field label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field input,
.field select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 2px 0;
  border: 0;
  outline: 0;
  background-color: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300703f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
  cursor: pointer;
}

.booking-submit .btn {
  height: 100%;
}

.form-error {
  margin-top: 10px;
  color: #b3261e;
  font-size: 0.925rem;
  font-weight: 600;
}

.form-error:empty {
  display: none;
}

.booking-note {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
}

.booking--stack .booking-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking--stack .field:nth-child(n + 3),
.booking--stack .booking-submit {
  grid-column: 1 / -1;
}

.booking--stack .btn {
  width: 100%;
}

@media (max-width: 1060px) {
  .booking-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-submit {
    grid-column: 1 / -1;
  }

  .booking-submit .btn {
    width: 100%;
  }
}

/* Telas médias: quatro campos na mesma linha, botão embaixo */
@media (min-width: 761px) and (max-width: 1060px) {
  .booking:not(.booking--stack) .booking-fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Notebooks com tela baixa: tudo mais compacto para o box aparecer inteiro */
@media (min-width: 901px) and (max-height: 880px) {
  .hero {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 1.2rem + 2.2vw, 2.9rem);
  }

  .hero-media {
    max-width: calc((100vh - 380px) * 0.96);
  }

  .hero-points {
    display: none;
  }

  .hero-copy .lead {
    margin-top: 12px;
    font-size: 1.05rem;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .booking {
    padding-block: 16px;
  }

  .booking-title {
    margin-bottom: 10px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) and (max-height: 880px) {
  .hero-copy .lead {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-booking {
    order: 2;
  }

  .hero-media {
    order: 3;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* No celular o box vem logo após o título */
@media (max-width: 640px) {
  .hero-actions,
  .hero-points {
    display: none;
  }

  .hero-copy .lead {
    margin-top: 10px;
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .booking {
    padding: 16px;
    border-radius: 24px;
  }

  .booking-title {
    margin-bottom: 12px;
    font-size: 1.2rem;
  }

  .picker-button {
    min-height: 60px;
    padding-top: 24px;
  }

  .field.has-picker label {
    top: 7px;
  }
}

/* Celulares baixos: o título e o box têm prioridade */
@media (max-width: 640px) and (max-height: 780px) {
  .hero-copy .lead,
  .hero .eyebrow {
    display: none;
  }

  .hero h1 {
    font-size: 1.95rem;
  }
}

@media (max-width: 340px) {
  .booking-fields,
  .booking--stack .booking-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Calendário e listas do formulário ------------------------------------------------------ */
.field.has-picker {
  position: relative;
  padding: 0;
}

.field.has-picker label {
  position: absolute;
  top: 9px;
  left: 14px;
  right: 14px;
  pointer-events: none;
}

.field.has-picker input,
.field.has-picker select {
  display: none;
}

.field.is-open {
  border-color: var(--brand);
  background: var(--paper);
}

.picker-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 67px;
  padding: 27px 12px 8px 14px;
  border: 0;
  border-radius: 15px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.picker-button:focus-visible {
  outline-offset: -2px;
  border-radius: 15px;
}

.picker-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-value.is-empty {
  color: var(--ink-soft);
  font-weight: 500;
}

.picker-button svg {
  flex: none;
  width: 19px;
  height: 19px;
  color: var(--brand-deep);
  transition: transform 0.2s;
}

.field.is-open .picker-chevron {
  transform: rotate(180deg);
}

.picker-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  min-width: 100%;
  padding: 12px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 24px 54px rgba(11, 70, 50, 0.24), 0 0 0 1px var(--line);
  animation: picker-in 0.16s ease-out;
}

.picker-panel[hidden] {
  display: none;
}

.picker-panel.is-up {
  top: auto;
  bottom: calc(100% + 10px);
}

.picker-panel--date {
  width: 330px;
  max-width: calc(100vw - 2 * var(--gutter));
}

.picker-head {
  display: none;
}

.picker-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--forest);
  cursor: pointer;
}

.picker-close svg {
  width: 20px;
  height: 20px;
}

.picker-options {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s;
}

.picker-option:hover,
.picker-option:focus {
  outline: 0;
  background: var(--mist);
}

.picker-option[aria-selected="true"] {
  background: var(--sun-soft);
  color: var(--forest);
}

.picker-option svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand-deep);
  opacity: 0;
}

.picker-option[aria-selected="true"] svg {
  opacity: 1;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cal-title {
  color: var(--forest);
  font-family: var(--font-title);
  font-size: 1.15rem;
  text-align: center;
}

.cal-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--brand-deep);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.cal-arrow:hover:not(:disabled) {
  background: var(--brand-deep);
  color: #fff;
}

.cal-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

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

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

.cal-week {
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.cal-week span {
  padding-block: 4px;
}

.cal-days {
  row-gap: 2px;
}

.cal-day {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s;
}

.cal-day:hover:not(:disabled) {
  background: var(--mist);
}

.cal-day:disabled {
  color: #b4c2ba;
  font-weight: 500;
  cursor: default;
}

.cal-day.is-today {
  box-shadow: inset 0 0 0 2px var(--sun);
}

.cal-day.in-range {
  border-radius: 0;
  background: var(--mist);
}

.cal-day.is-selected,
.cal-day.is-selected:hover {
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
}

@keyframes picker-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes picker-sheet {
  from {
    transform: translateY(100%);
  }

  to {
    transform: none;
  }
}

/* O painel precisa ficar acima das seções seguintes */
.hero.picker-open,
.room-aside.picker-open {
  z-index: 130;
}

@media (max-width: 1060px) {
  .booking-fields .field:nth-child(2) .picker-panel--date {
    left: auto;
    right: 0;
  }
}

.booking--stack .field:nth-child(2) .picker-panel--date {
  left: auto;
  right: 0;
}

/* No celular, calendário e listas sobem de baixo da tela */
@media (max-width: 640px) {
  body.picker-locked {
    overflow: hidden;
  }

  .picker-panel,
  .picker-panel--date,
  .picker-panel.is-up,
  .booking-fields .field:nth-child(2) .picker-panel--date {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: none;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    padding: 16px 16px max(18px, env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    box-shadow: 0 0 0 100vmax rgba(7, 30, 22, 0.55);
    animation: picker-sheet 0.22s ease-out;
  }

  .picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--forest);
    font-family: var(--font-title);
    font-size: 1.2rem;
  }

  .picker-option {
    min-height: 54px;
    font-size: 1.05rem;
  }

  .picker-panel--date .cal-days,
  .picker-panel--date .cal-week {
    max-width: 420px;
    margin-inline: auto;
  }
}

/* 7. Quartos -------------------------------------------------------------------------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: box-shadow 0.28s, transform 0.28s;
}

.room-card:hover,
.room-card:focus-within {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.room-card-media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--mist);
}

.room-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.room-card:hover .room-card-media img {
  transform: scale(1.07);
}

.room-card-media::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, rgba(11, 70, 50, 0) 0%, rgba(11, 70, 50, 0.35) 100%);
  pointer-events: none;
}

/* Número do quarto dentro de um pequeno sol */
.room-number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 6px 16px rgba(11, 70, 50, 0.22);
  color: var(--forest);
  font-family: var(--font-title);
  font-size: 1.5rem;
  line-height: 1;
}

.room-card-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 700;
}

.room-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
}

.room-card h2,
.room-card h3 {
  font-size: 1.7rem;
}

.room-card h2 a,
.room-card h3 a {
  color: inherit;
  text-decoration: none;
}

/* O card inteiro leva para a página do quarto */
.room-card h2 a::after,
.room-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.room-card-text {
  color: var(--ink-soft);
  font-size: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 600;
}

.chips li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.room-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.room-card-actions .btn {
  position: relative;
  z-index: 1;
  padding-inline: 12px;
}

@media (max-width: 340px) {
  .room-card-actions {
    grid-template-columns: 1fr;
  }
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.compare th,
.compare td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  border-bottom: 0;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
}

.compare tbody th {
  font-weight: 700;
  color: var(--forest);
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }

  .compare tbody th {
    background: var(--mist);
  }

  .compare td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    text-align: right;
  }

  .compare td::before {
    content: attr(data-label);
    flex: none;
    max-width: 50%;
    color: var(--ink-soft);
    font-weight: 600;
    text-align: left;
  }

  .compare tr:not(:last-child) td:last-child {
    border-bottom: 1px solid var(--line);
  }
}

/* 8. Página do quarto ------------------------------------------------------------------- */
.page-top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(24px, 3vw, 40px) clamp(84px, 11vw, 150px);
  background:
    radial-gradient(45% 80% at 92% 0%, rgba(255, 242, 0, 0.24) 0%, rgba(255, 242, 0, 0) 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
}

.page-top .lead {
  max-width: 42em;
  margin-top: 14px;
}

.page-top .chips {
  margin-top: 18px;
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: 0.925rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  list-style: none;
}

.breadcrumb a {
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--ink-soft);
}

.breadcrumb [aria-current] {
  color: var(--ink-soft);
}

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 225px);
  gap: 12px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(n + 6) {
  display: none;
}

.gallery-all {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font: inherit;
  font-size: 0.925rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s;
}

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

.gallery-all svg {
  width: 18px;
  height: 18px;
}

.room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.room-block h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

.room-block + .room-block {
  margin-top: clamp(34px, 4vw, 50px);
}

.room-block p + p {
  margin-top: 12px;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 12px;
  list-style: none;
}

.amenities li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: var(--mist);
  font-weight: 600;
  line-height: 1.3;
}

.amenities svg {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--brand-deep);
}

.notice {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--sun-soft);
}

.room-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

@media (max-width: 960px) {
  .room-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .room-aside {
    position: relative;
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 26vw;
    gap: 8px;
  }

  .gallery-item {
    border-radius: 14px;
  }

  .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: span 3;
  }

  .gallery-item:nth-child(n + 5) {
    display: none;
  }

  .gallery-all {
    top: 12px;
    right: auto;
    bottom: auto;
    left: 12px;
  }
}

/* 9. Seções da home ------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

/* Mosaico das fotos dos quartos */
.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  aspect-ratio: 1 / 1;
}

.mosaic-photo {
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.mosaic-photo:nth-child(1) {
  grid-row: span 2;
  border-radius: 50% 50% 26px 26px / 28% 28% 26px 26px;
}

.mosaic-photo:nth-child(2) {
  border-radius: 26px 26px 26px 90px;
}

.mosaic-photo:nth-child(3) {
  border-radius: 26px;
}

.perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  list-style: none;
}

.perks li {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.perks svg {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--forest);
}

.perks strong {
  display: block;
  margin-bottom: 2px;
  color: var(--forest);
  font-size: 1.05rem;
  line-height: 1.3;
}

.perks span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Como funciona */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  counter-reset: passo;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  border-top: 2px dashed var(--hill-2);
}

.steps li {
  position: relative;
  text-align: center;
  counter-increment: passo;
}

.steps li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 8px var(--paper);
  color: var(--forest);
  font-family: var(--font-title);
  font-size: 1.8rem;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--forest);
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 400;
}

.steps span {
  display: block;
  max-width: 28ch;
  margin-inline: auto;
  color: var(--ink-soft);
}

.seo-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 64px);
  margin-top: clamp(52px, 7vw, 88px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.seo-note h2 {
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
}

.seo-note p {
  color: var(--ink-soft);
}

.seo-note p + p {
  margin-top: 12px;
}

.map-frame {
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  border: 7px solid var(--paper);
  border-radius: var(--radius-lg);
  background: var(--mist);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.place-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.place-pills li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font-size: 0.925rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin-top: 24px;
  list-style: none;
}

.place-grid li {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.place-grid strong {
  display: block;
  color: var(--forest);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 400;
}

.place-grid span {
  color: var(--ink-soft);
  font-size: 0.975rem;
}

.address-card {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.address-card svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--forest);
}

.address-card strong {
  color: var(--forest);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}

.faq-side p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--ink-soft);
}

.faq-side .btn {
  margin-top: 20px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 16px;
  background: var(--mist);
  transition: background-color 0.2s, box-shadow 0.2s;
}

.faq details[open] {
  background: var(--paper);
  box-shadow: var(--shadow);
}

.faq summary {
  position: relative;
  padding: 18px 60px 18px 20px;
  color: var(--forest);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand-deep);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s, background-color 0.2s;
}

.faq details[open] summary::after {
  background: var(--sun);
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .split,
  .seo-note,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    max-width: 460px;
    margin-inline: auto;
  }

  .steps::before {
    display: none;
  }

  .steps li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
    text-align: left;
  }

  .steps li::before {
    grid-row: span 2;
    width: 60px;
    height: 60px;
    margin: 0;
    font-size: 1.5rem;
  }

  .steps span {
    margin-inline: 0;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .perks {
    grid-template-columns: minmax(0, 1fr);
  }

  .perks li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
  }

  .perks svg {
    grid-row: span 2;
    margin: 0;
  }

  .mosaic {
    gap: 10px;
  }
}

/* 10. Conteúdo e guia ----------------------------------------------------------------- */
.prose h2 {
  margin-top: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem);
}

.prose h3 {
  margin-bottom: 6px;
}

.prose p + p {
  margin-top: 14px;
}

.type-grid,
.region-grid {
  display: grid;
  gap: 14px;
  margin-block: 20px;
  list-style: none;
}

.type-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.region-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.type-grid li,
.region-grid > div {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--mist);
}

.type-grid strong {
  display: block;
  color: var(--forest);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 400;
}

.region-grid > div:first-child {
  grid-column: 1 / -1;
  background: var(--sun-soft);
}

.not-found {
  padding-block: clamp(64px, 12vw, 140px);
  text-align: center;
}

.not-found .link-row {
  justify-content: center;
}

/* 11. Faixa final ---------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(60px, 8vw, 104px);
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-2) 100%);
  color: #fff;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  max-width: 15em;
  color: #fff;
}

.cta-band p {
  max-width: 32em;
  margin-top: 14px;
  color: #dcefe5;
}

.cta-band .btn {
  margin-top: 26px;
}

.cta-scene {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(58%, 780px);
  height: auto;
}

@media (max-width: 860px) {
  .cta-band {
    padding-bottom: 0;
  }

  .cta-scene {
    position: relative;
    width: 100%;
    margin-top: 28px;
  }
}

/* 12. Rodapé ---------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(48px, 6vw, 72px) 26px;
  background: var(--paper);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr 1.3fr;
  gap: 32px;
}

.footer-brand img {
  width: 200px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 24em;
  color: var(--ink-soft);
}

.site-footer h2 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-list {
  display: grid;
  gap: 4px;
  list-style: none;
}

.footer-list a {
  display: inline-block;
  padding-block: 4px;
  color: var(--ink);
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.site-footer address {
  color: var(--ink);
  font-style: normal;
}

.site-footer .btn {
  margin-top: 14px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.925rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    padding-bottom: 100px;
  }
}

/* 13. WhatsApp flutuante ---------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.wa-float-icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3ae581 0%, #12a150 100%);
  box-shadow: 0 14px 30px rgba(18, 161, 80, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  color: #fff;
  transition: transform 0.22s;
}

.wa-float-icon svg {
  width: 36px;
  height: 36px;
}

/* Anel que chama a atenção sem incomodar */
.wa-float-icon::before,
.wa-float-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: wa-pulse 3.2s ease-out infinite;
}

.wa-float-icon::after {
  animation-delay: 1s;
}

.wa-float:hover .wa-float-icon {
  transform: scale(1.08);
}

.wa-float-label {
  position: relative;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.22s, transform 0.22s;
  pointer-events: none;
}

.wa-float-label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 14px;
  height: 14px;
  background: var(--paper);
  transform: translateY(-50%) rotate(45deg);
}

.wa-float-label small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.wa-float-label strong {
  color: var(--forest);
  font-size: 0.975rem;
}

.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label,
.wa-float.is-hint .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0% {
    opacity: 0.45;
    transform: scale(1);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@media (max-width: 640px) {
  .wa-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .wa-float-icon {
    width: 60px;
    height: 60px;
  }

  .wa-float-icon svg {
    width: 32px;
    height: 32px;
  }

  .wa-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

/* 14. Barra de reserva nas páginas de quarto (telas menores) ---------------------------- */
.reserve-bar {
  display: none;
}

@media (max-width: 960px) {
  .has-bar .wa-float {
    display: none;
  }

  .has-bar .site-footer {
    padding-bottom: 110px;
  }

  .reserve-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 26px rgba(11, 70, 50, 0.14);
  }

  .reserve-bar strong {
    display: block;
    color: var(--forest);
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.2;
  }

  .reserve-bar small {
    color: var(--ink-soft);
    font-size: 0.82rem;
  }

  .reserve-bar .btn {
    flex: none;
    padding-inline: 18px;
  }
}

/* 15. Lightbox --------------------------------------------------------------------------- */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(7, 30, 22, 0.95);
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(7, 30, 22, 0.95);
}

.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 64px 12px 16px;
}

.lightbox-img {
  flex: 0 1 auto;
  min-height: 0;
  max-width: min(100%, 1200px);
  max-height: calc(100% - 44px);
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-caption {
  flex: none;
  max-width: 60ch;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-btn {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--forest);
  cursor: pointer;
}

.lightbox-btn svg {
  width: 24px;
  height: 24px;
}

.lightbox-close {
  top: 10px;
  right: 12px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-count {
  position: absolute;
  top: 22px;
  left: 18px;
  font-size: 0.95rem;
}

/* 16. Animações ---------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .topbar,
  .wa-float,
  .reserve-bar,
  .booking,
  .cta-band {
    display: none;
  }
}
