/* ============================================================
   Jorge Ortiz — Casa com terreno grande no Massaguaçu
   Tema clean: creme quente + dourado, Manrope, cantos suaves
   ============================================================ */

/* ------------------------------------------------------------ fonte
   Manrope variável (400–800) auto-hospedada: sem requisição a terceiros
   e sem bloqueio de render. Subsets latin + latin-ext (pt-BR). */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #faf8f5;
  --card: #ffffff;
  --ink: #16150f;
  --ink-2: #43403a;
  --muted: #6b675e;
  --line: #e9e4db;
  --line-soft: #f0ebe2;

  --gold: #dfa844;
  --gold-2: #b98a2e;
  --gold-dark: #c8913a;
  --gold-ring: rgba(223, 168, 68, .28);

  --pill: #121110;            /* header flutuante */
  --dark-card: #1a1815;       /* cartão do preço */

  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(22, 21, 15, .05), 0 8px 24px rgba(22, 21, 15, .06);
  --shadow-md: 0 2px 4px rgba(22, 21, 15, .06), 0 16px 40px rgba(22, 21, 15, .10);

  --container: 1180px;
  --header-h: 76px;
}

/* ------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body {
  font-family: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea { font: inherit; }
::selection { background: var(--gold); color: #241a05; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 40px); }

/* ------------------------------------------------------------ botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn:focus-visible { outline: 3px solid var(--gold-ring); outline-offset: 2px; }

.btn--gold { background: var(--gold); color: #241a05; }
.btn--gold:hover { background: #e6b455; box-shadow: 0 10px 24px var(--gold-ring); }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--white:hover { background: #fff; box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--dark { background: var(--gold); color: #241a05; }
.btn--dark:hover { background: #e6b455; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.btn--darkghost { border-color: rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.btn--darkghost:hover { border-color: rgba(255, 255, 255, .6); }

.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------- header */
.header {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
}
.header__inner {
  width: min(var(--container), 100% - 28px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--pill);
  border-radius: 20px;
  padding: 8px 10px 8px 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 14px 40px rgba(15, 12, 6, .18);
  transition: box-shadow .3s ease;
}
.header--solid .header__inner { box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 50px rgba(15, 12, 6, .26); }

