/* Stylesheet compartilhado pelas landing pages de SEO (/crm-imobiliario, /sistema-imobiliario, etc.) */
:root {
  --bg: #FAFBFC; --surface: #FFFFFF; --surface2: #F1F5F9;
  --border: #E2E8F0; --text: #0F172A; --text-sec: #475569; --muted: #94A3B8;
  --accent: #FF7A00; --accent-hover: #E86E00; --accent-light: #FFF7ED; --accent-glow: rgba(255,122,0,0.15);
  --primary: #0E3A74; --primary-light: #EFF6FF;
  --success: #10B981; --success-light: #ECFDF5; --success-text: #047857;
  --violet: #7C3AED; --violet-light: #F5F3FF;
  --danger: #EF4444; --danger-light: #FEF2F2; --danger-text: #C81E1E;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --title: 'Newsreader', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
@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; }
}

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; padding: 12px 24px; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 20px; font-weight: 800; flex-shrink: 0; }
.nav-brand img { width: 32px; height: 32px; border-radius: 7px; object-fit: contain; flex-shrink: 0; }
.nav-brand .los { color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-link { padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-sec); transition: all .15s; }
.nav-link:hover { color: var(--text); background: var(--surface2); }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: 12px; margin: -12px; transition: transform .15s var(--ease-out); }
.hamburger:active { transform: scale(0.9); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-weight: 600; font-family: var(--font); cursor: pointer; transition: transform .15s var(--ease-out), background-color .2s, box-shadow .2s, border-color .2s; border: none; }
.btn-accent { background: var(--accent); color: #fff; padding: 9px 20px; font-size: 14px; box-shadow: 0 2px 8px var(--accent-glow); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }
.btn-outline { background: #fff; color: var(--text); border: 1px solid var(--border); padding: 9px 20px; font-size: 14px; }
.btn-outline:hover { background: var(--surface2); border-color: var(--accent); }
.btn-whatsapp { background: #25D366; color: #fff; padding: 12px 24px; font-size: 15px; }
.btn-whatsapp:hover { background: #20BD5A; transform: translateY(-1px); }
.btn-accent:active, .btn-outline:active, .btn-whatsapp:active { transform: scale(0.96); transition-duration: .1s; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

/* Breadcrumb */
.breadcrumb { max-width: 1140px; margin: 0 auto; padding: 96px 24px 0; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--text-sec); }
.breadcrumb a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 24px 24px 50px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero::before { content: ''; position: absolute; top: -200px; right: -150px; width: 500px; height: 500px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); pointer-events: none; }
.hero-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-light); border: 1px solid rgba(255,122,0,0.2); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 24px; }
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-family: var(--title); font-size: clamp(30px, 5vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -0.3px; max-width: 780px; margin: 0 auto 20px; }
.hero h1 .hl { color: var(--accent); }
.hero .sub { font-size: 18px; color: var(--text-sec); max-width: 600px; margin: 0 auto 36px; line-height: 1.65; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.hero-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-sec); font-weight: 500; }
.hero-trust-item .ico { width: 8px; height: 8px; border-radius: 50%; }

/* Screenshot */
.screenshot-wrap { max-width: 960px; margin: 48px auto 0; }
.screenshot-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.screenshot-frame img { width: 100%; display: block; }

/* Section base */
.section { padding: 64px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-inner.narrow { max-width: 800px; }
.section-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; background: var(--accent-light); color: var(--accent); }
.section-title { font-family: var(--title); font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.2px; margin-bottom: 10px; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--text-sec); max-width: 640px; line-height: 1.7; margin-bottom: 36px; }

/* Prose (texto corrido de SEO) */
.prose { font-size: 16px; color: var(--text-sec); line-height: 1.8; max-width: 800px; }
.prose h2 { font-family: var(--title); font-size: 24px; font-weight: 800; color: var(--text); margin: 32px 0 14px; letter-spacing: -0.2px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--title); font-size: 18px; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
.prose a:hover { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 13.5px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--surface2); color: var(--text-sec); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.prose td { color: var(--text-sec); }
.prose tr:last-child td { border-bottom: none; }

/* Doc meta (legal pages: version + last-updated badge) */
.doc-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 28px; }
.doc-badge { display: inline-flex; align-items: center; background: var(--surface2); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 600; color: var(--text-sec); }
.doc-date { font-size: 13px; color: var(--muted); }

