/* =========================================================
   Chácara Altos da Bela Vista — sistema visual
   Verde-noite dos ciprestes do logo como base, dourado-champanhe
   da luz de fim de tarde como destaque, pedra clara nos fundos.
   ========================================================= */

@font-face {
  font-family: "Bricolage";
  src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2-variations"),
       url("assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta — noite de verão na chácara: verde dos ciprestes quase
     preto, dourado-champanhe da luz do fim de tarde, pedra clara. */
  --noite: #0f1d17;           /* cabeçalho e rodapé */
  --cipreste: #1a2e25;        /* superfícies escuras: comodidades, chamada */
  --cipreste-fundo: #0b1611;  /* base do rodapé */
  --ouro: #c4a468;            /* ação principal (botões) */
  --ouro-claro: #dcc495;      /* realces e ícones sobre o escuro */
  --ouro-escuro: #85673a;     /* ícones, barras e detalhes sobre o claro */
  --cal: #f6f5f1;             /* fundo claro principal */
  --salvia: #ebe9e2;          /* fundo claro alternativo */
  --tinta: #14201a;           /* texto */
  --tinta-suave: #56605a;     /* texto secundário */
  --linha: #d9d5ca;           /* divisores em fundo claro */
  --linha-escura: rgba(220, 196, 149, .18);
  --claro-sobre-verde: #d8dcd4;

  /* Tipografia — escala 1.25 */
  --fonte: "Bricolage", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t-xs: .8125rem;   /* 13 */
  --t-sm: .9375rem;   /* 15 */
  --t-base: 1.0625rem;/* 17 */
  --t-md: 1.25rem;    /* 20 */
  --t-lg: 1.5625rem;  /* 25 */
  --t-h2: clamp(2rem, 1.4rem + 2.4vw, 2.875rem);
  --t-h1: clamp(2.6rem, 1.6rem + 4.2vw, 4.5rem);

  /* Espaço e forma */
  --largura: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --secao: clamp(72px, 9vw, 120px);
  --raio: 4px;
  --header: 84px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cal);
  color: var(--tinta);
  font-family: var(--fonte);
  font-size: var(--t-base);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
figure, blockquote { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; font-stretch: 82%; letter-spacing: -.015em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
section[id], [id="topo"] { scroll-margin-top: var(--header); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--ouro-escuro); outline-offset: 3px; border-radius: 2px; }
.header :focus-visible, .hero :focus-visible, .amenities-section :focus-visible,
.cta-section :focus-visible, footer :focus-visible, .lightbox :focus-visible { outline-color: var(--ouro-claro); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 16px; background: var(--cal); color: var(--tinta); font-weight: 600; border-radius: var(--raio); transition: top .2s; }
.skip-link:focus { top: 12px; }

.section { width: min(var(--largura), 100%); margin: 0 auto; padding: var(--secao) var(--gutter); }
.section h2 { font-size: var(--t-h2); color: var(--cipreste); margin-bottom: 20px; }

/* ---------- Botões ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 22px;
  border: 1.5px solid transparent; border-radius: var(--raio);
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .005em; line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.button:active { transform: translateY(1px); }
.button .icon { width: 1.2em; height: 1.2em; }
.primary { background: var(--ouro); color: var(--noite); }
.primary:hover { background: var(--ouro-claro); }
.ghost { border-color: rgba(220,196,149,.55); color: #fff; }
.ghost:hover { border-color: var(--ouro-claro); background: rgba(220,196,149,.1); }
.light { background: var(--ouro); color: var(--noite); }
.light:hover { background: var(--ouro-claro); }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: var(--noite); color: #fff;
  transition: box-shadow .25s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--linha-escura); }
.header-inner {
  width: min(var(--largura), 100%); height: var(--header); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: block; width: 96px; flex: none; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; font-size: var(--t-sm); }
.nav a { position: relative; padding: 10px 12px; color: var(--claro-sobre-verde); transition: color .2s; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
  background: var(--ouro-claro); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:not(.nav-cta):hover { color: #fff; }
.nav a:not(.nav-cta):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: #fff; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 12px;
  padding: 11px 16px !important; border-radius: var(--raio);
  background: var(--ouro); color: var(--noite) !important; font-weight: 600;
  transition: background-color .2s;
}
.nav-cta:hover { background: var(--ouro-claro); }
.menu-button { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before { position: absolute; left: 11px; width: 24px; height: 1.5px; background: #fff; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-lines { top: 18px; }
.menu-lines::before { content: ""; left: 0; top: 9px; }
.menu-button[aria-expanded="true"] .menu-lines { top: 22px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(-90deg); }

/* ---------- Hero: a fachada, como quem passa na rua ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header)), 860px);
  display: flex; background: var(--noite); color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 45%;
  animation: chegada 1.8s var(--ease) both;
}
/* Véu só onde o texto fica: a casa continua visível à direita */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,22,17,.94) 0%, rgba(11,22,17,.82) 34%, rgba(11,22,17,.35) 62%, rgba(11,22,17,.08) 100%),
    linear-gradient(0deg, rgba(11,22,17,.9) 0%, rgba(11,22,17,0) 32%);
}
@keyframes chegada { from { transform: scale(1.06); opacity: .6; } }
.hero-inner {
  width: min(var(--largura), 100%); margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) var(--gutter) 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.hero-content { max-width: 620px; animation: surge 1s .25s var(--ease) both; }