.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; color: #fff; }
.brand__logo {
  width: 88px;
  height: 88px;
  padding: 5px;
  background: #000;
  border: 1px solid rgba(223, 168, 68, .5);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.brand:hover .brand__logo { transform: scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__text small {
  color: var(--gold);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .33em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav a:not(.btn) {
  color: #cfccc4;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a[aria-current="true"] { color: var(--gold); }
.nav .btn { margin-left: 6px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------------------------------------------------------- hero */
.hero { padding: 134px 0 28px; }

.hero__card {
  position: relative;
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(480px, 68vh, 640px);
  box-shadow: var(--shadow-md);
}
.hero__card > img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 6, .05) 30%, rgba(10, 9, 6, .52) 72%, rgba(10, 9, 6, .68) 100%),
    linear-gradient(105deg, rgba(10, 9, 6, .42) 0%, rgba(10, 9, 6, .08) 55%);
}
.hero__content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: clamp(26px, 4.5vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 640px;
  width: 100%;
}

.chip-glass {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
  max-width: 11ch;
}
.hero__sub { color: rgba(255, 255, 255, .88); font-size: 1.04rem; max-width: 52ch; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: #fff;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
}

.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero__actions--center { justify-content: center; }
.hero__price { color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }

/* ---------------------------------------------------------- stats */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 18px;
  box-shadow: var(--shadow-sm);
}
.stats > div { background: #fff; padding: 20px 22px; }
.stats dt {
  color: var(--gold-2);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.stats dd { color: var(--ink); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.stats > div:nth-child(5) { background: var(--dark-card); }
.stats > div:nth-child(5) dt { color: var(--gold); }
.stats > div:nth-child(5) dd { color: #fff; }
@media (max-width: 1080px) {
  .stats > div:nth-child(5) { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------- seções */
.section { padding: clamp(52px, 7vw, 84px) 0; }
.section--tint { padding-bottom: clamp(32px, 5vw, 60px); }

.section__head { max-width: 640px; }
.section__desc { color: var(--muted); margin-top: 12px; }

.eyebrow {
  color: var(--gold-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--dark { color: var(--gold); }
.h2--dark { color: #fff; }

.lead { color: var(--muted); }
.lead + .lead { margin-top: 16px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
}

/* ---------------------------------------------------------- features */
.features { margin: 26px 0 30px; display: grid; gap: 12px; }
.features li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-weight: 500;
}
.features li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  top: 1px;
  color: var(--gold);
  font-size: .9rem;
}

/* ---------------------------------------------------------- collage */
.collage { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: stretch; }
.collage__a { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.collage__b,
.collage__a img { height: 100%; }
.collage__a img { object-fit: cover; }
.collage__b { border-radius: var(--radius); overflow: hidden; }
.collage__b img { width: 100%; height: 100%; object-fit: cover; }
.collage figure, .collage figure img { min-height: 320px; }

/* ---------------------------------------------------------- galeria */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item a {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery__item a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery__item a:focus-visible { outline: 3px solid var(--gold-ring); outline-offset: 2px; }
.gallery figure { position: relative; }
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__item a:hover img { transform: scale(1.035); }
.gallery figcaption { padding: 12px 16px 14px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide img { aspect-ratio: 16 / 9; }

/* ---------------------------------------------------------- localização */
.local__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.local__media img { width: 100%; }
.hero__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  background: rgba(12, 11, 8, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}
.local__media { position: relative; }

/* ---------------------------------------------------------- tour em vídeo */
.video-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--pill);
  border: 1px solid rgba(223, 168, 68, .32);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 52px);
  box-shadow: var(--shadow-md);
}
.video-copy__lead { color: #d8d2c6; margin-top: 16px; line-height: 1.65; }
.video-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 30px;
  display: grid;
  gap: 12px;
}
.video-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #ede9e0;
  font-size: .98rem;
  font-weight: 600;
}
.video-list li span {
  flex: 0 0 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(223, 168, 68, .16);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 800;
}
.video-copy__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(223, 168, 68, .45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-cover {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, .12));
  transition: opacity .3s ease, visibility .3s ease;
}
.video-frame.is-playing .video-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.video-play {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #241a05;
  box-shadow: 0 10px 32px rgba(223, 168, 68, .55), 0 0 0 12px rgba(223, 168, 68, .25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-play svg { margin-left: 4px; }
.video-frame:hover .video-play {
  transform: scale(1.08);
  box-shadow: 0 12px 38px rgba(223, 168, 68, .75), 0 0 0 16px rgba(223, 168, 68, .35);
}
.video-cover-tag {
  background: rgba(12, 11, 9, .82);
  border: 1px solid rgba(223, 168, 68, .55);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 8px 16px;
  border-radius: 999px;
}
@media (max-width: 960px) {
  .video-split { grid-template-columns: 1fr; }
  .video-frame { max-width: 340px; }
}

/* ---------------------------------------------------------- proposta */
.cta {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}
.cta .eyebrow { margin-bottom: 0; }
.cta__text { color: rgba(255, 255, 255, .75); max-width: 56ch; margin-top: 10px; }

/* ---------------------------------------------------------- contato */
.portrait {
  width: 132px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 26px 0 24px;
}
.portrait img { aspect-ratio: 1 / 1; object-fit: cover; }

.contact-rows { display: grid; gap: 12px; }
.contact-rows li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}
.contact-rows svg { width: 20px; height: 20px; fill: var(--gold-2); flex: none; }
.contact-rows strong { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.contact-rows span { color: var(--ink); font-weight: 700; font-size: 1.02rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 36px);
  box-shadow: var(--shadow-sm);
}
.form-card .field + .field { margin-top: 18px; }
.form-card label {
  display: block;
  color: var(--ink-2);
  font-size: .84rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.form-card input,
.form-card textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--ink);
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: #a8a29a; }
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-ring);
}
.form-card textarea { resize: vertical; min-height: 130px; }
.form-card .btn { margin-top: 22px; }
.form-note { color: var(--muted); font-size: .84rem; margin-top: 12px; text-align: center; }

.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span {
  color: var(--gold-2);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  transition: transform .25s ease;
}
.faq details[open] summary span { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--gold-ring); outline-offset: -3px; border-radius: var(--radius); }
.faq__body { padding: 0 22px 20px; color: var(--muted); }

/* ---------------------------------------------------------- rodapé */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 52px 0 0;
  margin-top: clamp(32px, 5vw, 56px);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr .9fr .8fr;
  gap: 36px;
  align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 20px; }
.footer__logo {
  width: 118px;
  height: 118px;
  padding: 6px;
  background: #000;
  border: 1px solid rgba(223, 168, 68, .5);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(22, 21, 15, .2);
}
.footer__brand p { color: var(--muted); max-width: 24ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: color .2s ease;
}
.footer__nav a:hover { color: var(--gold-2); }
.footer__cta { justify-self: end; }

.footer__legal {
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: .86rem;
}
.footer__credit { flex-basis: 100%; font-size: .82rem; }
.footer__credit a { color: var(--gold-2); font-weight: 700; text-decoration: underline; }
.footer__credit a:hover { color: var(--gold-dark); }

/* ---------------------------------------------------------- flutuante */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--pill);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  padding: 11px 20px 11px 12px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(10, 8, 4, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(10, 8, 4, .36); }
.wa-float__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  color: #241a05;
  padding: 7px;
  fill: currentColor;
}

/* ---------------------------------------------------------- lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: rgba(10, 9, 6, .94);
  color: #fff;
  max-width: 100vw;
  max-height: 100vh;
}
.lightbox::backdrop { background: rgba(8, 7, 5, .92); }
.lightbox__close, .lightbox__nav {
  position: fixed;
  z-index: 2;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .18); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__figure {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 64px 72px;
}
.lightbox__figure img { max-width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox__figure figcaption { color: rgba(255, 255, 255, .8); text-align: center; font-size: .95rem; }
.lightbox__count { color: rgba(255, 255, 255, .5); text-align: center; font-size: .8rem; letter-spacing: .12em; }
body.lb-open { overflow: hidden; }

/* ---------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery img, .btn, .wa-float { transition: none; }
}

/* ---------------------------------------------------------- responsivo */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__brand { flex-direction: column; text-align: center; }
  .footer__cta { justify-self: center; }
  .footer__legal { justify-content: center; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 36px; }
  .hero { padding-top: 126px; }
  .hero__card { min-height: clamp(460px, 74vh, 560px); }
  .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: auto; }
  .collage figure, .collage figure img { min-height: 240px; }

  /* brand e toggle acima do overlay do nav (nav aberto = z-index 1) */
  .brand, .menu-toggle { position: relative; z-index: 5; }
  .header__inner { position: relative; z-index: 2; }
  .menu-toggle { display: inline-flex; }
  /* com o menu aberto a barrinha some — o overlay creme é a tela toda */
  body.menu-open .header__inner { background: transparent; box-shadow: none; }
  body.menu-open .brand__text strong { color: var(--ink); }
  body.menu-open .brand__text small { color: var(--gold-2); }
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    background: #faf8f5;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; z-index: 1; }
  .nav a:not(.btn) { color: var(--ink-2); font-size: 1.3rem; font-weight: 700; }
  .nav a:not(.btn):hover { color: var(--ink); }
  .nav a[aria-current="true"] { color: var(--gold-2); }
  .header__inner { padding-right: 10px; }
}

