/* =========================================================
   Casa do Outeiro — estilos base
   Paleta inspirada nas fotos reais: granito, cal branca,
   madeira escura, verde-sálvia e terracota.
   ========================================================= */

:root {
  --color-bg: #faf6f0;
  --color-bg-alt: #f1e9dd;
  --color-surface: #ffffff;
  --color-stone: #a08d74;
  --color-stone-dark: #6b5a45;
  --color-wood: #6b4226;
  --color-wood-dark: #4a2d19;
  --color-terracota: #c1622d;
  --color-terracota-dark: #9c4c22;
  --color-sage: #74805f;
  --color-sage-dark: #566047;
  --color-text: #362a1f;
  --color-text-soft: #6e5f4e;
  --color-border: #e2d6c3;

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lato", "Segoe UI", Tahoma, sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(54, 42, 31, 0.12);
  --shadow-md: 0 10px 30px rgba(54, 42, 31, 0.18);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

/* Offset de scroll para âncoras do menu.
   IMPORTANTE: usar APENAS scroll-margin-top nos elementos-alvo. Combinar
   scroll-padding-top no <html> com scroll-margin-top nas secções faz os
   dois valores somarem-se (spec: scroll-padding encolhe o scrollport,
   scroll-margin expande o alvo — os efeitos acumulam) e o offset dobra.
   Valores calibrados à altura real do header, medida com Playwright
   (getBoundingClientRect), + ~12-13px de respiro — não um valor único
   "pior caso", porque o header muda de altura no breakpoint dos 720px
   (menu completo vs. hambúrguer). */
.hero,
.section {
  scroll-margin-top: 96px; /* header desktop real: 83.31px + ~13px */
}

@media (max-width: 720px) {
  .hero,
  .section {
    scroll-margin-top: 85px; /* header mobile real: 73px + 12px */
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-wood-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  text-align: justify;
}

a {
  color: var(--color-terracota-dark);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-text-soft);
  text-align: center;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-wood-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* Focus visibility everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-sage-dark);
  outline-offset: 2px;
}

/* =========================================================
   Acordeões (details/summary) — base
   No HTML estes elementos já vêm com o atributo "open" (para
   funcionarem bem sem JS). O script.js é que trata de remover
   esse atributo no mobile e de o repor no desktop, e de impedir
   que cliques no cabeçalho fechem a secção no desktop.
   (Não dá para confiar em CSS tipo ":not([open]) > p {display:block}"
   para simular isto — browsers modernos colapsam o conteúdo do
   <details> através de um mecanismo interno que ignora esse override.)
   ========================================================= */

details > summary {
  cursor: pointer;
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

/* =========================================================
   Header / Navegação
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-wood-dark);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--color-terracota);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-stone);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-wood-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--color-terracota-dark);
}

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

.nav-phone a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  border-left: 1px solid var(--color-border);
  padding-left: 16px;
}

.nav-phone a:hover {
  color: var(--color-terracota-dark);
}

@media (max-width: 720px) {
  .nav-phone {
    display: none;
  }
}

.lang-switch {
  display: flex;
  border: 1px solid var(--color-stone);
  border-radius: 20px;
  overflow: hidden;
}

.lang-switch button {
  background: transparent;
  border: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--color-text-soft);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--color-wood-dark);
  color: #fff;
}

/* =========================================================
   Botões
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--color-terracota);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-terracota-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-wood-dark);
  color: var(--color-wood-dark);
}

.btn-outline:hover {
  background: var(--color-wood-dark);
  color: #fff;
}

.btn-whatsapp {
  background: #2e7d5b;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #235f45;
}

.btn-block {
  width: 100%;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-image:
    linear-gradient(to top, rgba(20, 14, 8, 0.92) 0%, rgba(20, 14, 8, 0.55) 45%, rgba(20, 14, 8, 0.6) 100%),
    url("Imagens/Exterior/Casa_do_Outeiro_70.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 760px;
  padding: 60px 24px 72px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f1e0cf;
  margin-bottom: 14px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.9rem, 7vw, 4.6rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero p {
  font-size: 1.3rem;
  color: #f4ede2;
  max-width: 600px;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions .btn {
  padding: 17px 34px;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 82vh;
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.35) 100%),
      url("Imagens/Exterior/Casa_do_Outeiro_70.jpg");
  }

  .hero-content {
    padding: 40px 20px 44px;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(2.625rem, 9vw, 3rem);
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
  }
}

/* =========================================================
   Sobre
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-text p {
  color: var(--color-text-soft);
  text-align: left;
}

.about-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-terracota-dark);
}

.about-text .about-final-quote {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  color: var(--color-terracota-dark);
  text-align: center;
  hyphens: none;
  margin: 48px 0;
}

.about-grandparents {
  margin-top: 80px;
  padding: 64px 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-grandparents-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 448px;
  margin: 0 auto;
}

.ornamental-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 220px;
  margin: 0 0 28px;
}

.about-grandparents-inner .ornamental-divider:last-child {
  margin: 28px 0 0;
}

.ornamental-divider span {
  flex: 1;
  height: 1px;
  background: var(--color-stone);
}

.ornamental-divider i {
  font-style: normal;
  font-size: 1rem;
  color: var(--color-terracota);
}

/* Moldura clássica: mat creme entre duas linhas finas (borda dupla),
   com sombra suave — efeito de fotografia antiga emoldurada. */
.grandparents-frame {
  width: 90%;
  padding: 6px;
  background: #f5ecd7;
  border: 1px solid #c4a882;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

@media (min-width: 769px) {
  .grandparents-frame {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

.grandparents-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #c4a882;
  filter: sepia(0.55) grayscale(0.3) contrast(1.05);
}

.about-grandparents-caption {
  margin: 20px 0 0;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-text-soft);
  text-align: center;
}

/* =========================================================
   Espaços
   ========================================================= */

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.space-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.space-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.space-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.space-photo::after {
  content: "\1F50D";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(30, 22, 15, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.space-card:hover .space-photo::after,
.space-photo:focus-visible::after {
  opacity: 1;
}

.space-card-body {
  padding: 20px 22px 24px;
}

.space-detail summary h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.space-detail p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin: 10px 0 0;
}

@media (max-width: 768px) {
  .space-detail summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .space-detail summary::after {
    content: "+";
    font-size: 1.3rem;
    line-height: 1;
    color: var(--color-terracota-dark);
    flex-shrink: 0;
  }

  .space-detail[open] summary::after {
    content: "\2212";
  }
}

@media (min-width: 769px) {
  .space-detail summary {
    cursor: default;
  }
}

/* =========================================================
   Comodidades
   ========================================================= */

/* Mobile: grelha de 2 colunas, tudo sempre visível (sem acordeão). */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  min-height: 128px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 12px;
}

.amenity-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 50%;
}

.amenity span.label {
  font-weight: 600;
  color: var(--color-text);
}

/* Desktop: grelha uniforme de 4 colunas, mesma altura em todos os cartões. */
@media (min-width: 769px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .amenity {
    min-height: 150px;
    padding: 24px 18px;
  }
}

/* =========================================================
   Região
   ========================================================= */

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.region-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.region-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 50%;
}

