/* CRM Clint — Landing estilo SaaS (referência Pipedrive) */

.landing-page {
  --lp-bg: #ffffff;
  --lp-bg-soft: #f7f9fc;
  --lp-bg-muted: #eef2f7;
  --lp-text: #1a2332;
  --lp-muted: #5c6b82;
  --lp-border: #e2e8f0;
  --lp-accent: #c9a227;
  --lp-accent-hover: #a88620;
  --lp-accent-soft: rgba(201, 162, 39, 0.12);
  --lp-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
  --lp-radius: 12px;
  --lp-radius-lg: 20px;
  background: var(--lp-bg);
  color: var(--lp-text);
}

html[data-theme="dark"] .landing-page {
  --lp-bg: #0c1222;
  --lp-bg-soft: #111827;
  --lp-bg-muted: #151d2e;
  --lp-text: #e8edf5;
  --lp-muted: #8b9cb8;
  --lp-border: #2a3654;
  --lp-accent-soft: rgba(201, 162, 39, 0.15);
  --lp-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.landing-page a { color: inherit; text-decoration: none; }

/* Nav */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
}

html[data-theme="dark"] .lp-nav {
  background: rgba(12, 18, 34, 0.92);
}

.lp-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lp-logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-logo span { color: var(--lp-accent); }

.lp-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.lp-nav-links a {
  font-size: 0.9rem;
  color: var(--lp-muted);
  font-weight: 500;
  transition: color 0.15s;
}

.lp-nav-links a:hover { color: var(--lp-text); }

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

.lp-link-btn {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lp-text);
  padding: 8px 14px;
}

.lp-link-btn:hover { color: var(--lp-accent); }

@media (max-width: 860px) {
  .lp-nav-links { display: none; }
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-primary {
  background: var(--lp-accent);
  color: #1a1300;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

.lp-btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
}

.lp-btn-outline {
  background: transparent;
  border: 2px solid var(--lp-border);
  color: var(--lp-text);
}

.lp-btn-outline:hover {
  border-color: var(--lp-accent);
  color: var(--lp-accent);
}

.lp-btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.landing-page .theme-toggle {
  border-radius: 999px;
  font-size: 0.82rem;
}

/* Hero */
.lp-hero {
  text-align: center;
  padding: 56px 24px 32px;
  max-width: 860px;
  margin: 0 auto;
}

.lp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 20px;
}

.lp-hero .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--lp-muted);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 28px;
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.lp-hero-note {
  font-size: 0.82rem;
  color: var(--lp-muted);
}

/* Hero product shot */
.lp-hero-shot {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px 56px;
}

.lp-browser {
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  overflow: hidden;
  box-shadow: var(--lp-shadow);
}

.lp-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--lp-bg-soft);
  border-bottom: 1px solid var(--lp-border);
}

