/* ===== CROWORK Landing — paleta do sistema ===== */
:root {
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-purple: #a855f7;
  --brand-violet: #7c3aed;
  --brand-blue: #3b82f6;
  --brand-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 25%, #6366f1 75%, #3b82f6 100%);

  --bg: #0b0b14;
  --bg-soft: #11111d;
  --bg-card: #15162400;
  --surface: #161726;
  --surface-2: #1c1d30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f4fb;
  --text-soft: #b9bad0;
  --text-muted: #8587a6;

  --header-bg: rgba(11, 11, 20, 0.72);
  --hero-glow-bg: radial-gradient(closest-side, rgba(124, 58, 237, 0.35), transparent 70%);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px -20px rgba(99, 102, 241, 0.45);
  --shadow-soft: 0 12px 40px -16px rgba(0, 0, 0, 0.6);
  --container: min(1600px, 94vw);
}

/* ===== Tema claro (paleta do sistema / templates de e-mail) ===== */
:root[data-theme="light"] {
  --bg: #f1f4f8;
  --bg-soft: #ffffff;
  --bg-card: #ffffff00;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.16);

  --text: #0f172a;
  --text-soft: #334155;
  --text-muted: #64748b;

  --header-bg: rgba(255, 255, 255, 0.82);
  --hero-glow-bg: radial-gradient(ellipse at 50% 38%, #edd5fb 0%, #ddd6fe 28%, rgba(191, 219, 254, 0.55) 58%, transparent 78%);

  --shadow: 0 20px 50px -22px rgba(99, 102, 241, 0.28);
  --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.08);
}

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

/* Mockups do produto permanecem escuros nos dois temas (parecem screenshots). */
.app-shot, .ai-panel, .dash {
  --surface: #161726;
  --surface-2: #1c1d30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4fb;
  --text-soft: #b9bad0;
  --text-muted: #8587a6;
  color: var(--text);
}

/* Tema claro para mockups (toggle pelo usuário) */
.app-shot[data-mock-theme="light"],
.ai-panel[data-mock-theme="light"],
.dash[data-mock-theme="light"] {
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: rgba(15,23,42,0.08);
  --border-strong: rgba(15,23,42,0.14);
  --text: #0f172a;
  --text-soft: #334155;
  --text-muted: #64748b;
}
.kb[data-mock-theme="light"] {
  --kb-col-bg: #f8fafc;
  --kb-card-bg: #ffffff;
  --kb-border: #e2e8f0;
  --kb-chip-bg: #f1f5f9;
  --kb-title: #0f172a;
  --kb-muted: #64748b;
}

