/* ==========================================================================
   CASAS DA PENA — folha de estilos (página inicial)
   Paleta da marca: verde-floresta · sálvia · dourado · terracota · creme
   Estética minimalista editorial (sans-serif, uppercase, muito espaço branco)
   ========================================================================== */

:root {
  /* Paleta da marca (referência) */
  --brand-forest: #374228;   /* verde-floresta */
  --brand-sage:   #818660;   /* sálvia */
  --brand-gold:   #dfad5c;   /* dourado */
  --brand-rust:   #b96938;   /* terracota */
  --brand-cream:  #ede5d0;   /* creme */

  /* Tokens de design (mapeados) */
  --dark: var(--brand-forest);
  --dark-soft: #435030;
  --dark-hover: #4e5b3a;
  --paper: #ffffff;
  --paper-warm: #f6f0de;     /* creme suave para secções alternadas */
  --text: #2c3620;           /* verde-floresta escuro para texto principal */
  --text-soft: #5e6448;      /* sálvia escurecida para maior legibilidade */
  --text-mute: #9ba086;      /* sálvia clara para detalhes discretos */
  --text-invert: var(--brand-cream);
  --text-invert-soft: #b7b198;
  --rule: #d5cebb;
  --rule-invert: rgba(237, 229, 208, 0.28);
  --accent: var(--brand-gold);
  --accent-warm: var(--brand-rust);

  --serif: "Crimson Text", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --header-h: 88px;
  --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

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

section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* --------------------------------------------------------------------------
   CABEÇALHO
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

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

.logo-img { width: 115px; height: 60px; object-fit: contain; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--dark);
}

.logo-sub {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--text-soft);
}

.logo-text strong {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
}

.main-nav a {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--dark);
  transition: right 0.3s ease;
}

.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }

.main-nav a.active { color: var(--dark); }

/* Botão de menu (móvel) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--dark);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../images/hero.JPG") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 18, 0.10),
    rgba(20, 20, 18, 0.15) 55%,
    rgba(20, 20, 18, 0.60)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px 90px;
  width: 100%;
}

.hero-tagline {
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0.04em;
  text-transform: none;
  max-width: 780px;
  margin: 48px auto 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero-cards {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  transition: transform 0.35s ease;
}

.hero-card:hover {
  transform: translateY(-4px) scale(1.08);
}

.hero-card-logo {
  width: 230px;
  height: 230px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
  transition: filter 0.35s ease;
}

.hero-card:hover .hero-card-logo {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

/* --------------------------------------------------------------------------
   SEÇÕES DAS CASAS
   -------------------------------------------------------------------------- */
.house-section {
  padding: 0;
  background: var(--paper);
  overflow: hidden;
}

.house-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}

.house-section--media-left .house-grid { grid-template-columns: 1fr 1fr; }
.house-section--media-left .house-media { order: -1; }

.house-text {
  padding-block: 80px;
  padding-inline: max(32px, calc((100vw - var(--container)) / 2 + 32px)) 72px;
}

.house-section--media-left .house-text {
  padding-block: 80px;
  padding-inline: 72px max(32px, calc((100vw - var(--container)) / 2 + 32px));
}

.house-title {
  font-family: "Averia Libre", "Crimson Text", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 24px;
}

.house-title-name {
  display: inline-block;
  font-size: 1.5em;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.house-badge {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  margin-top: 8px;
}

.house-badge + .house-badge { margin-top: 6px; }

.house-rule {
  width: 44px;
  height: 2px;
  background: var(--accent);
  margin: 26px 0 20px;
}

.house-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.house-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-soft);
  max-width: 46ch;
}

.house-media img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
  filter: none;
  box-shadow: none;
}

/* Mini-logótipo da casa no canto superior direito da fotografia */
.house-media { position: relative; }

.house-media .house-media-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(20, 20, 18, 0.25));
}

/* --------------------------------------------------------------------------
   BOTÃO DE RESERVA
   -------------------------------------------------------------------------- */
.btn-outline {
  display: inline-block;
  font-family: var(--sans);
  border: 1px solid var(--paper);
  padding: 18px 56px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--paper);
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background: var(--paper);
  color: var(--dark);
}

