/* ==========================================================================
   MONICA FERREIRA CORRETORA — DESIGN SYSTEM & ESTILO CANÔNICO
   Identidade: Claro e Escuro Mesclados com Ouro Dourado Brilhante
   Zero Azuis | Zero Caixas Cinzas | Tipografia Monumental | Performance Pura
   ========================================================================== */

/* 1. FONTES SELF-HOSTED (Inter Latin 400 & 600) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
}

/* 2. DESIGN TOKENS */
:root {
  /* Campos e Fundo Contínuo */
  --bg-dark: #07080a;
  --bg-dark-elevated: #0f1115;
  --bg-light: #ffffff;
  --bg-light-soft: #fbfbf9;

  /* Família Ouro Dourado Brilhante (Sem Azuis) */
  --gold-core: #f3d068;
  --gold-light: #fae59a;
  --gold-warm: #d4af37;
  --gold-deep: #a8841a;
  --gold-halo: rgba(243, 208, 104, 0.42);
  --gold-ambient: rgba(212, 175, 55, 0.15);
  --gold-border: rgba(243, 208, 104, 0.28);
  --gold-faint: rgba(243, 208, 104, 0.08);

  /* Tipografia & Contraste */
  --text-dark: #07080a;
  --text-dark-muted: #3d424d;
  --text-light: #ffffff;
  --text-light-muted: #b5b9c2;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Raios e Transições */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. RESET & ESTRUTURA GLOBAL */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-dark);
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 4. NAVBAR CANÔNICA (≤ 56px no Mobile) */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  z-index: 100;
  background: rgba(7, 8, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-monogram {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--gold-halo);
}

.brand-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand-text span {
  color: var(--gold-core);
}

.nav-desktop-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-desktop-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light-muted);
  transition: color 0.3s var(--ease-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-desktop {
  display: none;
}

.nav-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gold-core);
  color: var(--text-dark);
  box-shadow: 0 0 16px var(--gold-halo);
}

.menu-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.menu-toggle-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--gold-core);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

.menu-toggle-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Panel Modal */
.mobile-menu-panel {
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  height: calc(100vh - 56px);
  background: rgba(7, 8, 10, 0.98);
  backdrop-filter: blur(12px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s;
  z-index: 99;
  overflow-y: auto;
}

.mobile-menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.mobile-nav-links a {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-links a:hover {
  color: var(--gold-core);
}

.mobile-menu-footer {
  margin-top: 40px;
}

/* 5. BOTÃO CANÔNICO (Shiny Sweep Glow) */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    #d4af37,
    #fae59a,
    #f3d068,
    #d4af37,
    #a8841a,
    #fae59a,
    #f3d068,
    #d4af37,
    #fae59a,
    #d4af37
  );
  background-size: 800% 800%;
  animation: goldGradientFlow 12s ease infinite;
  box-shadow: 0 6px 24px var(--gold-halo);
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.btn-primary:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 32px rgba(243, 208, 104, 0.6);
}

.btn-primary:active {
  transform: scale(0.99);
}

/* Shiny Sweep Glow Beam */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-20deg);
  animation: shinySweep 3.6s ease-in-out infinite;
  pointer-events: none;
}

.btn-full {
  width: 100%;
}

@keyframes goldGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shinySweep {
  0%, 40% { left: -120%; }
  100% { left: 200%; }
}

/* 6. HERO SECTION MONUMENTAL */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.14) 0%, transparent 65%), var(--bg-dark);
}

/* Formas Gráficas de Praia (Vetor de Horizonte e Linhas de Sol em Traço Fino) */
.beach-horizon-graphic {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  height: 480px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.beach-horizon-graphic svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-core);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -1.6px;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-title .highlight {
  color: var(--gold-core);
  text-shadow: 0 0 28px var(--gold-halo);
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-light-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-trust-note {
  font-size: 0.85rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Foto da Corretora com Luz Suave de Base */
.hero-portrait-wrap {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-portrait-aura {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(243, 208, 104, 0.28) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.hero-portrait-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.85));
}

.hero-portrait-base-light {
  position: absolute;
  bottom: 0;
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-core), transparent);
  box-shadow: 0 0 20px var(--gold-core);
  z-index: 3;
}

