/* ============================================================
   Carneiros Temporada — style.css
   Design Profissional Resort:
   - Tipografia diferenciada: Fraunces (display) + Manrope (leitura)
   - Paleta oficial da logomarca (sol, mar, arco e verde WhatsApp)
   - Mobile-first com suporte total a Android, iPhone e WhatsApp Web
   ============================================================ */

:root {
  /* Fundos neutros e claros (foco nas fotos) */
  --bg-page: #F7F4EF;
  --bg-soft: #F1ECE3;
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.92);

  /* Paleta Oficial da Logomarca */
  --brand-navy: #0B2545;        /* Oceano profundo (títulos e base) */
  --brand-ocean: #0277BD;       /* Azul da onda principal */
  --brand-ocean-dark: #004C8C;
  --brand-cyan: #29B6F6;        /* Turquesa da onda superior */
  --brand-sun: #FFA000;         /* Dourado do sol */
  --brand-orange: #FF6D00;      /* Laranja pôr do sol */
  --brand-magenta: #D81B60;     /* Rosa do arco externo */
  --brand-palm: #2E7D32;        /* Verde dos coqueiros */

  /* Gradientes Assinatura da Marca */
  --grad-brand-ring: linear-gradient(90deg, #FFB300 0%, #FF6D00 32%, #D81B60 66%, #0288D1 100%);
  --grad-ocean: linear-gradient(135deg, #0288D1 0%, #004C8C 100%);
  --grad-sunset: linear-gradient(135deg, #FFB300 0%, #FF6D00 55%, #D81B60 100%);
  --grad-whatsapp: linear-gradient(135deg, #25D366 0%, #128C7E 100%);

  /* Tinta e Linhas */
  --ink: #0B2545;
  --ink-secondary: #45596E;
  --ink-muted: #6E8299;
  --border: #E5DED2;
  --border-strong: #D4C9B8;

  /* Conversão WhatsApp */
  --wa-glow: rgba(37, 211, 102, 0.35);

  /* Geometria e Sombras */
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(11, 37, 69, 0.06);
  --shadow-card: 0 18px 48px rgba(11, 37, 69, 0.09);
  --shadow-float: 0 20px 50px rgba(11, 37, 69, 0.22);

  /* Safe-Area (iPhone e Android) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Tipografia Diferenciada */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Escala tipográfica padronizada (por função — usar estas variáveis em vez de valores soltos) */
  --fs-micro: 10.5px;     /* microlegendas uppercase (selos, badges, vídeo) */
  --fs-caption: 11.5px;   /* legendas, notas de rodapé, contador */
  --fs-sm: 12.5px;        /* chips, textos secundários, pills */
  --fs-body: 13.5px;      /* corpo de texto */
  --fs-lead: 14.5px;      /* subtítulos e botões secundários */
  --fs-base: 16px;        /* texto base e CTA principal */
  --ls-eyebrow: 0.18em;   /* rótulo grande uppercase (hero) */
  --ls-label: 0.08em;     /* selos/pills uppercase */
  --ls-display: -0.015em;/* títulos em Fraunces */

  --container: 1080px;
}

/* ── Reset Mobile-First ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  background-color: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 14px;
}

article,
section {
  scroll-margin-top: 176px;
}

/* ── Filete Cromático da Logomarca ── */
.brand-topline {
  height: 4px;
  width: 100%;
  background: var(--grad-brand-ring);
}

/* ═══════════ 1. CABEÇALHO MINIMALISTA ═══════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.topbar.scrolled {
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.09);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 3px 12px rgba(11, 37, 69, 0.14);
  padding: 2px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--brand-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text strong em {
  font-style: italic;
  color: var(--brand-magenta);
}

.brand-text small {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--brand-ocean);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* (O botão de WhatsApp do cabeçalho foi removido — permanece apenas o botão flutuante) */

/* ═══════════ BARRA DE ESCOLHA FIXA AO ROLAR (única — fica grudada abaixo do cabeçalho) ═══════════ */
.quick-nav-bar {
  position: sticky;
  top: 68px; /* altura do cabeçalho fixo (64px) + filete (4px) */
  z-index: 40;
  padding: 10px 0;
  background: var(--bg-page);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.quick-nav-bar.stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.08);
}

/* Esconde a barra quando uma foto/vídeo está aberto em tela cheia (lightbox) */
body.lb-open .quick-nav-bar {
  visibility: hidden;
  opacity: 0;
}

.quick-nav-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 460px;
}

/* Botão-cartão no estilo da referência: número itálico magenta em cima, nome embaixo */
.quick-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 3px;
  min-height: 56px;
  padding: 9px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.quick-chip-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-magenta);
}

