/* ==========================================================================
   🎨 DESIGN SYSTEM & VARIABLES - GRIFFE IMOBILIÁRIA (ALTO PADRÃO)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Premium Color Palette */
  --color-primary: #001C3D;        /* Deep Royal Navy (Griffe Blue) */
  --color-primary-light: #002D62;  /* Lighter Navy for surface gradients */
  --color-accent: #C69234;         /* Rich Metallic Gold */
  --color-accent-hover: #A5741B;   /* Darker Gold for hover state */
  --color-bg-light: #F8FAFC;       /* Premium Off-White */
  --color-white: #FFFFFF;
  --color-dark-surface: #0A1625;   /* Dark Card Surface */
  
  /* Text Styling */
  --text-main: #1E293B;            /* Deep Charcoal Slate */
  --text-muted: #64748B;           /* Slate Grey */
  --text-light: #94A3B8;           /* Muted Light Grey */
  --text-white: #FFFFFF;
  
  /* Borders and Shadows */
  --border-color: #E2E8F0;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(198, 146, 52, 0.3);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 20px 40px -5px rgba(198, 146, 52, 0.12), 0 10px 20px -10px rgba(0, 0, 0, 0.25);
  
  /* Typography */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   🛠️ BASE RESET & STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

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

/* Common Section Rules */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: inline-block;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 4px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--color-accent);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ==========================================================================
   🧭 HEADER & NAVIGATION
   ========================================================================== */
header {
  background-color: rgba(0, 28, 61, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 52px;
  overflow: visible;
}

.logo-img {
  width: 180px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(198, 146, 52, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 146, 52, 0.35);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-map {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 28, 61, 0.18);
}

.btn-map:hover {
  background-color: #06315f;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 28, 61, 0.28);
}

.btn-map svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* ==========================================================================
   🚀 HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 180px;
  padding-bottom: 140px;
  background-image: linear-gradient(135deg, rgba(0, 28, 61, 0.92) 25%, rgba(0, 28, 61, 0.65) 100%), url('griffe_hero_bg.png');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-bottom: 8px solid var(--color-accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-grid > *,
.pilares-grid > *,
.lancamento-grid > *,
.simulador-grid > *,
.depoimentos-grid > *,
.footer-grid > * {
  min-width: 0;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(198, 146, 52, 0.15);
  border: 1px solid var(--border-gold);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* Floating Form Card inside Hero */
.form-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 40px;
  border: 3px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
}

.hero-sim-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  min-height: 350px;
}

.form-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: -0.02em;
}

.form-subtitle {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  border-radius: 6px;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 28, 61, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001C3D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 4px 12px rgba(198, 146, 52, 0.2);
}

.btn-submit:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198, 146, 52, 0.35);
}

/* ==========================================================================
   📊 PILARES / STATS SECTION
   ========================================================================== */
.pilares {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0;
  border-bottom: 6px solid var(--color-accent);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pilar-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pilar-icon {
  width: 50px;
  height: 50px;
  color: var(--color-accent);
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198, 146, 52, 0.05);
}

.pilar-info h3 {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.pilar-info p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.5;
}

/* ==========================================================================
   🏰 O LANÇAMENTO (CAMPANHA REAL)
   ========================================================================== */
.lancamento {
  background-color: var(--color-white);
}

.lancamento-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.about-features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-features svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-features h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.about-features p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Premium Image frames */
.premium-frame {
  border: 3px solid var(--color-accent);
  padding: 14px;
  border-radius: 16px;
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  max-width: 440px;
  margin: 0 auto;
}

.premium-frame:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-premium);
}

.premium-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* ==========================================================================
   🧮 SIMULADOR INTERATIVO (LOT SIMULATOR)
   ========================================================================== */
.simulador {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.simulador-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.simulador-info {
  position: sticky;
  top: 120px;
}

.simulador-info .premium-frame {
  margin-top: 30px;
}

/* Simulator Card Container */
.calc-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-margin-top: 96px;
}

.calc-section-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  padding-left: 14px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

/* Cards selection (Lotes options) */
.lote-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.lote-option-card {
  border: 2px solid var(--border-color);
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lote-option-card:hover {
  border-color: var(--color-accent);
}

.lote-option-card.active {
  border-color: var(--color-primary);
  background-color: rgba(0, 28, 61, 0.02);
  box-shadow: var(--shadow-sm);
}

.lote-option-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-transform: uppercase;
}

