/* =========================================
   1. VARIÁVEIS E CONFIGURAÇÕES GERAIS
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Cores da Marca */
  --brand-green: #0E3B2E;
  --brand-green-dark: #08281F;
  --brand-green-light: #185342;
  --brand-gold: #C59B4E;
  --brand-gold-hover: #B0873E;
  --brand-gold-light: #F8F4EC;
  --brand-surface: #F9FAF9;
  
  /* Cores Neutras */
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-color: #f3f4f6;
  --white: #ffffff;
  --black-modal: rgba(0, 0, 0, 0.6);
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--brand-surface);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--brand-gold);
  color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select {
  font-family: inherit;
  border: none;
  outline: none;
}

/* =========================================
   2. LAYOUT BASE E COMPONENTES
========================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: var(--brand-green);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background-color: var(--brand-green-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.btn-gold {
  background-color: var(--brand-gold);
  color: var(--white);
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
}
.btn-gold:hover {
  background-color: var(--brand-gold-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background-color: var(--white);
  color: var(--brand-green);
  border: 2px solid var(--brand-green);
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
}
.btn-outline:hover {
  background-color: var(--brand-green);
  color: var(--white);
}
.btn-block {
  width: 100%;
}

/* =========================================
   3. CABEÇALHO (HEADER) E MENU
========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-content {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 100%;
  max-width: 180px;
  min-width: 120px;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
}
.desktop-nav a:hover {
  color: var(--brand-green);
}

.header-actions {
  display: none;
}

.menu-btn {
  background: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  display: block;
}

.mobile-menu {
  display: none;
  background: var(--white);
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .desktop-nav, .header-actions {
    display: flex;
    align-items: center;
  }
  .menu-btn, .mobile-menu {
    display: none !important;
  }
}

/* =========================================
   4. HERO SECTION
========================================= */
.hero {
  background: linear-gradient(to bottom, var(--brand-surface), var(--white), var(--brand-surface));
  padding: 3rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 7fr 5fr; }
}

.hero-content {
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-content { text-align: left; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-gold-light);
  color: var(--brand-green);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(197, 155, 78, 0.2);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--brand-gold); }
@media (min-width: 768px) { .hero-title { font-size: 3.5rem; } }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
@media (min-width: 1024px) { .hero-subtitle { margin: 0 0 1.5rem 0; } }

.hero-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  text-align: left;
}
@media (min-width: 640px) { .hero-bullets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hero-bullets { margin: 0 0 2rem 0; } }

.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(14, 59, 46, 0.1);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}
@media (min-width: 1024px) {
  .hero-actions { justify-content: flex-start; }
}

/* Card do Formulário */
.form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
}
.form-tag {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--brand-gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1rem;
}
.form-group.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  font-size: 0.875rem;
  background: var(--white);
  transition: all 0.2s;
}
.form-input:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px rgba(197, 155, 78, 0.2);
}

/* =========================================
   5. MÉTRICAS
========================================= */
.metrics {
  background-color: var(--brand-green);
  color: var(--white);
  padding: 3rem 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
.metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-gold);
}
.metric-label {
  font-size: 0.875rem;
  color: #d1d5db;
  margin-top: 0.25rem;
}

/* =========================================
   6. SEÇÕES GERAIS (Títulos e Cards)
========================================= */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-green);
}

/* Diferenciais */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--brand-surface);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow-xl);
}
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--brand-gold-light);
  color: var(--brand-gold);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 { font-size: 1.25rem; color: var(--brand-green); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); }

/* =========================================
   7. SIMULADOR DE ROI
========================================= */
.simulator {
  background: var(--brand-surface);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.simulator-box {
  background: linear-gradient(to bottom right, var(--brand-green-dark), var(--brand-green));
  border-radius: 1.5rem;
  padding: 3rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}
.simulator-grid {
  display: grid;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) { .simulator-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

.sim-input-group { margin-bottom: 1.5rem; }
.sim-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--brand-gold); margin-bottom: 0.5rem; }
.sim-select {
  width: 100%;
  background: var(--brand-green-dark);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}
