/* Habeis Chat — landing comercial (referência Digisac: clara, produto em evidência) */
:root {
  --bg: #f4f7fc;
  --bg-soft: #eef3fb;
  --surface: #ffffff;
  --ink: #0f1b33;
  --ink-2: #24324d;
  --muted: #5b6b86;
  --line: #d7e0ef;
  --brand: #1f4fd6;
  --brand-deep: #1639a8;
  --amber: #e39a2f;
  --amber-ink: #1a1208;
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "DM Sans", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(15, 27, 51, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 27, 51, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.landing {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(31, 79, 214, 0.07) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #f8faff 0%, var(--bg) 40%, #ffffff 100%);
  min-height: 100%;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 224, 239, 0.8);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.logo-img.sm { height: 28px; }
.foot-brand { gap: 12px; color: var(--muted); font-weight: 600; }

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.top-nav a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn.sm { padding: 9px 14px; font-size: 0.88rem; }
.btn.primary {
  background: linear-gradient(180deg, #2a5cf0, var(--brand));
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 79, 214, 0.28);
}
.btn.primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}
.btn.secondary {
  background: #fff;
  color: var(--brand);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.btn.secondary:hover { background: #f0f4ff; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.light {
  background: #fff;
  color: var(--brand-deep);
}
.btn.ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 28px 28px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 72px);
}
.brand-kicker {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: var(--ink);
}
.hero h1 .accent { color: var(--brand); }
.lead {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 38ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 4% 8%;
  background: linear-gradient(145deg, rgba(31,79,214,0.18), rgba(227,154,47,0.16));
  filter: blur(28px);
  border-radius: 40px;
  z-index: 0;
}
.product {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #f7f9fd;
  border-bottom: 1px solid var(--line);
}
.product-bar .dot {
  width: 9px; height: 9px; border-radius: 999px; background: #d5ddea;
}
.product-bar .dot:nth-child(1) { background: #ff6b6b; }
.product-bar .dot:nth-child(2) { background: #ffd166; }
.product-bar .dot:nth-child(3) { background: #06d6a0; }
.product-title {
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--muted);
}
.product-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 340px;
}
.side {
  background: #0f1b33;
  color: #c9d3e6;
  padding: 14px 10px;
  font-size: 0.78rem;
}
.side-item {
  padding: 9px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.side-item.active {
  background: rgba(31, 79, 214, 0.35);
  color: #fff;
  font-weight: 650;
}
.side-item em {
  font-style: normal;
  background: var(--amber);
  color: var(--amber-ink);
  border-radius: 999px;
  padding: 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
}
.side-chan {
  margin-top: 18px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.16);
  color: #8dffb4;
  font-weight: 650;
}
.list { padding: 8px; }
.row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 12px;
}
.row:hover, .row:first-child { background: #f5f8ff; }
.row.muted { opacity: 0.72; }
.row strong { display: block; font-size: 0.88rem; color: var(--ink); }
.row span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.row time { font-size: 0.7rem; color: #8a97ad; }
.avatar {
  width: 40px; height: 40px; border-radius: 12px;
  background: #dfe8fb; color: var(--brand-deep);
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 750;
}
.avatar.wa { background: var(--wa); color: #fff; }

.band { padding: 72px 28px; }
.band-inner { max-width: 1100px; margin: 0 auto; }
.band-inner.narrow { max-width: 820px; }
.band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-lead {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
  line-height: 1.5;
}

.band-blue {
  background: linear-gradient(180deg, #1f4fd6 0%, #1639a8 100%);
  color: #fff;
}
.band-blue h2, .band-blue p { color: #fff; }
.band-blue p { opacity: 0.9; margin: 0 0 28px; max-width: 46ch; line-height: 1.5; }
.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 650;
  font-size: 0.92rem;
}
.chip.soon { opacity: 0.55; }
.ico {
  width: 22px; height: 22px; border-radius: 7px;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,0.2); font-size: 0.7rem; font-weight: 800;
}
.ico.wa { background: var(--wa); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: var(--shadow-soft);
}
.steps .n {
  width: 44px; height: 44px; border-radius: 12px;
  background: #eaf0ff; color: var(--brand);
  display: grid; place-items: center; font-weight: 800;
}
.steps strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); line-height: 1.45; }

.band-soft { background: var(--bg-soft); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
}
.grid .icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: #eaf0ff; color: var(--brand);
  display: grid; place-items: center;
  font-size: 1.1rem; margin-bottom: 12px;
}
.grid h3 { margin: 0 0 8px; font-size: 1.05rem; }
.grid p { margin: 0; color: var(--muted); line-height: 1.45; font-size: 0.95rem; }

.cta-band {
  background: linear-gradient(135deg, #1639a8, #1f4fd6 55%, #2a5cf0);
  padding: 64px 28px;
  color: #fff;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  max-width: 22ch;
}
.cta-band p { margin: 0; opacity: 0.9; }

.foot {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 22px 28px;
}
.foot-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  align-items: center;
}
.foot .logo { color: var(--muted); font-weight: 600; }
.foot .mark {
  width: 26px; height: 26px; font-size: 0.8rem;
}
.foot a:hover { color: var(--brand); }

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }
  .top-nav a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .product-body { grid-template-columns: 1fr; }
  .side { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.65s ease both;
  }
  .hero-copy h1 { animation-delay: 0.06s; }
  .hero-copy .lead { animation-delay: 0.12s; }
  .hero-copy .cta-row { animation-delay: 0.18s; }
  .product { animation: rise 0.75s ease 0.1s both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