/* --------------------------------------------------------------------------
   RODAPÉ
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: var(--text-invert);
  padding: 90px 0 40px;
  border-top: 1px solid var(--rule-invert);
}

.footer-intro {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  letter-spacing: 0.02em;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--text-invert);
  text-align: center;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0 auto 72px;
}

.footer-social-icons a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule-invert);
  border-radius: 50%;
  color: var(--text-invert);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-social-icons a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--paper);
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule-invert);
}

.footer-col h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: var(--paper);
}

/* Coluna 1 — Contactos */
.footer-contacts address {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-invert);
}

.footer-contacts p { margin: 6px 0; }

.footer-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.footer-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-invert-soft);
  min-width: 38px;
}

.footer-contacts a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}

.footer-contacts a:hover { border-bottom-color: var(--paper); }

.footer-contacts .muted {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-invert-soft);
  margin-left: -6px;
}

/* Livro de Reclamações (por baixo de Política de privacidade) */
.footer-livro {
  display: flex;
  align-items: center;
  margin: 14px 0 0;
}

.footer-livro a {
  display: inline-block;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.footer-livro a:hover { opacity: 1; }

.footer-livro img {
  height: 22px;
  width: auto;
}

/* Coluna 2 — Reservas */
.footer-book {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-book .btn-outline {
  padding: 15px 42px;
  font-size: 10px;
  letter-spacing: 0.36em;
}

/* Barra inferior — legal + logótipos */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-top: 32px;
  padding-bottom: 40px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-invert-soft);
}

.footer-legal .legal-link {
  color: var(--text-invert);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-invert);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}

.footer-legal .legal-link:hover { border-bottom-color: var(--paper); }

/* Logótipos circulares na barra inferior */
.footer-logos {
  display: flex;
  align-items: center;
  gap: 48px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo .circle {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}

.footer-logo .circle img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-logo-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-invert);
}

/* RNET de cada casa */
.footer-logo-rnet {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-invert-soft);
  text-align: center;
}

/* --------------------------------------------------------------------------
   RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .house-grid,
  .house-section--media-left .house-grid { grid-template-columns: 1fr; gap: 0; }

  .house-section--media-left .house-media { order: 0; }

  .house-text,
  .house-section--media-left .house-text {
    padding-inline: 24px;
    padding-block: 48px;
    text-align: center;
  }

  .house-media img { height: 400px; }

  .house-rule { margin-left: auto; margin-right: auto; }

  .house-label { justify-content: center; }

  .house-desc { margin: 0 auto; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }

  .footer-book { justify-content: flex-start; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-legal {
    align-items: flex-start;
    gap: 10px;
  }

  .footer-logos { gap: 40px; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 40;
  }

  .main-nav.is-open { transform: translateY(0); }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
  }

  .main-nav li { width: 100%; text-align: center; }

  .main-nav a { display: block; padding: 16px 0; }

  .nav-toggle { display: flex; }
}

@media (max-width: 520px) {
  .container { padding: 0 22px; }

  .hero { min-height: 92vh; }

  .hero-cards { gap: 28px; }

  .hero-card-logo { width: 180px; height: 180px; }

  .footer-logos { flex-direction: column; align-items: center; gap: 40px; }
}

/* ==========================================================================
   SUB-PÁGINAS — CASA DA CEREJINHA / CASA DO NEVEIRO
   ========================================================================== */

/* Etiqueta pequena (kicker) */
.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.kicker::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--text-mute);
}

.kicker--center {
  display: flex;
  justify-content: center;
}

.kicker--center::after { display: none; }

/* Hero das páginas de casa */
.hero.hero--page { align-items: center; min-height: 78vh; }

/* No desktop a fotografia do hero das casas fica mais alta (quase ecrã inteiro) */
@media (min-width: 901px) {
  .page-casa .hero.hero--page { min-height: calc(100vh - var(--header-h)); }
}

.hero--page .hero-content { padding: 130px 24px 90px; }

.hero--cerejinha { background-image: url("../images/cerejinha/hero.jpg"); }
.hero--neveiro { background-image: url("../images/neveiro/hero.jpg"); }

