@media (max-width: 768px) {
  .admin-quick-nav-btn.active,
  .admin-quick-nav-btn.active * {
    border-radius: 0 !important;
  }
}
:root {
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --text: #1e293b;
  --text-light: #475569;
  --card: #ffffff;
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #38bdf8;
  --primary-2: #0ea5e9;
  --accent: #f59e0b;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --danger: #ef4444;
  --success: #10b981;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

/* Fundo gradiente animado suave */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(224, 242, 254, 0.5) 0%, 
    rgba(240, 249, 255, 0.4) 25%,
    rgba(254, 243, 199, 0.35) 50%,
    rgba(240, 249, 255, 0.4) 75%,
    rgba(224, 242, 254, 0.5) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.container {
  width: min(1200px, 94%);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.header-content {
  min-height: unset;
  padding: 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  line-height: 0;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-logo {
  width: auto;
  height: auto;
  max-height: 120px;
  max-width: min(420px, 68vw);
  object-fit: contain;
  object-position: left center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
}

.nav a,
.nav button {
  text-decoration: none;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.nav-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-item-link:hover {
  background: #f0f9ff;
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 4px;
  padding: 4px;
  line-height: 1;
  transition: background 0.18s, color 0.18s;
}

.nav-item-link:hover .nav-item-icon {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
}

@media (max-width: 768px) {
  .nav-item-icon {
    background: none;
    color: #0f766e;
    padding: 0;
  }
}

.nav-social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav-social-link:hover {
  background: #eef2ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.nav-social-link--instagram {
  background: linear-gradient(135deg, #f97316, #ec4899 55%, #7c3aed);
  border-color: #f5d0fe;
  color: #fff;
}

.nav-social-link--instagram:hover {
  background: linear-gradient(135deg, #ea580c, #db2777 55%, #6d28d9);
  border-color: #f0abfc;
  color: #fff;
}

.nav-social-link--facebook {
  background: #1877f2;
  border-color: #93c5fd;
  color: #fff;
}

.nav-social-link--facebook:hover {
  background: #1666cf;
  border-color: #60a5fa;
  color: #fff;
}

.hero {
  padding: 0;
  line-height: 0;
  border-bottom: 1px solid var(--border);
}

.hero picture {
  display: block;
  line-height: 0;
}

.hero-full-image {
  display: block;
  width: 100%;
  max-height: 600px;
  min-height: 220px;
  object-fit: contain;
}

.mobile-social-strip {
  display: none;
  padding: 10px 0 0;
}

.mobile-social-strip-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.section {
  padding: 64px 0;
}

#promocoes h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
}

.admin-page-title {
  margin: 0 0 32px;
  text-align: center;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.admin-page-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

#section-dashboard,
#section-nova-casa,
#section-promocoes,
#section-reserva-manual,
#section-reservas,
#section-gerir-casas {
  scroll-margin-top: 140px;
}

.admin-quick-nav {
  position: sticky;
  top: 130px;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 32px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .admin-quick-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 0;
    padding: 6px 3px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  }
}

.admin-quick-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
  min-height: 44px;
}

@media (max-width: 768px) {
  .admin-quick-nav-btn {
    font-size: 0.58rem;
    padding: 6px 2px;
    min-height: 52px;
    word-break: break-word;
    hyphens: auto;
  }
}

.admin-quick-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.admin-quick-nav-btn.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-2));
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .admin-quick-nav-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: none;
    border-radius: 0 !important;
  }
}

/* Sidebar flutuante — aparece quando a nav horizontal sair do ecrã (só desktop) */
.admin-sidebar-float {
  display: none;
}

@media (min-width: 900px) {
  .admin-sidebar-float {
    position: fixed;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) translateX(calc(-100% - 20px));
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 10px;
    width: 148px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .admin-sidebar-float.visible {
    transform: translateY(-50%) translateX(0);
  }

  .admin-sidebar-float .admin-quick-nav-btn {
    justify-content: flex-start;
    padding: 10px 14px;
    min-height: 40px;
    width: 100%;
  }

  .admin-sidebar-float .admin-quick-nav-btn:hover {
    transform: translateX(3px);
  }
}

