/* ==========================================================================
   MARIA ELVINA — CORRETORA DE IMÓVEIS (IMPERATRIZ)
   Folha de Estilos Oficial — LP Contínua de Alta Performance
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/outfit-regular.woff2?v=20261110_v1') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/outfit-bold.woff2?v=20261110_v1') format('woff2');
}

:root {
  --bg-deep: #100d0a;
  --bg-surface: #17120e;
  --text-primary: #f8f4ec;
  --text-muted: #b8a898;
  --accent: #d4a373;
  --accent-hover: #e2b78b;
  --hairline: #251d17;
  --hairline-light: #3a2e25;
  --container-max: 1200px;
  --section-padding: clamp(3.5rem, 6vw, 5.5rem);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden !important;
  position: relative;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Layout Contínuo
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.site-section {
  padding-block: var(--section-padding);
  position: relative;
}

.hairline-separator {
  width: 100%;
  height: 1px;
  background-color: var(--hairline);
  margin: 0;
  border: 0;
}

/* --------------------------------------------------------------------------
   Header Minimalista
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(16, 13, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  padding-block: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-badge {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-creci {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid var(--hairline-light);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.25s var(--transition-smooth);
}

.header-cta:hover {
  background-color: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
}

.header-cta svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

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

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   CTA Principal com SHINY SWEEP GLOW
   -------------------------------------------------------------------------- */
.cta-sweep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem 1.85rem;
  background-color: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.35;
  border-radius: 9999px;
  text-align: center;
  white-space: normal;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 20px rgba(212, 163, 115, 0.22);
  transition: transform 0.25s var(--transition-smooth), background-color 0.25s ease;
  z-index: 1;
}

.cta-sweep-btn:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}

.cta-sweep-btn .cta-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  overflow: visible;
  white-space: normal;
}

.cta-sweep-btn .cta-label svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Feixe de Luz Diagonal (Sweep) */
.cta-sweep-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 1;
  animation: sweepGlow 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes sweepGlow {
  0% {
    left: -120%;
  }
  26% {
    left: 180%;
  }
  100% {
    left: 180%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-sweep-btn::after {
    animation: none;
    display: none;
  }
}

.cta-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 9999px;
  border: 1px solid var(--hairline-light);
  transition: all 0.25s var(--transition-smooth);
}

.cta-ghost-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Hero Foto & Moldura de Autoridade
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.hero-image-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline-light);
  background-color: var(--bg-surface);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-proof-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background-color: rgba(16, 13, 10, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  padding: 0.875rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.proof-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(212, 163, 115, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.proof-icon svg {
  width: 18px;
  height: 18px;
}

.proof-text-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.proof-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Faixa de Prova & Chave Vetorial
   -------------------------------------------------------------------------- */
.proof-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: 2rem;
}

@media (min-width: 768px) {
  .proof-strip {
    grid-template-columns: auto 1fr;
    gap: 3.5rem;
  }
}

.proof-key-asset {
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-svg-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(212, 163, 115, 0.08);
  border: 1px solid var(--hairline-light);
}

.key-svg-wrapper svg {
  width: 42px;
  height: 42px;
  color: var(--accent);
}

.proof-stat-big {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-stat-big span {
  color: var(--accent);
}

.proof-stat-desc {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 40rem;
}

/* --------------------------------------------------------------------------
   O Que Ela Vende: Casas Médio Padrão
   -------------------------------------------------------------------------- */
.section-header-compact {
  margin-bottom: 2.5rem;
}

.section-label {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 38rem;
}

.niche-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .niche-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.niche-column {
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
}

.niche-number {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.niche-heading {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.niche-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Passo a Passo: Do Aluguel à Chave na Mão
   -------------------------------------------------------------------------- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2rem;
}

.step-index {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.step-content-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-content-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 38rem;
}

/* --------------------------------------------------------------------------
   Seletor de Intenções WhatsApp (Conversão Direta)
   -------------------------------------------------------------------------- */
.intent-box {
  border: 1px solid var(--hairline-light);
  border-radius: 12px;
  padding: clamp(1.75rem, 4vw, 3rem);
  background-color: var(--bg-surface);
}

.intent-header {
  margin-bottom: 2rem;
}

.intent-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .intent-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.intent-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background-color: var(--bg-deep);
  transition: all 0.25s var(--transition-smooth);
  min-height: 150px;
}

.intent-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.intent-card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.intent-card-msg {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.intent-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
}

.intent-card-action svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.intent-card:hover .intent-card-action svg {
  transform: translateX(3px);
}

.intent-footer-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.intent-footer-note svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Rodapé Oficial
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-creds {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-creds strong {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: var(--accent);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Scroll Reveal (Progressive Disclosure)
   Visível no CSS por padrão, classe adicionada por JS para animação
   -------------------------------------------------------------------------- */
.js-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.js-ready .js-reveal:not(.is-revealed) {
  opacity: 0;
  transform: translateY(24px);
}

.js-ready .js-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .js-ready .js-reveal:not(.is-revealed),
  .js-ready .js-reveal.is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
