/* ============================================================
   GW BARBEARIA — Dark Premium
   ============================================================ */
/* ===== Fonts (self-hosted) ===== */
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
}
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/manrope-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #0b0b0d;
  --bg-2: #101014;
  --surface: #15151b;
  --surface-2: #1b1b22;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #d9b36c;
  --gold-2: #f0d9a8;
  --gold-3: #8f6b2f;
  --gold-grad: linear-gradient(120deg, #f0d9a8 0%, #d9b36c 45%, #a8813f 100%);
  --silver: #c9ccd3;
  --text: #eae8e3;
  --muted: #a09d95;
  --font-display: "Marcellus", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #0b0b0d; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a33; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-3); }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container-wide { width: min(1500px, 96%); margin-inline: auto; }
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }

/* ===== Typography helpers ===== */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-weight: 600;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold-grad); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 42px; height: 1px; background: var(--gold-grad); }

.title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.title em {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.title--center { text-align: center; }

.lead { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 60ch; }
.lead--center { margin-inline: auto; text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.btn--lg { padding: 17px 36px; font-size: 15px; }
.btn--gold {
  background: var(--gold-grad);
  color: #17120a;
  box-shadow: 0 8px 30px rgba(217, 179, 108, 0.25);
}
.btn--gold:hover { box-shadow: 0 12px 44px rgba(217, 179, 108, 0.45); transform: translateY(-2px); }
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--gold); color: var(--gold-2); }
.btn--outline:hover { background: rgba(217, 179, 108, 0.12); transform: translateY(-2px); }
.btn--nav { padding: 11px 24px; font-size: 13px; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.preloader__logo {
  width: clamp(150px, 24vw, 220px);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(217, 179, 108, 0.35));
  animation: preloader-pulse 1.6s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.04); opacity: 1; }
}
.preloader__bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold-grad);
  transition: width 0.3s ease;
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 7px; height: 7px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border: 1px solid rgba(217, 179, 108, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 998;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s;
  }
  .cursor-ring.is-hover {
    width: 64px; height: 64px;
    background: rgba(217, 179, 108, 0.08);
    border-color: var(--gold);
  }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, transform 0.45s var(--ease);
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 16px 40px rgba(0, 0, 0, 0.4);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.is-scrolled .nav__inner { height: 68px; }
.nav__inner { transition: height 0.4s var(--ease); }
.nav__logo img { width: 104px; height: auto; transition: width 0.4s var(--ease); filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6)); }
.nav.is-scrolled .nav__logo img { width: 84px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:not(.btn):hover::after,
.nav__links a.is-active:not(.btn)::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 102;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(11, 11, 13, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
    z-index: 101;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-size: 22px; font-family: var(--font-display); letter-spacing: 0.08em; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.35) 40%, rgba(11,11,13,0.92) 92%),
    radial-gradient(ellipse at 25% 60%, rgba(11,11,13,0.75) 0%, transparent 60%);
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding-top: var(--nav-h); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 26px;
  font-weight: 600;
}
.hero__badge .line { width: 48px; height: 1px; background: var(--gold-grad); display: inline-block; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: 1.06;
  letter-spacing: 0.005em;
  margin-bottom: 26px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}