.quick-chip-name {
  max-width: 100%;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-chip.active {
  border-color: var(--brand-navy);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.16);
}

.quick-chip:active {
  transform: scale(0.97);
}

/* ═══════════ HERO: CARROSSEL DE ALTO IMPACTO ═══════════ */
.hero {
  margin-top: 0;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: clamp(470px, 68vh, 620px);
  overflow: hidden;
  background: var(--brand-navy);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

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

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

.hero-slide.is-active img {
  animation: heroZoom 7s ease forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 37, 69, 0.55) 0%,
    rgba(11, 37, 69, 0.12) 42%,
    rgba(11, 37, 69, 0.78) 100%
  );
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
  z-index: 2;
  padding: 0 18px;
  text-align: center;
  color: #FFFFFF;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
}

.hero-eyebrow-line {
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 8.5vw, 58px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: var(--ls-display);
  margin-bottom: 10px;
}

.hero-content h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, #FFD54F 0%, #FF8A3D 45%, #FF4D8D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin: 0 auto;
}

.hero-sub strong {
  font-weight: 800;
  color: #FFFFFF;
}

.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

/* Dots com área de toque maior (o círculo visível fica menor via background-clip) */
.hero-dot {
  width: 26px;
  height: 26px;
  padding: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  background-clip: content-box;
  transition: all 0.3s ease;
}

.hero-dot.is-active {
  width: 36px;
  background: linear-gradient(90deg, var(--brand-sun), var(--brand-magenta));
  background-clip: content-box;
}

/* (Os cartões de escolha usam os estilos da barra fixa .quick-nav-bar acima) */

/* ═══════════ 2. VITRINE DE PROPRIEDADES ═══════════ */
.showcase {
  padding-top: 26px;
  padding-bottom: 30px;
}

.property {
  margin: 20px 0;
  /* Renderização preguiçosa: o navegador só pinta a seção quando perto da tela */
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* Cabeçalho Editorial da Propriedade */
.property-top {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.property-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 40px;
  font-weight: 600;
  line-height: 0.9;
  color: transparent;
  background: var(--grad-brand-ring);
  -webkit-background-clip: text;
  background-clip: text;
  padding-bottom: 4px;
}

.property-heading {
  flex: 1;
  min-width: 0;
}

/* Título da propriedade + selo na mesma linha */
.property-title-line {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

/* Selo "Preferido dos hóspedes" ao lado do título (único na página) — estilo cartão com louros + nota */
.guest-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFDF6;
  border: 0.5px solid #EBD9A8;
  border-radius: 14px;
  padding: 1px 12px;
  box-shadow: var(--shadow-sm);
}

.guest-badge .laurel {
  width: 15px;
  height: 32px;
  flex-shrink: 0;
}

.guest-badge .laurel-right {
  transform: scaleX(-1);
}

.guest-badge-text {
  font-size: var(--fs-micro);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #7A5A17;
  text-align: left;
}

.guest-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1;
  border-left: 1px solid #EBD9A8;
  padding-left: 10px;
}

.guest-score strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-navy);
}

.guest-stars {
  color: #F5A623;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.property h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 600;
  letter-spacing: var(--ls-display);
  line-height: 1.05;
  color: var(--brand-navy);
}

.property-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-secondary);
}

.property-loc svg {
  width: 14px;
  height: 14px;
  color: var(--brand-magenta);
  flex-shrink: 0;
}

.btn-open-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--brand-navy);
  font-size: var(--fs-caption);
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.18s ease;
}

.btn-open-all svg {
  width: 13px;
  height: 13px;
}

.btn-open-all:active {
  background: var(--brand-navy);
  color: #FFFFFF;
}

/* ── Galeria: Foto Principal + Faixa Horizontal ── */
.media-gallery {
  display: block;
}

.media-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #DDD5C6;
  transition: transform 0.18s ease;
}

.media-item:active {
  transform: scale(0.985);
}

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

.media-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.14) 0%, transparent 38%, rgba(11, 37, 69, 0.72) 100%);
  pointer-events: none;
}

.media-featured {
  aspect-ratio: 16 / 10.4;
  border-radius: var(--radius-xl);
}

.media-counter-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(11, 37, 69, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: var(--fs-caption);
  font-weight: 800;
  letter-spacing: var(--ls-label);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.media-caption-bar {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #FFFFFF;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: left;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.media-zoom-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.media-zoom-icon svg {
  width: 14px;
  height: 14px;
}

/* Faixa de Mídias com Rolagem Horizontal (snap) */
.media-strip {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.media-strip::-webkit-scrollbar {
  display: none;
}

.media-strip .media-item {
  width: 46%;
  flex: none;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
}

/* Vídeo na Faixa */
.video-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--grad-sunset);
  color: #FFFFFF;
  font-size: var(--fs-micro);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(216, 27, 96, 0.42);
}

