/* ==========================================================================
   Maria's Village — Alojamento Local, Luz de Tavira, Algarve
   ========================================================================== */

:root {
  --bg: #FAF7F1;
  --bg-alt: #F2EBDF;
  --white: #FFFFFF;
  --ink: #31291F;
  --muted: #7C7164;
  --line: #E5DBCB;
  --azul: #1F7A8C;
  --azul-dark: #175E6C;
  --terracotta: #B65E43;
  --gold: #B08A4F;
  --gold-light: #C9A76B;
  --dark: #241E17;
  --dark-2: #2E2720;
  --wa: #1FAD5F;
  --wa-dark: #178F4E;
  --shadow: 0 18px 45px -18px rgba(49, 41, 31, 0.28);
  --radius: 4px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--azul); text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-wide { width: min(1360px, 94%); margin: 0 auto; }

/* ---------- Typography ---------- */

h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 1.2rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.center { text-align: center; }
.center .lead { margin-inline: auto; }

section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--azul); color: var(--white); }
.btn-primary:hover { background: var(--azul-dark); transform: translateY(-2px); }

.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--azul);
  border-color: var(--azul);
}
.btn-ghost:hover { background: var(--azul); color: var(--white); }

.text-link {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.25s ease, color 0.2s ease;
}
.text-link:hover { gap: 0.8rem; color: var(--azul-dark); }
.text-link svg { width: 16px; height: 16px; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav-inner {
  width: min(1360px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.nav-logo svg { height: 46px; width: auto; }

.nav-logo .logo-text { transition: fill 0.35s ease; fill: var(--ink); }
.nav-logo .logo-sub { transition: fill 0.35s ease; fill: var(--muted); }
.nav-logo .logo-tile { transition: fill 0.35s ease; fill: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a:not(.btn) {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links .btn { padding: 0.7rem 1.4rem; }

/* transparent variant over hero */
.nav-transparent:not(.scrolled) { background: transparent; }
.nav-transparent:not(.scrolled) .nav-links a:not(.btn) { color: var(--white); }
.nav-transparent:not(.scrolled) .nav-logo .logo-text { fill: var(--white); }
.nav-transparent:not(.scrolled) .nav-logo .logo-sub { fill: rgba(255, 255, 255, 0.75); }
.nav-transparent:not(.scrolled) .nav-logo .logo-tile { fill: var(--gold-light); }

.nav.solid, .nav.scrolled {
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }
.nav-transparent:not(.scrolled) .nav-toggle svg { stroke: var(--white); }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 4% 1.4rem;
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-open.nav { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
  .nav-open .nav-logo .logo-text { fill: var(--ink); }
  .nav-open .nav-logo .logo-sub { fill: var(--muted); }
  .nav-open .nav-toggle svg { stroke: var(--ink); }
  .nav-links a:not(.btn) {
    color: var(--ink) !important;
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .btn { margin-top: 1.1rem; }
}

/* ---------- Hero (vídeo) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-media, .hero-media video, .hero-video, .hero-media picture, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video {
  z-index: 0;
  pointer-events: none;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 18, 12, 0.42) 0%, rgba(24, 18, 12, 0.30) 45%, rgba(24, 18, 12, 0.62) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 1.2rem 4.5rem;
  width: min(860px, 94%);
}
.hero-logo { margin: 0 auto 1.8rem; }
.hero-logo img {
  height: clamp(96px, 14vw, 150px);
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.4));
}
.hero h1 {
  font-size: clamp(2.9rem, 8vw, 5.2rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
}
.hero .hero-tagline {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}
.hero .hero-sub {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero-ctas {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  animation: float-down 2.4s ease-in-out infinite;
}
.hero-scroll svg { width: 26px; height: 26px; }
@keyframes float-down {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 9px); }
}

/* Hero interior (subpáginas) */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
  overflow: hidden;
}
.page-hero picture, .page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 18, 12, 0.45), rgba(24, 18, 12, 0.62));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 9rem 0 3.4rem;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
}
.page-hero p { color: rgba(255, 255, 255, 0.85); margin-top: 0.6rem; max-width: 56ch; }
.page-hero .eyebrow { color: var(--gold-light); margin-bottom: 0.6rem; }

/* ---------- Feature icons / specs ---------- */

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 1.4rem 0;
}
.specs li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.specs svg { width: 19px; height: 19px; stroke: var(--terracotta); flex: none; }

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.6rem;
  margin-top: 3rem;
}
.amenity {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.amenity svg { width: 26px; height: 26px; stroke: var(--azul); flex: none; margin-top: 0.2rem; }
.amenity h3 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; }
.amenity p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Galerias ---------- */

