/* ─── Public page — Link in bio ────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--deep);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Mesh gradient de fundo, derivado das cores do tema */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(var(--brand-rgb), 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(var(--brand-rgb), 0.3) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 0, 0, 0.18) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
main, nav { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── City nav (sticky top) ────────────────────────────────────────────── */
.city-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
}
.city-nav__label {
  text-align: center;
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.city-nav__pills {
  display: flex; gap: 6px;
  justify-content: center; flex-wrap: wrap;
}
.city-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 99px; padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}
.city-pill:hover { background: rgba(255, 255, 255, 0.14); }
.city-pill.is-active {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}

/* ─── Container ────────────────────────────────────────────────────────── */
.container {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px 40px;
  display: flex; flex-direction: column;
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 40px 0 32px;
}
.hero__logo {
  display: inline-block;
  filter: drop-shadow(0 8px 32px rgba(var(--brand-rgb), 0.6));
  margin-bottom: 16px;
}
.hero__photo {
  width: 90px; height: 90px; border-radius: 24px;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 32px rgba(var(--brand-rgb), 0.5);
}
.hero__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 22px;
  letter-spacing: 0.2px;
  margin-bottom: 4px;
}
.hero__tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--cta {
  background: linear-gradient(135deg, var(--gold), color-mix(in srgb, var(--gold) 60%, #000));
  color: var(--gold-text);
  border-radius: 99px;
  padding: 13px 28px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.4);
}
.btn--secondary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  border-radius: 99px;
  padding: 11px 24px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(var(--brand-rgb), 0.4);
}

/* ─── Socials dock ─────────────────────────────────────────────────────── */
.socials { margin-top: 32px; }
.socials__label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.socials__list {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.social {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  transition: transform 0.2s;
}
.social:hover { transform: translateY(-4px); }
.social__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.25s;
}
.social:hover .social__icon {
  background: var(--social-grad, var(--brand));
  border-color: transparent;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--social-color, var(--brand)) 35%, transparent);
}
.social__label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ─── Divider ──────────────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center; gap: 12px;
  margin: 32px 0 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.divider span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ─── City section ─────────────────────────────────────────────────────── */
.city {
  scroll-margin-top: 72px;
  margin-top: 16px;
}
.city__inner {
  background: rgba(var(--brand-rgb), 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 20px 16px;
  backdrop-filter: blur(4px);
}
.city__header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.city__bar {
  width: 4px; height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gold), color-mix(in srgb, var(--gold) 75%, #000));
}
.city__name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 15px;
  color: #fff;
  letter-spacing: 0.2px;
}
.city__count {
  margin-left: auto;
  background: rgba(var(--gold-rgb), 0.15);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
}

/* ─── Units ────────────────────────────────────────────────────────────── */
.units {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.units--single { grid-template-columns: 1fr; }

.unit {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  color: #1E1040;
}
.unit__head { display: flex; align-items: center; gap: 10px; }
.unit__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.unit__name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #1E1040;
  line-height: 1.2;
}
.unit__address {
  display: flex; gap: 6px; align-items: flex-start;
  font-size: 11px;
  color: #6B5FA8;
  line-height: 1.5;
}
.unit__address svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

.unit__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn--maps {
  flex: 1;
  min-width: 120px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.35);
}
.btn--wa {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.btn--share {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(var(--brand-rgb), 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  color: var(--brand);
  flex-shrink: 0;
}
.btn--share.is-copied {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #1c8c4f;
}

/* ─── Contact / footer ─────────────────────────────────────────────────── */
.contact {
  margin-top: 24px;
  background: rgba(var(--brand-rgb), 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
}
.contact__title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.contact__lines {
  display: flex; flex-direction: column;
  gap: 6px; margin-bottom: 20px;
}
.contact__phone {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.contact__email {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}
.contact__socials {
  display: flex; gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.contact__socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s;
}
.contact__socials a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.contact__copy {
  margin-top: 20px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
}

/* ─── Responsive nudges ────────────────────────────────────────────────── */
@media (max-width: 380px) {
  .socials__list { gap: 12px; }
  .social__icon { width: 46px; height: 46px; }
}