.video-rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-magenta);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(11, 37, 69, 0.4);
  transition: transform 0.25s ease;
}

.video-play-btn svg {
  width: 21px;
  height: 21px;
  margin-left: 2px;
}

/* Overlay "Ver Todas" */
.more-photos-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(11, 37, 69, 0.56);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: var(--fs-sm);
  font-weight: 800;
  transition: background 0.25s ease;
}

.more-photos-overlay svg {
  width: 20px;
  height: 20px;
}

.media-item:active .more-photos-overlay {
  background: rgba(216, 27, 96, 0.6);
}

/* Aviso "Flats Idênticos" */
.flats-identical-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding: 11px 13px;
  background: #FFF8EA;
  border: 1px solid #F5DFAF;
  border-radius: 12px;
}

.flats-identical-note svg {
  width: 17px;
  height: 17px;
  color: var(--brand-sun);
  flex-shrink: 0;
  margin-top: 2px;
}

.flats-identical-note span {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #7A5A17;
  line-height: 1.5;
}

.flats-identical-note strong {
  font-weight: 800;
  color: #5C440F;
}

/* Chips de Comodidades */
.property-chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.property-chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 11px;
  border-radius: 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-navy);
}

.property-chips svg {
  width: 16px;
  height: 16px;
  color: var(--brand-magenta);
  flex-shrink: 0;
}

/* Card largo (ex.: rooftop com texto extenso) ocupa a linha inteira */
.property-chips li.chip-wide {
  grid-column: 1 / -1;
}

.property-summary {
  margin-top: 11px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ── Informativo de Valores de Referência ── */
.price-card {
  margin-top: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7EF 100%);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  border-bottom: 1px dashed var(--border-strong);
}

.price-card-head svg {
  width: 17px;
  height: 17px;
  color: var(--brand-magenta);
  flex-shrink: 0;
}

.price-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-navy);
}

.price-pill {
  margin-left: auto;
  font-size: var(--fs-micro);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--brand-palm);
  background: #E9F6EC;
  border: 1px solid #C8E8CE;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
}

.price-row + .price-row {
  border-top: 1px solid var(--bg-soft);
}

.price-period {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.price-period small {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--brand-magenta);
}

.price-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-ocean-dark);
  white-space: nowrap;
}

/* Linha de alta temporada destacada (janeiro) */
.price-row-season {
  flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(255, 160, 0, 0.1), rgba(216, 27, 96, 0.08));
}

.price-value-sm {
  font-size: var(--fs-body);
  text-align: right;
  white-space: normal;
}

.price-note {
  padding: 10px 14px 12px;
  margin: 0;
  font-size: var(--fs-caption);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-muted);
  border-top: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.6);
}

/* ── Botão Único de Conversão (Largura Total) ── */
.btn-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  background: var(--grad-whatsapp);
  color: #FFFFFF;
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: 0;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 14px 32px var(--wa-glow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-reserve:hover {
  filter: brightness(1.04);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.45);
}

.btn-reserve:active {
  transform: scale(0.98);
}

.btn-reserve svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

.btn-reserve-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn-reserve:hover .btn-reserve-arrow {
  transform: translateX(4px);
}

.property-footnote {
  text-align: center;
  margin-top: 9px;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* (O divisor "Opção 02 de 02" entre as seções foi removido) */

/* ═══════════ FESTIVAL DE FOTOS (SCROLL VERTICAL) ═══════════ */
.festival {
  margin-top: 30px;
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.festival-head {
  text-align: center;
  margin-bottom: 16px;
}

.festival-head h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.4vw, 34px);
  font-weight: 600;
  letter-spacing: var(--ls-display);
  color: var(--brand-navy);
}

.festival-head p {
  margin-top: 6px;
  font-size: var(--fs-body);
  color: var(--ink-secondary);
  font-weight: 500;
}

.festival-gallery {
  display: grid;
  gap: 10px;
}

.festival-item {
  aspect-ratio: 16 / 10;
}

.festival-item .media-caption-bar span:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

/* ═══════════ BANNER FINAL DE AJUDA ═══════════ */
.help-banner {
  margin-top: 30px;
  padding: 26px 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-navy) 0%, #103A66 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.help-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand-ring);
}

.help-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.help-emblem {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.help-emblem svg {
  width: 100%;
  height: 100%;
}

.help-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 4.4vw, 26px);
  font-weight: 600;
  letter-spacing: var(--ls-display);
}

