/* ============ Floating extras + new sections ============ */

/* Scroll progress bar — top, very thin gold line */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--terra) 0%, var(--gold) 50%, var(--terra) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1000;
  pointer-events: none;
  transition: transform .12s ease-out;
}

/* WhatsApp floating button */
.wa-btn {
  position: fixed; bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -6px rgba(37,211,102,0.45), 0 4px 12px rgba(0,0,0,0.15);
  z-index: 400;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 16px 36px -6px rgba(37,211,102,0.55), 0 6px 16px rgba(0,0,0,0.2); }
.wa-btn__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 700px) {
  .wa-btn { bottom: 16px; left: 16px; width: 48px; height: 48px; }
  .wa-btn svg { width: 20px; height: 20px; }
}

/* Cookies banner */
.cookies {
  position: fixed; bottom: 16px; right: 16px; left: auto;
  max-width: 460px;
  background: var(--green-deep);
  color: var(--cream);
  padding: 22px 26px;
  z-index: 600;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  animation: cookies-in .6s cubic-bezier(.2,.7,.2,1) .8s both;
}
@keyframes cookies-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.cookies__inner { display: flex; flex-direction: column; gap: 16px; }
.cookies__body {
  font-size: 13px; line-height: 1.55;
  color: rgba(250,247,238,0.85);
  margin-top: 8px;
}
.cookies__link { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.cookies__actions { display: flex; gap: 10px; }
.cookies__btn {
  flex: 1;
  padding: 12px 14px;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(250,247,238,0.3);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: all .2s ease;
}
.cookies__btn--ghost:hover { border-color: var(--cream); }
.cookies__btn--solid { background: var(--cream); color: var(--green-deep); border-color: var(--cream); }
.cookies__btn--solid:hover { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
@media (max-width: 600px) {
  .cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px 20px; }
}

/* Section titles — animated underline that draws on reveal */
.h-title {
  position: relative;
}
.h-title.has-stroke::after {
  content: ''; display: block;
  width: 0; height: 1px;
  background: var(--terra);
  margin-top: 18px;
  transition: width 1.4s cubic-bezier(.2,.7,.2,1) .2s;
}
.reveal.visible .h-title.has-stroke::after,
.h-title.has-stroke.visible::after { width: 80px; }

/* Trust seals (Booking + Tripadvisor) */
.seals {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 32px;
}
.seal {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(250,247,238,0.95);
  border: 1px solid rgba(31,42,32,0.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.15);
  border-radius: 2px;
  text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.seal:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(0,0,0,0.22);
  border-color: rgba(31,42,32,0.18);
}
.seal__logo {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.seal__logo--booking { background: #003b95; }
.seal__logo--trip { background: transparent; }
.seal__body {
  display: flex; align-items: center; gap: 10px;
  line-height: 1.2;
}
.seal__score {
  font-size: 26px; font-weight: 500;
  color: var(--green-deep);
  background: var(--gold);
  padding: 2px 10px;
  border-radius: 2px;
}
.seal__body > div { display: flex; flex-direction: column; gap: 2px; }
.seal__platform { font-size: 13px; font-weight: 500; color: var(--ink); }
.seal__label { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.seal__stars { display: flex; gap: 2px; }
.seal__trip-body { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.seal__trip-row { display: flex; align-items: center; gap: 8px; }
.seal__trip-name { font-family: var(--serif); font-size: 16px; color: var(--green-deep); font-weight: 500; letter-spacing: -0.01em; }
.seal__trip-stars { display: inline-flex; gap: 1px; }

/* Inline seals on hero — darker variant */
.hero .seals { margin-top: 24px; }
.hero .seal { background: rgba(250,247,238,0.95); }

/* ========== Contact inline form ========== */
.contact-form {
  margin-top: 56px;
  padding: 40px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.08);
}
.contact-form__head { display: flex; flex-direction: column; gap: 6px; }
.contact-form__head h3 { font-size: 28px; color: var(--green-deep); font-weight: 400; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__submit { align-self: flex-start; }

/* Toggle WhatsApp / Email */
.contact-form__via { border: none; padding: 0; margin: 0; }
.contact-form__via legend { padding: 0; margin-bottom: 8px; }
.contact-form__via-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-form__via-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  background: var(--bg);
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.contact-form__via-opt input { display: none; }
.contact-form__via-opt:hover { background: var(--cream); }
.contact-form__via-opt.is-active { background: var(--bg-warm); border-color: var(--green-deep); }
.contact-form__via-opt.is-active svg { color: var(--green-deep); }
.contact-form__via-opt--wa svg { color: #25d366; }
.contact-form__via-opt--wa.is-active { border-color: #25d366; background: rgba(37,211,102,0.06); }
.contact-form__via-opt--wa.is-active svg { color: #25d366; }

/* Botão "Enviar pelo WhatsApp" verde */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1da851; }

/* Honeypot anti-spam — invisível para humanos. Reforçado com !important + display:none extra */
.contact-form__honeypot,
.contact-form__honeypot * {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Erro de envio */
.contact-form__error {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px;
  background: rgba(160,64,32,0.08);
  border-left: 3px solid var(--terra);
  border-radius: 2px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  animation: error-shake .4s cubic-bezier(.36,.07,.19,.97);
}
.contact-form__error strong { color: var(--terra-deep); }
.contact-form__error a { color: var(--green-deep); border-bottom: 1px solid; }
.contact-form__error small { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }
@keyframes error-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}

/* Spinner durante envio */
.contact-form__submit.is-sending { opacity: .7; cursor: wait; }
.contact-form__spinner { animation: spinner-rotate 1s linear infinite; }
@keyframes spinner-rotate { to { transform: rotate(360deg); } }

/* Vista de sucesso */
.contact-form--sent {
  align-items: center;
  text-align: center;
  padding: 56px 40px;
  gap: 16px;
}
.contact-form--sent h3 { font-size: 26px; color: var(--green-deep); margin-top: 8px; }
.contact-form--sent p { color: var(--ink-soft); max-width: 36ch; }
.contact-form--sent svg { animation: check-pop .5s cubic-bezier(.34,1.56,.64,1); }
@media (max-width: 700px) {
  .contact-form--sent { padding: 40px 20px; }
}

@media (max-width: 700px) {
  .contact-form { padding: 28px 20px; margin-top: 32px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form__head h3 { font-size: 22px; }
}

/* ========== Google Maps embed + CTA buttons ========== */
.contact__map {
  position: relative;
  min-height: 380px;
  background: var(--bg-warm);
  overflow: hidden;
  border-radius: 4px;
}
.contact__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.contact__map-overlay {
  position: absolute; top: 16px; left: 16px;
  background: var(--cream);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2);
  z-index: 2;
  border-radius: 4px;
}
.contact__map-overlay strong { font-family: var(--serif); font-size: 18px; color: var(--green-deep); }

/* Botões "Como chegar" — Google Maps + Waze */
.contact__map-cta {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  z-index: 2;
}
.contact__map-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--cream);
  color: var(--green-deep);
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--rule);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.contact__map-btn:hover, .contact__map-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.28);
}
.contact__map-btn--gmaps:hover { background: #4285F4; color: #fff; border-color: #4285F4; }
.contact__map-btn--waze:hover { background: #33ccff; color: #fff; border-color: #33ccff; }
.contact__map-btn svg { flex-shrink: 0; }
.contact__map-btn span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.contact__map-btn strong { font-size: 14px; font-weight: 500; }
.contact__map-btn small { font-size: 11px; color: var(--ink-mute); font-family: var(--mono); letter-spacing: .04em; }
.contact__map-btn--gmaps:hover small,
.contact__map-btn--waze:hover small { color: rgba(255,255,255,0.8); }

@media (max-width: 600px) {
  .contact__map { min-height: 320px; }
  .contact__map-overlay { padding: 10px 14px; }
  .contact__map-overlay strong { font-size: 16px; }
  .contact__map-btn { padding: 10px 12px; gap: 8px; }
  .contact__map-btn strong { font-size: 13px; }
  .contact__map-btn small { font-size: 10px; }
}
.contact__map-directions {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 32px;
}
.directions-row {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.directions-row:last-child { border-bottom: none; }
.directions-row__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  color: var(--terra-deep);
}
.directions-row__title { font-family: var(--serif); font-size: 19px; color: var(--green-deep); margin-bottom: 4px; }
.directions-row__body { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ========== Breakfast menu ========== */
.bf-menu {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.bf-menu__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.bf-menu__title { font-family: var(--serif); font-size: 28px; color: var(--green-deep); }
.bf-menu__time { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.bf-menu__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 880px) { .bf-menu__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bf-menu__grid { grid-template-columns: 1fr; } }
.bf-item {
  display: flex; flex-direction: column; gap: 10px;
  padding-bottom: 8px;
}
.bf-item__dots {
  display: flex; align-items: center; gap: 8px;
  color: var(--terra);
}
.bf-item__dots::before, .bf-item__dots::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}
.bf-item__dots svg { opacity: .7; }
.bf-item__name { font-family: var(--serif); font-size: 19px; color: var(--green-deep); line-height: 1.25; }
.bf-item__desc { font-size: 13px; color: var(--ink-mute); line-height: 1.55; }

/* ========== Local recommendations strip (added to Viana section bottom) ========== */
.recs {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--rule);
}
.recs__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.recs__title { font-family: var(--serif); font-size: 32px; color: var(--green-deep); font-weight: 300; }
.recs__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.recs__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .recs__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .recs__grid { grid-template-columns: 1fr; } }
.rec {
  padding: 22px;
  border: 1px solid var(--rule);
  background: var(--cream);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .4s ease, border-color .3s ease, box-shadow .4s ease;
}
.rec:hover { transform: translateY(-3px); border-color: var(--terra); box-shadow: 0 16px 30px -16px rgba(0,0,0,0.15); }
.rec__cat { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.rec__name { font-family: var(--serif); font-size: 20px; color: var(--green-deep); line-height: 1.25; }
.rec__by { font-size: 12px; color: var(--ink-mute); font-style: italic; }
.rec__meta { display: flex; gap: 12px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule); align-items: center; }
.rec__km { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-mute); }
.rec__price { font-family: var(--serif); font-size: 14px; color: var(--terra-deep); }

/* PetalLayer removido (efeito lia-se como neve a cair). */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .wa-btn__pulse { animation: none; }
}

/* ============ Mobile sticky CTA bar ============ */
.mcta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.18);
  display: none;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 1px;
  z-index: 450;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}