.hero__line { display: block; overflow: hidden; }
.hero__line em { font-style: italic; }
.hero__line--gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { color: #cfccc4; max-width: 54ch; font-size: clamp(15px, 1.7vw, 18px); margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 58px; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 640px;
}
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1.1;
}
.stat span { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero__scroll {
  position: absolute;
  bottom: 34px;
  right: clamp(20px, 5vw, 60px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%; height: 30%;
  background: var(--gold-2);
  animation: scrolldrop 1.8s ease-in-out infinite;
}
@keyframes scrolldrop { to { top: 110%; } }
.hero__scroll-txt { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 179, 108, 0.55);
  transition: color 0.4s;
}
.marquee__track span:hover { color: var(--gold); }
.marquee__track i { color: var(--gold); font-style: normal; font-size: 13px; }

/* ============================================================
   O ESPAÇO
   ============================================================ */
.space { background: var(--bg); overflow: hidden; }
.space__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.space__media { position: relative; }
.space__img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.space__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.space__img:hover img { transform: scale(1.06); }
.space__img--main { aspect-ratio: 4/3; }
.space__img--float {
  position: absolute;
  right: -8%;
  bottom: -14%;
  width: 46%;
  aspect-ratio: 3/4;
  border: 4px solid var(--bg);
  border-radius: 14px;
}
.space__seal {
  position: absolute;
  top: -46px;
  right: 4%;
  width: 116px;
  height: 116px;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.space__seal svg { width: 100%; height: 100%; }
.space__seal text {
  font-size: 8.4px;
  letter-spacing: 0.22em;
  fill: var(--gold);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
}
.space__features { list-style: none; margin-top: 34px; display: grid; gap: 22px; }
.space__features li { display: flex; gap: 18px; align-items: flex-start; }
.feat-ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 179, 108, 0.35);
  border-radius: 12px;
  color: var(--gold);
  font-size: 18px;
  background: rgba(217, 179, 108, 0.06);
}
.space__features strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.space__features p { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .space__grid { grid-template-columns: 1fr; }
  .space__img--float { right: 0; bottom: -10%; }
  .space__media { margin-bottom: 40px; }
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(217, 179, 108, 0.07) 0%, transparent 65%),
    var(--bg-2);
}
.services__tabs {
  position: relative;
  display: flex;
  gap: 4px;
  width: max-content;
  margin: 34px auto 46px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.tab {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 12px 30px;
  border-radius: 999px;
  transition: color 0.35s;
}
.tab.is-active { color: #17120a; }
.tab__pill {
  position: absolute;
  top: 5px; bottom: 5px;
  left: 5px;
  width: calc(50% - 7px);
  background: var(--gold-grad);
  border-radius: 999px;
  transition: transform 0.45s var(--ease);
  z-index: 1;
}
.services__tabs[data-active="cidadealta"] .tab__pill { transform: translateX(calc(100% + 4px)); }

.services__panel { display: none; }
.services__panel.is-active { display: block; animation: panelIn 0.6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 18px;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 179, 108, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.price-card:hover::before { opacity: 1; }
.price-card:hover { border-color: rgba(217, 179, 108, 0.45); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.price-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.price-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.25; }
.price {
  font-family: var(--font-display);
  font-size: 20px;
  white-space: nowrap;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.price-card--featured { border-color: rgba(217, 179, 108, 0.55); background: linear-gradient(160deg, rgba(217, 179, 108, 0.1), var(--surface) 55%); }
.price-card__tag {
  position: absolute;
  top: 0; right: 20px;
  background: var(--gold-grad);
  color: #17120a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0 0 8px 8px;
}
.price-card--featured .price-card__top { margin-top: 14px; }
.services__cta { text-align: center; margin-top: 44px; }

/* ============================================================
   GALERIA
   ============================================================ */
.gallery { background: var(--bg); }
.gallery__grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.g-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
}
.g-item--tall { grid-row: span 2; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s;
}
.g-item::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 200;
  color: var(--gold-2);
  background: linear-gradient(180deg, transparent 30%, rgba(11, 11, 13, 0.75));
  opacity: 0;
  transition: opacity 0.45s;
}
.g-item:hover::after { opacity: 1; }
.g-item:hover img { transform: scale(1.08); filter: brightness(1.06); }
@media (max-width: 980px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; } .g-item--tall { grid-row: span 1; } }

/* ============================================================
   UNIDADES
   ============================================================ */
.units {
  background:
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(217, 179, 108, 0.06) 0%, transparent 65%),
    var(--bg-2);
}
.units__grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.unit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
  display: flex;
  flex-direction: column;
}
.unit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 179, 108, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.unit-card__img { position: relative; aspect-ratio: 16/8.5; overflow: hidden; }
.unit-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.unit-card:hover .unit-card__img img { transform: scale(1.06); }
.unit-card__label {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(217, 179, 108, 0.4);
  color: var(--gold-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}
.unit-card__body { padding: 28px 26px 24px; flex: 1; }
.unit-card__body h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin-bottom: 16px; }
.unit-card__info { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.unit-card__info li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: 14.5px; }
.unit-card__info li span { color: var(--gold); font-size: 13px; }
.unit-card__info small { color: #78756d; }
.unit-card__info a:hover { color: var(--gold-2); }
.unit-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.unit-card__actions .btn { padding: 11px 20px; font-size: 13px; }
.unit-card__insta {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  border-bottom: 1px solid rgba(217, 179, 108, 0.35);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.unit-card__insta:hover { color: var(--gold-2); border-color: var(--gold-2); }
.unit-card__map {
  width: 100%;
  height: 190px;
  border: 0;
  border-top: 1px solid var(--line);
  filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.9);
}
@media (max-width: 900px) { .units__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA
   ============================================================ */
.cta { overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 120%; object-fit: cover; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 11, 13, 0.82) 30%, rgba(11, 11, 13, 0.82) 70%, var(--bg-2) 100%);
}
.cta__inner { position: relative; z-index: 2; text-align: center; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 38px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 70px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: 54px;
}
.footer__brand img { margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 34ch; }
.footer h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer__nav, .footer__contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer__nav a, .footer__contact > a {
  color: var(--muted);
  font-size: 14.5px;
  padding: 5px 0;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer__nav a:hover, .footer__contact > a:hover { color: var(--gold-2); transform: translateX(4px); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.footer__social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 22px;
  font-size: 13px;
  color: #78756d;
}
.footer__bottom a { color: var(--gold); }
.footer__bottom a:hover { color: var(--gold-2); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.wa-float__btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  position: relative;
}
.wa-float__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.55); opacity: 0; }
}
.wa-float__btn:hover { transform: scale(1.08); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55); }
.wa-float__menu {
  position: absolute;
  bottom: 72px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.wa-float__menu.is-open { opacity: 1; visibility: visible; transform: none; }
.wa-float__menu a {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  white-space: nowrap;
  text-align: right;
  transition: border-color 0.3s, color 0.3s;
}
.wa-float__menu a:hover { border-color: #25d366; color: #25d366; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s;
}
.lightbox__close { top: 24px; right: 24px; width: 46px; height: 46px; font-size: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 28px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: #17120a; }

/* ============================================================
   REVEAL DEFAULTS (JS controla; sem JS tudo visível)
   ============================================================ */
.reveal, .reveal-hero { will-change: transform, opacity; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