.lote-option-size {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.lote-option-price {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-top: 6px;
}

/* Sliders Group */
.slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-val-box {
  display: flex;
  align-items: center;
  background: var(--color-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 12px;
  width: 140px;
}

.slider-val-box span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.slider-val-box input {
  width: 100%;
  min-height: 44px;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-align: right;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 28, 61, 0.08);
}

.range-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 28, 61, 0.08);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
  margin-top: -8px;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--color-accent-hover);
}

/* Abas de parcelamento */
.tabs-parcelamento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  background-color: rgba(0, 28, 61, 0.05);
  padding: 4px;
  border-radius: 8px;
  gap: 2px;
}

.tab-parcela {
  min-width: 0;
  min-height: 44px;
  background: none;
  border: none;
  padding: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
  text-align: center;
}

.tab-parcela.active {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Outputs Simulator */
.sim-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sim-box {
  background-color: var(--color-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.sim-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.sim-value {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.sim-entry-value-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.sim-entry-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(204, 148, 48, 0.28);
  border-radius: 999px;
  background: rgba(204, 148, 48, 0.1);
  color: #76500e;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.sim-highlight-card {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.sim-highlight-card::after {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 120px;
  height: 120px;
  background: rgba(198, 146, 52, 0.05);
  border-radius: 50%;
}

.sim-hl-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.sim-hl-value {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 8px;
}

.sim-hl-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.calc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   👥 DEPOIMENTOS (TESTIMONIALS)
   ========================================================================== */
.depoimentos {
  background-color: var(--color-white);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.depoimento-card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.depoimento-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.depoimento-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.depoimento-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-headings);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.author-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.author-city {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   📞 FOOTER
   ========================================================================== */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 30px;
  border-top: 8px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 20px;
  line-height: 1.6;
}

.footer-logo {
  display: block;
  width: min(230px, 100%);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 20px;
  border-radius: 5px;
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.15rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  align-items: flex-start;
}

.footer-contact a { color: rgba(255, 255, 255, 0.78); }
.footer-contact a:hover { color: var(--color-accent); }

.footer-contact svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Consentimento de dados e aviso de privacidade */
.privacy-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 2px 0 16px;
  color: #45556f;
  font-size: 0.78rem;
  line-height: 1.45;
  cursor: pointer;
}
.privacy-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--color-accent); }
.privacy-consent a { color: #76500e; font-weight: 700; text-decoration: underline; }

.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 3000;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(198,146,52,.38);
  border-radius: 14px;
  background: rgba(0,28,61,.98);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  color: var(--color-white);
}
.cookie-copy { flex: 1; }
.cookie-copy strong { display: block; margin-bottom: 5px; font-family: var(--font-heading); color: var(--color-accent); }
.cookie-copy p { margin: 0 0 5px; color: rgba(255,255,255,.82); font-size: .88rem; line-height: 1.5; }
.cookie-copy a { color: var(--color-white); font-size: .82rem; text-decoration: underline; }
.cookie-actions { display: flex; flex-shrink: 0; gap: 9px; }
.cookie-actions button { min-height: 44px; padding: 9px 15px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.cookie-primary { border: 1px solid var(--color-accent); background: var(--color-accent); color: var(--color-primary); }
.cookie-secondary { border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--color-white); }