.mcta.is-shown { transform: translateY(0); }
.mcta.is-hidden { transform: translateY(100%); }
.mcta__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 8px;
  min-height: 48px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  background: var(--cream); color: var(--green-deep);
  border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mcta__btn:active { background: var(--bg-warm); }
.mcta__btn--ghost { border-right: 1px solid var(--rule); }
.mcta__btn--solid { background: var(--green-deep); color: var(--cream); }
.mcta__btn--solid:active { background: var(--green-deeper, #16221a); }
@media (max-width: 760px) {
  .mcta { display: grid; }
  body { padding-bottom: 60px; } /* room for bar */
  .wa-btn { bottom: 76px; }
}

/* ============ Custom cursor (desktop) ============ */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin: -3px 0 0 -3px;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    margin: -18px 0 0 -18px;
    transition: width .3s cubic-bezier(.2,.7,.2,1), height .3s cubic-bezier(.2,.7,.2,1), margin .3s cubic-bezier(.2,.7,.2,1), background .3s ease, border-color .3s ease;
    display: flex; align-items: center; justify-content: center;
  }
  .cursor-ring__label {
    font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--green-deep);
    opacity: 0; transition: opacity .25s ease;
  }
  .cursor-ring.is-active {
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
    background: var(--gold);
    border-color: var(--gold);
  }
  .cursor-ring.is-active .cursor-ring__label { opacity: 1; }
}