.gallery {
  display: grid;
  gap: 0.8rem;
}
.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery a:hover img { transform: scale(1.045); }

.gallery-featured {
  grid-template-columns: repeat(4, 1fr);
}
.gallery-featured a:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-unit { grid-template-columns: repeat(3, 1fr); }
.gallery-unit a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

@media (max-width: 760px) {
  .gallery-featured { grid-template-columns: repeat(2, 1fr); }
  .gallery-featured a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .gallery-unit { grid-template-columns: repeat(2, 1fr); }
  .gallery-unit a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
}

/* ---------- Destaque Casa Algarve (index) ---------- */

.featured-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.featured-grid .gallery { grid-template-columns: repeat(2, 1fr); }
.featured-grid .gallery a:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* ---------- Cards de unidades ---------- */

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}
@media (max-width: 980px) { .units-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .units-grid { grid-template-columns: 1fr; } }

.unit-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px -16px rgba(49, 41, 31, 0.22);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.unit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.unit-card .card-media { overflow: hidden; aspect-ratio: 4 / 3; }
.unit-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.unit-card:hover .card-media img { transform: scale(1.05); }
.unit-card .card-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.unit-card h3 { font-size: 1.55rem; margin-bottom: 0.3rem; }
.unit-card .card-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.7rem;
}
.unit-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.2rem; }
.unit-card .text-link { margin-top: auto; }

/* ---------- Secções de unidade (alojamentos.html) ---------- */

.unit-section { scroll-margin-top: 90px; }
.unit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.unit-layout .unit-info { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .unit-layout { grid-template-columns: 1fr; }
  .unit-layout .unit-info { position: static; }
}
.unit-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 0.8rem; }
.unit-info .lead { font-size: 1rem; margin-bottom: 0.4rem; }
.unit-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* Casa do Porto — quartos */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.6rem;
}
@media (max-width: 980px) { .rooms-grid { grid-template-columns: 1fr; } }
.room-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.room-card .card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room-card .card-media a { display: block; height: 100%; }
.room-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .card-media img { transform: scale(1.04); }
.room-card .card-body { padding: 1.3rem 1.4rem 1.5rem; }
.room-card h4 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.5rem; }
.room-card ul { margin-top: 0.4rem; }
.room-card ul li {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.room-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}
.room-card ul.room-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding-left: 0;
}
.room-card ul.room-specs li::before { content: none; }
.room-card .room-specs svg {
  width: 17px;
  height: 17px;
  stroke: var(--terracotta);
  flex: none;
  margin-top: 0.18rem;
}

/* indicador de galeria sobre a foto do quarto */
.media-count {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(36, 30, 23, 0.7);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
  transition: background 0.25s ease;
}
.media-count svg { width: 14px; height: 14px; stroke: currentColor; flex: none; }
.room-card:hover .media-count { background: rgba(36, 30, 23, 0.86); }

/* ---------- Extras mediante pagamento ---------- */