/* Página de privacidade */
.legal-page { display: block; min-height: 100vh; background: #f7f8fb; color: var(--text-primary); }
.legal-header { position: static; padding: 14px 0; background: var(--color-primary); }
.legal-header .header-wrapper { min-height: 56px; }
.legal-back { color: var(--color-white); font-weight: 700; }
.legal-back:hover { color: var(--color-accent); }
.legal-main { padding: 64px 0 80px; }
.legal-content { max-width: 850px; margin: 0 auto; padding: 36px; border: 1px solid #e6e9ef; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.legal-content h1 { margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3rem); color: var(--color-primary); }
.legal-updated { margin-bottom: 30px; color: var(--text-muted); }
.legal-content h2 { margin: 30px 0 10px; font-size: 1.25rem; color: var(--color-primary); }
.legal-content p, .legal-content li { color: #45556f; line-height: 1.75; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: #76500e; font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   📱 MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .container { max-width: 920px; }
  .hero-title { font-size: clamp(2.75rem, 5vw, 3.25rem); }
  .pilares-grid { gap: 24px; }
  .lancamento-grid,
  .simulador-grid { grid-template-columns: 1fr; gap: 56px; }
  .simulador-info { position: relative; top: 0; }
  .simulador-info .premium-frame { max-width: 420px; }
  .depoimentos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depoimento-card:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .footer-about { grid-column: 1 / -1; max-width: 680px; }
}

@media (max-width: 1024px) {
  header { padding: 12px 0; }
  header.scrolled { padding: 8px 0; }
  .logo-img { width: 158px; max-height: 46px; }
  .logo-wrapper { min-height: 44px; }
  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background-color: var(--color-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-lg);
  }
  nav.active { display: block; }
  nav ul { flex-direction: column; gap: 4px; align-items: stretch; }
  nav a { display: flex; align-items: center; min-height: 44px; width: 100%; }
  nav .btn { margin-top: 8px; min-height: 48px; }
  .hero { padding-top: 132px; padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 720px; }
  .hero-sim-card { width: 100%; min-height: 300px; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; }
}

@media (max-width: 768px) {
  .container { padding-inline: 20px; }
  section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(2rem, 7vw, 2.35rem); }
  .section-desc { font-size: 1rem; }
  .hero { padding-top: 118px; padding-bottom: 76px; }
  .hero-title { font-size: clamp(2.35rem, 10vw, 3rem); }
  .hero-desc { font-size: 1.05rem; margin-bottom: 30px; }
  .hero-ctas { flex-wrap: wrap; }
  .hero-ctas .btn { min-height: 48px; }
  .pilares { padding: 64px 0; }
  .pilares-grid { grid-template-columns: 1fr; gap: 32px; }
  .lancamento-grid,
  .simulador-grid { gap: 40px; }
  .calc-card { padding: 28px; gap: 26px; }
  .sim-results-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-about { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; }
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 14px; }
  .cookie-actions { justify-content: flex-end; }
  .legal-main { padding: 38px 0 60px; }
  .legal-content { padding: 26px 22px; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; min-height: 48px; }
  .hero-sim-card { padding: 28px; min-height: 0; }
  .lote-selector-grid { grid-template-columns: 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .depoimento-card:last-child { grid-column: auto; }
  .depoimento-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  section { padding: 56px 0; }
  header { padding: 8px 0; }
  .logo-img { width: 134px; max-height: 40px; }
  .menu-toggle { width: 48px; height: 48px; }
  nav { padding-inline: 16px; }
  .hero { padding-top: 104px; padding-bottom: 64px; }
  .hero-grid { gap: 36px; }
  .hero-tagline { max-width: 100%; padding: 7px 12px; font-size: 0.7rem; white-space: normal; }
  .hero-title { font-size: clamp(2rem, 10.5vw, 2.55rem); overflow-wrap: anywhere; }
  .hero-desc { font-size: 1rem; }
  .hero-sim-card { padding: 24px 18px; }
  .form-title { font-size: 1.3rem; }
  .form-subtitle { letter-spacing: 0.1em; }
  .section-title { font-size: clamp(1.75rem, 8vw, 2.1rem); overflow-wrap: anywhere; }
  .section-tag { font-size: 0.75rem; }
  .about-features { margin-top: 28px; }
  .about-features li { gap: 12px; }
  .premium-frame { padding: 8px; border-width: 2px; border-radius: 12px; }
  .calc-card { padding: 20px 16px; border-radius: 12px; gap: 22px; }
  .calc-section-title { font-size: 1rem; padding-left: 10px; }
  .slider-labels { gap: 10px; }
  .slider-val-box { width: 120px; min-height: 44px; flex-shrink: 0; }
  .tabs-parcelamento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab-parcela { padding: 10px 6px; font-size: 0.82rem; }
  .form-control { min-height: 48px; font-size: 16px; }
  .sim-highlight-card { padding: 22px 14px; }
  .sim-hl-value { font-size: clamp(1.65rem, 9vw, 2.1rem); overflow-wrap: anywhere; }
  .depoimento-card { padding: 24px 20px; }
  footer { padding: 56px 0 24px; }
  .footer-grid { margin-bottom: 36px; }
  .cookie-banner { bottom: 10px; width: calc(100% - 20px); padding: 17px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-actions button { width: 100%; }
  .legal-header .header-wrapper { gap: 12px; }
  .legal-back { font-size: .84rem; text-align: right; }
  .legal-content { padding: 24px 18px; }
}