/* Etiqueta creme (F0E5CA) a vir de lado, com o nome da casa */
.hero-casa-box {
  position: absolute;
  left: 0;
  bottom: clamp(32px, 9vh, 96px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F0E5CA;
  padding: clamp(16px, 2.4vw, 30px) clamp(44px, 6vw, 84px);
  box-shadow: 0 10px 30px rgba(44, 54, 32, 0.2);
}

.hero-casa-box .hero-brand {
  width: min(280px, 50vw);
  max-width: none;
  height: auto;
  display: block;
}

@media (max-width: 700px) {
  .hero-casa-box {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 16px 30px;
  }

  .hero-casa-box .hero-brand { width: min(230px, 74vw); }
}

.page-kicker {
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 26px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.page-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 22px;
  filter: brightness(0) invert(1) drop-shadow(0 3px 12px rgba(0, 0, 0, 0.45));
}

.page-title {
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.04;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
}

.page-sub {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
}

.hero--page .hero-rule {
  width: 46px;
  height: 2px;
  background: var(--accent);
  margin: 26px auto 0;
}

/* Resumo de informação geral — página das casas (ícones separados por traços) */
.casa-resumo {
  margin-top: clamp(80px, 12vh, 140px);
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
}

.casa-resumo-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 24px;
  padding: 0;
  margin: 0;
}

.casa-resumo-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 44px;
  margin-right: 44px;
}

.casa-resumo-list li::after {
  content: "—";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-mute);
  font-weight: 300;
  line-height: 1;
}

.casa-resumo-list li:last-child {
  padding-right: 0;
  margin-right: 0;
}

.casa-resumo-list li:last-child::after { content: none; }

.casa-resumo-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--accent-warm);
  border: 1px solid rgba(185, 105, 56, 0.35);
  border-radius: 50%;
}

.casa-resumo-icon svg { width: 21px; height: 21px; }

.casa-resumo-text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text);
}

@media (max-width: 700px) {
  .casa-resumo {
    margin-top: clamp(48px, 8vh, 84px);
    padding: 46px 0;
  }

  .casa-resumo-list {
    flex-direction: column;
    row-gap: 26px;
    padding: 0;
  }

  .casa-resumo-list li {
    padding-right: 0;
    margin-right: 0;
  }

  .casa-resumo-list li::after { content: none; }
}

/* Ajustes da grelha "casa" já usada na home */
.page-casa .house-desc { color: var(--text); max-width: 54ch; }
.page-casa .house-desc + .house-desc { margin-top: 16px; }

.house-link {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.house-link:hover {
  border-color: var(--dark);
  color: var(--text);
}

/* Expansor "Ler mais" (história das casas) */
.expand-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s ease;
}

.expand-more .expand-inner {
  overflow: hidden;
  min-height: 0;
}

.expand-more.is-open { grid-template-rows: 1fr; }

.read-more {
  margin-top: 26px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0 0 4px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dark);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.read-more:hover {
  border-color: var(--dark);
  color: var(--text);
}

/* Ao expandir, a fotografia acompanha a altura do texto */
.house-section--expand.is-expanded .house-grid { align-items: stretch; }

.house-section--expand.is-expanded .house-media img {
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .house-section--expand.is-expanded .house-media img {
    height: 400px;
    min-height: 0;
  }
}

.footer-logo { color: inherit; }

/* Secções de texto corrido */
.prose-section { padding: 120px 0; }
.page-section { padding: 120px 0; }
.page-section--cream { background: var(--paper-warm); }

.prose-wrap { max-width: 980px; margin: 0 auto; padding: 0 32px; }

.section-title {
  font-family: "Averia Libre", "Crimson Text", Georgia, "Times New Roman", serif;
  font-style: regular;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  color: var(--dark);
  margin: 0 0 30px;
}

.prose-wrap p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

.prose-wrap p:last-child { margin-bottom: 0; }

.prose-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 44px;
  list-style: none;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
}

.prose-list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-soft);
}

.prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 13px;
  height: 1px;
  background: var(--accent);
}

/* Cabeçalho de secção centrado */
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .kicker { justify-content: center; }
.section-head .kicker::after { display: none; }
.section-head .section-title { margin-bottom: 0; }

/* Grelha de comodidades */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.amenity {
  background: var(--paper);
  border-top: 2px solid var(--accent);
  padding: 32px 30px 36px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(44, 54, 32, 0.1);
}

