/**
 * GRAN RESERVA SANTANA HILLS — DESIGN SYSTEM EDITORIAL REFINADO (QUIET LUXURY)
 * Estética Minimalista, Espaçamento Nobre, Tipografia Arquitetônica e SEO Topical
 */

/* ==========================================================================
   1. REFINAMENTO DOS TOKENS GLOBAIS
   ========================================================================== */
:root {
  /* Tons Floresta Noturna & Seda */
  --gr-deep-forest: #080f0b;
  --gr-forest-base: #0c1611;
  --gr-forest-card: rgba(16, 28, 22, 0.72);
  --gr-forest-card-hover: rgba(22, 38, 30, 0.88);
  --gr-forest-glass: rgba(12, 22, 17, 0.75);

  /* Bronze Arquitetônico & Ouro Pálido */
  --gr-gold-accent: #cbb28b;
  --gr-gold-light: #e5d7be;
  --gr-gold-subtle: rgba(203, 178, 139, 0.22);
  --gr-gold-glow: rgba(203, 178, 139, 0.12);
  --gr-gold-line: rgba(203, 178, 139, 0.18);

  /* Minerais & Textos */
  --gr-sand-pure: #faf8f5;
  --gr-sand-subtle: #d6ded8;
  --gr-sand-muted: #95a59c;
  --gr-sand-faint: #63736a;

  /* Espaçamentos Editoriais */
  --gr-section-gap: clamp(80px, 9vw, 150px);
  --gr-max-width: 1280px;
  --gr-radius-soft: 20px;
  --gr-radius-sm: 10px;
}

/* ==========================================================================
   2. HEADER MINIMALISTA & FLUTUANTE
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-wrapper.is-scrolled {
  padding: 12px 28px;
}

.site-header {
  max-width: var(--gr-max-width);
  margin: 0 auto;
  background: rgba(12, 22, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gr-gold-line);
  border-radius: 9999px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.brand-monogram-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gr-gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gr-gold-accent);
  background: rgba(203, 178, 139, 0.08);
}

.brand-editorial-text {
  display: flex;
  flex-direction: column;
}

.brand-name-primary {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gr-sand-pure);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-location-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--gr-sand-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-desktop a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gr-sand-subtle);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gr-gold-accent);
  transition: width 0.25s ease;
}

.nav-links-desktop a:hover {
  color: var(--gr-gold-light);
}

.nav-links-desktop a:hover::after {
  width: 100%;
}

.header-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(203, 178, 139, 0.08);
  border: 1px solid var(--gr-gold-line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gr-gold-accent);
  text-transform: uppercase;
}

.pulse-amber-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   3. HERO CINEMATOGRÁFICO DE ALTA SOFISTICAÇÃO
   ========================================================================== */
.hero-editorial {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(140px, 16vh, 200px) 24px clamp(80px, 10vh, 120px);
  background-color: var(--gr-deep-forest);
  overflow: hidden;
}

.hero-media-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.62) contrast(1.08) saturate(1.05);
  transform: scale(1.01);
  transition: transform 16s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-editorial:hover .hero-media-cover img {
  transform: scale(1.05);
}

.hero-cinematic-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 40%, rgba(8, 15, 11, 0.25) 0%, rgba(8, 15, 11, 0.75) 65%, #080f0b 98%),
              linear-gradient(to bottom, rgba(8, 15, 11, 0.7) 0%, transparent 35%, rgba(8, 15, 11, 0.85) 75%, #080f0b 100%);
}

.hero-editorial-stage {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(12, 22, 17, 0.65);
  border: 1px solid var(--gr-gold-line);
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gr-gold-light);
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-heading-editorial {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--gr-sand-pure);
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-heading-editorial em {
  font-style: italic;
  font-weight: 300;
  color: var(--gr-gold-accent);
  display: block;
}

.hero-narrative-lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
  color: #d1ddd5;
  max-width: 820px;
  margin-bottom: 40px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-actions-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Minimal Luxury Button */
.btn-luxury-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #cbb28b 0%, #e2d2ba 50%, #b89d70 100%);
  color: #080f0b;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  box-shadow: 0 12px 30px rgba(203, 178, 139, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-luxury-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(203, 178, 139, 0.45);
}

.btn-luxury-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(12, 22, 17, 0.5);
  border: 1px solid var(--gr-gold-line);
  color: var(--gr-sand-pure);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 15px 32px;
  border-radius: 9999px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-luxury-ghost:hover {
  border-color: var(--gr-gold-accent);
  background: rgba(203, 178, 139, 0.12);
  color: var(--gr-gold-light);
  transform: translateY(-2px);
}