.region-category {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  margin-bottom: 2px;
}

.region-item-body summary h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.region-item-body p {
  color: var(--color-text-soft);
  font-size: 0.92rem;
  margin: 8px 0 0;
}

@media (max-width: 768px) {
  .region-item-body summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .region-item-body summary::after {
    content: "+";
    font-size: 1.3rem;
    line-height: 1;
    color: var(--color-terracota-dark);
    flex-shrink: 0;
  }

  .region-item-body[open] summary::after {
    content: "\2212";
  }
}

@media (min-width: 769px) {
  .region-item-body summary {
    cursor: default;
  }
}

.region-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.region-list li {
  position: relative;
  padding-left: 16px;
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.region-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--color-terracota);
  font-weight: 700;
}

.region-links {
  margin-top: 40px;
  text-align: center;
}

.region-links p {
  font-weight: 700;
  color: var(--color-wood-dark);
  text-align: center;
  margin-bottom: 16px;
}

.region-links-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* =========================================================
   Localização
   ========================================================= */

.location-photo {
  margin: 0 0 40px;
}

.location-photo img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.location-media-caption {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--color-text-soft);
  text-align: center;
}

.location-text {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 40px;
}

.location-text p {
  color: var(--color-text-soft);
  text-align: center;
}

.location-text .location-farewell {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-wood-dark);
  text-align: center;
  margin: 40px 0;
}

@media (min-width: 769px) {
  .location-text p {
    font-size: 16px;
    line-height: 1.8;
  }
}

@media (max-width: 768px) {
  .location-text .location-farewell {
    font-size: 18px;
  }
}

.location-bottom {
  display: flex;
  align-items: stretch;
  gap: 32px;
}

.location-bottom-map {
  flex: 0 0 60%;
  max-width: 60%;
}

.location-bottom-address {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  align-items: center;
}

.map-frame {
  display: block;
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: 220px;
}

.map-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-soft);
  text-decoration: underline;
}

.map-link:hover {
  color: var(--color-terracota-dark);
}