.sim-slider {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  -webkit-appearance: none;
  outline: none;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px; width: 24px;
  border-radius: 50%;
  background: var(--brand-gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(197, 155, 78, 0.5);
}

.simulator-result {
  background: var(--white);
  color: var(--text-main);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid rgba(197, 155, 78, 0.3);
}
.sim-result-value { font-size: 2.5rem; font-weight: 800; color: var(--brand-green); margin: 0.5rem 0; }
.sim-result-details {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; border-top: 1px solid #f3f4f6;
  padding-top: 1rem; margin-top: 1rem; text-align: left;
}

/* =========================================
   8. ACOMODAÇÕES
========================================= */
.property-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }

.property-card {
  background: var(--white);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.property-card:hover {
  box-shadow: var(--shadow-lg);
}
.property-img-wrap {
  position: relative;
  height: 14rem;
  overflow: hidden;
}
.property-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.property-card:hover .property-img-wrap img { transform: scale(1.05); }

.property-tag-left {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--brand-green); color: var(--white);
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
}
.property-tag-right {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: rgba(255,255,255,0.9); color: var(--brand-green);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.5rem; border-radius: 0.375rem;
}
.property-content { padding: 1.5rem; }
.property-title { font-size: 1.125rem; font-weight: 700; color: var(--brand-green); margin-bottom: 0.5rem; }
.property-features {
  display: flex; gap: 0.75rem; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem;
}
.property-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem; border-top: 1px solid var(--border-color);
}
.property-price { font-size: 1.125rem; font-weight: 700; color: var(--brand-green); }
.property-price span { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }
.property-link { font-size: 0.75rem; font-weight: 700; color: var(--brand-gold); }

/* =========================================
   9. DEPOIMENTOS E FAQ
========================================= */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
.testim-card {
  background: var(--white); padding: 2rem; border-radius: 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-color);
}
.testim-stars { color: var(--brand-gold); margin-bottom: 1rem; }
.testim-text { font-size: 0.875rem; font-style: italic; color: var(--text-muted); margin-bottom: 1.5rem; }
.testim-author { display: flex; align-items: center; gap: 1rem; }
.testim-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--brand-green); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem;
}

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  border: 1px solid var(--border-color); border-radius: 1rem; overflow: hidden;
}
.faq-btn {
  width: 100%; text-align: left; padding: 1.25rem; font-weight: 700;
  color: var(--brand-green); background: #f9fafb; display: flex; justify-content: space-between;
  align-items: center; cursor: pointer;
}
.faq-content {
  display: none; padding: 1.25rem; font-size: 0.875rem; color: var(--text-muted);
  border-top: 1px solid var(--border-color); background: var(--white);
}
.faq-content.active { display: block; }
.faq-btn i { transition: transform 0.3s; color: var(--brand-gold); }
.faq-btn.active i { transform: rotate(180deg); }

/* =========================================
   10. CTA & FOOTER
========================================= */
.cta-section {
  background: var(--brand-green); color: var(--white); padding: 4rem 0; text-align: center;
}
.cta-title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }

.footer {
  background: var(--brand-green-dark); color: #9ca3af; padding: 3rem 0; font-size: 0.875rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 { color: var(--white); font-weight: 700; border-bottom: 1px solid rgba(197, 155, 78, 0.3); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col img { width: 150px; border-radius: 0.75rem; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

.float-whatsapp {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  background: #22c55e; color: var(--white); width: 3.5rem; height: 3.5rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: var(--shadow-xl); border: 2px solid var(--white);
  transition: transform 0.3s;
}
.float-whatsapp:hover { transform: scale(1.1); }

/* =========================================
   11. MODAIS E TOASTS
========================================= */
.modal-overlay {
  position: fixed; inset: 0; background: var(--black-modal);
  backdrop-filter: blur(4px); z-index: 100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white); border-radius: 1.5rem; width: 90%; max-width: 400px;
  padding: 2rem; text-align: center; border-top: 4px solid var(--brand-gold);
  transform: scale(0.95); transition: transform 0.3s;
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-icon {
  width: 4rem; height: 4rem; background: rgba(14,59,46,0.1); color: var(--brand-green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1rem;
}

.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
  background: var(--brand-green); color: var(--white); padding: 1rem 1.5rem;
  border-radius: 1rem; border-left: 4px solid var(--brand-gold);
  display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-xl);
  transform: translateY(100px); opacity: 0; transition: all 0.3s; pointer-events: none;
}
.toast.active { transform: translateY(0); opacity: 1; pointer-events: auto; }