#adminPanel {
  padding-bottom: 0;
}

@media (max-width: 768px) {
  #adminPanel {
    padding-bottom: 80px;
  }
}

.admin-section-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.admin-section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

#catalogo > .container > .public-section-title {
  margin-bottom: 24px;
}

#catalogo {
  padding-top: 15px;
}

#promocoes {
  padding-bottom: 24px;
}

.public-section-title {
  margin: 0 0 48px;
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.public-section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.muted {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 40px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.filter-field {
    min-width: 0;
    flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

input,
textarea,
select {
  min-width: 0;
  box-sizing: border-box;
  @media (max-width: 600px) {
    .filters {
      flex-direction: column;
      gap: 8px;
    }
    .filter-field {
      flex: 1 1 100%;
    }
  }
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--primary-light);
}

input[type="checkbox"] {
  width: auto;
  padding: 0;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-month-nav {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  min-width: 80px;
}

.month-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.month-nav-label {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

@media (max-width: 600px) {
  .month-nav-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .month-nav-label {
    order: -1;
    width: 100%;
    flex: none;
    font-size: 0.95rem;
    margin-bottom: 2px;
  }
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--text-light);
  padding: 8px 16px;
  font-weight: 500;
  text-decoration: none;
}

.btn-link:hover {
  color: var(--text);
  background: var(--border-light);
}

.actions-row .btn.btn-link.text-danger,
.reservation-item .btn.btn-link.text-danger,
.admin-list-item .btn.btn-link.text-danger {
  padding: 8px 12px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff1f2;
  color: #b91c1c;
  font-weight: 600;
  line-height: 1.2;
}

.actions-row .btn.btn-link.text-danger:hover,
.reservation-item .btn.btn-link.text-danger:hover,
.admin-list-item .btn.btn-link.text-danger:hover {
  background: #ffe4e6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

#adminPanel .card + .card {
  margin-top: 24px;
}

.house-card-carousel {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  background: #f1f5f9;
}

.house-card-images {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  cursor: grab;
  user-select: none;
}

.house-card-images:active {
  cursor: grabbing;
}

.house-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  flex-shrink: 0;
}

.house-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.house-card:hover .house-carousel-btn {
  opacity: 1;
}

.house-carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.house-carousel-btn.prev {
  left: 8px;
}

.house-carousel-btn.next {
  right: 8px;
}

.house-carousel-btn:disabled {
  opacity: 0 !important;
  cursor: default;
}

.house-carousel-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.house-card:hover .house-carousel-indicators {
  opacity: 1;
}

.house-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.house-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.house-carousel-dot.active {
  width: 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.95);
}

.promo-highlight-card .house-card-images img {
  width: 100%;
  flex-shrink: 0;
  height: 240px;
  object-fit: cover;
}

.promo-highlight-card:hover .house-carousel-btn,
.promo-highlight-card:hover .house-carousel-indicators {
  opacity: 1;
}

.promo-highlight-card .house-card-carousel {
  border-radius: 0;
  margin-bottom: 0;
  height: 240px;
}

.house-card h3 {
  margin: 0 0 8px;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

#catalogo .catalog-filters {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

#catalogo .house-card {
  border: 1px solid var(--border-light);
  background: var(--card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#catalogo .house-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

#catalogo .house-card:hover::before {
  transform: scaleX(1);
}

#catalogo .house-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

#catalogo .house-card .btn {
  width: 100%;
}

.house-meta {
  margin: 0 0 10px;
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.house-meta-location {
  margin-bottom: 12px;
  font-weight: 500;
}

.house-meta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.house-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.house-meta-item:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--primary-light);
}