.extras {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  margin-top: 2.6rem;
}
.extras .amenities { margin-top: 0; }
.extra-note {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ---------- Banda CTA ---------- */

.cta-band {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}
.cta-band picture, .cta-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.cta-band .container { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 56ch; margin: 0 auto 2.2rem; }
.cta-band .hero-ctas { margin-top: 0; }

/* ---------- Contactos ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 1.1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .cc-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.contact-card .cc-icon svg { width: 24px; height: 24px; stroke: var(--white); }
.cc-icon-wa { background: var(--wa); }
.cc-icon-mail { background: var(--azul); }
.cc-icon-tel { background: var(--terracotta); }
.cc-icon-ig { background: var(--gold); }
.cc-icon-fb { background: #3D5A80; }
.contact-card h3 { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-card .cc-value { font-size: 1.05rem; font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-card .cc-note { font-size: 0.82rem; color: var(--muted); }

.address-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.address-line svg { width: 18px; height: 18px; stroke: var(--terracotta); flex: none; margin-top: 0.25rem; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Formulário de orçamento (WhatsApp) ---------- */

.quote-form {
  max-width: 720px;
  margin: 2.8rem auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px -16px rgba(49, 41, 31, 0.22);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.4rem;
}
.qf-field { display: flex; flex-direction: column; gap: 0.45rem; }
.qf-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.qf-field input,
.qf-field select {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  width: 100%;
  min-height: 48px;
}
.qf-field input:focus,
.qf-field select:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(31, 122, 140, 0.16);
}
.qf-error {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--terracotta);
}
.qf-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.4rem;
  text-align: center;
}
.qf-note { font-size: 0.8rem; color: var(--muted); max-width: 46ch; }
@media (max-width: 640px) {
  .quote-form { grid-template-columns: 1fr; }
  .qf-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 4.5rem 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; } }
.footer .logo-text { fill: #F3EDE3; }
.footer .logo-sub { fill: rgba(243, 237, 227, 0.6); }
.footer .logo-tile { fill: var(--gold-light); }
.footer-logo svg { height: 54px; width: auto; }
.footer-about p { margin-top: 1.2rem; max-width: 40ch; }
.footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer li { margin-bottom: 0.65rem; }
.footer a { color: rgba(255, 255, 255, 0.72); transition: color 0.2s ease; }
.footer a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--gold-light); flex: none; margin-top: 0.25rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-credit,
.footer-bottom .footer-credit a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom .footer-credit a:hover { color: rgba(255, 255, 255, 0.6); }

/* ---------- Página de privacidade ---------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.65rem;
  margin: 2.6rem 0 0.8rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem; }
.prose ul li {
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.45rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .prose-updated {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  margin-top: 2.6rem;
}

/* ---------- Mapa click-to-load ---------- */

.map-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
}
.map-ph-bg, .map-ph-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 18, 12, 0.38), rgba(24, 18, 12, 0.58));
}
.map-ph-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.map-ph-content svg { width: 30px; height: 30px; stroke: var(--gold-light); }
.map-ph-content p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  max-width: 26ch;
  line-height: 1.35;
}

/* ---------- Banner de cookies ---------- */

.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 95;
  max-width: 430px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px -12px rgba(20, 15, 10, 0.55);
  padding: 1.2rem 1.4rem;
  font-size: 0.85rem;
  line-height: 1.55;
}
.cookie-banner p { margin-bottom: 0.9rem; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.cookie-banner .btn { padding: 0.6rem 1.3rem; }
@media (max-width: 640px) {
  .cookie-banner {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    max-width: none;
  }
}

/* em mobile o banner ocupa a largura toda: o botão de WhatsApp sobe para não ficar tapado */
@media (max-width: 640px) {
  body.cookie-banner-open .wa-float {
    bottom: calc(1rem + var(--cookie-banner-h, 0px));
  }
}

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(18, 140, 78, 0.65);
  transition: bottom 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px -8px rgba(18, 140, 78, 0.8); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 15, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.lb-counter {
  position: absolute;
  top: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
.lb-counter[hidden] { display: none; }
.lightbox-caption {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-align: center;
  width: 90%;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox button svg { width: 22px; height: 22px; stroke: var(--white); }
.lightbox button[hidden] { display: none; }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lightbox button { width: 42px; height: 42px; }
  .lightbox img { max-width: 94vw; max-height: 74vh; }
  .lb-counter { top: 1.5rem; font-size: 0.74rem; }
  .lightbox-caption { bottom: 1.2rem; font-size: 0.78rem; }
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
