/* ==========================================================================
   Regency Square Smart Stay — Vaz Guimarães Negócios Imobiliários
   Landing page premium — dark navy, dourado discreto, editorial.
   ========================================================================== */

:root {
  /* Paleta */
  --navy-950: #050b16;
  --navy-900: #0a1626;
  --navy-800: #0f1e33;
  --navy-700: #16283f;
  --navy-600: #1f3350;

  --gold: #c9a768;
  --gold-light: #e3d3a7;

  --white: #f6f4ef;
  --gray-300: #c3c9d1;
  --gray-500: #8b95a3;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1180px;
  --gap-section: 140px;
  --gap-section-mobile: 88px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--white);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 500; }

p { margin: 0; color: var(--gray-300); }

.eyebrow {
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow.center { text-align: center; }
.center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  max-width: 560px;
  margin-top: 16px;
}
.section-sub.center { margin-left: auto; margin-right: auto; }

/* ---------------------------------- Reveal -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  border-color: rgba(246, 244, 239, 0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-ghost {
  color: var(--white);
  border-color: transparent;
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--gold); }

.btn-small { padding: 10px 22px; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* ---------------------------------- Header -------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: transparent;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(5, 11, 22, 0.86);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo { height: 34px; width: auto; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 0.86rem;
  color: var(--gray-300);
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}
.main-nav a:hover { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.5px; background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,11,22,0.55) 0%, rgba(5,11,22,0.35) 40%, rgba(5,11,22,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 90px;
  max-width: 760px;
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero-sub { font-size: 1.08rem; max-width: 540px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------------------------- Indicators -------------------------------- */
.indicators { padding: 90px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.indicators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.indicator {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid rgba(201,167,104,0.4);
  min-width: 0;
}
.indicator-value {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 0;
  overflow-wrap: anywhere;
}
.indicator-label {
  font-size: 0.86rem;
  color: var(--gray-500);
  max-width: 200px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.indicators-cta { text-align: center; margin-top: 48px; }

/* ---------------------------------- Transformation -------------------------------- */
.transformation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: var(--gap-section) 0;
}
.transformation-media { overflow: hidden; min-height: 460px; }
.transformation-media img { width: 100%; height: 100%; object-fit: cover; }
.transformation-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
}
.transformation-content h2 { color: var(--white); margin-bottom: 20px; max-width: 480px; }
.transformation-content p { max-width: 460px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.tag-list li {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border: 1px solid rgba(201,167,104,0.5);
  color: var(--gold-light);
  border-radius: 2px;
}
.tag-list.center { justify-content: center; margin-top: 32px; margin-bottom: 32px; }

/* ---------------------------------- Why -------------------------------- */
.why { padding: var(--gap-section) 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  margin-top: 60px;
}
.why-card {
  background: var(--navy-950);
  padding: 44px 30px;
}
.why-index {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.why-card h3 { color: var(--white); margin-bottom: 14px; }
.why-card p { font-size: 0.92rem; }

/* ---------------------------------- Location -------------------------------- */
.location { padding: var(--gap-section) 0; }
.location h2 { color: var(--white); margin-top: 10px; }
.location-map {
  margin-top: 56px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.location-map img { aspect-ratio: 16 / 9; width: 100%; height: auto; }
.location-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.location-legend li {
  font-size: 0.78rem;
  color: var(--gray-300);
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
}

/* ---------------------------------- Gallery -------------------------------- */
.gallery { padding: var(--gap-section) 0 60px; }
.gallery h2 { color: var(--white); margin-top: 10px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 56px;
}
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(0deg, rgba(5,11,22,0.75) 0%, rgba(5,11,22,0) 100%);
}
.gallery-caption {
  text-align: center;
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 24px;
}

/* ---------------------------------- Smart Stay -------------------------------- */
.smartstay { padding: var(--gap-section) 0; background: var(--navy-900); }
.smartstay h2 { color: var(--white); margin-top: 10px; }
.smartstay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.smartstay-card { text-align: center; }
.smartstay-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  margin-bottom: 20px; border-radius: 2px;
}
.smartstay-card h3 { color: var(--white); }

/* ---------------------------------- Plans -------------------------------- */
.plans { padding: var(--gap-section) 0; }
.plans h2 { color: var(--white); margin-top: 10px; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.plan-card {
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
}
.plan-card img { margin-bottom: 24px; border-radius: 2px; }
.plan-card h3 { color: var(--white); margin-bottom: 8px; }
.plans-cta { text-align: center; margin-top: 48px; }

/* ---------------------------------- Audience -------------------------------- */
.audience { padding: 100px 0; background: var(--navy-900); }
.audience-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.audience-list { display: flex; flex-direction: column; gap: 22px; margin-top: 12px; }
.audience-list li {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 300;
  padding-left: 30px;
  position: relative;
  text-align: left;
}
.audience-list li::before {
  content: '✔';
  position: absolute; left: 0; top: 1px;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ---------------------------------- About -------------------------------- */
.about { padding: 110px 0; }
.about-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.about-logo { height: 40px; width: auto; margin: 0 auto 32px; opacity: 0.9; }
.about p { font-size: 1.02rem; }

/* ---------------------------------- Final CTA -------------------------------- */
.final-cta { position: relative; padding: var(--gap-section) 0; overflow: hidden; }
.final-cta-media { position: absolute; inset: 0; z-index: 0; }
.final-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-content {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.final-cta-text h2 { color: var(--white); margin: 14px 0 18px; max-width: 420px; }
.final-cta-text .btn { margin-top: 32px; }

.lead-form {
  background: rgba(10, 22, 38, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 4px;
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.form-row input, .form-row select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 13px 14px;
  border-radius: 2px;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row select option { background: var(--navy-900); color: var(--white); }
.form-row input.is-invalid, .form-row select.is-invalid {
  border-color: #c96a5c;
}

.form-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 24px;
}
.form-highlights li {
  font-size: 0.82rem;
  color: var(--gray-300);
}

.form-feedback {
  min-height: 20px;
  font-size: 0.82rem;
  margin-top: 14px;
  color: var(--gold-light);
}
.form-privacy {
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-top: 16px;
  line-height: 1.5;
}
.form-privacy a { color: var(--gray-300); text-decoration: underline; }
.form-privacy a:hover { color: var(--gold); }

/* ---------------------------------- Legal notice -------------------------------- */
.legal-notice {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 860px;
}
.legal-notice-title {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}
.legal-notice p {
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.legal-notice-footer {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ---------------------------------- Cookie banner -------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(5, 11, 22, 0.97);
  border-top: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 0;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p {
  font-size: 0.82rem;
  color: var(--gray-300);
  max-width: 640px;
  margin: 0;
}
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }

@media (max-width: 760px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-end; }
}

/* ---------------------------------- Footer -------------------------------- */
.site-footer { padding: 60px 0 40px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer-logo { height: 28px; width: auto; opacity: 0.75; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.82rem; color: var(--gray-300); }
.footer-links a:hover { color: var(--gold); }
.footer-creci { font-size: 0.82rem; color: var(--gray-500); }
.footer-legal, .footer-copy {
  font-size: 0.7rem;
  color: var(--gray-500);
  max-width: 620px;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --gap-section: 100px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .transformation { grid-template-columns: 1fr; }
  .transformation-media { min-height: 340px; }
  .final-cta-content { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 760px) {
  .container { padding: 0 22px; }
  :root { --gap-section: var(--gap-section-mobile); }

  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5,11,22,0.97);
    padding: 24px 22px;
    gap: 20px;
  }
  .site-header.nav-open .header-cta {
    display: flex;
    position: absolute;
    top: calc(100% + 200px);
    left: 0; right: 0;
    padding: 0 22px 24px;
    background: rgba(5,11,22,0.97);
    flex-direction: column;
  }

  .hero-content { padding-top: 70px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .indicators-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .indicator { padding-left: 16px; }
  .indicator-value { font-size: 1.3rem; }

  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .smartstay-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }

  .lead-form { padding: 28px; }
}

@media (max-width: 400px) {
  .indicators-grid { gap: 14px; }
  .indicator { padding-left: 12px; }
  .indicator-value { font-size: 1.1rem; }
  .indicator-label { font-size: 0.76rem; }
}