@keyframes surge { from { opacity: 0; transform: translateY(14px); } }
.hero h1 { font-size: var(--t-h1); font-weight: 720; font-stretch: 78%; line-height: .98; letter-spacing: -.025em; }
.hero h1 .hero-place { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--ouro-claro); font-size: var(--t-sm); font-weight: 500; font-stretch: 100%; line-height: 1.4; letter-spacing: 0; text-wrap: wrap; }
.hero-title { display: block; max-width: 12ch; }
.hero-lead { max-width: 44ch; margin-top: 24px; font-size: var(--t-md); line-height: 1.55; color: var(--claro-sobre-verde); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-stats {
  margin: 0; padding: 26px 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--linha-escura);
}
.hero-stats div { min-width: 0; padding-right: 16px; }
.hero-stats div + div { padding-left: 24px; border-left: 1px solid var(--linha-escura); }
.hero-stats dt { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: var(--t-xs); color: var(--ouro-claro); }
.hero-stats dd { margin: 0; font-size: var(--t-xs); color: var(--claro-sobre-verde); line-height: 1.35; }
.hero-stats strong { display: block; font-size: var(--t-md); font-weight: 650; color: #fff; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px, 6vw, 80px); align-items: end; }
.about-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--raio); }
.about-image figcaption { margin-top: 12px; font-size: var(--t-xs); color: var(--tinta-suave); }
.about-copy { padding-bottom: 34px; }
.about-copy p:not(.signature) { color: var(--tinta-suave); max-width: 44ch; }
.about-copy p + p { margin-top: 16px; }
.signature { margin-top: 28px !important; padding-top: 18px; border-top: 1px solid var(--linha); font-weight: 650; font-stretch: 85%; font-size: var(--t-md); color: var(--cipreste); }
.signature small { display: block; font-size: var(--t-xs); font-weight: 400; font-stretch: 100%; color: var(--tinta-suave); }

/* ---------- Galeria ---------- */
.gallery-section { padding-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { color: var(--tinta-suave); }
.filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--salvia); border-radius: 6px; }
.filters button {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 9px 14px; border: 0; border-radius: var(--raio); background: transparent;
  color: var(--tinta-suave); font-size: var(--t-sm); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.filters button:hover { color: var(--tinta); background: rgba(255,255,255,.6); }
.filters button.active { background: #fff; color: var(--cipreste); font-weight: 600; box-shadow: 0 1px 2px rgba(23,36,29,.12); }
.filters .count { font-size: var(--t-xs); font-variant-numeric: tabular-nums; color: var(--ouro-escuro); font-weight: 500; }

.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.photo-card {
  position: relative; display: block; padding: 0; border: 0; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 5; border-radius: var(--raio); background: var(--salvia);
}
.photo-card:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.photo-card:hover img { transform: scale(1.03); }
.photo-card span {
  position: absolute; z-index: 1; left: 10px; bottom: 10px; padding: 5px 10px;
  border-radius: 3px; background: rgba(11, 22, 17, .84); color: #fff; font-size: var(--t-xs);
  opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease);
}
.photo-card:hover span, .photo-card:focus-visible span { opacity: 1; transform: none; }
.gallery-grid.is-changing .photo-card { animation: aparece .45s var(--ease) both; }
@keyframes aparece { from { opacity: 0; } }

/* ---------- Comodidades ---------- */
.amenities-section { background: var(--cipreste); color: #fff; }
.amenities-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 6vw, 88px); }
.amenities-wrap h2 { color: #fff; }
.amenities-intro p { color: var(--claro-sobre-verde); max-width: 34ch; }
.amenities-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.amenities-grid li { display: flex; flex-direction: column; }
.amenities-grid .icon { width: 34px; height: 34px; stroke-width: 1.25; color: var(--ouro-claro); margin-bottom: 16px; }
.amenities-grid strong { font-weight: 600; font-size: var(--t-base); line-height: 1.3; }
.amenities-grid small { margin-top: 6px; font-size: var(--t-sm); line-height: 1.5; color: var(--claro-sobre-verde); }

/* ---------- Estrutura ---------- */
.structure { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.structure h2 { max-width: 14ch; }
.structure-list { list-style: none; padding: 0; margin: 8px 0 32px; }
.structure-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--linha); }
.structure-list li:first-child { border-top: 1px solid var(--linha); }
.structure-list .icon { width: 30px; height: 30px; color: var(--ouro-escuro); stroke-width: 1.3; margin-top: 2px; }
.structure-list strong { display: block; font-weight: 600; font-size: var(--t-md); line-height: 1.3; color: var(--cipreste); }
.structure-list small { display: block; margin-top: 4px; font-size: var(--t-sm); color: var(--tinta-suave); }
.structure-image { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.structure-image img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; border-radius: var(--raio); }
.structure-image img:last-child { margin-top: 64px; }