.lp-dots { display: flex; gap: 6px; }
.lp-dots i {
  width: 10px; height: 10px; border-radius: 50%; display: block;
}
.lp-dots i:nth-child(1) { background: #ef4444; }
.lp-dots i:nth-child(2) { background: #f59e0b; }
.lp-dots i:nth-child(3) { background: #22c55e; }

.lp-url {
  flex: 1;
  margin-left: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  font-size: 0.78rem;
  color: var(--lp-muted);
  text-align: left;
}

/* Trust bar */
.lp-trust {
  background: var(--lp-bg-soft);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  padding: 28px 24px;
  text-align: center;
}

.lp-trust p {
  font-size: 0.88rem;
  color: var(--lp-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.lp-trust-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}

.lp-trust-stats div strong {
  display: block;
  font-size: 1.5rem;
  color: var(--lp-accent);
  font-weight: 700;
}

.lp-trust-stats div span {
  font-size: 0.82rem;
  color: var(--lp-muted);
}

/* Section common */
.lp-section {
  padding: 80px 24px;
}

.lp-section-soft { background: var(--lp-bg-soft); }

.lp-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.lp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.lp-section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.lp-section-head p {
  font-size: 1.05rem;
  color: var(--lp-muted);
  line-height: 1.55;
}

/* Audience tabs */
.lp-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.lp-tab {
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--lp-border);
  background: var(--lp-bg);
  color: var(--lp-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}

.lp-tab:hover { border-color: var(--lp-accent); color: var(--lp-text); }

.lp-tab.active {
  border-color: var(--lp-accent);
  background: var(--lp-accent-soft);
  color: var(--lp-text);
}

.lp-tab-panel { display: none; }
.lp-tab-panel.active { display: block; }

/* Feature row (alternating) */
.lp-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.lp-feature-row:last-child { margin-bottom: 0; }

.lp-feature-row.reverse .lp-feature-copy { order: 2; }
.lp-feature-row.reverse .lp-feature-visual { order: 1; }

@media (max-width: 900px) {
  .lp-feature-row,
  .lp-feature-row.reverse {
    grid-template-columns: 1fr;
  }
  .lp-feature-row.reverse .lp-feature-copy,
  .lp-feature-row.reverse .lp-feature-visual { order: unset; }
}

.lp-feature-copy h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.lp-feature-copy > p {
  font-size: 1rem;
  color: var(--lp-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.lp-quote {
  padding: 20px 22px;
  background: var(--lp-bg-soft);
  border-left: 4px solid var(--lp-accent);
  border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
}

.lp-section-soft .lp-quote { background: var(--lp-bg); }

.lp-quote p {
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}

.lp-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--lp-muted);
  font-weight: 600;
}

.lp-feature-visual {
  border-radius: var(--lp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
  background: var(--lp-bg-muted);
}

/* Mockups — painel real */
.mock-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(135deg, #1a2332, #0c1222);
  border-bottom: 1px solid var(--lp-border);
  font-size: 0.65rem;
  color: #e8edf5;
}

html[data-theme="light"] .mock-app-header {
  background: linear-gradient(135deg, #fff, #eef2f8);
  color: var(--lp-text);
}

.mock-app-header .brand b { font-size: 0.78rem; }
.mock-app-header .brand small { display: block; color: #8b9cb8; font-size: 0.55rem; }

.mock-panel {
  display: grid;
  grid-template-columns: 130px 1fr 145px;
  min-height: 260px;
  font-size: 0.62rem;
  background: #0c1222;
  color: #e8edf5;
}

html[data-theme="light"] .mock-panel {
  background: #f4f6fb;
  color: #1a2332;
}

.mock-sidebar {
  background: #151d2e;
  border-right: 1px solid #2a3654;
  padding: 8px;
}

html[data-theme="light"] .mock-sidebar {
  background: #fff;
  border-color: #d5deea;
}

.mock-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.mock-stat {
  background: #1c2740;
  border: 1px solid #2a3654;
  border-radius: 8px;
  padding: 6px;
}

html[data-theme="light"] .mock-stat {
  background: #eef2f8;
  border-color: #d5deea;
}

.mock-stat label {
  display: block;
  font-size: 0.5rem;
  color: #8b9cb8;
  text-transform: uppercase;
}

.mock-stat b { font-size: 0.95rem; color: #22c55e; }

.mock-conv {
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
  border: 1px solid transparent;
}

.mock-conv.active {
  background: #1c2740;
  border-color: #c9a227;
}

html[data-theme="light"] .mock-conv.active {
  background: #eef2f8;
}

.mock-conv .name { font-weight: 600; font-size: 0.65rem; }
.mock-conv .preview { color: #8b9cb8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mock-chat {
  display: flex;
  flex-direction: column;
  background: #0c1222;
  border-right: 1px solid #2a3654;
}

html[data-theme="light"] .mock-chat {
  background: #f4f6fb;
  border-color: #d5deea;
}

.mock-chat-head {
  padding: 8px 12px;
  border-bottom: 1px solid #2a3654;
  font-weight: 600;
  font-size: 0.68rem;
}

html[data-theme="light"] .mock-chat-head { border-color: #d5deea; }

.mock-chat-msgs {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-msg {
  max-width: 88%;
  padding: 7px 9px;
  border-radius: 10px;
  line-height: 1.35;
  font-size: 0.6rem;
}

.mock-msg.in {
  align-self: flex-start;
  background: #1c2740;
  border: 1px solid #2a3654;
}

html[data-theme="light"] .mock-msg.in {
  background: #fff;
  border-color: #d5deea;
}

.mock-msg.out {
  align-self: flex-end;
  background: rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.45);
}

.mock-detail {
  padding: 10px;
  background: #151d2e;
}

html[data-theme="light"] .mock-detail { background: #fff; }

.mock-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.52rem;
  margin-bottom: 6px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid #22c55e;
}

.mock-detail dl dt {
  color: #8b9cb8;
  font-size: 0.5rem;
  text-transform: uppercase;
  margin-top: 5px;
}

.mock-detail dl dd { font-size: 0.62rem; }

/* Kanban mock */
.mock-kanban-wrap { padding: 12px; background: #0c1222; min-height: 220px; }
html[data-theme="light"] .mock-kanban-wrap { background: #f4f6fb; }

.mock-kanban {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.k-col {
  flex: 1;
  min-width: 0;
  background: #151d2e;
  border: 1px solid #2a3654;
  border-radius: 8px;
  overflow: hidden;
}

html[data-theme="light"] .k-col {
  background: #fff;
  border-color: #d5deea;
}

.k-col-head {
  padding: 8px;
  font-size: 0.58rem;
  font-weight: 600;
  border-top: 3px solid #64748b;
  background: #1c2740;
}

html[data-theme="light"] .k-col-head { background: #eef2f8; }

.k-col.col-qualifying .k-col-head { border-top-color: #3b82f6; }
.k-col.col-booked .k-col-head { border-top-color: #22c55e; }
.k-col.col-handoff .k-col-head { border-top-color: #f59e0b; }

.k-col-body { padding: 6px; }

.k-card {
  background: #1c2740;
  border: 1px solid #2a3654;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 6px;
  font-size: 0.58rem;
}

html[data-theme="light"] .k-card {
  background: #fff;
  border-color: #d5deea;
}

.k-card strong { display: block; margin-bottom: 3px; }
.k-card .meta { color: #8b9cb8; font-size: 0.52rem; }
.k-card .score { color: #c9a227; font-weight: 600; margin-top: 4px; font-size: 0.52rem; }

/* Dashboard mock */
.mock-dash-wrap { padding: 14px; background: #0c1222; min-height: 220px; }
html[data-theme="light"] .mock-dash-wrap { background: #f4f6fb; }

.mock-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.d-kpi {
  background: #151d2e;
  border: 1px solid #2a3654;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

html[data-theme="light"] .d-kpi {
  background: #fff;
  border-color: #d5deea;
}

.d-kpi b {
  display: block;
  font-size: 1rem;
  color: #c9a227;
}

.d-kpi span {
  font-size: 0.5rem;
  color: #8b9cb8;
  text-transform: uppercase;
}

.mock-chart {
  height: 90px;
  background: #151d2e;
  border: 1px solid #2a3654;
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
}

html[data-theme="light"] .mock-chart {
  background: #fff;
  border-color: #d5deea;
}

.mock-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #c9a227, rgba(201, 162, 39, 0.2));
}

.mock-chart i:nth-child(1) { height: 45%; }
.mock-chart i:nth-child(2) { height: 70%; }
.mock-chart i:nth-child(3) { height: 55%; }
.mock-chart i:nth-child(4) { height: 85%; }
.mock-chart i:nth-child(5) { height: 60%; }
.mock-chart i:nth-child(6) { height: 75%; }

/* Config mock */
.mock-config-wrap { padding: 12px; background: #0c1222; min-height: 220px; }
html[data-theme="light"] .mock-config-wrap { background: #f4f6fb; }

.mock-config {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  min-height: 196px;
}

.mock-config-nav {
  background: #151d2e;
  border: 1px solid #2a3654;
  border-radius: 10px;
  padding: 8px;
}

html[data-theme="light"] .mock-config-nav {
  background: #fff;
  border-color: #d5deea;
}

.mock-config-nav div {
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 0.58rem;
  margin-bottom: 4px;
  color: #8b9cb8;
}

.mock-config-nav div.on {
  background: rgba(201, 162, 39, 0.15);
  color: #e8c547;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

html[data-theme="light"] .mock-config-nav div.on { color: #a88620; }

.mock-config-body {
  background: #151d2e;
  border: 1px solid #2a3654;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

html[data-theme="light"] .mock-config-body {
  background: #fff;
  border-color: #d5deea;
}

.mock-qr {
  width: 80px;
  height: 80px;
  background:
    linear-gradient(90deg, #e8edf5 33%, transparent 33%) 0 0 / 8px 8px,
    linear-gradient(#e8edf5 33%, transparent 33%) 0 0 / 8px 8px;
  border: 3px solid #e8edf5;
  border-radius: 6px;
}

html[data-theme="light"] .mock-qr {
  background:
    linear-gradient(90deg, #1a2332 33%, transparent 33%) 0 0 / 8px 8px,
    linear-gradient(#1a2332 33%, transparent 33%) 0 0 / 8px 8px;
  border-color: #1a2332;
}

.mock-config-body p {
  font-size: 0.62rem;
  color: #8b9cb8;
  text-align: center;
}

.mock-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.58rem;
  color: #22c55e;
}

.mock-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* AI grid */
.lp-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .lp-ai-grid { grid-template-columns: 1fr; }
}

.lp-ai-card {
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 28px 24px;
}

.lp-section-soft .lp-ai-card { background: var(--lp-bg-soft); }

.lp-ai-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lp-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.lp-ai-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.lp-ai-card p {
  font-size: 0.92rem;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* Integrations */
.lp-integrations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.lp-int-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}

.lp-section-soft .lp-int-badge { background: var(--lp-bg-soft); }

.lp-int-badge span { font-size: 1.25rem; }

/* Security / onboarding grids */
.lp-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .lp-three-col { grid-template-columns: 1fr; }
}

.lp-info-card {
  text-align: center;
  padding: 8px 12px;
}

.lp-info-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.lp-info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.lp-info-card p {
  font-size: 0.92rem;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* Final CTA */
.lp-final-cta {
  text-align: center;
  padding: 88px 24px;
  background: linear-gradient(180deg, var(--lp-bg-soft) 0%, var(--lp-bg) 100%);
  border-top: 1px solid var(--lp-border);
}

.lp-final-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.lp-final-cta p {
  color: var(--lp-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 40px 24px 56px;
  background: var(--lp-bg);
}

.lp-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--lp-muted);
}

.lp-footer a { color: var(--lp-accent); }
.lp-footer a:hover { text-decoration: underline; }