/* Botão de toggle de tema dentro dos mockups */
/* Padrão (light): texto escuro */
.mock-theme-btn {
  display: grid; place-items: center;
  width: 22px; height: 22px; flex: none;
  border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(15,23,42,0.20);
  background: transparent; padding: 0;
  color: rgba(15,23,42,0.45);
  transition: background 0.15s;
}
.mock-theme-btn:hover { color: rgba(15,23,42,0.85); background: rgba(0,0,0,0.06); }
/* Mockup no tema escuro: botão com cores claras */
[data-mock-theme="dark"] .mock-theme-btn {
  border-color: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.50);
}
[data-mock-theme="dark"] .mock-theme-btn:hover {
  color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.09);
}
.mock-theme-btn .mock-ic { width: 12px; height: 12px; }
.mock-theme-btn .mock-ic--sun { display: block; }
.mock-theme-btn .mock-ic--moon { display: none; }
[data-mock-theme="light"] .mock-theme-btn .mock-ic--sun { display: none; }
[data-mock-theme="light"] .mock-theme-btn .mock-ic--moon { display: block; }
.app-topbar .mock-theme-btn { margin-left: auto; }
.kb-topbar { display: flex; justify-content: flex-end; padding: 0 2px 6px; grid-column: 1 / -1; }
.dash-bar-end { display: flex; align-items: center; gap: 8px; }
/* Logo do corvo no mockup: branca no escuro, escura no claro */
.app-rail .app-rail-logo--light { display: none !important; }
.app-shot[data-mock-theme="light"] .app-rail .app-rail-logo--dark { display: none !important; }
.app-shot[data-mock-theme="light"] .app-rail .app-rail-logo--light { display: block !important; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px);
}
.container--narrow { max-width: 820px; }

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.7);
}
.btn-primary:hover { box-shadow: 0 14px 36px -8px rgba(124, 58, 237, 0.85); transform: translateY(-1px); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--text); background: rgba(99,102,241,0.12); }
.btn-ghost { color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
  flex-wrap: nowrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { filter: drop-shadow(0 4px 12px rgba(99,102,241,0.5)); }
:root[data-theme="dark"] .brand-mark--light { display: none; }
:root[data-theme="light"] .brand-mark--dark { display: none; }
.brand-wordmark { height: 26px; width: auto; display: block; }
.brand-name { font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-name-accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 22px; }
.nav a { color: var(--text-soft); font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Botão de tema (desktop) */
.theme-toggle {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 10px; cursor: pointer; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle .theme-ic { width: 18px; height: 18px; }
:root[data-theme="dark"] .theme-toggle .theme-ic--sun { display: block; }
:root[data-theme="dark"] .theme-toggle .theme-ic--moon { display: none; }
:root[data-theme="light"] .theme-toggle .theme-ic--sun { display: none; }
:root[data-theme="light"] .theme-toggle .theme-ic--moon { display: block; }

/* Botão de tema (mobile) — usa o mesmo .theme-toggle do header */

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 12px 24px 22px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.mobile-nav a:not(.btn) { padding: 10px 4px; color: var(--text-soft); }
.mobile-nav .btn { margin-top: 6px; }
.mobile-nav.open { display: flex; }

/* ===== Hero ===== */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: min(900px, 130vw); max-width: 130vw; height: 700px;
  background: var(--hero-glow-bg);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
:root[data-theme="light"] .hero-glow {
  top: 0; left: 0; transform: none; width: 100%; max-width: none; height: 100%;
  background:
    linear-gradient(to bottom, transparent 64%, var(--bg) 100%),
    linear-gradient(315deg, #EDD5FB 0%, #DDD6FE 18%, #DDD6FE 82%, #BFDBFE 100%);
  filter: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(32px, 4vw, 64px); align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #cdc9ff; font-size: 0.82rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-purple); box-shadow: 0 0 0 4px rgba(168,85,247,0.25); }
:root[data-theme="light"] .badge { color: #4f46e5; background: rgba(99, 102, 241, 0.10); border-color: rgba(99, 102, 241, 0.30); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.07; letter-spacing: -0.03em; font-weight: 800; }
.hero h1 .gradient-text { white-space: nowrap; }
.split-copy h2 .gradient-text { white-space: nowrap; }
.hero-sub { margin: 22px 0 30px; font-size: 1.12rem; color: var(--text-soft); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: 0.9rem; font-weight: 500; }
.hero-points .ic { color: #34d399; font-size: 1.05rem; }

.hero-visual { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 460px; padding: 16px 0; }
.hero-wordmark { position: relative; z-index: 2; height: 46px; width: auto; display: block; margin-top: -64px; animation: floatWord 5.3s ease-in-out infinite; animation-delay: -1.6s; }
.hero-card-glow {
  position: absolute; inset: 10% 8%;
  background: var(--brand-gradient); opacity: 0.28; filter: blur(60px); border-radius: 50%;
}
.hero-bot { position: relative; z-index: 1; width: min(420px, 90%); filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
@keyframes floatWord { 0%,100% { transform: translateY(0) rotate(-0.4deg) } 50% { transform: translateY(-9px) rotate(0.4deg) } }

/* App mockup (réplica da interface) */
.app-shot {
  position: relative; z-index: 1; width: min(680px, 100%);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
  animation: float 7s ease-in-out infinite;
}
.app-topbar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.app-dot { width: 11px; height: 11px; border-radius: 50%; }
.app-dot--r { background: #ff5f57; } .app-dot--y { background: #febc2e; } .app-dot--g { background: #28c840; }
.app-url { margin-left: 10px; font-size: 0.72rem; color: var(--text-muted); }
.app-body { display: grid; grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1.3fr); height: 360px; }
.app-rail { background: var(--surface-2); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0 14px; }
.app-rail-logo { width: 24px; height: 24px; margin-bottom: 10px; }
.app-rail-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--text-muted); }
.app-rail-ic svg { width: 17px; height: 17px; }
.app-rail-ic--active { background: var(--brand-gradient); color: #fff; box-shadow: 0 4px 12px rgba(99,102,241,0.5); }
.app-rail-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.6rem; font-weight: 800; color: #fff; background: var(--brand-gradient); margin-top: auto; }
.app-list { border-right: 1px solid var(--border); overflow: hidden; }
.app-list-head { padding: 12px 14px 8px; font-size: 0.78rem; font-weight: 700; color: var(--text-soft); display: flex; gap: 8px; }
.app-list-head span { color: var(--text-muted); font-weight: 600; }
.conv { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px 10px 8px; border-top: 1px solid var(--border); border-left: 4px solid var(--st, transparent); }
.conv--active { background: rgba(99,102,241,0.1); }
.conv-av { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 0.78rem; font-weight: 800; color: #fff; background: var(--a, #6366F1); overflow: hidden; }
.conv-av img, .kb-av img, .dash-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.conv-main { min-width: 0; flex: 1; }
.conv-top { display: flex; align-items: center; gap: 6px; }
.conv-top strong { font-size: 0.8rem; }
.conv-main p { font-size: 0.74rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.conv-ch { display: inline-flex; align-items: center; gap: 3px; font-size: 0.58rem; font-weight: 700; padding: 1px 6px 1px 5px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.conv-ch svg { width: 9px; height: 9px; min-width: 9px; max-width: 9px; flex: none; display: block; overflow: hidden; }
.ch-wa { background: rgba(37,211,102,0.18); color: #25d366; }
.ch-ig { background: rgba(225,48,108,0.18); color: #f06595; }
.ch-em { background: rgba(99,102,241,0.18); color: #a5b4fc; }
.ch-fb { background: rgba(59,130,246,0.18); color: #60a5fa; }
/* Chips legíveis no mock em light mode */
[data-mock-theme="light"] .ch-wa { background: rgba(22,163,74,0.14);  color: #15803d; }
[data-mock-theme="light"] .ch-ig { background: rgba(214,36,159,0.14); color: #9d174d; }
[data-mock-theme="light"] .ch-em { background: rgba(99,102,241,0.14); color: #3730a3; }
[data-mock-theme="light"] .ch-fb { background: rgba(59,130,246,0.14); color: #1d4ed8; }
.conv-badge { margin-left: auto; align-self: center; background: var(--brand-500); color: #fff; font-size: 0.64rem; font-weight: 800; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.app-chat { display: flex; flex-direction: column; min-width: 0; }
.app-chat-head { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.app-chat-head strong { display: block; font-size: 0.82rem; }
.app-chat-head span { font-size: 0.7rem; color: var(--text-muted); }
.app-chat-body { padding: 14px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; min-width: 0; }
.bub { max-width: 80%; font-size: 0.76rem; line-height: 1.4; padding: 8px 11px; border-radius: 13px; overflow-wrap: anywhere; word-break: break-word; }
.bub--in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bub--out { align-self: flex-end; background: var(--brand-gradient); color: #fff; border-bottom-right-radius: 4px; }

/* ===== Mockup animado (atendimento ao vivo) ===== */
.app-chat-body .bub,
.app-chat-body .app-suggest { animation: bubIn 0.34s cubic-bezier(0.22,0.61,0.36,1) both; }
.app-chat-body .bub--out { animation-name: bubInRight; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px) translateX(-6px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes bubInRight { from { opacity: 0; transform: translateY(8px) translateX(6px) scale(0.96); } to { opacity: 1; transform: none; } }
.bub--typing { align-self: flex-start; display: inline-flex; gap: 4px; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; padding: 10px 12px; border-radius: 13px; }
.bub--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); display: block; animation: typeDot 1s infinite ease-in-out; }
.bub--typing i:nth-child(2) { animation-delay: 0.15s; }
.bub--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typeDot { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.app-chat-head .conv-av,
.app-chat-who strong,
.app-chat-who span { transition: opacity 0.25s; }
.app-chat-head.is-switching .conv-av,
.app-chat-head.is-switching .app-chat-who strong,
.app-chat-head.is-switching .app-chat-who span { opacity: 0; }
.app-chat-status { transition: background 0.3s, color 0.3s; }
.app-rail-ic--pulse { animation: railPulse 1.1s ease-in-out 2; }
@keyframes railPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); } 50% { box-shadow: 0 0 0 5px rgba(99,102,241,0.28); } }
.conv { transition: background 0.3s; }

.app-suggest { margin-top: 4px; align-self: stretch; font-size: 0.74rem; color: var(--text-soft); background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.3); border-radius: 11px; padding: 9px 11px; }
.app-shot .app-suggest { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-shot .app-suggest-tag { flex-shrink: 0; }
.app-shot .app-suggest-tag { font-size: 0.5rem; gap: 3px; letter-spacing: 0.03em; margin-right: 5px; }
.app-shot .app-suggest-tag img { width: 11px; height: 11px; }
.app-suggest-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #a5b4fc; margin-right: 6px; }
.app-suggest-tag img { border-radius: 4px; }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: rgba(22, 23, 38, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  padding: 12px 14px; border-radius: 14px; box-shadow: var(--shadow-soft);
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.86rem; }
.float-card span { font-size: 0.76rem; color: var(--text-muted); }
.float-card--1 { top: 14%; left: -4%; }
.float-card--2 { bottom: 12%; right: -2%; animation-delay: 1.2s; }
.fc-avatar, .fc-ai {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: #fff;
}
.fc-avatar { background: #25d366; }
.fc-ai { background: var(--brand-gradient); }

/* channels */
.channels { margin-top: 56px; text-align: center; position: relative; z-index: 1; }
.channels-label { color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.channels-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 36px; align-items: flex-start; }
.chan { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-soft); font-weight: 700; font-size: 1.05rem; opacity: 0.65; transition: opacity 0.2s, color 0.2s; }
.chan:hover { opacity: 1; color: var(--text); }
.chan-ic { width: 30px; height: 30px; flex: none; }

/* ===== Stats ===== */
.stats { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--text-muted); font-size: 0.9rem; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-purple); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--text-soft); font-size: 1.08rem; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.55); box-shadow: 0 0 0 1px rgba(99,102,241,0.2), var(--shadow-soft); }
.feature-ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.3);
}
.feature-ic svg { width: 26px; height: 26px; fill: none; stroke: #c4b5fd; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-soft); font-size: 0.96rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 26px;
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--brand-gradient); margin-bottom: 18px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.96rem; }

/* ===== Split sections ===== */
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-inner--reverse .split-visual { order: 2; }
.split-copy .eyebrow { margin-bottom: 12px; }
.split-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; }
.split-copy > p { margin: 16px 0 22px; color: var(--text-soft); font-size: 1.06rem; }
.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--text-soft); font-weight: 500; }
.check-list .ic { color: #34d399; font-size: 1.25rem; flex-shrink: 0; }

/* AI panel mock */
.split-visual { display: flex; justify-content: center; }

/* CRM Kanban: nunca ao lado do texto — sempre empilhado e em largura total. */
[data-theme="light"] #kanban {
  background:
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%),
    linear-gradient(315deg, #EDD5FB 0%, #DDD6FE 18%, #DDD6FE 82%, #BFDBFE 100%);
}
[data-theme="dark"] #kanban {
  background: radial-gradient(ellipse at 50% 20%, rgba(124,58,237,0.28) 0%, rgba(99,102,241,0.12) 45%, transparent 72%);
}
#kanban .split-inner { grid-template-columns: 1fr; gap: 32px; }
#kanban .split-copy { max-width: 100%; margin-inline: auto; text-align: center; }
#kanban .split-copy .check-list { width: fit-content; max-width: 100%; margin: 22px auto; text-align: left; }
#kanban .split-visual { order: 2; }
#kanban .kb { max-width: 100%; }
.ai-panel {
  width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.ai-panel .app-chat-head { padding: 13px 16px; }
.ai-panel .app-chat-head strong { font-size: 0.92rem; }
.ai-panel .app-chat-head span { font-size: 0.78rem; }
.ai-panel .conv-av { width: 34px; height: 34px; font-size: 0.84rem; }
.ai-panel .app-chat-body { padding: 16px; gap: 11px; }
.ai-panel .bub { max-width: 82%; font-size: 0.86rem; padding: 10px 13px; }
.ai-panel .app-suggest { font-size: 0.84rem; padding: 11px 13px; }
.ai-panel .app-suggest-tag { font-size: 0.66rem; }

/* Dashboard / Visão geral — réplica fiel do Overview Reports */
.dash {
  width: 100%; max-width: 700px; display: flex; flex-direction: column; gap: 12px;
}
.dash-bar { display: flex; align-items: center; justify-content: space-between; }
.dash-title { font-size: 1.05rem; font-weight: 700; }
.dash-live { display: inline-flex; align-items: center; gap: 5px; font-size: 0.66rem; font-weight: 600; color: #5eead4; background: rgba(20,184,166,0.14); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.dash-live--sm { font-size: 0.6rem; padding: 2px 7px; }
.dash-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #14b8a6; flex: none; }
:root[data-theme="light"] .dash-bar .dash-title { color: #0f172a; }
:root[data-theme="light"] .dash-bar .dash-live { color: #0f766e; background: rgba(13,148,136,0.16); }
:root[data-theme="light"] .dash-bar .dash-live-dot { background: #0f766e; }
.dash[data-mock-theme="light"] .dash-bar .dash-title { color: #0f172a; }
.dash[data-mock-theme="light"] .dash-bar .dash-live { color: #0f766e; background: rgba(13,148,136,0.16); }
.dash[data-mock-theme="light"] .dash-bar .dash-live-dot { background: #0f766e; }
.dash-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 16px 18px; }
.dash-stats { display: grid; grid-template-columns: 1.85fr 1fr; gap: 12px; }
.dash-card--conv, .dash-card--status { padding: 14px 16px; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.dash-card-title { font-size: 0.92rem; font-weight: 600; }
.dash-metrics { display: flex; justify-content: space-between; gap: 10px; }
.dash-metrics--col { flex-direction: column; gap: 10px; }
.dash-metric { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dash-metrics--col .dash-metric { flex-direction: row; align-items: center; justify-content: space-between; }
.dash-metric-label { font-size: 0.74rem; color: var(--text-soft); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dash-metric-val { font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--text); }
.dash-metrics--col .dash-metric-val { font-size: 1.05rem; }
.dash-st-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #6B7280; }
.dash-st-dot[data-st="on"] { background: #22C55E; }
.dash-st-dot[data-st="busy"] { background: #F59E0B; }
.dash-st-dot[data-st="off"] { background: #6B7280; }
.dash-table { display: flex; flex-direction: column; }
.dash-tr { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.4fr; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 0.78rem; }
.dash-tr--head { border-top: none; padding-top: 0; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); font-weight: 600; }
.dash-ag { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; min-width: 0; }
.dash-av { position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 0.64rem; font-weight: 800; color: #fff; background: var(--a, #6366F1); overflow: hidden; }
.dash-av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--surface); background: #6B7280; }
.dash-av[data-st="on"]::after { background: #22C55E; }
.dash-av[data-st="busy"]::after { background: #F59E0B; }
.dash-stat { display: inline-flex; align-items: center; gap: 6px; color: var(--text-soft); white-space: nowrap; }

/* App mockup — detalhes fiéis */
.app-list-count { margin-left: auto; }
.app-tabs { display: flex; gap: 3px; padding: 2px 10px 9px; border-bottom: 1px solid var(--border); }
.app-tab { font-size: 0.6rem; font-weight: 700; padding: 4px 8px; border-radius: 999px; color: var(--text-muted); white-space: nowrap; }
.app-tab--active { background: rgba(99,102,241,0.16); color: #a5b4fc; }
[data-mock-theme="light"] .app-tab--active { background: rgba(99,102,241,0.14); color: #3730a3; }
[data-mock-theme="light"] .app-tab { color: #475569; }
/* app-chat-status light-mode colors are driven dynamically by mockup.js setStatus() */
.conv-top strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-time { font-size: 0.6rem; color: var(--text-muted); flex: none; }
.conv-meta { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.app-chat-who { flex: 1; min-width: 0; }
.app-chat-status { font-size: 0.62rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(16,185,129,0.16); color: #34d399; flex: none; }
.app-chat-body { flex: 1 1 auto; min-height: 0; }
.app-compose { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface-2); }
.app-compose-input { flex: 1; font-size: 0.74rem; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 11px; }
.app-compose-send { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--brand-gradient); font-size: 0.78rem; flex: none; }

/* Kanban — réplica fiel da interface do sistema (tema escuro real) */
.kb {
  --kb-col-bg: #181F2A;   /* n-slate-2 */
  --kb-card-bg: #202937;  /* n-solid-2 */
  --kb-border: #1C2434;   /* n-weak */
  --kb-chip-bg: #263040;  /* n-slate-4 */
  --kb-title: #EDEEF0;    /* n-slate-12 */
  --kb-muted: #7A8496;    /* n-slate-10 */
  width: 100%; max-width: 580px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  align-items: stretch;
}
.kb-col {
  background: var(--kb-col-bg);
  border: 1px solid var(--kb-border);
  border-top: 3px solid var(--c, var(--kb-border));
  border-radius: 12px;
  display: flex; flex-direction: column;
  min-width: 0;
  height: 300px;
  opacity: 0; transform: translateY(14px);
  animation: kb-col-in 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
.kb-col[data-col="open"]    { animation-delay: 0.05s; }
.kb-col[data-col="pending"] { animation-delay: 0.16s; }
.kb-col[data-col="snoozed"] { animation-delay: 0.27s; }
.kb-col[data-col="resolved"]{ animation-delay: 0.38s; }
.kb-col-head { display: flex; align-items: center; gap: 6px; padding: 9px 10px; }
.kb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.kb-col-title { font-size: 0.78rem; font-weight: 600; color: var(--kb-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-count { margin-left: auto; font-size: 0.66rem; font-weight: 500; color: var(--kb-muted); background: var(--kb-chip-bg); border-radius: 999px; padding: 1px 7px; flex: none; }
.kb-body { padding: 4px 8px 9px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-height: 0; overflow: hidden; }

.kb-card {
  background: var(--kb-card-bg);
  border: 1px solid var(--kb-border);
  border-left: 3px solid var(--p, transparent);
  border-radius: 8px; padding: 9px 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.kb-card-top { display: flex; align-items: center; gap: 7px; }
.kb-av { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 0.66rem; font-weight: 700; color: #fff; background: var(--a, #6366F1); overflow: hidden; }
.kb-name { font-size: 0.78rem; font-weight: 600; color: var(--kb-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-badge { margin-left: auto; flex: none; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; font-size: 0.6rem; font-weight: 700; color: #fff; background: #6366F1; border-radius: 999px; }
.kb-msg { margin-top: 6px; font-size: 0.72rem; line-height: 1.35; color: var(--kb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-foot { margin-top: 7px; display: flex; align-items: center; gap: 6px; font-size: 0.62rem; color: var(--kb-muted); }
.kb-prio { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; white-space: nowrap; }
.kb-prio::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pc, #6B7280); flex: none; }
.kb-ch-ic { display: inline-flex; align-items: center; flex: none; margin-left: auto; }
.kb-ch-ic svg { width: 15px; height: 15px; display: block; }
.kb-time { white-space: nowrap; }
.kb-inbox { display: inline-flex; align-items: center; gap: 3px; }

/* card que está sendo "movido" entre colunas */
.kb-card--moving {
  border-color: rgba(99,102,241,0.6) !important;
  box-shadow: 0 12px 28px rgba(99,102,241,0.45);
  transform: scale(1.03) rotate(-1deg);
}

@keyframes kb-col-in { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .kb-col { opacity: 1; transform: none; animation: none; }
  .kb-card--moving { transform: none; }
}

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column;
}
.price-card--featured { border-color: rgba(124,58,237,0.6); box-shadow: var(--shadow); transform: translateY(-8px); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand-gradient); color: #fff; font-size: 0.74rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.03em;
}
.price-card h3 { font-size: 1.3rem; }
.price-desc { color: var(--text-muted); font-size: 0.92rem; margin: 8px 0 18px; min-height: 42px; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 22px; }
.price-currency { font-size: 1.2rem; font-weight: 700; vertical-align: super; margin-right: 4px; color: var(--text-soft); }
.price-period { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price--custom { font-size: 1.9rem; }
.price-features { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-features li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: 0.95rem; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: rgba(52,211,153,0.18); border-radius: 50%;
}
.price-features li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 3px; border-left: 2px solid #34d399; border-bottom: 2px solid #34d399; transform: rotate(-45deg); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 1.02rem;
  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: 1.5rem; color: var(--brand-purple); font-weight: 400; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 18px; color: var(--text-soft); font-size: 0.97rem; }

/* ===== Final CTA ===== */
.cta-final { padding: 90px 0; }
.cta-final .cta-inner {
  position: relative; text-align: center; width: 100%; max-width: 760px; margin: 0 auto;
  background: linear-gradient(160deg, rgba(124,58,237,0.18), rgba(59,130,246,0.1));
  border: 1px solid rgba(124,58,237,0.4); border-radius: 32px; padding: 64px 40px; overflow: hidden;
}
/* FAQ + CTA lado a lado em telas largas */
.faq-cta-pair { background: var(--bg-soft); }
@media (min-width: 1060px) {
  .faq-cta-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .faq-cta-pair #faq,
  .faq-cta-pair .cta-final { padding-block: 80px; }
  .faq-cta-pair .cta-final { display: flex; align-items: center; justify-content: center; padding-inline: clamp(20px, 4vw, 56px); }
  .faq-cta-pair .cta-final .cta-inner { max-width: 860px; width: 100%; }
}
.cta-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 500px; height: 360px; background: radial-gradient(closest-side, rgba(168,85,247,0.18), transparent 70%); filter: blur(20px); }
.cta-bot { position: relative; z-index: 1; margin: 0 auto 18px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
.cta-inner h2 { position: relative; z-index: 1; font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; font-weight: 800; }
.cta-inner p { position: relative; z-index: 1; margin: 16px auto 28px; color: var(--text-soft); font-size: 1.08rem; max-width: 520px; }
.cta-inner .hero-cta { position: relative; z-index: 1; justify-content: center; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 26px; background: var(--bg); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px 32px;
  align-items: start;
}
.footer-brand { display: block; }
.footer-brand .brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-tag { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin: 16px 0 18px; max-width: 360px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--text-muted);
  background: var(--bg); transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.footer-social a:hover { color: var(--text); border-color: var(--brand); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.92rem; padding: 5px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.84rem;
}

/* ===== Language switch (dropdown com bandeiras) ===== */
.lang-switch { position: relative; display: inline-flex; margin-right: -8px; }
.lang-current {
  appearance: none; cursor: pointer; font: inherit;
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.lang-current:hover { border-color: var(--brand); color: var(--text); }
.lang-current .lang-flag { display: inline-flex; align-items: center; }
.flag { width: 21px; height: 15px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.lang-current .lang-caret { display: none; }
.lang-caret { width: 14px; height: 14px; opacity: 0.7; transition: transform 0.18s; }
.lang-switch:hover .lang-caret,
.lang-switch:focus-within .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 168px; padding: 6px;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 60;
}
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-opt {
  appearance: none; border: 0; cursor: pointer; width: 100%;
  display: flex; align-items: center; gap: 10px;
  font: inherit; font-size: 0.85rem; font-weight: 600; text-align: left;
  padding: 9px 11px; border-radius: 8px;
  color: var(--text-soft); background: transparent;
  transition: color 0.15s, background 0.15s;
}
.lang-opt .lang-flag { display: inline-flex; align-items: center; }
.lang-opt:hover { color: var(--text); background: var(--bg-soft); }
.lang-opt.is-active { color: var(--text); background: color-mix(in srgb, var(--brand) 14%, transparent); }

/* ===== WhatsApp CTA button ===== */
.btn-whatsapp {
  background: #25D366; color: #fff; border: 0;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }
.btn-whatsapp .wa-ic { width: 22px; height: 22px; flex-shrink: 0; }

/* ===== Centered CTA helpers ===== */
.hero-cta--center { justify-content: center; }
.split-cta { display: flex; justify-content: center; margin-top: 26px; }
.kb-cta { margin-top: 40px; padding-bottom: 8px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  /* Header vira hambúrguer antes de apertar/estourar o menu. */
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  /* Idioma + tema ficam agrupados à direita, longe do logo (corvo). */
  .lang-switch { margin-left: auto; margin-right: -8px; }
  .theme-toggle { margin-left: 0; }
}
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 320px; order: -1; }
  .app-shot { width: 100%; max-width: none; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-points { justify-content: center; }
  .split-inner { grid-template-columns: 1fr; gap: 36px; }
  .split-inner--reverse .split-visual { order: -1; }
  .features-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .price-card--featured { transform: none; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  /* No mobile, o mockup do topo (hero) fica quase encostado nas bordas. */
  .hero .container { padding-inline: 6px; }
  .hero-copy { padding-inline: 12px; }
  /* Apenas mockups com muitas colunas (kanban, tabela do dashboard) mantêm
     largura confortável e rolam na horizontal. Os demais mockups (ex.: painel
     do Crowpilot) seguem 100% responsivos, sem rolagem. */
  .split-visual--scroll {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-inline: -16px;
    padding: 4px 16px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .split-visual--scroll::-webkit-scrollbar { height: 6px; }
  .split-visual--scroll::-webkit-scrollbar-thumb {
    background: var(--border-strong); border-radius: 999px;
  }
  .split-visual--scroll > * {
    flex: 0 0 auto;
    width: 540px; min-width: 540px; max-width: none;
    scroll-snap-align: center;
  }
  .split-visual--scroll .kb { width: 560px; min-width: 560px; }
  /* Painel Crowpilot: ocupa quase toda a largura no mobile (~6px das bordas),
     com bleed real até a viewport (independe do padding do container). */
  #crowpilot .ai-panel { max-width: none; width: 100%; }
  #crowpilot .split-visual {
    width: 100vw; max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding-inline: 6px;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; text-align: left; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-tag { margin-inline: auto; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .lang-current { width: 36px; height: 36px; }
}
@media (max-width: 380px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col a { padding: 6px 0; }
}
@media (max-width: 560px) {
  /* Mockup do hero: colapsa para 2 colunas (trilho + conversa) para nada cortar. */
  .app-shot { width: min(560px, 100%); }
  .app-shot .app-body { grid-template-columns: 44px 1fr; height: auto; min-height: 320px; }
  .app-shot .app-list { display: none; }
  .app-shot .app-chat-body { gap: 8px; }
}
@media (max-width: 520px) {
  .container { padding: 0 12px; }
  .split-visual--scroll { margin-inline: -12px; padding-inline: 12px; }
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }
  .hero-points { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bot, .float-card { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