/* ---------- Avaliações ---------- */
.reviews-section { background: var(--salvia); }
.reviews-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); }
.reviews-heading h2 { max-width: 12ch; }
.google-score { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.google-score > strong { font-size: 4rem; line-height: 1; font-weight: 700; font-stretch: 78%; color: var(--cipreste); font-variant-numeric: tabular-nums; }
.google-score small { display: block; margin-top: 4px; font-size: var(--t-sm); color: var(--tinta-suave); }
.stars { display: inline-flex; gap: 2px; color: var(--ouro); }
.stars .icon { width: 18px; height: 18px; }
.reviews-grid { display: grid; gap: 0; }
.reviews-grid figure { padding: 26px 0; border-top: 1px solid var(--linha); }
.reviews-grid figure:last-child { border-bottom: 1px solid var(--linha); }
.reviews-grid blockquote p { font-size: var(--t-md); line-height: 1.5; color: var(--tinta); max-width: 52ch; }
.reviews-grid blockquote p::before { content: "“"; }
.reviews-grid blockquote p::after { content: "”"; }
.reviews-grid figure:first-child blockquote p { font-size: var(--t-lg); font-weight: 500; font-stretch: 90%; line-height: 1.35; color: var(--cipreste); }
.reviews-grid figcaption { margin-top: 12px; font-size: var(--t-sm); color: var(--tinta-suave); }

/* ---------- Perguntas frequentes ---------- */
.location-section { border-top: 1px solid var(--linha); }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); }
.faq h2 { max-width: 10ch; }
.faq-list { border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: var(--t-md); font-weight: 600; line-height: 1.35; color: var(--cipreste);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 1.5px solid var(--ouro-escuro); border-bottom: 1.5px solid var(--ouro-escuro);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { color: var(--tinta); }
.faq details p { max-width: 60ch; padding: 0 32px 22px 0; color: var(--tinta-suave); }
.faq details[open] p { animation: surge .35s var(--ease) both; }

/* ---------- Localização ---------- */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: stretch; }
.location-copy > p { color: var(--tinta-suave); }
.distance-list { list-style: none; padding: 0; margin: 28px 0; }
.distance-list li { display: grid; grid-template-columns: minmax(0, 11rem) 1fr 4rem; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--linha); font-size: var(--t-sm); }
.distance-list li:first-child { border-top: 1px solid var(--linha); }
.distance-list strong { text-align: right; font-weight: 600; color: var(--cipreste); font-variant-numeric: tabular-nums; }
.bar { position: relative; display: block; height: 6px; isolation: isolate; }
.bar::before { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--ouro-escuro); }
.bar::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--linha); z-index: -1; }
.d5::before { width: 25%; } .d7::before { width: 35%; } .d10::before { width: 50%; } .d15::before { width: 75%; } .d20::before { width: 100%; }
.address { display: flex; gap: 12px; margin-bottom: 24px; font-style: normal; color: var(--tinta-suave); font-size: var(--t-sm); }
.address .icon { width: 22px; height: 22px; color: var(--ouro-escuro); margin-top: 2px; }
.address strong { display: block; color: var(--tinta); font-size: var(--t-base); }
.map-frame { min-height: 460px; border-radius: var(--raio); overflow: hidden; background: var(--salvia); }
.map-frame iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- Chamada final ---------- */
.cta-section { background: var(--cipreste); color: #fff; border-top: 1px solid var(--linha-escura); }
.cta-inner { width: min(var(--largura), 100%); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--gutter); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); }
.cta-logo { width: clamp(150px, 20vw, 240px); height: auto; }
.cta-section h2 { font-size: var(--t-h2); max-width: 16ch; }
.cta-section p { margin: 14px 0 28px; color: var(--claro-sobre-verde); font-size: var(--t-md); }