/* ============ Magnetic buttons ============ */
.magnetic {
  display: inline-flex;
  transform: translate(var(--mag-x, 0), var(--mag-y, 0));
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

/* ============ Stagger + zoom on room cards ============ */
.rooms__grid .room-card {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
.rooms__grid.is-revealed .room-card { opacity: 1; transform: none; }

.room-card__media { overflow: hidden; }
.room-card__media .photo {
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .6s ease;
  will-change: transform;
}
.room-card:hover .room-card__media .photo {
  transform: scale(1.06);
  filter: brightness(1.04) saturate(1.05);
}
.room-card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,42,32,0.35));
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.room-card:hover .room-card__media::after { opacity: 1; }

/* ============ Section dividers ============ */
.section-divider {
  display: flex; justify-content: center;
  margin: 64px 0;
  color: var(--terra);
}
.section-divider svg path,
.section-divider svg circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.section-divider svg circle:nth-child(2) { transition-delay: .15s; }
.section-divider svg circle:nth-child(3) { transition-delay: .3s; }
.section-divider svg circle:nth-child(4) { transition-delay: .45s; }
.section-divider.is-drawn svg path,
.section-divider.is-drawn svg circle { stroke-dashoffset: 0; }

/* ============ Word-by-word fade ============ */
.word-fade .wf-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--wfi) * 70ms);
}
.word-fade.is-revealed .wf-word { opacity: 1; transform: none; }