/* Minimalist KPI Bar */
.kpi-editorial-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 980px;
  margin-top: 55px;
  padding: 24px 30px;
  background: rgba(12, 22, 17, 0.65);
  border: 1px solid var(--gr-gold-line);
  border-radius: var(--gr-radius-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.kpi-unit-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.kpi-unit-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--gr-gold-line);
}

.kpi-figure {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  font-weight: 400;
  color: var(--gr-gold-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.kpi-descriptor {
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gr-sand-muted);
}

/* ==========================================================================
   4. SEÇÕES EDITORIAIS LIMPAS & ESTRUTURA GERAL
   ========================================================================== */
.editorial-section {
  padding: var(--gr-section-gap) 24px;
  position: relative;
  background: var(--gr-deep-forest);
}

.editorial-section-alternate {
  padding: var(--gr-section-gap) 24px;
  position: relative;
  background: linear-gradient(180deg, var(--gr-deep-forest) 0%, #0a130e 50%, var(--gr-deep-forest) 100%);
}

.editorial-inner-wrap {
  max-width: var(--gr-max-width);
  margin: 0 auto;
}

.section-editorial-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.chapter-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.chapter-line-decor {
  width: 32px;
  height: 1px;
  background: var(--gr-gold-accent);
}

.chapter-text-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gr-gold-accent);
}

.section-editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--gr-sand-pure);
  margin-bottom: 16px;
}

.section-editorial-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gr-gold-accent);
}

.section-editorial-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gr-sand-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   5. O MASTERPLAN INTERATIVO DE ALTA DEFINIÇÃO
   ========================================================================== */
.masterplan-editorial-frame {
  background: var(--gr-forest-card);
  border: 1px solid var(--gr-gold-line);
  border-radius: var(--gr-radius-soft);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.masterplan-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(12, 22, 17, 0.9);
  border-bottom: 1px solid var(--gr-gold-line);
}

.tab-pill-group {
  display: flex;
  gap: 6px;
  background: rgba(8, 15, 11, 0.7);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid var(--gr-gold-line);
}

.tab-pill-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gr-sand-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  background: transparent;
}

.tab-pill-btn.is-active {
  background: var(--gr-gold-accent);
  color: #080f0b;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(203, 178, 139, 0.35);
}

.masterplan-media-window {
  position: relative;
  min-height: 480px;
  max-height: 760px;
  background: #050a07;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.masterplan-media-window img {
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

/* 4 Pilares de Conceito Arquitetônico */
.masterplan-pillars-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: rgba(12, 22, 17, 0.85);
  border-top: 1px solid var(--gr-gold-line);
}

.pillar-clean-card {
  padding: 20px;
  background: rgba(16, 28, 22, 0.5);
  border: 1px solid var(--gr-gold-line);
  border-radius: var(--gr-radius-sm);
  transition: all 0.3s ease;
}

.pillar-clean-card:hover {
  background: rgba(22, 38, 30, 0.85);
  border-color: var(--gr-gold-accent);
  transform: translateY(-3px);
}

.pillar-icon-svg {
  width: 26px;
  height: 26px;
  color: var(--gr-gold-accent);
  margin-bottom: 12px;
}

.pillar-clean-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gr-sand-pure);
  margin-bottom: 6px;
}

.pillar-clean-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gr-sand-muted);
}

/* ==========================================================================
   6. CARDS DE LAZER & BEM-ESTAR (ESTÉTICA MINIMALISTA)
   ========================================================================== */
.amenities-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.amenity-card-refined {
  background: var(--gr-forest-card);
  border: 1px solid var(--gr-gold-line);
  border-radius: var(--gr-radius-soft);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.amenity-card-refined:hover {
  background: var(--gr-forest-card-hover);
  border-color: var(--gr-gold-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.amenity-badge-number {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gr-gold-accent);
  margin-bottom: 18px;
  display: block;
}

.amenity-card-refined h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--gr-sand-pure);
  margin-bottom: 12px;
  line-height: 1.2;
}

.amenity-card-refined p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gr-sand-muted);
}

/* ==========================================================================
   7. SETORIZAÇÃO: RESIDENCIAL VS COMERCIAL (DUPLA COLUNA PURA)
   ========================================================================== */
