/* ===========================================================
   ConectaSys — Landing Page
   Design system compartilhado entre index / consorcio / imobiliarias
   Marca: roxo #612db5 (já usado em index.php e consorcio.php do sistema)
   =========================================================== */

:root {
  --brand: #612db5;
  --brand-dark: #4e2391;
  --brand-light: #8b5cf6;
  --accent: #3b82f6; /* mesmo azul já usado em consorcio.php */

  /* acento por segmento (uso só nas páginas específicas) */
  --consorcio-accent: #f59e0b;
  --imob-accent: #0ea5e9;

  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --bg-elevated: #ffffff;
  --text: #1a1523;
  --text-muted: #625d70;
  --border: #e7e4f0;

  --shadow-sm: 0 1px 2px rgba(24, 16, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(24, 16, 46, 0.08);
  --shadow-lg: 0 24px 64px rgba(24, 16, 46, 0.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #120e1a;
  --bg-soft: #191225;
  --bg-elevated: #1d1730;
  --text: #f3f1f8;
  --text-muted: #b3aac2;
  --border: #322a45;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120e1a;
    --bg-soft: #191225;
    --bg-elevated: #1d1730;
    --text: #f3f1f8;
    --text-muted: #b3aac2;
    --border: #322a45;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 200;
  transition: width .1s linear;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
section.alt { background: var(--bg-soft); }
@media (max-width: 720px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { font-size: 17px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.btn-primary:hover { box-shadow: 0 14px 30px -6px color-mix(in srgb, var(--brand) 80%, transparent); transform: translateY(-2px); }
.btn-primary, .btn-whatsapp { position: relative; overflow: hidden; }
.btn-primary::after, .btn-whatsapp::after {
  content: ""; position: absolute; top: 0; left: -60%; height: 100%; width: 40%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover::after, .btn-whatsapp:hover::after { left: 130%; }
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-whatsapp {
  background: #25D366;
  color: #06301a;
}
.btn-whatsapp:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 19px; }
.brand-mark-img {
  height: 34px; width: 34px; flex-shrink: 0;
  animation: brand-breathe 4s ease-in-out infinite;
}
@keyframes brand-breathe {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--brand) 55%, transparent)); }
}
@media (prefers-reduced-motion: reduce) { .brand-mark-img { animation: none; } }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 17px;
  transition: color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.theme-toggle .ti-moon { display: none; }
[data-theme="dark"] .theme-toggle .ti-sun { display: none; }
[data-theme="dark"] .theme-toggle .ti-moon { display: inline; }

.nav-burger {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-elevated);
  align-items: center; justify-content: center; font-size: 20px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-actions .btn span.long { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero-aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  z-index: -1;
  background:
    radial-gradient(38% 45% at 18% 25%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%),
    radial-gradient(32% 40% at 82% 15%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
    radial-gradient(40% 45% at 55% 55%, color-mix(in srgb, var(--brand-light) 35%, transparent), transparent 70%);
  filter: blur(60px);
  opacity: .55;
}
[data-theme="dark"] .hero-aurora { opacity: .35; }

/* ---------- Rede de conexão animada (mesmo motivo da logo) ---------- */
.network-decor {
  position: absolute; inset: 0; z-index: -1;
  overflow: visible; pointer-events: none;
  opacity: .5;
}
[data-theme="dark"] .network-decor { opacity: .35; }
.network-decor line {
  stroke: var(--brand); stroke-width: 1; opacity: .35;
}
.network-decor circle {
  fill: var(--brand);
  transform-origin: center;
  transform-box: fill-box;
  animation: node-pulse 3.6s ease-in-out infinite;
}
.network-decor circle:nth-child(odd) { animation-delay: -1.2s; fill: var(--accent); }
.network-decor circle:nth-child(3n) { animation-delay: -2.1s; }
@keyframes node-pulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
  .network-decor circle { animation: none; opacity: .55; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .btn-row, .hero-grid .hero-trust { justify-content: center; }
}

.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero .lede { font-size: 18px; max-width: 540px; }
.hero-grid.centered .lede { margin-left: auto; margin-right: auto; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13.5px; color: var(--text-muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust i { color: var(--brand); }

/* ---------- Segment picker (cards to consorcio / imobiliarias) ---------- */
.segment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .segment-grid { grid-template-columns: 1fr; } }

.segment-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--seg-color, var(--brand)) 50%, var(--border)); }
.spotlight { position: relative; }
.spotlight::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--seg-color, var(--brand)) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.spotlight:hover::after { opacity: 1; }
.segment-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--seg-color, var(--brand)), transparent 140%);
}
.segment-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--seg-color, var(--brand)), color-mix(in srgb, var(--seg-color, var(--brand)) 60%, #000 10%));
  transition: transform .3s ease;
}
.segment-card:hover .segment-icon { transform: scale(1.1) rotate(-4deg); }
.segment-card h3 { font-size: 22px; }
.segment-card ul { margin: 18px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.segment-card ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-muted); align-items: flex-start; }
.segment-card ul li i { color: var(--seg-color, var(--brand)); margin-top: 3px; }
.segment-card .go-link { font-weight: 600; color: var(--seg-color, var(--brand)); display: inline-flex; align-items: center; gap: 6px; }
.segment-card .go-link i { transition: transform .2s ease; }
.segment-card:hover .go-link i { transform: translateX(4px); }
.segment-card--consorcio { --seg-color: var(--consorcio-accent); }
.segment-card--imob { --seg-color: var(--imob-accent); }