/* ---------- Rodapé ---------- */
footer { background: var(--cipreste-fundo); color: var(--claro-sobre-verde); font-size: var(--t-sm); }
.footer-main { width: min(var(--largura), 100%); margin: 0 auto; padding: 64px var(--gutter) 48px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand > a:first-child { display: block; width: 150px; margin-bottom: 18px; }
.footer-brand p { max-width: 28ch; color: #a9bbb0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col > strong { margin-bottom: 6px; color: #fff; font-weight: 600; font-size: var(--t-base); }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--ouro-claro); }
.footer-col span { color: #a9bbb0; }
.instagram-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; color: #fff; max-width: 100%; }
.instagram-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border: 1px solid var(--linha-escura); border-radius: 50%; transition: border-color .2s, color .2s; }
.instagram-icon .icon { width: 22px; height: 22px; }
.instagram-link:hover .instagram-icon { border-color: var(--ouro-claro); color: var(--ouro-claro); }
.instagram-link small, .instagram-link strong { display: block; }
.instagram-link small { color: #a9bbb0; font-size: var(--t-xs); }
.instagram-link strong { font-weight: 500; overflow-wrap: anywhere; }
.footer-bottom { width: min(var(--largura), 100%); margin: 0 auto; padding: 22px var(--gutter); display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; border-top: 1px solid var(--linha-escura); color: #8ea295; font-size: var(--t-xs); }
.footer-bottom strong { color: var(--claro-sobre-verde); font-weight: 600; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; z-index: 25; right: 20px; bottom: 20px;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--noite); color: var(--ouro-claro); border: 1px solid rgba(220,196,149,.45); box-shadow: 0 8px 22px rgba(11, 22, 17, .35);
  transition: transform .2s var(--ease), background-color .2s;
}
.whatsapp-float .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.whatsapp-float:hover { transform: translateY(-2px); background: var(--cipreste); border-color: var(--ouro-claro); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 64px 84px; background: rgba(11, 22, 17, .97); opacity: 0; transition: opacity .25s; }
.lightbox.open { display: grid; }
.lightbox.visible { opacity: 1; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 2px; transition: opacity .2s; }
.lightbox img.is-loading { opacity: .3; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--raio); background: transparent; color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.lightbox button .icon { width: 22px; height: 22px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-meta { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 14px; color: #d5e0d7; font-size: var(--t-sm); }
#lightboxCounter { color: #8ea295; font-variant-numeric: tabular-nums; }

/* =================== Responsivo =================== */
@media (max-width: 1080px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
  :root { --header: 72px; }
  .brand { width: 80px; }
  .menu-button { display: block; }
  .nav {
    position: absolute; top: var(--header); left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--noite); border-top: 1px solid var(--linha-escura);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
    max-height: calc(100vh - var(--header)); overflow-y: auto;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav a { padding: 15px 0; font-size: var(--t-base); border-bottom: 1px solid var(--linha-escura); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 18px 0 0; justify-content: center; border-bottom: 0 !important; padding: 15px !important; }

  /* No celular a fachada aparece inteira, sem texto por cima */
  .hero { min-height: auto; display: block; }
  .hero-bg { position: relative; z-index: auto; height: clamp(280px, 72vw, 520px); object-position: 60% 50%; }
  .hero::before { inset: 0 0 auto 0; height: clamp(280px, 72vw, 520px); z-index: 0; background: linear-gradient(180deg, rgba(11,22,17,0) 55%, var(--noite) 100%); }
  .hero-inner { position: relative; z-index: 1; margin-top: -28px; padding-top: 0; gap: 36px; }
  .about, .amenities-wrap, .structure, .reviews-wrap, .location, .faq { grid-template-columns: 1fr; }
  .about-copy { padding-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .structure-image { order: -1; }
  .structure-image img { aspect-ratio: 3 / 3.6; }
  .structure-image img:last-child { margin-top: 40px; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --t-md: 1.125rem; --t-lg: 1.3125rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { column-gap: 0; }
  .hero-stats div { padding-right: 10px; }
  .hero-stats div:nth-child(even) { padding-left: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .photo-card:first-child { grid-row: span 1; aspect-ratio: 4 / 3.4; }
  .photo-card span { z-index: 1; opacity: 1; transform: none; left: 6px; bottom: 6px; padding: 3px 8px; font-size: 12px; }
  .photo-card:not(:first-child) span { display: none; }
  .filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .amenities-grid { gap: 30px 20px; }
  .amenities-grid .icon { width: 30px; height: 30px; margin-bottom: 12px; }
  .distance-list li { grid-template-columns: 1fr 3.6rem; row-gap: 8px; }
  .distance-list .bar { grid-column: 1 / -1; grid-row: 2; }
  .map-frame, .map-frame iframe { min-height: 340px; }
  .location .button { width: 100%; }
  .google-score > strong { font-size: 3.25rem; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .lightbox { padding: 64px 0 72px; }
  .lightbox img { max-height: calc(100vh - 150px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 10px; transform: none; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-meta { bottom: 24px; flex-direction: column; align-items: center; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