.help-banner p {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-top: 4px;
}

.btn-help-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  width: 100%;
  max-width: 330px;
  background: var(--grad-whatsapp);
  color: #FFFFFF;
  font-size: var(--fs-lead);
  font-weight: 800;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.btn-help-wa svg {
  width: 20px;
  height: 20px;
}

.btn-help-wa:active {
  transform: scale(0.97);
}

/* ═══════════ RODAPÉ ═══════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
  padding: 26px 0 calc(104px + var(--safe-bottom));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 9px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.footer-brand svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-navy);
}

.footer-brand strong em {
  font-style: italic;
  color: var(--brand-magenta);
}

.footer-brand span {
  font-size: var(--fs-caption);
  color: var(--ink-muted);
  font-weight: 500;
}

.footer-copy {
  font-size: var(--fs-caption);
  color: var(--ink-muted);
}

/* ═══════════ BOTÃO FLUTUANTE WHATSAPP ═══════════ */
.wa-floating {
  position: fixed;
  right: 14px;
  bottom: calc(14px + var(--safe-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 9px;
}

.wa-floating-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-navy);
  color: #FFFFFF;
  font-size: var(--fs-sm);
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.wa-floating-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
}

.wa-floating-circle {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad-whatsapp);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.5);
  transition: transform 0.2s ease;
}

.wa-floating-circle svg {
  width: 29px;
  height: 29px;
}

.wa-floating-circle::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: ringPulse 2.2s ease-out infinite;
}

@keyframes ringPulse {
  0% { transform: scale(0.92); opacity: 0.75; }
  75% { transform: scale(1.18); opacity: 0; }
  100% { opacity: 0; }
}

.wa-floating:active .wa-floating-circle {
  transform: scale(0.94);
}

/* ═══════════ LIGHTBOX / MODAL TELA CHEIA (100dvh) ═══════════ */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.26s ease, visibility 0.26s ease;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 28, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lb-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1020px;
  height: 100%;
  padding: calc(10px + var(--safe-top)) 12px calc(12px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.lb-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.lb-counter {
  font-size: var(--fs-caption);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.lb-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-controls-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lb-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lb-icon-btn svg {
  width: 20px;
  height: 20px;
}

.lb-icon-btn:active {
  background: rgba(255, 255, 255, 0.26);
}

.lb-close-btn {
  background: #FFFFFF;
  color: var(--brand-navy);
  border: none;
}

.lb-stage-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-stage {
  width: 100%;
  height: 100%;
  background: #04101F;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  touch-action: pan-y;
}

.lb-stage img,
.lb-stage video,
.lb-stage iframe {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.28s ease;
  animation: lbFade 0.26s ease;
}

.lb-stage iframe {
  border: 0;
}

.lb-stage.zoomed img {
  transform: scale(1.7);
}

@keyframes lbFade {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.lb-loader {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-body);
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
}

.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(11, 37, 69, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}

.lb-nav-btn svg {
  width: 21px;
  height: 21px;
}

.lb-prev { left: 8px; }
.lb-next { right: 8px; }

.lb-nav-btn:active {
  background: var(--brand-magenta);
}

.lb-footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

.lb-caption {
  color: #FFFFFF;
  font-size: var(--fs-body);
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.lb-swipe-hint {
  display: block;
  text-align: center;
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.55);
}

.lb-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 4px;
  scrollbar-width: none;
}

.lb-thumbs::-webkit-scrollbar {
  display: none;
}

.lb-thumb {
  width: 56px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  flex-shrink: 0;
  position: relative;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

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

.lb-thumb.active {
  opacity: 1;
  border-color: var(--brand-sun);
}

.lb-thumb-video-tag {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  color: #FFFFFF;
  display: grid;
  place-items: center;
}

.lb-thumb-video-tag svg {
  width: 15px;
  height: 15px;
}

.lb-wa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  background: var(--grad-whatsapp);
  color: #FFFFFF;
  font-size: var(--fs-lead);
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 26px var(--wa-glow);
}

.lb-wa-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Animação de Entrada ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ═══════════ FAIXA DE PROMOÇÃO URGENTE ═══════════ */
.promo-strip {
  position: relative;
  overflow: hidden;
  background: var(--grad-sunset);
  color: #FFFFFF;
}

/* Brilho animado que percorre a faixa */
.promo-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: promoShine 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes promoShine {
  0% { left: -50%; }
  100% { left: 120%; }
}

.promo-inner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
}

.promo-bolt {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  animation: promoBolt 1.4s ease-in-out infinite;
}

