/* ==========================================================================
   MEU IMÓVEL SEGURO — Landing Page
   Sistema de design: navy #0D1B2A / azul #1E3A5F / dourado #FFC107
   Tipografia: Montserrat
   ========================================================================== */

:root {
  --navy-950: #0D1B2A;
  --navy-800: #12253A;
  --navy-700: #1E3A5F;
  --gold-500: #FFC107;
  --gold-600: #E5A800;
  --gray-100: #F2F4F7;
  --white: #FFFFFF;
  --ink: #1B2733;
  --ink-soft: #52606D;
  --line: #E3E8EF;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(13, 27, 42, 0.10);
  --shadow-gold: 0 10px 28px rgba(255, 193, 7, 0.35);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy-950); color: var(--white); }
.section--gray { background: var(--gray-100); }

.section-head {
  max-width: 680px;
  margin: 0 0 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-soft);
}
.section--navy .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255,193,7,0.42); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-navy {
  background: var(--navy-950);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-name { display: none; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-desktop a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-top img { height: 34px; }
.mobile-close {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: var(--white);
}
.mobile-close svg { width: 20px; height: 20px; }
.mobile-menu nav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu nav a {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu .btn { margin-top: 32px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 140% at 85% -10%, #1E3A5F 0%, #0D1B2A 55%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60% 60% at 70% 20%, black, transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--gold-500); }
.hero-copy h1 {
  font-size: clamp(32px, 5.4vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.hero-copy h1 span { color: var(--gold-500); }
.hero-copy .sub {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-trust .stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-500);
}
.hero-trust .stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.hero-visual { position: relative; }
.house-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.house-illustration { width: 100%; height: auto; }
.house-illustration .crack-line {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw 1.8s 0.4s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.house-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  font-size: 13.5px;
  font-weight: 700;
  max-width: 220px;
  line-height: 1.35;
}

/* ---------- Symptom checker ---------- */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.symptom-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.symptom-card:hover, .symptom-card.is-active {
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.symptom-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.symptom-icon svg { width: 24px; height: 24px; stroke: var(--gold-500); }
.symptom-card h4 { font-size: 15.5px; font-weight: 700; }
.symptom-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.symptom-card.is-active .symptom-reveal { max-height: 80px; margin-top: 10px; }

.symptom-tally {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--navy-950);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.symptom-tally.is-visible { opacity: 1; transform: translateY(0); }
.symptom-tally b { color: var(--gold-500); }

/* ---------- Explainer ---------- */
.explainer {
  display: grid;
  gap: 40px;
  align-items: center;
}
.explainer p { color: var(--ink-soft); font-size: 16.5px; margin: 0 0 16px; }
.explainer p:last-child { margin-bottom: 0; }
.explainer strong { color: var(--ink); }
.callout-not-your-fault {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 4px solid var(--gold-500);
  background: var(--gray-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700;
  font-size: 16px;
}

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  gap: 18px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}
.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 2px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.timeline-num svg { width: 26px; height: 26px; stroke: var(--gold-500); }
.timeline-track {
  width: 2px;
  flex: 1;
  background: var(--line);
  margin-top: 6px;
}
.timeline-item:last-child .timeline-track { display: none; }
.timeline-content { padding-bottom: 8px; padding-top: 6px; }
.timeline-content .step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.timeline-content h4 { font-size: 19px; font-weight: 800; margin-top: 4px; }
.timeline-content p { font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
.timeline-content .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-700);
}

/* ---------- Outcomes ---------- */
.outcome-grid {
  display: grid;
  gap: 20px;
}
.outcome-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.outcome-card--dark { background: var(--navy-950); color: var(--white); }
.outcome-card--gold { background: var(--gold-500); color: var(--navy-950); }
.outcome-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.outcome-card--dark .outcome-icon { background: rgba(255,193,7,0.15); }
.outcome-card--dark .outcome-icon svg { stroke: var(--gold-500); }
.outcome-card--gold .outcome-icon { background: rgba(13,27,42,0.12); }
.outcome-card--gold .outcome-icon svg { stroke: var(--navy-950); }
.outcome-icon svg { width: 28px; height: 28px; }
.outcome-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.outcome-card p { font-size: 15px; opacity: 0.9; }
.outcome-card--dark p { color: rgba(255,255,255,0.78); }
.outcome-card--gold p { color: rgba(13,27,42,0.78); }

.warning-box {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: #FFF7E0;
  border: 1px solid #F3DC94;
}
.warning-box svg { width: 26px; height: 26px; stroke: var(--gold-600); flex-shrink: 0; }
.warning-box p { font-size: 14.5px; color: #6B5217; margin: 0; }
.warning-box strong { color: #4A3810; }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-cell {
  background: var(--navy-950);
  padding: 34px 24px;
  text-align: center;
}
.stat-cell b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
}
.stat-cell span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  line-height: 1.4;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.testimonial-quote { font-size: 16px; color: var(--ink); line-height: 1.6; }
.testimonial-quote::before { content: '\201C'; color: var(--gold-500); font-size: 30px; font-weight: 800; line-height: 0; position: relative; top: 8px; }
.testimonial-author {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.testimonial-author b { font-size: 14.5px; display: block; }
.testimonial-author span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}
.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 22px 22px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  color: var(--navy-950);
  max-width: 640px;
  margin: 0 auto;
}
.final-cta p {
  margin-top: 14px;
  color: rgba(13,27,42,0.75);
  font-size: 16px;
}
.final-cta .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 40px;
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-950);
  color: var(--white);
  padding: 14px 20px 14px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(13,27,42,0.35);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(13,27,42,0.45); }
.wa-float-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-float-icon svg { width: 19px; height: 19px; stroke: var(--navy-950); }
.wa-float span { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .symptom-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .brand-name { display: block; font-weight: 800; font-size: 15px; color: var(--navy-950); line-height: 1.2; }
  .brand-name small { display: block; font-weight: 600; font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-soft); }
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .wa-float span { display: inline; }

  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .explainer { grid-template-columns: 0.9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

@media (min-width: 1000px) {
  .timeline-item { grid-template-columns: 64px 1fr; }
}