/* 7. TRANSIÇÃO DE LUZ (ESCURO → CLARO CONTÍNUO) */
.transition-wave-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  background: var(--bg-dark);
}

.transition-wave-wrap svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* 8. SEÇÃO DE LUZ PROGRESSIVA: ETAPAS DA CONSULTORIA */
.section-steps {
  position: relative;
  padding: 100px 0;
  background: var(--bg-light-soft);
  color: var(--text-dark);
}

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

.section-tag {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -1.2px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

/* Trilho de Luz e Cartões de Etapas */
.steps-rail-container {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.steps-rail-track {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 32px;
  width: 3px;
  background: rgba(212, 175, 55, 0.22);
}

.steps-rail-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  transform-origin: top;
  transform: scaleY(0);
}

.step-card {
  position: relative;
  margin-left: 80px;
  margin-bottom: 48px;
  padding: 32px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.12);
}

.step-rail-node {
  position: absolute;
  left: -58px;
  top: 36px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--gold-core);
  border: 3px solid #ffffff;
  box-shadow: 0 0 12px var(--gold-halo);
}

.step-num {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.step-text {
  font-size: 1rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

/* 9. SEÇÃO DE VALOR RESIDENCIAL EM UBERLÂNDIA */
.section-insights {
  position: relative;
  padding: 100px 0;
  background: #ffffff;
  color: var(--text-dark);
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.insight-item {
  padding: 36px 32px;
  background: var(--bg-light-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.insight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(243, 208, 104, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  margin-bottom: 20px;
}

.insight-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.insight-desc {
  font-size: 0.98rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

/* 10. TRANSIÇÃO DE VOLTA AO ESCURO */
.transition-wave-dark {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #ffffff;
}

.transition-wave-dark svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* 11. FAQ ACCORDION */
.section-faq {
  position: relative;
  padding: 100px 0;
  background: var(--bg-dark);
  color: #ffffff;
}

.section-faq .section-title {
  color: #ffffff;
}

.section-faq .section-desc {
  color: var(--text-light-muted);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(243, 208, 104, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-smooth);
}

.faq-item:hover, .faq-item.is-open {
  border-color: var(--gold-core);
}

.faq-question-btn {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 600;
  color: #ffffff;
  gap: 16px;
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold-core);
  transition: transform 0.3s var(--ease-smooth);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth);
  padding: 0 28px;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-light-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* 12. BANNER DE CONVERSÃO FINAL */
.section-cta-final {
  position: relative;
  padding: 80px 0 120px;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 70%), var(--bg-dark);
  text-align: center;
}

.cta-final-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-final-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -1.2px;
}

.cta-final-desc {
  font-size: 1.08rem;
  color: var(--text-light-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* 13. RODAPÉ */
.site-footer {
  position: relative;
  background: #040507;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-brand-title span {
  color: var(--gold-core);
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-info-item svg {
  color: var(--gold-core);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-links-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.footer-links-list a:hover {
  color: var(--gold-core);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 0.85rem;
}

/* 14. MEDIA QUERIES (DESKTOP BREAKPOINT) */
@media (min-width: 768px) {
  .site-nav {
    height: 72px;
  }

  .nav-desktop-links {
    display: flex;
  }

  .nav-cta-desktop {
    display: inline-flex;
    height: 42px;
    padding: 0 20px;
    font-size: 0.88rem;
  }

  .nav-cta-mobile, .menu-toggle-btn {
    display: none;
  }

  .mobile-menu-panel {
    display: none;
  }

  .hero-section {
    padding-top: 140px;
  }

  .hero-cta-box {
    flex-direction: row;
    justify-content: center;
  }

  .btn-full {
    width: auto;
  }

  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* 15. ACESSIBILIDADE & REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn-primary {
    animation: none !important;
  }
  .btn-primary::after {
    display: none !important;
  }
  .steps-rail-progress {
    transform: scaleY(1) !important;
  }
}
