/* ============================================================
   MARQUÊS 3 — landing page
   Versão 1.0 — Maio 2025
   ============================================================ */

:root {
  --color-bg:           #FAFAF8;
  --color-dark:         #0F1923;
  --color-dark-alt:     #1A1F2E;
  --color-accent:       #C9A84C;
  --color-accent-light: #E8D5A3;
  --color-text:         #1C1C1C;
  --color-text-light:   #F5F0E8;
  --color-text-muted:   #8A8A8A;
  --color-line:         #E0D9CF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-section:   120px;
  --space-section-lg: 160px;

  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img, video, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
iframe { border: 0; }

::selection { background: var(--color-accent); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 760px; }

.italic { font-style: italic; }
.accent { color: var(--color-accent); }
.light { color: rgba(245, 240, 232, 0.7); }
.uppercase { text-transform: uppercase; letter-spacing: 0.2em; }

/* ---------- Scroll reveal animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variant: subtle fade, no translate — for elements that should appear in place */
.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.fade-in.is-visible {
  opacity: 1;
}

/* Variant: slide from the side — for editorial accents */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: background var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 0;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.25em;
  color: var(--color-text-light);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-cta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition);
}
.nav-cta:hover { border-bottom-color: var(--color-accent); }

/* Lang switcher */
.lang-switcher { display: flex; gap: 8px; align-items: center; }
.lang-btn {
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  opacity: 0.5;
  transition: opacity var(--transition), border-color var(--transition);
}
.lang-btn:hover { opacity: 0.85; }
.lang-btn.active { opacity: 1; border-bottom-color: var(--color-accent); }
.lang-btn .fi {
  width: 24px;
  height: 18px;
  border-radius: 2px;
  display: inline-block;
  background-size: cover;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* YT.Player substitui o <div class="hero-video"> por <iframe class="hero-video">,
   por isso as regras de dimensão têm de aplicar tanto ao div como ao iframe. */
.hero-video,
.hero-video iframe,
iframe.hero-video {
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 inverso */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

/* Vídeo vertical (YouTube Shorts, 9:16) — preenche viewport, corta topo/fundo no desktop */
.hero-video-wrap.hero-vertical .hero-video,
.hero-video-wrap.hero-vertical iframe.hero-video {
  width: 56.25vh; /* 9:16 */
  height: 100vh;
  min-width: 100vw;
  min-height: 177.77vw; /* 9:16 inverso */
}
.hero-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-click-blocker {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: default;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
  color: var(--color-text-light);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 24px;
}
.hero-rule {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: 24px auto;
}
.hero-subtitle {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 48px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
}
.hero-tagline p + p { margin-top: 6px; }

.hero-sound-toggle {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition);
}
.hero-sound-toggle:hover {
  background: rgba(201, 168, 76, 0.3);
  border-color: var(--color-accent);
}
.sound-icon { font-size: 10px; }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  color: var(--color-accent);
  font-size: 24px;
  animation: pulse-down 2.5s ease-in-out infinite;
}
@keyframes pulse-down {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* ============================================================
   SECÇÃO 2 — DECLARAÇÃO
   ============================================================ */
.declaracao {
  padding: var(--space-section-lg) 0;
  text-align: center;
}
.decor-rule {
  display: block;
  width: 1px;
  height: 80px;
  background: var(--color-accent);
  margin: 0 auto 80px;
  opacity: 0.6;
}
.dec-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.5;
}
.dec-line + .dec-line { margin-top: 16px; }
.dec-line.small { font-size: clamp(18px, 1.8vw, 24px); }
.dec-spacer { height: 60px; }

/* ============================================================
   SECÇÃO 3 — A CASA
   ============================================================ */
.casa { padding: var(--space-section) 0; }
.casa-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.casa-intro {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 24px;
}
.casa-specs {
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 40px;
}
.casa-preco {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.casa-coords {
  text-align: right;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  line-height: 1.8;
}
.coords-gps { margin-bottom: 32px; }

.casa-table {
  border-top: 1px solid var(--color-line);
  padding-top: 40px;
}
.casa-table table {
  width: 100%;
  border-collapse: collapse;
}
.casa-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
  font-weight: 300;
  vertical-align: middle;
}
.casa-table td:first-child {
  color: var(--color-text-muted);
  width: 50%;
}
.casa-table td:last-child {
  text-align: right;
}

