/* ==========================================================================
   PORTAL ESPECIALIZADO: APARTAMENTO NA PLANTA (SJC & TAUBATÉ)
   Consultoria Oficial: Elizângela Vieira Corretora de Imóveis
   Design System: Roxo Real, Dourado & Alta Conversão de Lançamentos
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --purple-950: #2e1065;
  --purple-900: #3b0764;
  --purple-800: #581c87;
  --purple-700: #6b21a8;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-200: #ddd6fe;
  --purple-100: #f3e8ff;
  --purple-50:  #faf5ff;

  --gold-600: #b45309;
  --gold-500: #d97706;
  --gold-400: #f59e0b;
  --gold-300: #fbbf24;
  --gold-100: #fef3c7;

  --urgent-red: #dc2626;
  --urgent-orange: #ea580c;
  --gradient-urgent: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
  --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  --gradient-hero: linear-gradient(135deg, rgba(46, 16, 101, 0.97) 0%, rgba(88, 28, 135, 0.94) 60%, rgba(124, 58, 237, 0.88) 100%);

  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white:     #ffffff;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-md: 0 6px 18px rgba(88, 28, 135, 0.08);
  --shadow-lg: 0 14px 30px rgba(88, 28, 135, 0.12);
  --shadow-xl: 0 24px 48px rgba(88, 28, 135, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: #faf7fc;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   STICKY MARQUEE TICKER
   ========================================================================== */
.top-announcement {
  background: var(--gradient-urgent);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  height: 40px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120;
  box-shadow: 0 2px 14px rgba(220, 38, 38, 0.35);
  overflow: hidden;
  white-space: nowrap;
}

.top-announcement .marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.top-announcement:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.marquee-item .badge-pill {
  background: rgba(255, 255, 255, 0.28);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
}

.marquee-sep {
  opacity: 0.6;
  font-size: 1.1rem;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 40px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  z-index: 110;
  border-bottom: 1px solid rgba(124, 58, 237, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple-900);
  line-height: 1.15;
}

.brand-tagline {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.nav-link:hover {
  color: var(--purple-700);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient-purple);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.45);
}

.btn-urgent {
  background: var(--gradient-urgent);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}

.btn-urgent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
}

.btn-outline-purple {
  background: transparent;
  color: var(--purple-700);
  border: 1.5px solid var(--purple-600);
}

.btn-outline-purple:hover {
  background: var(--purple-50);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  color: var(--white);
  padding: 70px 0 85px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fed7aa;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight-gold {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #e9d5ff;
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Broker badge in hero */
.hero-broker-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
}

.hero-broker-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

/* ==========================================================================
   ADVANTAGES SECTION (POR QUE COMPRAR NA PLANTA)
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.advantage-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--purple-100);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-400);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--purple-100);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.advantage-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--purple-950);
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* ==========================================================================
   PROPERTIES GRID
   ========================================================================== */
.section {
  padding: 75px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--purple-700);
  background: var(--purple-100);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--purple-950);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
}

.cards-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.plant-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--purple-100);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-300);
}

.plant-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--purple-900);
}

.plant-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.plant-card:hover .plant-card-img {
  transform: scale(1.05);
}

.plant-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #059669;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.plant-badge-zone {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.plant-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.plant-card-location {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-700);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.plant-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--purple-950);
  margin-bottom: 10px;
}

.plant-card-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 18px;
}

.plant-card-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

/* ==========================================================================
   QUICK CREDIT FORM & ACCORDION & FOOTER
   ========================================================================= */
.analysis-card-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--purple-200);
}

.form-grid-plant {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 1.2fr;
  gap: 16px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-700);
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--purple-200);
  background: var(--purple-50);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-control:focus {
  outline: none;
  border-color: var(--purple-600);
  background: #fff;
}

.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-whatsapp-btn {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.site-footer {
  background: var(--slate-950);
  color: #94a3b8;
  padding: 50px 0 25px;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