/* ---------- Bento feature grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

.bento-item {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand); font-size: 21px; margin-bottom: 18px;
}
.bento-item h4 { font-size: 17px; margin-bottom: 8px; }
.bento-item p { font-size: 14.5px; margin: 0; }
.bento-item:hover .bento-icon { transform: scale(1.12) rotate(-4deg); }
.bento-icon { transition: transform .3s ease; }

.section-dots {
  position: relative;
}
.section-dots::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 14%, transparent) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 40%, transparent 85%);
  opacity: .5;
  pointer-events: none;
}
.section-dots > * { position: relative; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 22px; border-radius: var(--radius-md); background: var(--bg-soft); border: 1px solid var(--border); }
.step-num {
  counter-increment: step;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-weight: 700; font-family: var(--font-heading);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 15px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- Mock UI (ilustração, não é screenshot real) ---------- */
.mock-window {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.mock-titlebar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-titlebar span:nth-child(1) { background: #f87171; }
.mock-titlebar span:nth-child(2) { background: #fbbf24; }
.mock-titlebar span:nth-child(3) { background: #34d399; }
.mock-body { padding: 20px; }
.mock-screenshot { display: block; width: 100%; height: auto; }
.mock-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-col { background: var(--bg-soft); border-radius: 12px; padding: 10px; border: 1px solid var(--border); }
.mock-col-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 10px; padding: 0 4px; }
.mock-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 9px; padding: 10px; margin-bottom: 8px; font-size: 12.5px; box-shadow: var(--shadow-sm); }
.mock-card b { display: block; font-size: 13px; margin-bottom: 4px; }
.mock-tag { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; margin-top: 6px; }
.mock-tag--purple { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.mock-tag--amber { background: color-mix(in srgb, var(--consorcio-accent) 18%, transparent); color: var(--consorcio-accent); }
.mock-tag--blue { background: color-mix(in srgb, var(--imob-accent) 18%, transparent); color: var(--imob-accent); }

/* Cabeçalho de coluna com bolinha de status + contador, como no Kanban real do sistema */
.mock-kcol-head { display: flex; align-items: center; gap: 6px; padding: 0 4px; }
.mock-kcol-head .mock-col-title { margin-bottom: 0; }
.mock-kdot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.mock-kcol-count { font-size: 10px; color: var(--text-muted); padding: 0 4px; margin-bottom: 10px; }
.mock-card .mock-meta { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--text-muted); margin: 2px 0 5px; }
.mock-card .mock-meta i { font-size: 11px; }

/* Mock do dashboard real (hero) */
.mock-navbar { display: flex; align-items: center; gap: 4px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border); overflow: hidden; }
.mock-navbar-brand { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--brand), var(--brand-light)); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; margin-right: 6px; flex: none; }
.mock-navitem { font-size: 11.5px; font-weight: 600; color: var(--text-muted); padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.mock-navitem.is-active { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }

.mock-section-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 10px; }

