/* ══════════════════════════════════════════════════════════════════
   CRM PRA CORRETOR DE IMÓVEIS · MIA Hub
   Padrão Master Magalhães — preto + dourado, mobile-first
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg-void:        #050507;
  --bg-deep:        #0A0A0F;
  --bg-card:        #111118;
  --bg-surface:     #15151D;

  --text-primary:   #F2EDE4;
  --text-secondary: #A89F92;
  --text-muted:     #6B655D;
  --text-inverse:   #050507;

  --gold:           #C9A84C;
  --gold-light:     #E8C96B;
  --gold-muted:     #7A6430;
  --gold-glow:      rgba(201,168,76,0.15);

  --border:         rgba(242,237,228,0.07);
  --border-gold:    rgba(201,168,76,0.22);

  --gradient-cta:   linear-gradient(135deg, #C9A84C 0%, #E8C96B 50%, #C9A84C 100%);

  --maxw: 1120px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap-narrow { max-width: 760px; }

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -40%; left: 50%;
  width: min(900px, 140vw); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,168,76,0.13) 0%, rgba(201,168,76,0.04) 40%, transparent 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.4rem, 7.5vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  font-weight: 400;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 0 2.5rem;
}
.hero-sub strong { color: var(--text-primary); font-weight: 600; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.hero-price {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1;
}
.hero-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.hero-chips li {
  font-size: 0.8125rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  background: var(--bg-card);
}
.hero-chips .chip-gold {
  border-color: var(--border-gold);
  color: var(--gold);
}

/* ─────────── BOTÕES ─────────── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 6px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  cursor: pointer;
}
.btn-gold {
  background: var(--gradient-cta);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px rgba(201,168,76,0.28);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
  filter: brightness(1.04);
}
.btn-block { display: block; text-align: center; width: 100%; }
.btn-lg { font-size: 1.0625rem; padding: 1.15rem 2.4rem; }

/* ─────────── SEÇÕES ─────────── */
.sec { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }

.sec-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.sec-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin: 0 0 0.9rem;
  font-weight: 500;
}
.sec-eyebrow.center, .sec-title.center { text-align: center; }

.sec-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  font-weight: 400;
}
.sec-title em { font-style: italic; color: var(--gold); }
.sec-title.alt { margin-bottom: 1.75rem; }

.sec-pitch {
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0;
}
.sec-pitch strong { color: var(--text-primary); }

/* ─────────── DOR ─────────── */
.sec-dor {
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
}
.dor-lead {
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.dor-punch {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: var(--gold);
  margin: 0 0 1.5rem;
  line-height: 1.25;
}
.dor-body { color: var(--text-secondary); margin: 0 0 2rem; }
.dor-idea {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  margin: 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
}

/* ─────────── CARDS MÓDULOS ─────────── */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.card {
  background: linear-gradient(145deg, #111118 0%, #0D0D13 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}
.card-icon {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}
.card-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  font-weight: 400;
}
.card-line {
  color: var(--gold-light);
  font-size: 0.98rem;
  margin: 0 0 1.35rem;
  font-weight: 500;
}
.card-bullets {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.card-bullets li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.card-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-muted);
}
.card-nota {
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(201,168,76,0.05);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
}
.card-nota strong { color: var(--gold-light); }
.card-caso {
  margin: auto 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}
.card-caso span {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.5rem;
}

/* ─────────── AGENTES ─────────── */
.sec-agentes {
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
}
.agentes { display: grid; gap: 1rem; }
.agente {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  transition: border-color .25s ease;
}
.agente:hover { border-color: var(--border-gold); }
.agente-icon {
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1.4;
  flex-shrink: 0;
}
.agente h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  font-weight: 400;
}
.agente-line {
  color: var(--gold-light);
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  font-weight: 500;
}
.agente-caso {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

/* ─────────── NÃO GENÉRICO ─────────── */
.sec-generico p { color: var(--text-secondary); }
.sec-generico p strong { color: var(--text-primary); }
.sec-generico .dor-idea { color: var(--text-primary); margin-top: 2rem; }

/* ─────────── PREÇO ─────────── */
.sec-preco {
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
}
.preco-box {
  background: linear-gradient(145deg, #14141C 0%, #0D0D13 100%);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin: 2.5rem 0 2rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.55), 0 0 40px var(--gold-glow);
  text-align: center;
}
.preco-plano {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.preco-valor {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3.5rem, 11vw, 5.5rem);
  line-height: 1;
  color: var(--gold);
  margin: 0 0 1.5rem;
  letter-spacing: 0.01em;
}
.preco-valor span {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0;
}
.preco-lista {
  list-style: none;
  margin: 0 0 1.85rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
  text-align: left;
}
.preco-lista li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.preco-lista li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.preco-mini {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
}
.preco-ancora { margin: 0 0 1rem; }
.preco-ancora strong { color: var(--gold-light); }
.preco-exemplo {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* ─────────── E DEPOIS ─────────── */
/* 2 colunas já no celular — 22 itens em coluna única viram scroll infinito */
.grid-locked {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}
.locked {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-muted);
}
.locked span { font-size: 0.8rem; opacity: 0.65; }
.locked.liberado {
  color: var(--text-primary);
  border-color: var(--border-gold);
  background: rgba(201,168,76,0.06);
}
.locked.liberado span { color: var(--gold); opacity: 1; }
.depois-fecho {
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0;
}
.depois-fecho strong { color: var(--text-primary); }

/* ─────────── FAQ ─────────── */
.sec-faq {
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
}
.faq { display: grid; gap: 0.6rem; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 1.15rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--border-gold); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.2rem; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin: 0 0 1.15rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ─────────── CTA FINAL ─────────── */
.sec-final {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 60%),
    var(--bg-void);
}
.final-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 1.25rem;
  font-weight: 400;
}
.final-sub {
  color: var(--text-secondary);
  max-width: 48ch;
  margin: 0 auto 2.25rem;
}
.final-mini {
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ─────────── RODAPÉ ─────────── */
.rodape {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3.5rem;
  background: var(--bg-void);
}
.rodape p { margin: 0 0 0.75rem; font-size: 0.875rem; color: var(--text-secondary); }
.rodape strong { color: var(--gold); letter-spacing: 0.08em; }
.rodape-mini { font-size: 0.75rem; color: var(--text-muted); max-width: 70ch; line-height: 1.6; }

/* ─────────── REVEAL ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .agente { transition: none; }
}