.promo-bolt svg {
  width: 19px;
  height: 19px;
  color: #FFFFFF;
}

@keyframes promoBolt {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.promo-text {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.promo-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: #FFFFFF;
}

.promo-cta {
  background: #FFFFFF;
  color: var(--brand-magenta);
  font-size: var(--fs-sm);
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.promo-cta:active {
  transform: scale(0.95);
}

/* ═══════════ FOTO DO ANFITRIÃO (avatar nos botões WhatsApp) ═══════════ */
.host-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: var(--brand-navy);
  flex-shrink: 0;
}



.wa-floating-pill .host-avatar {
  width: 30px;
  height: 30px;
}

.btn-help-wa .host-avatar,
.lb-wa-cta .host-avatar {
  width: 28px;
  height: 28px;
}

.btn-reserve .host-avatar {
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.85);
}

/* (O selo "Preferido dos hóspedes" fica apenas ao lado do título da Casa — ver .guest-badge) */

/* ═══════════ FOCO VISÍVEL (navegação por teclado) ═══════════ */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand-ocean);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ═══════════ COMO FUNCIONA A RESERVA (3 passos) ═══════════ */
.how {
  margin-top: 26px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  box-shadow: var(--shadow-sm);
}

.how-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-brand-ring);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.how-step strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-navy);
}

.how-step span {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  font-weight: 500;
}

/* ═══════════ AÇÕES DO RODAPÉ (compartilhar + voltar ao topo) ═══════════ */
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--brand-navy);
  font-size: var(--fs-sm);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.btn-share svg {
  width: 16px;
  height: 16px;
  color: var(--brand-magenta);
}

.btn-share:active {
  transform: scale(0.96);
}

.btn-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--brand-ocean-dark);
  padding: 10px 14px;
  border-radius: 999px;
}

.btn-top svg {
  width: 15px;
  height: 15px;
}

/* ═══════════ ACESSIBILIDADE / ECONOMIA DE BATERIA ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide.is-active img {
    animation: none;
  }

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

  .wa-floating-circle::after {
    animation: none;
  }

  .promo-strip::after,
  .promo-bolt {
    animation: none;
  }
}

/* ═══════════ TABLET & DESKTOP ═══════════ */
@media (min-width: 760px) {
  .wrap {
    padding: 0 24px;
  }

  .topbar-inner {
    height: 72px;
  }

  /* No desktop a barra de escolha também gruda abaixo do cabeçalho (72px + filete 4px) */
  .quick-nav-bar {
    top: 76px;
  }

  .quick-nav-inner {
    max-width: 520px;
  }

  .quick-chip {
    min-height: 60px;
    border-radius: 18px;
  }

  article,
  section {
    scroll-margin-top: 188px;
  }

  .hero-carousel {
    height: clamp(520px, 62vh, 680px);
  }

  .hero-content {
    bottom: 56px;
    padding: 0 32px;
  }

  /* Faixa de promoção maior no desktop (botão "Quero a promoção" mais visível) */
  .promo-inner {
    padding: 16px 24px;
    gap: 16px;
  }

  .promo-bolt {
    width: 44px;
    height: 44px;
  }

  .promo-bolt svg {
    width: 24px;
    height: 24px;
  }

  .promo-text {
    font-size: var(--fs-body);
  }

  .promo-text strong {
    font-size: 16px;
  }

  .promo-cta {
    font-size: var(--fs-lead);
    padding: 13px 24px;
  }

  .showcase {
    padding-top: 34px;
  }

  .property-top {
    align-items: center;
  }

  .media-featured {
    aspect-ratio: 16 / 7.6;
  }

  .media-strip {
    gap: 12px;
  }

  .media-strip .media-item {
    width: 24%;
  }

  /* Desktop: 4 colunas com preenchimento denso; cards de texto longo ocupam 2 colunas,
     fechando a grade certinho (Casa: 12 células = 3 linhas; Flats: 8 células = 2 linhas) */
  .property-chips {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 10px;
  }

  #casa .property-chips li:nth-child(2),
  #casa .property-chips li:nth-child(3),
  #casa .property-chips li:nth-child(4),
  #casa .property-chips li.chip-wide,
  #flats .property-chips li:nth-child(2),
  #flats .property-chips li.chip-wide {
    grid-column: span 2;
  }

  .festival-item {
    aspect-ratio: 21 / 9;
  }

  .help-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 32px 36px;
  }

  .help-banner-content {
    flex-direction: row;
    text-align: left;
    gap: 18px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .footer-actions {
    justify-content: flex-end;
  }

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

  .lb-swipe-hint {
    display: none;
  }
}