/* ============ Hero parallax bg ============ */
.hero__bg .photo.is-parallax {
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

/* ============ Tilt on hover for rec cards (subtle) ============ */
@media (hover: hover) and (pointer: fine) {
  .rec, .room-card {
    transform-style: preserve-3d;
    perspective: 800px;
  }
}

/* ============ FAQ — search, categories, animated accordion ============ */
.faq__controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.faq__search {
  position: relative; display: flex; align-items: center;
  background: var(--cream); border: 1px solid var(--rule);
  border-radius: 999px; padding: 0 18px; transition: border-color .25s ease, box-shadow .25s ease;
}
.faq__search:focus-within { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(212,175,108,0.15); }
.faq__search svg { color: var(--ink-mute); flex-shrink: 0; }
.faq__search input {
  flex: 1; border: none; background: transparent; outline: none;
  padding: 14px 12px; font-size: 14px; color: var(--ink);
  font-family: var(--sans);
}
.faq__search-clear { background: none; border: none; color: var(--ink-mute); font-size: 22px; cursor: pointer; padding: 0; line-height: 1; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.faq__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.faq__cat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: transparent;
  border: 1px solid var(--rule); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.faq__cat:hover { border-color: var(--terra); color: var(--green-deep); transform: translateY(-1px); }
.faq__cat.is-active { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); }
.faq__cat-count { font-size: 9px; padding: 2px 6px; background: rgba(31,42,32,0.06); border-radius: 999px; }
.faq__cat.is-active .faq__cat-count { background: rgba(250,247,238,0.18); color: var(--gold); }

.faq__item {
  border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateY(8px);
  animation: faq-in .5s cubic-bezier(.2,.7,.2,1) calc(min(var(--fi, 0), 12) * 50ms) both;
}
@keyframes faq-in { to { opacity: 1; transform: none; } }
.faq__q {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto;
  gap: 18px; align-items: center;
  padding: 22px 4px; background: none; border: none;
  text-align: left; cursor: pointer;
  transition: padding .3s ease;
}
.faq__q:hover { padding-left: 8px; }
.faq__q-text { font-size: 19px; line-height: 1.3; color: var(--green-deep); transition: color .25s ease; }
.faq__item.is-open .faq__q-text { color: var(--terra-deep); }
.faq__num { color: var(--terra); }
.faq__icon {
  position: relative; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule); border-radius: 50%;
  transition: background .3s ease, border-color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.faq__icon-bar { position: absolute; width: 10px; height: 1px; background: var(--green-deep); transition: transform .35s cubic-bezier(.2,.7,.2,1), background .25s ease; }
.faq__icon-bar--v { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--green-deep); border-color: var(--green-deep); transform: rotate(180deg); }
.faq__item.is-open .faq__icon-bar { background: var(--gold); }
.faq__item.is-open .faq__icon-bar--v { transform: rotate(0); opacity: 0; }
.faq__a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.faq__item.is-open .faq__a-wrap { grid-template-rows: 1fr; }
.faq__a-wrap > .faq__a { overflow: hidden; }
.faq__a {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0 4px 22px;
  font-size: 14.5px; line-height: 1.7; color: var(--ink-soft);
}
.faq__a-tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra); padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px;
}
.faq__empty { padding: 40px 0; text-align: center; color: var(--ink-mute); font-style: italic; }
.faq__cta {
  margin-top: 48px; padding: 32px;
  background: var(--bg-warm); border: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.faq__cta-title { font-size: 22px; color: var(--green-deep); }

@media (max-width: 600px) {
  .faq__q-text { font-size: 16px; }
  .faq__cta { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ============================================================
   MOBILE PROFESSIONAL ANIMATIONS
   ============================================================ */

/* === Tap feedback (haptic-feel) — all interactive elements on touch === */
@media (hover: none) and (pointer: coarse) {
  .btn, .room-card, .gallery__item, .nav__link, .faq__q,
  .mobile-bar__btn, .recommend__card, .breakfast__menu-item,
  .footer__link, .footer__livro, .room-modal__nav-btn {
    transition: transform .12s cubic-bezier(.2,.7,.2,1), opacity .12s ease, box-shadow .12s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  /* Touch targets ≥44px em mobile */
  .gallery__filter, .faq__cat, .nav__lang-item, .mobile-menu__lang { min-height: 44px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .btn:active, .room-card:active, .gallery__item:active,
  .mobile-bar__btn:active, .recommend__card:active, .footer__livro:active,
  .faq__q:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
  .btn-primary:active { box-shadow: 0 4px 14px -4px rgba(212,175,108,0.4); }
}

/* === Touch ripple (Material-style, gold) === */
.ripple-host { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,108,0.55) 0%, rgba(212,175,108,0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-out .65s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes ripple-out {
  to { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}

/* === Mobile-specific scroll reveal: slide from side instead of fade up === */
@media (max-width: 768px) {
  .reveal-mobile-left { opacity: 0; transform: translateX(-32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal-mobile-right { opacity: 0; transform: translateX(32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal-mobile-left.is-in, .reveal-mobile-right.is-in { opacity: 1; transform: translateX(0); }

  /* Sequential cards drift in like cards being dealt */
  .room-card { animation: card-deal .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 100ms); }
  @keyframes card-deal {
    from { opacity: 0; transform: translateY(40px) rotate(-1.2deg); }
    to { opacity: 1; transform: none; }
  }

  /* Gallery photos: alternating slide */
  .gallery__item:nth-child(odd) { animation: slide-from-l .7s cubic-bezier(.2,.7,.2,1) both; }
  .gallery__item:nth-child(even) { animation: slide-from-r .7s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes slide-from-l { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
  @keyframes slide-from-r { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
}

/* === Mobile swipe indicators on horizontal scrollers === */
.swipe-hint {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(31,42,32,0.9); color: var(--gold);
  border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none;
  animation: swipe-pulse 2.4s ease-in-out infinite;
  z-index: 5;
}
.swipe-hint svg { animation: swipe-arrow 2.4s ease-in-out infinite; }
@keyframes swipe-pulse {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  20%, 80% { opacity: 1; }
  50% { opacity: 0.85; }
}
@keyframes swipe-arrow {
  0%, 100% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
}
@media (hover: none) and (pointer: coarse) {
  .swipe-hint { display: inline-flex; }
  .swipe-hint.is-dismissed { display: none; }
}

/* === Bottom sheet drag handle (for modals on mobile) === */
@media (max-width: 768px) {
  .booking-modal__panel, .room-modal__panel {
    border-radius: 24px 24px 0 0;
    animation: sheet-up .45s cubic-bezier(.2,.7,.2,1) both;
  }
  .booking-modal__panel::before, .room-modal__panel::before {
    content: ""; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 4px;
    background: rgba(31,42,32,0.18); border-radius: 999px;
  }
  @keyframes sheet-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

/* === Mobile parallax on hero (gentler than desktop) === */
@media (max-width: 768px) {
  .hero__image { will-change: transform; }
}

/* === Mobile section reveal: stagger headings word-by-word === */
@media (max-width: 768px) {
  .h-title.in-view .word {
    display: inline-block;
    animation: word-rise .6s cubic-bezier(.2,.7,.2,1) both;
    animation-delay: calc(var(--w, 0) * 70ms);
  }
  @keyframes word-rise {
    from { opacity: 0; transform: translateY(0.5em); }
    to { opacity: 1; transform: none; }
  }
}

/* === Mobile bottom CTA bar — bouncy entrance === */
@media (max-width: 768px) {
  .mobile-bar.is-visible { animation: bar-bounce-in .5s cubic-bezier(.34,1.56,.64,1) both; }
  @keyframes bar-bounce-in {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
  }
}

/* === Pull-down indicator at top of long scrolls (only at top) === */
@media (max-width: 768px) {
  .scroll-progress { height: 3px; }
}

/* ============ PACKAGES ============ */
.packages { padding: 100px 0; background: var(--bg-warm); position: relative; }
.packages__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.packages__sub { margin-top: 16px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.packages__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.pack-card {
  background: var(--cream); border: 1px solid var(--rule);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.pack-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terra), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.pack-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(31,42,32,0.25); border-color: var(--gold); }
.pack-card:hover::before { transform: scaleX(1); }
.pack-card__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pack-card__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra-deep); padding: 5px 10px;
  background: rgba(212,128,108,0.08); border: 1px solid rgba(212,128,108,0.2); border-radius: 999px;
}
.pack-card__save {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--cream); padding: 5px 10px;
  background: var(--green-deep); border-radius: 4px;
}
.pack-card__badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); padding: 5px 10px;
  border: 1px dashed var(--rule); border-radius: 4px;
}
.pack-card__title { font-size: 26px; line-height: 1.2; color: var(--green-deep); }
.pack-card__price { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pack-card__price-val { font-family: var(--serif); font-size: 38px; font-weight: 300; color: var(--terra-deep); }
.pack-card__price-meta { font-size: 13px; color: var(--ink-mute); }
.pack-card__includes ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pack-card__includes li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.pack-card__includes svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.pack-card__cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) {
  .packages__grid { grid-template-columns: 1fr; }
  .pack-card { padding: 24px; }
  .pack-card__title { font-size: 22px; }
  .pack-card__price-val { font-size: 32px; }
}

/* ============ STATS ============ */
.stats { padding: 80px 0; background: var(--green-deep); color: var(--cream); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats__item { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 0 16px; position: relative; }
.stats__item:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 20%; height: 60%; width: 1px;
  background: rgba(250,247,238,0.15);
}
.stats__num {
  font-size: clamp(48px, 6vw, 80px); font-weight: 300; line-height: 1;
  color: var(--gold); letter-spacing: -0.02em;
}
.stats__lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(250,247,238,0.7); }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stats__item:not(:last-child)::after { display: none; }
}

/* ============ DIVIDER ============ */
.divider { padding: 48px 0; display: flex; justify-content: center; color: var(--gold); }
.divider__svg { width: min(520px, 80%); height: 40px; }
.divider__line { stroke-dasharray: 240; stroke-dashoffset: 240; animation: dline 1.4s cubic-bezier(.2,.7,.2,1) forwards; }
.divider__motif { opacity: 0; animation: dmotif .6s cubic-bezier(.2,.7,.2,1) 1.1s forwards; }
@keyframes dline { to { stroke-dashoffset: 0; } }
@keyframes dmotif { to { opacity: 1; } }

/* Hide custom cursor over text inputs/buttons that aren't media */
.cursor-ring, .cursor-dot { transition-property: opacity, transform, width, height, margin, background, border-color; }
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor, body.has-custom-cursor * { cursor: none; }
  body.has-custom-cursor input, body.has-custom-cursor textarea, body.has-custom-cursor select { cursor: text; }
}

/* ============ DATE RANGE CALENDAR (vvf-cal) ===========================
   Calendário inline custom (sem libraries), usado no BookingModal e no
   Hero strip. Mostra dias com 0 quartos livres como bloqueados.
   ===================================================================== */
.vvf-cal { display: flex; flex-direction: column; gap: 16px; }
.vvf-cal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.vvf-cal__legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vvf-cal__field { display: flex; flex-direction: column; min-width: 80px; }
.vvf-cal__field-label {
  font-family: var(--sans); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 500;
}
.vvf-cal__field strong {
  font-size: 18px; font-weight: 400; color: var(--ink); line-height: 1.2;
}
.vvf-cal__sep { color: var(--gold); font-size: 14px; line-height: 1; }
.vvf-cal__clear {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); padding: 4px 10px;
  border: 1px solid var(--rule); background: transparent; cursor: pointer;
  transition: all .2s ease;
}
.vvf-cal__clear:hover { border-color: var(--ink); color: var(--ink); }
.vvf-cal__nav { display: flex; gap: 4px; }
.vvf-cal__navbtn {
  width: 36px; height: 36px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--rule); background: var(--cream);
  font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer;
  transition: all .2s ease;
}
.vvf-cal__navbtn:hover:not(:disabled) { background: var(--bg-warm); border-color: var(--ink); }
.vvf-cal__navbtn:disabled { opacity: 0.3; cursor: not-allowed; }
.vvf-cal__status {
  padding: 6px 10px; background: var(--bg-warm); border-left: 3px solid var(--gold);
  font-size: 11px;
}
.vvf-cal__status--warn { border-left-color: var(--terra, #a04020); color: var(--terra, #a04020); }
.vvf-cal__months {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.vvf-cal--compact .vvf-cal__months { grid-template-columns: 1fr; }
@media (max-width: 700px) {
  .vvf-cal__months { grid-template-columns: 1fr; gap: 20px; }
}
.vvf-cal__month-title {
  display: flex; align-items: baseline; gap: 8px; padding: 0 0 10px;
  border-bottom: 1px solid var(--rule); margin-bottom: 8px;
}
.vvf-cal__month-title .serif {
  font-size: 22px; font-weight: 400; color: var(--ink); line-height: 1;
  font-style: italic;
}
.vvf-cal__year {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute);
}
.vvf-cal__weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0;
  text-align: center; padding: 4px 0;
}
.vvf-cal__weekdays span {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 500;
}
.vvf-cal__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0;
  outline: none;
}
.vvf-cal__cell {
  position: relative; aspect-ratio: 1 / 1; min-height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; font-weight: 400;
  color: var(--ink); background: transparent; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.vvf-cal__cell--empty { cursor: default; }
.vvf-cal__cell:not(:disabled):hover {
  background: var(--bg-warm); color: var(--green-deep);
}
.vvf-cal__cell.is-today .vvf-cal__num {
  text-decoration: underline; text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.vvf-cal__cell.is-disabled {
  color: var(--ink-mute); opacity: 0.45; cursor: not-allowed;
  background: transparent;
}
.vvf-cal__cell.is-full {
  color: var(--ink-mute); cursor: not-allowed;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 4px,
    rgba(160, 64, 32, 0.08) 4px, rgba(160, 64, 32, 0.08) 5px
  );
}
.vvf-cal__cell.is-full .vvf-cal__num { text-decoration: line-through; text-decoration-color: rgba(160,64,32,0.6); }
.vvf-cal__cell.is-in-range {
  background: var(--bg-warm); color: var(--green-deep);
}
.vvf-cal__cell.is-start, .vvf-cal__cell.is-end {
  background: var(--green-deep); color: var(--cream);
  font-weight: 500;
}
.vvf-cal__cell.is-start:hover, .vvf-cal__cell.is-end:hover {
  background: var(--green-deep); color: var(--cream);
}
.vvf-cal__cell.is-focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.vvf-cal__hint {
  min-height: 18px; color: var(--ink-mute); font-size: 11px;
}

/* === Hero strip — calendar inline trigger ===
   No hero strip o calendário fica num popover compacto. Para já mostramos
   só os labels com placeholders e o calendário abre no clique. */
.booking-strip__caltrigger {
  border: none; background: transparent; padding: 0;
  text-align: left; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.booking-strip__caltrigger.is-empty { color: var(--ink-mute); font-weight: 400; }
.booking-strip__calpopover {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--cream); border: 1px solid var(--rule);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  padding: 24px; z-index: 50; max-width: 760px; margin: 0 auto;
}
.booking-strip { position: relative; }
@media (max-width: 700px) {
  .booking-strip__calpopover { padding: 16px; }
}

/* ============ WHY HERE ============ */
.why-here {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--bg-warm, #efe9d9);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.why-here__head {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 680px;
}
.why-here__title {
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 300;
  margin-top: 8px;
  color: var(--ink);
  font-style: italic;
}
.why-here__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.why-here__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.why-here__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.why-here__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.why-here__text strong {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}
.why-here__text .caption {
  color: var(--ink-mute);
  font-size: 11px;
}
@media (max-width: 760px) {
  .why-here__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}
@media (max-width: 480px) {
  .why-here__grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ============ REASSURANCE BLOCK ============ */
.reassurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.reassurance__item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  background: rgba(250, 247, 238, 0.08);
  border: 1px solid rgba(250, 247, 238, 0.18);
  backdrop-filter: blur(4px);
  color: var(--cream);
  min-width: 0;
}
.reassurance__icon { flex-shrink: 0; opacity: 0.85; margin-top: 2px; }
.reassurance__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reassurance__text strong {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--cream); line-height: 1.25;
}
.reassurance__text span {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.06em; line-height: 1.3;
  color: rgba(250,247,238,0.7);
}
/* Variante "modal" — fundo claro, texto escuro */
.reassurance--modal {
  margin-top: 0; margin-bottom: 20px;
}
.reassurance--modal .reassurance__item {
  background: var(--bg-warm, #efe9d9);
  border-color: var(--rule);
  color: var(--ink);
  backdrop-filter: none;
}
.reassurance--modal .reassurance__text strong { color: var(--ink); }
.reassurance--modal .reassurance__text span { color: var(--ink-mute); }
.reassurance--modal .reassurance__icon { color: var(--green-deep); opacity: 1; }
@media (max-width: 760px) {
  .reassurance { grid-template-columns: 1fr; gap: 8px; }
  .reassurance__item { padding: 10px 12px; }
}

/* ============ TRUST SEALS BREAKDOWN ============ */
.seals__breakdown {
  flex-basis: 100%;
  display: flex;
  gap: 18px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(250,247,238,0.15);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.seals__breakdown::-webkit-scrollbar { display: none; }
.seals__breakdown-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  flex-shrink: 0; min-width: 56px;
}
.seals__breakdown-num {
  font-size: 17px; font-weight: 400; color: var(--cream); line-height: 1;
}
.seals__breakdown-lbl {
  font-family: var(--sans); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(250,247,238,0.65); font-weight: 500;
}

/* ============ MOBILE: hero booking strip empilhado ============ */
@media (max-width: 600px) {
  .booking-strip { margin: 0 16px 32px; }
  .booking-strip__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
  }
  .booking-strip__divider { display: none; }
  .booking-strip__field {
    background: var(--cream);
    padding: 12px 14px;
    min-height: 56px;
  }
  /* CTA ocupa linha inteira em baixo */
  .booking-strip__submit {
    grid-column: 1 / -1;
    padding: 18px;
    justify-content: center;
    font-size: 13px;
  }
  /* Popover do calendário em mobile = drawer fixed bottom com backdrop. */
  .booking-strip__calpopover {
    position: fixed;
    top: auto; bottom: 0; left: 0; right: 0;
    margin: 0;
    max-width: none;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
    z-index: 90;
    box-shadow: 0 -20px 60px -10px rgba(0,0,0,0.45);
    padding: 8px 16px 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 24px));
    animation: vvf-cal-slideup .28s cubic-bezier(.2,.7,.2,1) both;
  }
  .booking-strip__calhandle {
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0,0,0,0.18);
    margin: 6px auto 14px;
  }
  .booking-strip__calbackdrop {
    position: fixed;
    inset: 0;
    background: rgba(20,18,15,0.45);
    z-index: 85;
    animation: vvf-cal-fadein .22s ease both;
  }
  @keyframes vvf-cal-slideup {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  @keyframes vvf-cal-fadein {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
/* Desktop: handle não é necessário, backdrop também não (popover já é absoluto). */
@media (min-width: 601px) {
  .booking-strip__calhandle,
  .booking-strip__calbackdrop { display: none; }
}

/* Direct-deal badge: encurta o texto longo em mobile */
@media (max-width: 600px) {
  .hero__direct-deal-text { display: none; }
  .hero__direct-deal::before {
    content: 'Direto: até -8%';
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
  }
}
.hero__lang-en .hero__direct-deal::before, html[lang="en"] .hero__direct-deal::before { content: 'Direct: up to -8%'; }
.hero__lang-es .hero__direct-deal::before, html[lang="es"] .hero__direct-deal::before { content: 'Directo: hasta -8%'; }
.hero__lang-fr .hero__direct-deal::before, html[lang="fr"] .hero__direct-deal::before { content: 'Direct : jusqu\'à -8%'; }

/* Calendar skeleton — substitui texto "A carregar…" por grelha animada */
.vvf-cal__skeleton {
  padding: 12px 0;
}
.vvf-cal__skel-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.vvf-cal__skel-cell {
  aspect-ratio: 1 / 1;
  min-height: 32px;
  background: linear-gradient(90deg, var(--rule) 0%, rgba(0,0,0,0.04) 50%, var(--rule) 100%);
  background-size: 200% 100%;
  animation: vvf-skel-shimmer 1.4s ease-in-out infinite;
  opacity: 0.4;
}
@keyframes vvf-skel-shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vvf-cal__skel-cell { animation: none; }
}

/* LQIP — placeholder de cor durante carregamento de imagens hero/galeria.
   Cada foto pode declarar uma data-bg-color via JSX para colour matching. */
.photo[data-loading="true"], .photo:not([style*="background-image"]) {
  background-color: var(--bg-warm, #efe9d9);
}

/* Lazy-loaded gallery photos — fade-in on load */
.gallery__photo {
  background-color: var(--bg-warm, #efe9d9);   /* LQIP enquanto carrega */
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transition: opacity .55s ease;
}
.gallery__photo.is-loaded {
  opacity: 1;
}

/* ============ INTERNAL PAGES (post / quarto / contactos) ============
   Páginas server-side renderizadas (PHP) com layout simples — não usam
   o bundle React. Estilo coerente com o design system do site. */
.page-header {
  background: var(--cream); border-bottom: 1px solid var(--rule);
  padding: 16px 0; position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px);
}
.page-header__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.page-header__logo { text-decoration: none; }
.page-header__lang { display: flex; gap: 8px; }
.page-header__lang-btn {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute); text-decoration: none;
  padding: 6px 10px; border: 1px solid transparent;
}
.page-header__lang-btn.is-active { color: var(--green-deep); border-color: var(--green-deep); }
.page-header__lang-btn:hover { color: var(--ink); }

.page-content {
  max-width: 760px; margin: 64px auto; padding: 0 24px; color: var(--ink);
}
.page-content--wide { max-width: 1100px; }
.page-content h1, .page-content h2 { color: var(--green-deep); }
.page-content h1 {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 0 0 24px;
}
.page-content .post__meta {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.page-content .post__hero {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 32px;
  border: 1px solid var(--rule);
}
.page-content .post__body p {
  font-family: var(--serif); font-size: 18px; line-height: 1.7; color: #3a3f38;
  margin: 0 0 20px;
}
.page-content .post__body p:first-of-type::first-letter {
  font-size: 3em; float: left; line-height: 0.9; padding: 4px 8px 0 0; color: var(--gold);
}
.page-content .post__back {
  display: inline-block; margin-top: 48px; padding: 12px 24px;
  border: 1px solid var(--rule); color: var(--ink); text-decoration: none;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-content .post__back:hover { background: var(--bg-warm); }

.page-footer {
  background: var(--green-deep); color: var(--cream);
  padding: 48px 24px 24px; margin-top: 96px;
}
.page-footer__inner {
  max-width: 1100px; margin: 0 auto; display: flex;
  justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px;
  border-bottom: 1px solid rgba(250,247,238,0.15);
}
.page-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.page-footer__contact { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.page-footer__contact a { color: var(--cream); text-decoration: none; font-family: var(--sans); font-size: 13px; }
.page-footer__contact a:hover { color: var(--gold); }
.page-footer__legal {
  max-width: 1100px; margin: 16px auto 0; font-size: 11px; color: rgba(250,247,238,0.5);
  text-align: center; line-height: 1.6;
}
@media (max-width: 600px) {
  .page-footer__inner { flex-direction: column; }
  .page-footer__contact { align-items: flex-start; }
}

/* Listagem de posts em /diario */
.page-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; margin-top: 48px; }
.page-list__item { display: flex; flex-direction: column; }
.page-list__item .photo {
  width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center;
  border: 1px solid var(--rule); margin-bottom: 12px;
}
.page-list__item h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; margin: 0 0 8px; line-height: 1.3;
}
.page-list__item h3 a { color: var(--ink); text-decoration: none; }
.page-list__item h3 a:hover { color: var(--green-deep); }
.page-list__item .meta { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.page-list__item p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* Quarto detail page */
.quarto-page { display: grid; grid-template-columns: 1fr 360px; gap: 48px; }
.quarto-page__photos img { width: 100%; height: auto; display: block; margin-bottom: 12px; border: 1px solid var(--rule); }
.quarto-page__cta {
  position: sticky; top: 96px; background: var(--bg-warm); padding: 24px;
  border: 1px solid var(--rule); align-self: flex-start;
}
.quarto-page__cta h2 { font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 300; margin: 0 0 12px; color: var(--ink); }
.quarto-page__cta .price { font-family: var(--serif); font-size: 36px; color: var(--green-deep); }
.quarto-page__cta a {
  display: block; padding: 14px; margin-top: 16px; text-align: center;
  text-decoration: none; font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.quarto-page__cta .btn-wa { background: #25d366; color: white; }
.quarto-page__cta .btn-book { background: var(--green-deep); color: var(--cream); }
@media (max-width: 800px) {
  .quarto-page { grid-template-columns: 1fr; }
  .quarto-page__cta { position: static; }
}