/* Features grid */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
/* Variante de 4 colunas (Casos de uso, sistema-para-corretor.html) — precisa de
   breakpoints próprios porque o reset padrão do .features-grid não bate a
   especificidade de um grid-template-columns declarado a mais (2 classes). */
.features-grid.feat-grid-4 { grid-template-columns: repeat(4,1fr); }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; transition: all .2s; position: relative; overflow: hidden; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); border-color: transparent; }
.feat-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.feat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feat h3 { font-family: var(--title); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feat p { font-size: 13px; color: var(--text-sec); line-height: 1.6; }
.feat ul { list-style: none; margin-top: 10px; }
.feat li { font-size: 12px; color: var(--text-sec); padding: 3px 0 3px 14px; position: relative; }
.feat li::before { content: '•'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Problem / benefit cards */
.problem-grid, .benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.problem-card, .benefit-card { display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 18px 20px; font-size: 14px; font-weight: 600; color: var(--text); }
.problem-card { background: var(--danger-light); border: 1px solid #FECACA; }
.benefit-card { background: var(--success-light); border: 1px solid #A7F3D0; }
.problem-card .ico, .benefit-card .ico { font-size: 18px; flex-shrink: 0; }

/* Fluxo / processo */
.flow-steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.flow-step { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 22px; font-weight: 700; font-size: 14px; color: var(--text); font-family: var(--title); box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.flow-arrow { color: var(--accent); font-size: 20px; padding: 0 10px; flex-shrink: 0; }

/* Tabela comparativa */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--border); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-table th { font-family: var(--title); font-weight: 700; background: var(--surface2); }
.compare-table td.no { color: var(--danger-text); font-weight: 700; }
.compare-table td.yes { color: var(--success-text); font-weight: 700; }
.compare-table tr:last-child td { border-bottom: none; }

/* Integração com a plataforma */
.integration-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.integration-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: center; font-weight: 700; font-size: 14px; color: var(--text); transition: all .15s; }
.integration-card:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Cards de artigo (blog) */
.post-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.post-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: all .15s; }
.post-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.post-card .tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--accent); background: var(--accent-light); padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }
.post-card h3 { font-family: var(--title); font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); line-height: 1.3; }
.post-card p { font-size: 13px; color: var(--text-sec); line-height: 1.6; }

/* FAQ */
.faq { background: var(--surface); }
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 4px; font-family: var(--title); font-size: 15px; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--accent); font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 20px; font-size: 14px; color: var(--text-sec); line-height: 1.7; }

/* CTA */
.cta { text-align: center; background: linear-gradient(135deg, var(--primary) 0%, #1a5bb5 100%); color: #fff; padding: 64px 24px; }
.cta h2 { font-family: var(--title); font-size: clamp(24px,4vw,34px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.2px; }
.cta p { font-size: 16px; opacity: .85; max-width: 500px; margin: 0 auto 32px; line-height: 1.6; }

/* Related links */
.related { background: var(--surface2); }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.related-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; font-weight: 600; font-size: 14px; color: var(--text); transition: all .15s; }
.related-card:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Footer */
.footer { padding: 32px 24px; text-align: center; border-top: 1px solid var(--border); background: var(--surface); }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
.footer-brand img { width: 24px; height: 24px; border-radius: 5px; object-fit: contain; flex-shrink: 0; }
.footer-brand span { font-family: var(--font); font-size: 15px; font-weight: 800; }
.footer-brand .los { color: var(--accent); }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.footer-links a { font-size: 11px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-links .sep { font-size: 10px; color: var(--border); }
.footer p { font-size: 11px; color: var(--muted); }

/* Nav collapses here too — 3-4 links + CTA don't fit inline below 1100px
   (same overflow the landing page had; this file is shared by 8 pages, so one
   fix here covers all of them). */
@media(max-width:1100px) {
  .nav-links .nav-link { display: none; }
  .hamburger { display: block; }
  .nav-links.open { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav-links.open .nav-link { display: block !important; padding: 10px 14px; }
}
@media(max-width:900px) {
  .features-grid.feat-grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px) {
  .breadcrumb { padding-top: 86px; }
  .hero { padding: 16px 16px 40px; }
  .hero h1 { font-size: 28px; }
  .hero .sub { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; }
  .features-grid, .related-grid, .problem-grid, .benefit-grid, .integration-grid, .post-grid { grid-template-columns: 1fr; gap: 12px; }
  .features-grid.feat-grid-4 { grid-template-columns: 1fr; }
  .section { padding: 44px 16px; }
  .section-title { font-size: 24px; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 6px 0; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13px; }
}