.house-description {
  margin: 0 0 4px;
  white-space: pre-line;
  color: var(--text-light);
  line-height: 1.7;
}

/* Acordeão de descrição da casa */
.description-accordion {
  margin: 0 0 18px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  overflow: hidden;
}

.description-body {
  max-height: 5.4rem; /* ~3 linhas */
  overflow: hidden;
  position: relative;
  padding: 12px 14px 0;
  transition: max-height 0.35s ease;
}

.description-body:not(.expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5rem;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}

.description-body.expanded {
  max-height: 800px;
  padding-bottom: 6px;
}

.description-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  background: #f8fafc;
  border: none;
  border-top: 1px solid var(--border, #e2e8f0);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #0284c7);
  transition: background 0.15s;
}

.description-toggle:hover {
  background: #f1f5f9;
}

.description-toggle-icon {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.price {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.price-consult {
  font-weight: 600;
  font-size: 1rem;
  font-style: italic;
  color: #64748b !important;
  letter-spacing: 0;
}

/* Packages Badges for Cards */
.packages-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.package-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.2;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.package-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.package-badge-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.package-badge-price {
  font-size: 1rem;
  font-weight: 700;
}

/* Cores específicas por tipo de pacote */
.package-weekend {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
}

.package-midweek {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
}

.package-extended {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

.package-week {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.packages-more {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 4px;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fef9c3, #fde68a);
  border: 1px solid #fbbf24;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-description-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: #14532d;
  font-weight: 700;
  margin: 0 0 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-left: 4px solid #16a34a;
  border-radius: 0 10px 10px 0;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.btn--promo-cta {
  display: block;
  margin: 20px auto 0;
  width: fit-content;
  min-width: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn--promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.45);
}

.promo-inline {
  margin: 0 0 16px;
  color: #92400e;
  font-weight: 600;
  font-size: 0.9375rem;
}

.promo-card-inline {
  border: 2px solid #fbbf24;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  padding: 12px 16px;
  margin: 0 0 16px;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.promo-card-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.promo-card-title {
  font-weight: 700;
  font-size: 0.75rem;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.promo-card-period {
  font-size: 0.8125rem;
  color: #92400e;
  opacity: 0.85;
}

/* Badge de +1 dia grátis */
/* Pill toggle para modo "dia presente" no admin */
.free-day-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.free-day-toggle-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.free-day-toggle-btn.active {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fef9c3, #fde68a);
  color: #92400e;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.free-day-toggle-btn:not(.active):hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}

.promo-extra-day-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 12px;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.4);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* Lista de pacotes dentro do bloco de promoção */
.promo-packages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin: 0 0 12px;
}

.promo-packages-list span {
  background: #fff;
  border: 1.5px solid #16a34a;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #15803d;
  box-shadow: 0 1px 4px rgba(22,163,74,0.1);
}

.btn--promo-cta {
  display: block;
  margin: 20px auto 0;
  width: fit-content;
  min-width: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn--promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.45);
}

.promo-detail-card {
  border: 2px solid #fbbf24;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  padding: 16px;
  margin: 0 0 20px;
  box-shadow: var(--shadow);
}

.promo-detail-title {
  font-weight: 700;
  font-size: 1rem;
  color: #92400e;
  margin-bottom: 8px;
}

.promo-detail-period {
  font-size: 0.85rem;
  color: #92400e;
  margin-top: 8px;
}

/* Pacote Semana Completa "Sob consulta" */
.package-card--consult {
  background: var(--bg);
  border: 1px dashed var(--border);
  opacity: 0.85;
}

.package-price--consult {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fbbf24;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 3px 12px;
  margin: 0 0 10px;
}

.promo-highlight-card {
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--primary-light);
  background: var(--card);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
}

.promo-media {
  position: relative;
  overflow: hidden;
}

.promo-media img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.promo-highlight-card:hover .promo-media img {
  transform: scale(1.05);
}

.promo-seal {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.45);
}

.promo-content {
  padding: 20px;
}

.promo-content .btn {
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  min-width: 140px;
}

#promotionsHighlights {
  display: block;
  width: 100%;
}

.promo-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.promo-carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.promo-slide {
  display: none;
}

.promo-slide.is-active {
  display: block;
}

.promo-carousel-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-carousel-indicator {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
}

@media (max-width: 640px) {
  .promo-carousel {
    flex-direction: column;
    gap: 0;
  }

  .promo-carousel-btn {
    display: none;
  }

  .promo-carousel-viewport {
    width: 100%;
  }
  
  .promo-content {
    padding: 16px;
  }
  
  .promo-highlight-card .house-carousel-indicators,
  .promo-highlight-card .house-carousel-btn {
    opacity: 1;
  }
}

.promo-price {
  margin: 0 0 6px;
  font-size: 1.375rem;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: -0.02em;
}

.promo-info-box {
  margin: 0 0 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #86efac;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.1);
}

.promo-validity-text {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #bbf7d0;
  font-size: 0.8125rem;
  color: #166534;
  font-weight: 500;
}

.promo-validity {
  color: #0d9488;
  font-weight: 700;
}

.house-details-carousel {
  margin: 0 0 24px;
}

.house-details-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1f5f9;
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
}