.typology-dual-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.typology-side-box {
  background: var(--gr-forest-card);
  border: 1px solid var(--gr-gold-line);
  border-radius: var(--gr-radius-soft);
  padding: 45px 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.typology-side-box:hover {
  border-color: var(--gr-gold-accent);
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.typology-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gr-gold-accent);
  margin-bottom: 18px;
}

.typology-display-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 400;
  color: var(--gr-sand-pure);
  margin-bottom: 6px;
}

.typology-volume-tag {
  font-size: 0.88rem;
  color: var(--gr-gold-light);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}

.typology-editorial-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gr-sand-subtle);
  margin-bottom: 28px;
}

.clean-spec-list {
  list-style: none;
  margin: 0 0 35px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clean-spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--gr-sand-muted);
}

.clean-spec-list li svg {
  width: 18px;
  height: 18px;
  color: var(--gr-gold-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   8. HUB DE SEO REGIONAL: POR QUE SANTANA DE PARNAÍBA & ALPHAVILLE
   ========================================================================== */
.regional-seo-hub {
  padding: var(--gr-section-gap) 24px;
  background: linear-gradient(180deg, var(--gr-deep-forest) 0%, #0a140f 100%);
  border-top: 1px solid var(--gr-gold-line);
}

.regional-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.regional-info-card {
  padding: 30px 26px;
  background: var(--gr-forest-card);
  border: 1px solid var(--gr-gold-line);
  border-radius: var(--gr-radius-sm);
  transition: all 0.3s ease;
}

.regional-info-card:hover {
  border-color: var(--gr-gold-accent);
  transform: translateY(-3px);
}

.regional-info-card h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gr-sand-pure);
  margin-bottom: 10px;
}

.regional-info-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gr-sand-muted);
}

/* Nuvem de Termos e Bairros Conectados (Indexação Orgânica Ampla) */
.semantic-keywords-strip {
  margin-top: 50px;
  padding: 24px 30px;
  background: rgba(12, 22, 17, 0.6);
  border: 1px solid var(--gr-gold-line);
  border-radius: var(--gr-radius-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.keyword-label-legend {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gr-gold-accent);
  margin-right: 6px;
}

.seo-pill-tag {
  padding: 5px 12px;
  background: rgba(203, 178, 139, 0.06);
  border: 1px solid var(--gr-gold-line);
  border-radius: 9999px;
  font-size: 0.74rem;
  color: var(--gr-sand-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.seo-pill-tag:hover {
  border-color: var(--gr-gold-accent);
  color: var(--gr-gold-light);
  background: rgba(203, 178, 139, 0.12);
}

/* ==========================================================================
   9. FORMULÁRIO DE PRÉ-CADASTRO VIP (CONVERSÃO SUAVE & ELEGANTE)
   ========================================================================== */
.pre-cadastro-editorial-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(16, 28, 22, 0.8);
  border: 1px solid var(--gr-gold-accent);
  border-radius: var(--gr-radius-soft);
  padding: clamp(36px, 5vw, 64px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
}

.form-inputs-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field-unit label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gr-sand-subtle);
  margin-bottom: 8px;
}

.form-field-unit input,
.form-field-unit select {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  background: rgba(8, 15, 11, 0.75);
  border: 1px solid var(--gr-gold-line);
  border-radius: var(--gr-radius-sm);
  color: var(--gr-sand-pure);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-field-unit input:focus,
.form-field-unit select:focus {
  border-color: var(--gr-gold-accent);
  box-shadow: 0 0 0 3px rgba(203, 178, 139, 0.18);
  background: rgba(8, 15, 11, 0.95);
}

.btn-submit-luxury {
  width: 100%;
  height: 56px;
  font-size: 0.95rem;
}

/* ==========================================================================
   10. RESPONSIVIDADE EDITORIAL
   ========================================================================== */
@media (max-width: 1024px) {
  .masterplan-pillars-quad {
    grid-template-columns: repeat(2, 1fr);
  }
  .amenities-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .regional-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links-desktop {
    display: none;
  }
  .kpi-editorial-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 16px;
  }
  .kpi-unit-block:nth-child(2)::after {
    display: none;
  }
  .typology-dual-stage {
    grid-template-columns: 1fr;
  }
  .form-inputs-pair {
    grid-template-columns: 1fr;
  }
  .masterplan-pillars-quad {
    grid-template-columns: 1fr;
  }
  .amenities-clean-grid {
    grid-template-columns: 1fr;
  }
}