.amenity:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.amenity-icon {
  display: block;
  margin-bottom: 22px;
  color: var(--accent-warm);
  line-height: 0;
}

.amenity-icon svg {
  width: 34px;
  height: 34px;
}

.amenity-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dark);
}

/* Indicador "+" / "−" junto ao título */
.amenity-name::after {
  content: "";
  width: 8px;
  height: 8px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 1px, 1px 100%;
  background-position: center, center;
  background-repeat: no-repeat;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.amenity.is-open .amenity-name::after {
  background-size: 100% 1px, 0 0;
  opacity: 0.9;
}

.amenity-text {
  display: none;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}

.amenity.is-open .amenity-text {
  display: block;
  margin-top: 18px;
}

/* Galeria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.gallery-item { overflow: hidden; }

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

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

/* Certificações e parceiros */
.cert-band {
  padding: 64px 24px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.cert-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 72px;
  margin: 36px 0 0;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cert-item img {
  height: 108px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.cert-item--partner img {
  height: 58px;
  max-width: 280px;
}

.cert-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
}

@media (max-width: 700px) {
  .cert-list { gap: 30px 40px; }

  .cert-item img { height: 84px; }

  .cert-item--partner img { height: 44px; }
}

/* Faixa final — reserva */
.reserve-section {
  background: var(--dark);
  color: var(--text-invert);
  text-align: center;
  padding: 120px 24px;
}

.reserve-section .kicker { color: var(--accent); justify-content: center; }
.reserve-section .kicker::after { display: none; }

.reserve-section h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 20px;
}

.reserve-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-invert-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}

.reserve-phone {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-invert-soft);
  margin-top: 26px;
}

.reserve-phone a { color: var(--paper); }
.reserve-phone a:hover { text-decoration: underline; }

/* Responsivo das sub-páginas */
@media (max-width: 900px) {
  .prose-section,
  .page-section,
  .reserve-section { padding: 80px 0; }

  .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .hero.hero--page { min-height: 72vh; }
  .hero--page .hero-content { padding: 120px 24px 70px; }

  .page-logo { width: 76px; height: 76px; }
}

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

  .prose-list { grid-template-columns: 1fr; }

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

/* ==========================================================================
   ENVOLVENTE — página panorâmica com acordeão
   ========================================================================== */
.hero--envolvente { background-image: url("../images/envolvente/hero.jpg"); }
.hero--envolvente.hero--page { min-height: 100vh; }

/* Título do hero em Averia Libre */
.hero--envolvente .page-title {
  font-family: "Averia Libre", "Crimson Text", Georgia, "Times New Roman", serif;
}

/* Frases acima e abaixo do título com mais peso, para maior legibilidade */
.hero--envolvente .page-kicker { font-weight: 600; }
.hero--envolvente .page-sub { font-weight: 600; }

/* Faixas de fotografia horizontais, a toda a largura do ecrã */
.full-photo { display: block; width: 100%; line-height: 0; }
.full-photo img { width: 100%; height: 62vh; object-fit: cover; }

/* Secções de texto da Envolvente */
.envolvente-prose { padding: 110px 0; }
.envolvente-prose.page-section--cream { background: var(--paper-warm); }

/* Acordeão "três caminhos" (fundo igual ao da secção) */
.topics {
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.topic + .topic { border-top: 1px solid var(--rule); }

.topic-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 32px 8px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.topic-icon {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--accent-warm);
  border: 1px solid rgba(185, 105, 56, 0.35);
  border-radius: 50%;
}

.topic-icon svg { width: 25px; height: 25px; }

.topic-title {
  flex: 1;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.25s ease;
}

.topic-head:hover .topic-title { color: var(--text-soft); }

.topic-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.topic-chevron {
  width: 9px;
  height: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.3s ease, margin-top 0.3s ease;
}

.topic.is-open .topic-toggle { color: var(--dark); }
.topic.is-open .topic-chevron { transform: rotate(-135deg); margin-top: 2px; }

.topic-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s ease;
}

.topic-panel-inner { overflow: hidden; min-height: 0; }
.topic.is-open .topic-panel { grid-template-rows: 1fr; }

.topic-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 54px;
  align-items: start;
  padding: 8px 8px 60px;
  border-top: 1px solid var(--rule);
}