.house-details-images {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  cursor: grab;
  user-select: none;
}

.house-details-images:active {
  cursor: grabbing;
}

.house-details-images img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
}

.carousel-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
  font-style: italic;
}

.carousel-hint-card {
  margin: 10px 0 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8125rem;
  font-style: italic;
}

.carousel-hint-promo {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8125rem;
  font-style: italic;
}

/* Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.package-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  text-align: center;
  transition: all 0.2s ease;
}

.package-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.package-name {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text);
  margin-bottom: 3px;
}

.package-period {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.2;
}

.package-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-pay-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #009ee3 0%, #0077c2 100%);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 3px 10px rgba(0, 158, 227, 0.45);
  letter-spacing: 0.01em;
}

.btn-pay-link span {
  line-height: 1;
}

.btn-pay-link:hover {
  background: linear-gradient(135deg, #00aaff 0%, #009ee3 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(0, 158, 227, 0.55);
}

.btn-pay-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 158, 227, 0.35);
}

.paid-confirm-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #374151;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s, border-color 0.3s;
  border: 1px solid transparent;
}

.paid-confirm-label--prompt {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
  animation: pulse-prompt 0.6s ease-in-out 2;
}

@keyframes pulse-prompt {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
  50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.35); }
}

.paid-confirm-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Separador "ou" entre link e PIX */
.payment-separator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 500;
}

.payment-separator::before,
.payment-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* Caixa de pagamento via PIX */
.pix-payment-box {
  margin-top: 4px;
  background: #f0fdfa;
  border: 1.5px solid #99f6e4;
  border-radius: 10px;
  padding: 10px 12px;
}

.pix-payment-box__header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0e7490;
  margin-bottom: 8px;
}

.pix-key-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 7px 10px;
  margin-bottom: 8px;
}

.pix-key-value {
  flex: 1;
  font-size: 0.82rem;
  font-family: monospace;
  color: #374151;
  word-break: break-all;
}

.btn-copy-pix {
  background: #0e7490;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 5px 11px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-copy-pix:hover {
  background: #155e75;
}

/* Banner de retorno após pagamento pelo link */
.return-payment-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #065f46;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  animation: slide-down 0.3s ease;
}

.return-payment-banner strong {
  color: #6ee7b7;
}

.return-payment-banner__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.return-payment-banner__close:hover {
  opacity: 1;
}

.return-payment-banner--hiding {
  animation: slide-up 0.3s ease forwards;
}

@keyframes slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes slide-up {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(-100%); opacity: 0; }
}

.proof-notice {
  margin-top: 6px;
  font-size: 0.72rem;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 4px 7px;
  line-height: 1.4;
}