.address-block {
  width: 100%;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.address-block strong {
  display: block;
  color: var(--color-wood-dark);
  margin-bottom: 4px;
}

.gps-line {
  margin: 10px 0 0;
  font-size: 0.88rem;
}

.gps-line strong {
  display: inline;
  color: var(--color-wood-dark);
}

/* =========================================================
   Preços
   ========================================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.price-card.is-featured {
  border-color: var(--color-terracota);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

.price-badge {
  display: inline-block;
  align-self: center;
  background: var(--color-terracota);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.price-card h3 {
  font-size: 1.1rem;
}

.price-subtext {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  margin: -6px 0 4px;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-terracota-dark);
  margin: 10px 0;
}

.price-value small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-soft);
  font-weight: 400;
}

.price-season {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-sage-dark);
  margin-bottom: 4px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  text-align: left;
  color: var(--color-text-soft);
  flex-grow: 1;
}

.price-card li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
}

.price-card li:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  color: var(--color-text-soft);
  margin-top: 28px;
  font-size: 0.92rem;
}

/* =========================================================
   Reservas
   ========================================================= */

.reservas-welcome {
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 17px;
  color: var(--color-wood-dark);
}

.reservas-welcome p {
  margin: 0 0 20px;
  text-align: center;
}

.reservas-welcome p:last-child {
  margin-bottom: 0;
}

.checkin-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 40px;
}

.checkin-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 24px;
  flex: 1 1 220px;
}

.checkin-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 50%;
}

.checkin-info-item p {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.checkin-info-item strong {
  color: var(--color-wood-dark);
  font-family: var(--font-heading);
}

.checkin-info-item span {
  color: var(--color-text-soft);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.booking-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-wood-dark);
}

.form-group .required {
  color: var(--color-terracota-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-stone);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-terracota);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.88rem;
  color: var(--color-text-soft);
  cursor: pointer;
}

.form-checkbox a {
  color: var(--color-terracota-dark);
  font-weight: 700;
}

.form-checkbox .required {
  color: var(--color-terracota-dark);
}

.form-hint {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin-top: 20px;
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--color-bg-alt);
  color: var(--color-wood-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.form-status[hidden] {
  display: none;
}

.booking-alt {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-alt-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}

.booking-alt-card h3 {
  font-size: 1.05rem;
}

.booking-alt-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.platform-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-platform {
  flex: 1;
  min-width: 130px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-stone);
  color: var(--color-wood-dark);
}

.btn-platform:hover {
  background: var(--color-wood-dark);
  color: #fff;
}

.phone-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  font-weight: 700;
  color: var(--color-wood-dark);
}

.phone-line a {
  color: var(--color-wood-dark);
}

.footer-note {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

/* =========================================================
   Botão flutuante WhatsApp (mobile)
   ========================================================= */

.whatsapp-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2e7d5b;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 400;
  text-decoration: none;
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-fab:hover {
  background: #235f45;
}

@media (max-width: 720px) {
  .whatsapp-fab {
    display: flex;
  }
}

/* =========================================================
   Páginas legais (ex: Política de Privacidade)
   ========================================================= */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 44px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content ul {
  color: var(--color-text-soft);
}

.legal-content ul {
  margin: 0 0 1em;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content li strong {
  color: var(--color-wood-dark);
}

.legal-updated {
  font-style: italic;
  font-size: 0.9rem;
}

.legal-lang-divider {
  margin: 0 0 32px;
  border: none;
  border-top: 1px solid var(--color-border);
}

.legal-lang-title {
  text-align: center;
  margin-bottom: 32px;
}

/* =========================================================
   Rodapé
   ========================================================= */

.site-footer {
  background: var(--color-wood-dark);
  color: #eee2d4;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: #d8c8b3;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-grid .footer-note {
  color: #b6a48c;
  display: block;
  margin-top: 2px;
}

.footer-address {
  font-style: normal;
  color: #d8c8b3;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-gps {
  color: #d8c8b3;
}

.footer-gps strong {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid #6a5540;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d8c8b3;
}

.footer-social a:hover {
  border-color: #d8c8b3;
  color: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid #55442f;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #b6a48c;
}

.footer-bottom p {
  text-align: center;
}

.footer-divider {
  margin: 16px 0;
  border: none;
  border-top: 1px solid #55442f;
}

.footer-complaints {
  margin: 0;
}

.footer-complaints a {
  color: #b6a48c;
  text-decoration: underline;
}

.footer-complaints a:hover {
  color: #eee2d4;
}

/* =========================================================
   Responsivo
   ========================================================= */

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

  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin: 0 auto;
  }

  .price-card.is-featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 4px;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
  }

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

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  /* Espaços: grelha vira carrossel horizontal com swipe, um cartão de cada vez */
  .spaces-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 -20px;
    padding: 4px 20px 12px;
    -webkit-overflow-scrolling: touch;
  }

  .space-card {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }

  .space-card img {
    height: 200px;
  }

  .about-image img {
    height: 260px;
  }

  .location-photo img {
    height: 220px;
  }

  .location-bottom {
    flex-direction: column;
  }

  .location-bottom-map,
  .location-bottom-address {
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Tipografia e espaçamentos mais compactos */
  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  /* Botões com área de toque confortável */
  .btn {
    min-height: 44px;
    padding: 12px 22px;
  }

  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
  }
}

/* =========================================================
   Lightbox (galeria de fotos por espaço)
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 14, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2.1rem;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #f1e0cf;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }
}