.topic-content--full { display: block; }

.topic-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--dark);
  margin: 0 0 24px;
}

.topic-content--full .topic-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.topic-sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin: 30px 0 12px;
}

.topic-sub:first-of-type { margin-top: 0; }

.topic-body p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 16px;
}

/* Mini-galeria com avanço automático */
.topic-content--full .slide-gallery { margin-top: 28px; }

.slide-gallery { position: relative; }

.slide-gallery-stage { position: relative; height: clamp(220px, 46vh, 480px); }

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

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

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

.slide-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 2;
}

.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.is-active { background: #ffffff; }

/* Texto centrado em coluna, abaixo da fotografia */
.topic-prose {
  max-width: 880px;
  margin: 48px auto 0;
}

.topic-prose p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin: 0 0 16px;
}

.topic-prose p:last-child { margin-bottom: 0; }
.topic-prose .topic-lead { margin-bottom: 24px; }
.topic-prose .topic-sub { margin-top: 34px; }

/* Rotas de percursos — lista expansível com "+" */
.routes {
  display: flex;
  flex-direction: column;
  margin-top: 42px;
}

.route { border-bottom: 1px solid var(--rule); }

.route-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.route-title {
  flex: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  color: var(--dark);
  margin: 0;
  transition: color 0.25s ease;
}

.route-head:hover .route-title { color: var(--text-soft); }

.route-facts {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

.route-plus {
  width: 34px;
  height: 34px;
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--accent-warm);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.route-plus::before,
.route-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
}

.route-plus::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.route-plus::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }

.route.is-open .route-plus { transform: rotate(45deg); color: var(--dark); }

.route-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s ease;
}

.route-panel-inner { overflow: hidden; min-height: 0; }
.route.is-open .route-panel { grid-template-rows: 1fr; }

.route-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding: 20px 4px 52px;
}

/* Fotografia ilustrativa de cada percurso */
.route-photo { margin: 0; }

.route-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.route-info { min-width: 0; }

.route-meta {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 28px 40px;
  margin: 0 0 40px;
}

.route-meta li {
  align-self: start;
  min-width: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text);
}