.mock-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.mock-stat { display: flex; align-items: center; gap: 8px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; padding: 8px 9px; box-shadow: var(--shadow-sm); }
.mock-stat b { display: block; font-size: 14px; line-height: 1.2; }
.mock-stat small { display: block; font-size: 9.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .02em; }
.mock-stat-icon { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.mock-stat-icon--blue { background: color-mix(in srgb, var(--imob-accent) 16%, transparent); color: var(--imob-accent); }
.mock-stat-icon--purple { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.mock-stat-icon--green { background: color-mix(in srgb, #22c55e 18%, transparent); color: #16a34a; }
.mock-stat-icon--teal { background: color-mix(in srgb, #0d9488 18%, transparent); color: #0d9488; }

.mock-donuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-donut { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 12px 6px; }
.mock-donut-ring { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mock-donut-ring::after { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); }
.mock-donut-ring--a { background: conic-gradient(var(--brand) 0 55%, var(--imob-accent) 55% 78%, var(--consorcio-accent) 78% 92%, #a78bfa 92% 100%); }
.mock-donut-ring--b { background: conic-gradient(var(--imob-accent) 0 38%, var(--consorcio-accent) 38% 66%, #22c55e 66% 86%, var(--brand) 86% 100%); }
.mock-donut-ring--c { background: conic-gradient(var(--consorcio-accent) 0 82%, var(--imob-accent) 82% 100%); }
.mock-donut span { font-size: 10px; font-weight: 600; color: var(--text-muted); text-align: center; }
/* Reforço de "vida" nos mocks de kanban (consórcio/imobiliárias) */
.mock-stats--3col { grid-template-columns: repeat(3, 1fr); }
.mock-stat-icon--amber { background: color-mix(in srgb, var(--consorcio-accent) 18%, transparent); color: var(--consorcio-accent); }
.mock-kdot--amber { background: var(--consorcio-accent); }
.mock-kdot--purple { background: var(--brand); }
.mock-kdot--green { background: #16a34a; }
.mock-kdot--blue { background: var(--imob-accent); }
.mock-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.mock-card-head b { margin-bottom: 0; }
.mock-avatar {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
}
/* Coluna com "peek" de card cortado, sugerindo rolagem/mais leads */
.mock-col--scroll { max-height: 222px; overflow: hidden; position: relative; }
.mock-col--scroll::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px;
  background: linear-gradient(to bottom, transparent, var(--bg-soft));
  border-radius: 0 0 12px 12px; pointer-events: none;
}

.mock-floating {
  position: absolute;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.hero-visual { position: relative; }
.mock-floating.float-1 { top: -18px; right: -18px; animation: bob-float 5s ease-in-out infinite; }
.mock-floating.float-2 { bottom: -16px; left: -16px; animation: bob-float 5.6s ease-in-out infinite -1.4s; }
@keyframes bob-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .mock-floating.float-1, .mock-floating.float-2 { animation: none; }
}
@media (max-width: 980px) { .mock-floating { display: none; } }
.mock-floating i { font-size: 18px; }
.mock-floating.ok i { color: #22c55e; }
.mock-floating.money i { color: var(--consorcio-accent); }

/* Anel orbital decorativo atrás da janela mock */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -34px;
  border: 1.5px dashed color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 32px;
  z-index: -1;
  animation: orbit-spin 40s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-visual::before { animation: none; } }
@media (max-width: 980px) { .hero-visual::before { display: none; } }
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Marquee (ticker animado de recursos) ---------- */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; width: max-content; gap: 48px;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.marquee-track i { color: var(--brand); font-size: 17px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: none; border: none; text-align: left;
  font-family: var(--font-heading); font-size: 15.5px; font-weight: 600; color: var(--text);
}
.faq-label { display: inline-flex; align-items: center; gap: 10px; }
.faq-icon { color: var(--brand); font-size: 17px; flex-shrink: 0; }
.faq-question > i.ti-chevron-down { transition: transform .25s ease; color: var(--text-muted); flex-shrink: 0; margin-left: 12px; }
.faq-item.is-open .faq-question > i.ti-chevron-down { transform: rotate(180deg); color: var(--brand); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-secondary { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.2); border-color: #fff; }
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } }

/* ---------- CTA grid (form + texto nas páginas de segmento) ---------- */
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Lead form ---------- */
.lead-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.lead-card h3 { font-size: 19px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--text);
  font-family: inherit; font-size: 14.5px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-status { font-size: 13.5px; margin-top: 12px; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { color: #16a34a; }
.form-status.err { color: #dc2626; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 16px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: var(--text-muted); }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.footer-social a:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- Browser mock URL bar ---------- */
.mock-url {
  flex: 1;
  margin-left: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* ---------- Comparação antes/depois ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.compare-card.is-after { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.compare-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.compare-card.is-before .compare-tag { background: var(--bg-soft); color: var(--text-muted); }
.compare-card.is-after .compare-tag { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.compare-card ul { display: flex; flex-direction: column; gap: 14px; }
.compare-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.compare-card.is-before ul li i { color: #b0abc0; margin-top: 3px; flex-shrink: 0; }
.compare-card.is-after ul li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* ---------- Integrações ---------- */
.integr-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.integr-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 14.5px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.integr-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.integr-chip i { color: var(--brand); font-size: 19px; }
.integr-chip small { color: var(--text-muted); font-weight: 500; }

/* ---------- Planos / Pricing ---------- */
.plans-common {
  max-width: 900px; margin: 0 auto 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 760px) { .plans-common { grid-template-columns: 1fr; } }
.plans-common li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.plans-common li i { color: var(--accent); flex-shrink: 0; }
.launch-note {
  text-align: center; font-weight: 700; font-size: 14px; color: #16a34a;
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px;
}
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.price-card.is-popular { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h4 { font-size: 19px; margin-bottom: 4px; }
.price-tagline { color: var(--text-muted); font-size: 14px; min-height: 2.2em; }
.price-value { font-family: var(--font-heading); font-weight: 800; font-size: 34px; margin: 14px 0 2px; }
.price-value small { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--text-muted); }
.price-subnote { font-size: 12.5px; color: var(--text-muted); margin: -4px 0 4px; }
.price-tiers { display: flex; flex-direction: column; gap: 5px; margin: 2px 0 10px; padding: 10px 12px; background: var(--bg-soft); border-radius: 10px; }
.price-tier { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.price-tier b { color: var(--text); font-weight: 700; white-space: nowrap; }
.price-trial { font-size: 13px; font-weight: 700; color: #16a34a; margin-bottom: 4px; }
.price-card ul { flex: 1; display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.price-card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.price-card ul li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* ---------- Fluxo circular (Como funciona detalhado) ---------- */
.flow-setup {
  max-width: 680px; margin: 0 auto 0;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 26px; display: flex; align-items: center; gap: 18px;
}
.flow-setup-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.flow-setup-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.flow-setup h4 { font-size: 16px; margin: 4px 0 6px; }
.flow-setup p { margin: 0; font-size: 14px; }
.flow-setup-arrow { text-align: center; color: var(--text-muted); font-size: 22px; margin: 12px 0 28px; opacity: .7; }
.flow-circle-wrap { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin: 0 auto; }
.flow-svg { width: 100%; height: 100%; overflow: visible; }
.flow-ring-bg { fill: none; stroke: var(--border); stroke-width: 2; }
.flow-node-g { cursor: pointer; }
.flow-node-bg {
  fill: var(--bg-elevated); stroke: var(--accent); stroke-width: 2;
  transition: fill .25s ease, stroke .25s ease, transform .25s ease;
  transform-origin: center; transform-box: fill-box;
}
.flow-node-num {
  font-family: var(--font-heading); font-weight: 800; font-size: 17px; fill: var(--accent);
  transition: fill .25s ease; pointer-events: none;
}
.flow-node-label {
  font-family: var(--font-body); font-weight: 600; font-size: 12px; fill: var(--text-muted);
  transition: fill .25s ease, opacity .25s ease; pointer-events: none;
}
.flow-node-g.active .flow-node-bg { fill: var(--accent); stroke: var(--accent); transform: scale(1.14); }
.flow-node-g.active .flow-node-num { fill: #fff; }
.flow-node-g.active .flow-node-label { fill: var(--accent); font-weight: 700; }
.flow-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62%; max-width: 270px; text-align: center;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--shadow-lg);
}
.flow-center .fc-step { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.flow-center h4 { font-size: 16px; margin: 6px 0 8px; transition: opacity .18s ease; }
.flow-center p { font-size: 13px; margin: 0; line-height: 1.45; transition: opacity .18s ease; }
.flow-center.fading h4, .flow-center.fading p, .flow-center.fading .fc-step { opacity: 0; }
@media (max-width: 560px) {
  .flow-node-label { display: none; }
  .flow-center { max-width: 190px; padding: 16px 16px; }
  .flow-center h4 { font-size: 14.5px; }
  .flow-center p { font-size: 12px; }
}
.flow-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.flow-chip {
  border: 1px solid var(--border); background: var(--bg-elevated); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all .2s ease;
}
.flow-chip:hover { border-color: var(--accent); color: var(--accent); }
.flow-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.floating-whats {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .6);
  animation: pulse-whats 2.6s infinite;
}
.floating-whats:hover { filter: brightness(1.05); }
@keyframes pulse-whats {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 10px 24px -8px rgba(37,211,102,.6); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 24px -8px rgba(37,211,102,.6); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 24px -8px rgba(37,211,102,.6); }
}
@media (prefers-reduced-motion: reduce) { .floating-whats { animation: none; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--seg-color, var(--brand)) 14%, transparent);
  color: var(--seg-color, var(--brand));
}