/* SVG sprite + ícones inline */
.ic-sprite { position: absolute; width: 0; height: 0; }
.casa-table .ic {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  margin-right: 16px;
  vertical-align: -4px;
  opacity: 0.85;
  flex-shrink: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.casa-table tr:hover .ic {
  opacity: 1;
  transform: translateY(-1px);
}
.casa-table tr:hover td:first-child { color: var(--color-text); }

/* ============================================================
   SECÇÃO 4 — GALERIA
   ============================================================ */
.galeria {
  position: relative;
  background: #fff;
  padding: var(--space-section) 0 80px;
}
.galeria-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0 32px;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.galeria-track::-webkit-scrollbar { display: none; }
.galeria-track:active { cursor: grabbing; }

.galeria-item {
  position: relative;
  flex: 0 0 auto;
  height: 70vh;
  min-height: 480px;
  max-height: 720px;
  scroll-snap-align: start;
}
.galeria-item picture {
  display: block;
  height: 100%;
  width: auto;
}
.galeria-item img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
}
.galeria-item figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
  max-width: 80%;
}
.galeria-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.galeria-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.gal-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-accent);
  font-size: 24px;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition);
}
.gal-arrow:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ============================================================
   SEPARADOR QUOTE
   ============================================================ */
.separador-quote {
  padding: 80px 0;
  text-align: center;
}
.separador-quote.dark-section { background: var(--color-dark); }
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.quote-text.light { color: rgba(245, 240, 232, 0.6); }

/* ============================================================
   DARK SECTION (Materiais + Life Index)
   ============================================================ */
.dark-section {
  background: var(--color-dark);
  color: var(--color-text-light);
}
.dark-section .section-title {
  color: var(--color-text-light);
}
.dark-section .section-sub {
  color: rgba(245, 240, 232, 0.5);
}

.section-head {
  text-align: center;
  margin-bottom: 80px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 48px);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 24px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--color-accent);
}
.section-sub {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* ---------- Materiais ---------- */
.materiais { padding: var(--space-section) 0; }
.materiais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 40px 32px;
  transition: background var(--transition), border-color var(--transition);
}
.mat-card:hover {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.4);
}
.mat-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.mat-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.75);
}

/* ---------- Life Index ---------- */
.lifeindex { padding: var(--space-section) 0; }
.tabs {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.tab-btn {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.5);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn:hover { color: var(--color-text-light); }
.tab-btn.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.tab-content-wrap { position: relative; min-height: 480px; }
.tab-panel {
  display: none;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  animation: fadeIn 0.5s ease;
}
.tab-panel.active { display: grid; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tab-map {
  height: 480px;
  background: var(--color-dark-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.tab-map iframe {
  width: 100%;
  height: 100%;
  filter: invert(0.9) hue-rotate(180deg) brightness(0.9);
}
.poi-list { display: flex; flex-direction: column; gap: 18px; }
.poi-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 300;
  gap: 16px;
}
.poi-name { color: rgba(245, 240, 232, 0.85); }
.poi-name::before {
  content: '📍 ';
  margin-right: 6px;
  opacity: 0.7;
}
.poi-time {
  color: var(--color-accent);
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ============================================================
   SECÇÃO 7 — TEASER VÍDEO
   ============================================================ */
.teaser { padding: var(--space-section) 0; }
.teaser-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 300;
  text-align: center;
  margin-bottom: 48px;
}
.teaser-video-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  margin: 0 auto 40px;
  overflow: hidden;
  cursor: pointer;
  max-width: 420px;
  aspect-ratio: 9 / 16; /* default: trata como vertical (Shorts) */
}
.teaser-video-wrap.teaser-horizontal {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}
.teaser-thumb {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.teaser-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.55) saturate(1.1);
  transform: scale(1.1); /* evita orlas brancas do blur */
  transition: filter 0.5s ease;
}
.teaser-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,25,35,0.3) 0%, rgba(15,25,35,0.5) 100%);
}
.teaser-lock {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  pointer-events: none;
}
.teaser-lock-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  background: rgba(201, 168, 76, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-accent);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  transition: background var(--transition), border-color var(--transition);
}
.teaser-lock-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  padding: 0 24px;
}
.teaser-video-wrap:hover .teaser-thumb img {
  filter: blur(14px) brightness(0.6) saturate(1.15);
}
.teaser-video-wrap:hover .teaser-lock-icon {
  background: var(--color-accent);
  color: #fff;
}

.teaser-sub {
  text-align: center;
  font-size: 15px;
  color: var(--color-text-muted);
  font-weight: 300;
}
.teaser-cta {
  display: block;
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  transition: color var(--transition), border-color var(--transition);
}
.teaser-cta:hover { color: var(--color-text); border-color: var(--color-text); }

/* ============================================================
   SECÇÃO 8 — FORMULÁRIO
   ============================================================ */
.contacto { padding: var(--space-section-lg) 0; }
.contacto-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
}
.contacto-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 64px;
  line-height: 1.7;
}