.route-meta strong {
  display: block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.route-desc {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  max-width: none;
  margin: 0;
}

@media (max-width: 900px) {
  .full-photo img { height: 46vh; }

  .envolvente-prose { padding: 80px 0; }

  .topic-head { gap: 16px; padding: 24px 4px; }

  .topic-content { grid-template-columns: 1fr; gap: 24px; padding-bottom: 44px; }

  .route-head { gap: 14px; }

  .route-facts { display: none; }

  .route-detail { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   REVEAL / HERO CINEMÁTICO (páginas das casas)
   ========================================================================== */
/* As secções aparecem ao entrar no ecrã — movimento mais acentuado */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(130px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* O hero ocupa o ecrã e há distância até à secção seguinte */
.hero--cinematic.hero--page {
  min-height: calc(100vh - var(--header-h));
  margin-bottom: clamp(80px, 12vh, 160px);
  overflow: hidden;
}

/* A mesma folga por baixo da primeira secção (história) */
.hero--cinematic + .house-section {
  margin-bottom: clamp(80px, 12vh, 160px);
}

.hero--cinematic .hero-content {
  will-change: opacity, transform;
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero--cinematic.is-past .hero-content {
  opacity: 0;
  transform: translateY(-190px) scale(0.96);
}

@media (max-width: 900px) {
  .hero--cinematic.hero--page { min-height: calc(100vh - var(--header-h)); }

  .hero--cinematic .hero-content { padding-top: 96px; padding-bottom: 60px; }
}

/* ==========================================================================
   RESERVAS
   ========================================================================== */
.hero--reservas { background-image: url("../images/reservas/hero.jpg"); }

/* Hero com o texto numa caixa, sobre a fotografia */
.hero--reservas.hero--split { text-align: left; }

/* A caixa fica colada à borda esquerda */
.hero--split .hero-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: none;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 110px;
  padding-left: 0;
  padding-right: 0;
}

/* Caixa totalmente opaca */
.hero-panel {
  width: min(580px, 100%);
  padding: 52px 56px;
  background: var(--dark);
  border: 0px solid rgba(255, 255, 255, 0.25);
}

.hero-panel .page-kicker { color: #ffffff; margin-bottom: 18px; }

.hero-panel .page-title {
  font-family: "Averia Libre", "Crimson Text", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  letter-spacing: 0.05em;
}

.hero-panel .page-sub {
  margin-top: 18px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: #ffffff;
  margin: 24px 0 0;
}

.hero-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  margin: 10px 0 0;
}

.hero-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 30px;
}

/* Contactos pequenos e sem itálico */
.hero-contacts .reservas-link {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-contacts .reservas-link:hover { border-color: #ffffff; }

.hero-contacts .reservas-muted {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-contacts .reservas-dot { color: rgba(255, 255, 255, 0.7); }

.hero--split .hero-rule { margin: 30px 0 0; }

@media (max-width: 700px) {
  .hero--split .hero-content {
    justify-content: flex-start;
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .hero-panel { padding: 34px 26px; width: 100%; }
}

.reservas-link {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--dark);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}

.reservas-link:hover { border-color: var(--dark); }

.reservas-muted { font-size: 12px; color: var(--text-mute); letter-spacing: 0.04em; }
.reservas-dot { color: var(--text-mute); }

/* Condições de reserva */
.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
}

.epoch {
  background: var(--paper);
  border-top: 2px solid var(--accent);
  padding: 30px 34px 34px;
}

.epoch-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

.epoch-dates {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.epoch-meta { list-style: none; margin: 0; }

.epoch-meta li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 10px;
}

.epoch-meta strong {
  display: block;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 2px;
}

.rules-list {
  list-style: none;
  margin: 44px auto 0;
  max-width: 840px;
}

.rules-list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.reservas-tagline {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--dark);
  margin-top: 48px;
}

/* Faça a sua reserva */
.book-actions {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.book-card {
  flex: 0 1 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 48px 40px 44px;
  background: var(--paper);
  border: 1px solid var(--rule);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(44, 54, 32, 0.12);
  border-color: var(--text-mute);
}

/* Logótipo da casa sem círculo e maior */
.book-logo {
  display: block;
  line-height: 0;
}

.book-logo img { width: 116px; height: 116px; object-fit: contain; }

.book-label {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--dark);
}

.book-link {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: border-color 0.25s ease;
}

.book-card:hover .book-link { border-color: var(--dark); }

.reservas-other {
  text-align: center;
  margin-top: 36px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-soft);
}

.reservas-other a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--dark);
}

@media (max-width: 700px) {
  .conditions-grid { grid-template-columns: 1fr; gap: 16px; }

  .book-card { padding: 40px 28px 38px; }

  .book-logo img { width: 96px; height: 96px; }
}

/* ==========================================================================
   PÁGINA LEGAL — POLÍTICA DE PRIVACIDADE
   ========================================================================== */
.legal-page { padding: 90px 0 130px; }

.legal-wrap { max-width: 820px; margin: 0 auto; }

.legal-wrap h1 {
  font-family: "Averia Libre", "Crimson Text", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--dark);
  margin: 0 0 30px;
}

.legal-wrap h2 {
  font-family: "Averia Libre", "Crimson Text", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: var(--dark);
  margin: 44px 0 14px;
}

.legal-wrap h2:first-of-type { margin-top: 30px; }

.legal-wrap p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 18px;
}

.legal-wrap ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.legal-wrap ul li {
  position: relative;
  padding-left: 26px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 6px;
}

.legal-wrap ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.legal-wrap a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
  transition: color 0.25s ease;
}

.legal-wrap a:hover { color: var(--accent-warm); }

.legal-updated {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 34px 0 0;
}

.legal-close {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 700px) {
  .legal-page { padding: 64px 0 90px; }
}

/* ==========================================================================
   SELEÇÃO DE IDIOMA (PT/EN)
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.lang-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.25s ease;
}

.lang-btn:hover { color: var(--dark); }

.lang-btn.is-active {
  color: var(--dark);
  font-weight: 700;
}

.lang-sep { color: var(--text-mute); }

@media (max-width: 900px) {
  .header-actions { gap: 16px; }
  .header-inner { gap: 12px; }
}

@media (max-width: 520px) {
  .lang-switch { gap: 7px; font-size: 10px; }
}