.proof-pending-notice {
  margin: 6px 0 10px;
  padding: 8px 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.4;
}

.save-status {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
}

.save-status--ok {
  color: #065f46;
  background: #d1fae5;
}

/* Per-house PIX admin UI */
.pix-house-add-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pix-house-add-row select,
.pix-house-add-row input[type="text"] {
  flex: 1;
  min-width: 120px;
}

.pix-house-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pix-house-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 6px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.pix-house-list__item strong {
  flex: 1;
  min-width: 80px;
}

.pix-house-list__item code {
  background: #ccfbf1;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  flex: 2;
  word-break: break-all;
}

.btn-remove-pix-house {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-remove-pix-house:hover {
  background: #fca5a5;
}

/* Label com texto para campos date no mobile */
.date-field-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.date-field-label input[type="date"] {
  width: 100%;
}

@media (max-width: 768px) {
  .house-details-carousel-wrapper {
    height: 280px;
    border-radius: var(--radius-sm);
  }
  
  .house-details-images img {
    height: 280px;
  }
  
  .house-details-carousel .house-carousel-indicators,
  .house-details-carousel .house-carousel-btn {
    opacity: 1 !important;
  }
  
  .packages-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 6px;
  }
  
  .package-card {
    padding: 6px 8px;
  }
  
  .package-name {
    font-size: 0.75rem;
    margin-bottom: 2px;
  }
  
  .package-period {
    font-size: 0.625rem;
    margin-bottom: 4px;
  }
  
  .package-price {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .house-details-carousel-wrapper {
    height: 240px;
  }
  
  .house-details-images img {
    height: 240px;
  }
  
  .package-badge {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  
  .package-badge-label {
    font-size: 0.6875rem;
  }
  
  .package-badge-price {
    font-size: 0.875rem;
  }
  
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .package-card {
    padding: 6px;
  }
  
  .package-name {
    font-size: 0.6875rem;
  }
  
  .package-period {
    font-size: 0.5625rem;
    margin-bottom: 3px;
  }
  
  .package-price {
    font-size: 0.875rem;
  }
  
  .public-section-subtitle {
    font-size: 1rem;
    padding-left: 10px;
    border-left-width: 3px;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}

.gallery-item {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease;
}

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

.gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.gallery-more-wrap {
  margin: 10px 0 16px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 60;
}

.gallery-lightbox-image {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-nav.prev {
  left: 16px;
}

.gallery-lightbox-nav.next {
  right: 16px;
}

.gallery-lightbox-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

body.no-scroll {
  overflow: hidden;
}

.house-video-preview {
  margin: 10px 0 16px;
}

.house-video-preview video {
  width: 100%;
  max-height: 360px;
  border-radius: 10px;
  background: #0f172a;
}

.calendar {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.calendar-header,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-header div {
  padding: 12px 8px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(180deg, #f0f9ff, #e0f2fe);
  color: var(--primary-dark);
}

.day {
  position: relative;
  min-height: 52px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.day.available {
  background: #f0fdf4;
  color: var(--success);
}

.day.unavailable,
.day.reserved,
.day.reservado {
  background: #fef2f2;
  color: var(--danger);
}

.day.pendente {
  background: repeating-linear-gradient(
    45deg,
    #fffbeb,
    #fffbeb 5px,
    #fef3c7 5px,
    #fef3c7 10px
  );
  color: #92400e;
  cursor: not-allowed;
  position: relative;
}

.day.pendente::after {
  content: "⏳";
  font-size: 0.55rem;
  position: absolute;
  bottom: 2px;
  right: 2px;
  line-height: 1;
}

.day.empty {
  background: var(--bg);
}

.day.interactive {
  cursor: pointer;
  transition: all 0.2s ease;
}

.day.interactive:hover {
  transform: scale(1.08);
  z-index: 1;
  box-shadow: var(--shadow);
}

.day.selected-start,
.day.selected-end {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.day.selected-range {
  background: #ccfbf1;
  color: var(--primary-dark);
}

.day.season-priced {
  box-shadow: inset 0 -3px 0 #f59e0b;
}

.day.promo-priced {
  box-shadow: inset 0 3px 0 #0ea5e9;
}

.season-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 0.68rem;
  color: #b45309;
  font-weight: 700;
}

.day.holiday-priced .season-badge {
  color: #b91c1c;
}

.promo-day-badge {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: 0.68rem;
  line-height: 1;
}

.stack-form {
  display: grid;
  gap: 10px;
}

.pw-field {
  position: relative;
  display: flex;
  align-items: center;
}

.pw-field input {
  width: 100%;
  padding-right: 44px;
}

.pw-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-light, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s;
}

.pw-toggle:hover {
  color: var(--text, #1e293b);
}

.help-text {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: -8px;
}

/* Inputs de data com validação visual */
input[type="date"] {
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input[type="date"]:valid {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-color: #86efac;
}

input[type="date"]:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Preview de preço da estadia */
.price-preview {
  margin: 16px 0;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.price-preview.hidden {
  display: none;
}

.price-preview-header {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-preview-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-preview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.price-preview-item:last-child {
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.price-preview-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-preview-value {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 600;
}

.price-preview-item:last-child .price-preview-label {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 600;
}

.price-preview-item:last-child .price-preview-value {
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 700;
}

.checkin-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1.5px solid #bae6fd;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 4px;
}

.checkin-notice-icon {
  font-size: 1.1rem;
  line-height: 1.6;
  flex-shrink: 0;
}

.reservation-item {
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  padding: 20px 8px;
  margin-bottom: 0;
  background: transparent;
  transition: background 0.2s ease;
}

.reservation-item:hover {
  background: var(--bg);
}

.reservation-item:last-child {
  border-bottom: none;
}

.reservations-list {
  display: grid;
  gap: 16px;
}

.reservation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.reservation-guest-line {
  color: var(--text);
  margin: 4px 0;
  font-weight: 500;
}

.reservation-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.reservation-summary-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--bg);
  display: grid;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.reservation-summary-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.reservation-summary-card small {
  color: var(--muted);
}

.reservation-summary-card strong {
  font-size: 0.96rem;
}

.reservation-summary-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.reservation-status-row {
  margin-top: 10px;
  align-items: center;
}

.reservation-status-row .btn-whatsapp {
  margin-bottom: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.status.pending {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid #fbbf24;
}

.status.confirmed {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 1px solid var(--success);
}

.status.cancelled {
  background: linear-gradient(135deg, #fecaca, #fca5a5);
  color: #991b1b;
  border: 1px solid var(--danger);
}

.admin-list-item {
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.admin-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(2px);
}

.admin-list-item[data-house-card] > .house-card-header {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: -8px -8px 16px;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.actions-row input {
  flex: 1 1 240px;
}

.actions-row select {
  flex: 1 1 180px;
}

@media (max-width: 768px) {
  .actions-row .btn {
    font-size: 0.75rem;
    padding: 10px 12px;
  }
}

.metric-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.metric-card:hover {
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.season-item,
.timeline-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--card);
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.season-item:hover,
.timeline-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(2px);
}

.timeline-item small {
  color: var(--muted);
}

.reservation-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 16px;
}

.price-section {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
}

.price-section h4 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.public-section-subtitle {
  margin: 16px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  position: relative;
}

.public-section-subtitle::before {
  display: none;
}

.season-section {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.holiday-section {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 2px solid #fbbf24;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.price-badge.season {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.price-badge.holiday {
  background: #fbbf24;
  color: #92400e;
}

.reservation-manual-card {
  border: 2px solid var(--primary-light);
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%);
  box-shadow: var(--shadow);
}

.reservation-manual-card h3::before {
  content: "✍";
  font-size: 1.125rem;
}

.reservations-card {
  border: 2px solid #93c5fd;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%);
  box-shadow: var(--shadow);
}

.reservations-card h3::before {
  content: "📋";
  font-size: 1.125rem;
}

.manage-houses-card {
  border: 2px solid #86efac;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%);
  box-shadow: var(--shadow);
}

.manage-houses-card h3 {
  margin-top: 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.house-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.house-card-header strong {
  font-size: 1.05rem;
  color: var(--primary);
}

.house-order-btns {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 2px 8px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.admin-list-item[data-house-card].is-dragging {
  opacity: 0.45;
}
.admin-list-item[data-house-card].is-drop-target {
  outline: 2px dashed #06b6d4;
  outline-offset: 3px;
}

.image-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.image-chip {
  position: relative;
  width: 76px;
  height: 76px;
  cursor: grab;
}

.image-chip.is-dragging {
  opacity: 0.55;
}

.image-chip.is-drop-target img {
  border-color: #06b6d4;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.25);
}

.image-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.image-chip-remove-btn {
  position: absolute;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  color: #fff;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.image-chip-remove-btn {
  top: -6px;
  right: -6px;
  background: #ef4444;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #25d366, #20ba5a);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20ba5a, #1da851);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp .whatsapp-icon {
  display: inline-flex;
  line-height: 0;
}

.btn-whatsapp-submit {
  width: 100%;
  margin-bottom: 0;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #20ba5a);
  color: #fff;
  text-decoration: none;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4),
                0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6),
                0 0 0 15px rgba(37, 211, 102, 0);
  }
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #20ba5a, #1da851);
  transform: scale(1.15);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-float:active {
  transform: scale(1.05);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  color: var(--text-light);
  text-align: center;
  background: var(--bg-alt);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 16px 0 24px;
  }

  .admin-page .site-footer {
    padding: 16px 0 80px;
  }
}

.footer-credit {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.9375rem;
}

.footer-portfolio-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}

.footer-portfolio-link:hover {
  opacity: 0.7;
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
}

@media (max-width: 480px) {
  .footer-copyright {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    text-align: center;
  }

  .footer-copyright-text {
    font-size: 0.75rem;
  }

  .footer-copyright-detail {
    display: none;
  }

  .footer-social-icons {
    gap: 6px;
  }

  .footer-social-link {
    width: 26px;
    height: 26px;
  }

  .footer-social-link svg {
    width: 13px;
    height: 13px;
  }

  .footer-credit {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-top: 6px;
    font-size: 0.78rem;
  }

  .footer-credit-author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
}

.footer-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.75;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.footer-social-link--instagram { color: #e1306c; background: #fce4ec; }
.footer-social-link--facebook  { color: #1877f2; background: #e8f0fe; }
.footer-social-link--whatsapp  { color: #166534; background: #dcfce7; }

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #166534;
  font-weight: 700;
}

.footer-whatsapp-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.footer-whatsapp-link:hover {
  color: #14532d;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #0f172a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  max-width: 320px;
  z-index: 9999;
}

@media (max-width: 768px) {
  .toast {
    bottom: 76px;
    left: 16px;
    right: 16px;
    max-width: none;
    text-align: center;
  }
}

.hidden {
  display: none !important;
}

.text-danger {
  color: var(--danger);
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  grid-column: 1 / -1;
}

.loading-indicator p {
  margin: 16px 0 0;
  color: var(--text-light);
  font-size: 15px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .header-content {
    min-height: unset;
    padding: 6px 0 0;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 6px;
    gap: 10px;
  }

  .nav-item-link {
    justify-content: center;
  }

  .nav .nav-social-link {
    display: none;
  }

  .mobile-social-strip {
    display: block;
  }

  .nav-social-link {
    width: 36px;
    height: 36px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero-full-image {
    min-height: 0;
    max-height: none;
    height: auto;
    object-fit: contain;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-logo {
    width: auto;
    height: auto;
    max-height: 90px;
    max-width: min(300px, 70vw);
  }
}

.back-to-top {
  position: fixed;
  bottom: 104px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 24px;
    right: auto;
    left: 16px;
    width: 38px;
    height: 38px;
    font-size: 16px;
    box-shadow: var(--shadow-md);
  }

  .admin-page .back-to-top {
    bottom: 80px;
  }
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Modal de confirmação */
.confirm-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(2px);
  animation: fadeInOverlay 0.15s ease;
}

.confirm-modal-overlay[hidden] {
  display: none;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.confirm-modal-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px 20px;
  max-width: 360px;
  width: 100%;
  animation: slideUpModal 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpModal {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.confirm-modal-msg {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.5;
  text-align: center;
}

.confirm-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* House Accordion Styles */
.admin-house-accordion .house-summary {
  margin: 12px 0;
  padding: 12px;
  background: var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.6;
}

.admin-house-accordion .house-summary > div {
  margin: 4px 0;
  color: var(--text-light);
}

.house-details-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
  transition: all 0.3s ease;
}

.house-details-container.hidden {
  display: none;
}

.toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.85em;
  margin-right: 4px;
}

/* Responsive improvements for accordion */
@media (max-width: 768px) {
  .admin-house-accordion .house-summary {
    font-size: 0.9rem;
  }
  
  .admin-house-accordion .actions-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .admin-house-accordion .actions-row .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

/* Mobile filters - campos de data lado a lado */
@media (max-width: 600px) {
  .filters {
    gap: 12px;
  }
  
  /* Primeira linha: datas lado a lado */
  .filter-field:nth-child(1),
  .filter-field:nth-child(2) {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
  
  .filter-field label {
    font-size: 0.8125rem;
  }
  
  .filter-field input {
    font-size: 0.875rem;
    padding: 10px 12px;
  }
  
  /* Segunda linha: pessoas e botão filtrar lado a lado */
  .filters select {
    flex: 1 1 58%;
    min-width: 0;
    font-size: 0.875rem;
  }
  
  .filters button[type="submit"] {
    flex: 1 1 38%;
    min-width: 0;
    font-size: 0.875rem;
    padding: 10px 16px;
  }
}

/* ========================================
   MOBILE-FIRST MODERN ENHANCEMENTS
   ======================================== */

/* Touch-friendly spacing */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .container {
    padding: 0 20px;
  }
  
  #catalogo .house-card {
    margin-bottom: 24px;
  }
  
  /* Larger touch targets */
  .btn {
    min-height: 48px;
    padding: 14px 24px;
    font-size: 1rem;
  }
  
  input,
  textarea,
  select {
    min-height: 48px;
    font-size: 16px; /* Prevents iOS zoom */
    padding: 14px 16px;
  }
  
  /* Card spacing */
  .card {
    padding: 24px 20px;
    margin-bottom: 20px;
  }
  
  /* Improved readability */
  .public-section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 32px;
  }
  
  .house-card h3 {
    font-size: 1.25rem;
  }
  
  /* Better image aspect ratios */
  .house-card-carousel {
    border-radius: var(--radius-sm);
  }
  
  .house-card-images img {
    height: 220px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .hero-full-image {
    min-height: 200px;
    max-height: 280px;
  }
  
  .filters {
    padding: 20px 16px;
  }
  
  .public-section-title {
    font-size: 1.5rem;
  }
}

/* Month nav: botões sempre lado a lado — override de admin/mobile com especificidade superior */
.month-nav-row > span:not(.month-nav-label) {
  flex: 1;
}

@media (max-width: 600px) {
  .month-nav-row .btn.btn-month-nav {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    font-size: 0.8125rem;
  }
}

/* Smooth scroll behavior for mobile */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Dark mode support hint (future enhancement) */
@media (prefers-color-scheme: dark) {
  /* Prepare for dark mode if needed */
}