@media (max-width: 620px) {
  .container { width: min(var(--container), 100% - 32px); }
  .brand__text small { display: none; }
  .brand__text strong { font-size: .92rem; letter-spacing: .1em; }
  .brand__logo { width: 72px; height: 72px; padding: 4px; border-radius: 13px; }
  .chip-glass { font-size: .62rem; padding: 8px 14px; letter-spacing: .14em; }
  .hero { padding-top: 112px; }
  .hero__card { min-height: 440px; }
  .hero__title { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .hero__actions .btn { width: 100%; }
  .hero__price { font-size: 1rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .faq summary { padding: 16px 18px; }
  .faq__body { padding: 0 18px 18px; }
  .lightbox__figure { padding: 64px 16px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .wa-float span { display: none; }
  .wa-float { padding: 9px; right: 14px; bottom: 14px; }
  .wa-float__icon { width: 30px; height: 30px; padding: 6px; }
  .footer { padding-top: 44px; }
  .footer__inner { gap: 30px; }
  .footer__logo { width: 96px; height: 96px; padding: 5px; border-radius: 15px; }
  .hero__card::after {
    background:
      linear-gradient(180deg, rgba(10, 9, 6, .1) 20%, rgba(10, 9, 6, .62) 68%, rgba(10, 9, 6, .78) 100%),
      linear-gradient(105deg, rgba(10, 9, 6, .5) 0%, rgba(10, 9, 6, .12) 60%);
  }
}