.form { margin-bottom: 80px; }

/* Honeypot — invisível para humanos, preenchido por bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-field {
  position: relative;
  margin-bottom: 40px;
}
.form-field input {
  width: 100%;
  padding: 16px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
}
.form-field input:focus { border-bottom-color: var(--color-accent); }
.form-field label {
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: top var(--transition), font-size var(--transition), color var(--transition);
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field input:valid + label {
  top: -6px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}
/* placeholder trick — make the placeholder invisible but present so :not(:placeholder-shown) works */
.form-field input { }
.form-field input::placeholder { color: transparent; }
.form-field input:not(:placeholder-shown) + label { /* already covered above */ }

/* Toggle radio */
.form-toggle { margin: 32px 0 48px; }
.toggle-label {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.toggle-options { display: flex; gap: 12px; flex-wrap: wrap; }
.toggle-opt {
  position: relative;
  cursor: pointer;
}
.toggle-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.toggle-opt span {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--color-line);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.toggle-opt:hover span { border-color: var(--color-accent); color: var(--color-text); }
.toggle-opt input:checked + span {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 48px;
  background: var(--color-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}
.form-submit:hover { background: var(--color-dark); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.form-submit .arrow { font-size: 16px; }

.form-status {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 300;
}
.form-status.error { color: #c44; }
.form-status.success { color: #4a7c3e; }

.form-privacy {
  margin: 8px 0 24px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}
.form-privacy a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--color-text-muted);
}
.form-privacy a:hover { color: var(--color-accent); }

/* Consent checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 32px;
  cursor: pointer;
  user-select: none;
}
.form-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.consent-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-line);
  background: #fff;
  margin-top: 2px;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.form-consent:hover .consent-box { border-color: var(--color-accent); }
.form-consent input[type="checkbox"]:checked + .consent-box {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.form-consent input[type="checkbox"]:checked + .consent-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent input[type="checkbox"]:focus-visible + .consent-box {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.consent-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
}
.form-consent.error .consent-box {
  border-color: #c44;
  background: rgba(204, 68, 68, 0.05);
}

/* Contactos directos */
.contactos-directos {
  border-top: 1px solid var(--color-line);
  padding-top: 48px;
  text-align: center;
}
.cd-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}
.cd-list {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  transition: color var(--transition);
}
.cd-item:hover { color: var(--color-accent); }
.cd-avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}
.cd-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cd-avatar.no-photo::after,
.cd-avatar-placeholder.no-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, var(--color-accent-light) 0 22%, transparent 23%),
    linear-gradient(to bottom, transparent 50%, var(--color-accent-light) 60%, var(--color-accent-light) 100%);
  opacity: 0.35;
}
.cd-item:hover .cd-avatar {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.cd-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-top: 4px;
}
.cd-phone {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.cd-item:hover .cd-phone { color: var(--color-accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: 64px 32px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 48px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
}
.footer-col-center { text-align: center; align-self: center; }
.footer-col-right { text-align: right; }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
}
.footer-gps {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(245, 240, 232, 0.3);
}
.footer-col-right a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.6);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.footer-col-right a:hover { color: var(--color-accent); border-color: var(--color-accent); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 11px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.3);
  letter-spacing: 0.05em;
}

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --space-section: 96px;
    --space-section-lg: 120px;
  }
  .casa-grid { grid-template-columns: 1fr; gap: 48px; }
  .casa-coords { text-align: left; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .tab-map { height: 360px; }
  .materiais-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --space-section: 72px;
    --space-section-lg: 96px;
  }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-right { gap: 16px; }
  .nav-cta { display: none; }
  .lang-btn .fi { width: 20px; height: 15px; }

  .hero-sound-toggle { bottom: 80px; right: 16px; padding: 8px 14px; font-size: 10px; }
  .hero-scroll { font-size: 20px; }

  .declaracao { padding: var(--space-section-lg) 0; }
  .decor-rule { height: 60px; margin-bottom: 60px; }

  .casa-preco { font-size: 36px; }
  .casa-intro { font-size: 22px; }

  .galeria-track { gap: 12px; padding: 0 20px; }
  .galeria-item { height: 60vh; min-height: 320px; }
  .galeria-item figcaption {
    opacity: 1;
    transform: translateY(0);
    font-size: 14px;
    left: 16px;
    bottom: 16px;
  }

  .tabs { gap: 24px; }
  .tab-btn { font-size: 18px; }

  .teaser-play { width: 64px; height: 64px; font-size: 20px; }

  .cd-list { gap: 32px; flex-direction: column; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .footer-col-right { text-align: center; }
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; }
}

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