/* ==========================================================================
   Landing page. Estrutura da referência aprovada (página em cartão, seções
   em blocos, recortes em forma de balão, mockups) com o MESMO design system
   do painel: tokens do Bitrix24 Air em input.css (cores, raios, tipografia,
   botões .btn, cards sem sombra) e a cor da marca Alega.
   ========================================================================== */
.lp {
  --lp-dark: var(--ui-color-base-1);            /* #333: blocos escuros */
  --lp-wine: #4a0f25;                            /* hero: vinho da marca */
  --lp-soft: var(--ui-color-accent-soft-blue-2); /* rosa suave da marca */
  --lp-soft-2: var(--ui-color-accent-soft-blue-1);
  --lp-rose: var(--ui-color-accent-main-primary-alt-2);
  --lp-surface: var(--ui-color-bg-content-secondary);
  --lp-surface-2: var(--ui-color-bg-content-tertiary);
  --lp-stroke: var(--ui-color-design-outline-stroke);
  --lp-line: var(--ui-color-divider-default);
  --lp-wa: #25d366;
  --lp-wa-dark: var(--ui-color-accent-main-success-alt);
  --lp-wa-bubble: #d9fdd3;
  --lp-wa-paper: #efe7dd;
  --lp-b24: #2fc6f6;
  --lp-b24-dark: #0075ff;
  --lp-r-panel: var(--ui-border-radius-3xl);     /* 20px */
  --lp-r-card: var(--ui-border-radius-2xl);      /* 16px */

  min-height: 100vh;
  padding: 0;
  background: var(--ui-color-bg-content-primary);
  color: var(--ui-color-base-2);
  font-family: var(--ui-font-family-system);
  font-size: var(--ui-font-size-lg);
  line-height: 1.5;
}
:where(.lp) h1, :where(.lp) h2, :where(.lp) h3, :where(.lp) h4, :where(.lp) p { margin: 0; }
:where(.lp) a { text-decoration: none; }

.lp-page {
  margin: 0 auto;
  padding: 0 clamp(12px, 1.6vw, 28px) clamp(12px, 1.6vw, 28px);
  overflow: hidden;
}

/* ---------- botões: .btn do design system + variante sobre fundo escuro ---------- */
.lp .btn-xl .ui-icon { width: 22px; height: 22px; }
.lp .btn.lp-on-dark {
  --btn-bg: transparent;
  --btn-stroke: rgb(255 255 255 / .55);
  --btn-stroke-w: 1.5px;
  --btn-color: #fff;
}
.lp .btn.lp-on-dark:hover { background: rgb(255 255 255 / .1); color: #fff; }
.lp .btn.lp-white {
  --btn-bg: #fff;
  --btn-stroke: #fff;
  --btn-stroke-w: 0px;
  --btn-color: var(--ui-color-base-1);
}

/* ---------- tipografia de seção (escala do painel) ---------- */
.lp-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: var(--ui-font-size-lg);
  font-weight: var(--ui-font-weight-semi-bold);
  color: var(--ui-color-accent-main-primary);
}
.lp-h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.25;
  font-weight: var(--ui-font-weight-medium);
  color: var(--ui-color-base-1);
  letter-spacing: -.01em;
}
.lp-center { text-align: center; }
.lp-section { padding: 80px 8px; }
.lp-section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }

/* marca: mesmo selo do painel (.app-brand-mark), maior */
.lp-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: var(--ui-font-weight-semi-bold); color: var(--ui-color-base-1); }
.lp-logo:hover { color: var(--ui-color-base-1); }
.lp-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--ui-border-radius-sm);
  background: var(--ui-color-accent-main-primary);
  color: #fff;
  font-size: 17px;
  font-weight: var(--ui-font-weight-bold);
}

/* ==========================================================================
   Topo
   ========================================================================== */
.lp-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; padding: 0 clamp(4px, 2vw, 40px); }
.lp-nav-links { display: flex; gap: 32px; }
.lp-nav-links a { color: var(--ui-color-base-2); font-size: var(--ui-font-size-lg); }
.lp-nav-links a:hover { color: var(--ui-color-accent-main-primary); }
.lp-nav-actions { display: flex; align-items: center; gap: 8px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.lp-hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 640px;
  background: var(--lp-wine);
  border-radius: var(--lp-r-panel);
  overflow: hidden;
  isolation: isolate;
}
/* recorte branco no canto inferior esquerdo; os pseudo-elementos fazem os
   cantos côncavos acima e à direita dele */
.lp-hero-cut {
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: calc(52% + 1px);
  height: 151px;
  background: #fff;
  border-top-right-radius: var(--lp-r-panel);
  z-index: 2;
}
.lp-hero-cut::before,
.lp-hero-cut::after { content: ""; position: absolute; width: 20px; height: 20px; }
.lp-hero-cut::before { left: 0; top: -20px; background: radial-gradient(circle at 100% 0, transparent 19.5px, #fff 20px); }
.lp-hero-cut::after { right: -20px; bottom: 0; background: radial-gradient(circle at 100% 0, transparent 19.5px, #fff 20px); }
.lp-hero-curve { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.lp-hero-text { position: relative; z-index: 1; padding: 88px 24px 190px 80px; color: #fff; }
.lp-hero-text h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.08;
  font-weight: var(--ui-font-weight-bold);
  letter-spacing: -.02em;
  color: #fff;
}
.lp-hero-text h1 em { font-style: normal; color: var(--lp-rose); }
.lp-hero-text p { margin-top: 22px; max-width: 32em; font-size: 19px; line-height: 1.55; color: rgb(255 255 255 / .82); }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-hero-visual { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: flex-start; padding: 64px 0 0 40px; }

.lp-hero-cards { position: absolute; left: 0; bottom: 0; z-index: 3; display: flex; gap: 16px; }
.lp-agent {
  width: 188px;
  padding: 18px 20px;
  border-radius: var(--lp-r-card);
  border: var(--ui-design-outline-stroke-weight) solid var(--lp-stroke);
  background: #fff;
  color: var(--ui-color-base-1);
  font-size: 17px;
  font-weight: var(--ui-font-weight-semi-bold);
  line-height: 1.25;
}
.lp-agent .ui-tile-icon { margin-bottom: 14px; }

/* ---------- mockup do celular ---------- */
.lp-phone {
  position: relative;
  width: 292px;
  height: 540px;
  margin-bottom: -44px;
  padding: 11px;
  border-radius: 44px;
  background: #16161a;
}
.lp-phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background-color: var(--lp-wa-paper);
  background-image: radial-gradient(circle at 20px 20px, rgb(0 0 0 / .045) 2px, transparent 3px), radial-gradient(circle at 60px 50px, rgb(0 0 0 / .035) 3px, transparent 4px);
  background-size: 80px 80px;
  display: flex;
  flex-direction: column;
}
.lp-phone-island { position: absolute; top: 10px; left: 50%; width: 90px; height: 25px; margin-left: -45px; border-radius: 20px; background: #16161a; z-index: 2; }
.lp-wa-top { display: flex; align-items: center; gap: 10px; padding: 44px 14px 12px; background: #f7f3ee; border-bottom: 1px solid rgb(0 0 0 / .06); color: var(--ui-color-base-2); }
.lp-wa-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--ui-border-radius-sm); background: var(--ui-color-accent-main-primary); color: #fff; font-weight: var(--ui-font-weight-bold); }
.lp-wa-name { font-size: 14px; font-weight: var(--ui-font-weight-semi-bold); color: var(--ui-color-base-1); line-height: 1.2; }
.lp-wa-name small { display: block; font-weight: 400; color: var(--ui-color-base-3); font-size: 11px; }
.lp-wa-chat { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 14px 12px; }

.lp-bubble {
  position: relative;
  max-width: 84%;
  padding: 8px 12px 18px;
  border-radius: var(--ui-border-radius-md);
  background: #fff;
  color: var(--ui-color-base-1);
  font-size: 13px;
  line-height: 1.35;
}
.lp-bubble time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: var(--ui-color-base-4); }
.lp-bubble.is-out { align-self: flex-end; background: var(--lp-wa-bubble); }
.lp-bubble.is-out time::after { content: " ✓✓"; color: #53bdeb; }
.lp-bubble.is-typing { padding: 10px 14px; display: inline-flex; gap: 4px; width: fit-content; }
.lp-bubble.is-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ui-color-accent-main-primary); opacity: .45; animation: lp-dot 1.2s infinite; }
.lp-bubble.is-typing span:nth-child(2) { animation-delay: .2s; }
.lp-bubble.is-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes lp-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.lp-quick { display: flex; flex-direction: column; margin-top: 8px; }
.lp-quick span { display: block; padding: 6px; border-top: 1px solid var(--lp-line); color: var(--lp-b24-dark); text-align: center; font-weight: var(--ui-font-weight-semi-bold); }

/* ==========================================================================
   Para quem é
   ========================================================================== */
.lp-who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.lp-who {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px;
  border-radius: var(--lp-r-card);
  background: var(--lp-surface);
  border: var(--ui-design-outline-stroke-weight) solid var(--lp-stroke);
}
.lp-who .ui-tile-icon { width: 56px; height: 56px; border-radius: var(--ui-border-radius-lg); }
.lp-who .ui-tile-icon .ui-icon { width: 30px; height: 30px; }
.lp-who h3 { font-size: var(--ui-font-size-2xl); line-height: 1.3; font-weight: var(--ui-font-weight-semi-bold); color: var(--ui-color-base-1); }
.lp .lp-who-closing { margin-top: 52px; text-align: center; font-size: clamp(20px, 2.1vw, 26px); font-weight: var(--ui-font-weight-medium); color: var(--ui-color-base-1); }
.lp-who-closing em { font-style: normal; color: var(--ui-color-accent-main-primary); }

/* ==========================================================================
   Duas formas
   ========================================================================== */
.lp-ways {
  position: relative;
  padding: 80px 48px 64px;
  border-radius: var(--lp-r-panel);
  background: var(--air-theme-bg-color);
  overflow: hidden;
}
.lp-ways::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--ui-color-base-6) 1px, transparent 1px), linear-gradient(90deg, var(--ui-color-base-6) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 60% 45% at 50% 8%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 45% at 50% 8%, #000 25%, transparent 75%);
  pointer-events: none;
}
.lp-ways > * { position: relative; }
.lp-ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1140px; margin: 0 auto; align-items: stretch; }
.lp-way { position: relative; padding: 36px 40px 60px; border-radius: var(--lp-r-panel); background: #fff; border: var(--ui-design-outline-stroke-weight) solid var(--ui-color-base-6); }
.lp-way-eyebrow { font-size: var(--ui-font-size-lg); font-weight: var(--ui-font-weight-semi-bold); color: var(--lp-wa-dark); }
.lp-way.is-web .lp-way-eyebrow { color: var(--ui-color-accent-main-primary); }
.lp-way h3 { margin-top: 4px; font-size: 32px; font-weight: var(--ui-font-weight-medium); color: var(--ui-color-base-1); letter-spacing: -.01em; }
.lp-way > p { margin-top: 6px; color: var(--ui-color-base-3); font-size: 17px; }
.lp-checks { list-style: none; margin: 24px 0 0; padding: 0; }
.lp-checks li { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--lp-line); font-size: 16px; color: var(--ui-color-base-2); }
.lp-checks li:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-checks .ui-icon { width: 20px; height: 20px; color: var(--lp-wa-dark); }
.lp-way.is-web .lp-checks .ui-icon { color: var(--ui-color-accent-main-primary); }
.lp-best { margin-top: 24px !important; font-weight: var(--ui-font-weight-semi-bold); color: var(--ui-color-base-1); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lp-chips .badge { height: 30px; padding: 0 14px; font-size: var(--ui-font-size-sm); font-weight: var(--ui-font-weight-medium); }
.lp-way-btn { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); }
.lp .lp-ways-note { margin-top: 72px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ui-color-base-2); font-size: 16px; text-align: center; }
.lp-ways-note .ui-icon { color: var(--ui-color-base-4); }

/* ==========================================================================
   Faixa de integrações
   ========================================================================== */
.lp-marquee {
  margin: 44px 0 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.lp-marquee-track { display: flex; gap: 64px; width: max-content; animation: lp-marquee 40s linear infinite; }
.lp-marquee-item { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: var(--ui-font-weight-medium); color: var(--ui-color-base-3); white-space: nowrap; }
.lp-marquee-item .ui-icon { width: 24px; height: 24px; color: var(--ui-color-base-4); }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp-marquee-track { animation: none; } }

/* ==========================================================================
   Banner
   ========================================================================== */
.lp-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  min-height: 520px;
  margin-top: 88px;
  padding: 0 0 0 72px;
  border-radius: var(--lp-r-panel);
  background: var(--lp-soft);
}
.lp-banner-cut {
  position: absolute;
  top: -1px;
  right: -1px;
  display: grid;
  place-items: center;
  width: 141px;
  height: 129px;
  background: #fff;
  border-bottom-left-radius: var(--lp-r-panel);
  z-index: 3;
}
.lp-banner-cut::before,
.lp-banner-cut::after { content: ""; position: absolute; width: 20px; height: 20px; }
.lp-banner-cut::before { left: -20px; top: 1px; background: radial-gradient(circle at 0 100%, transparent 19.5px, #fff 20px); }
.lp-banner-cut::after { right: 1px; bottom: -20px; background: radial-gradient(circle at 0 100%, transparent 19.5px, #fff 20px); }
.lp-wa-logo { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 5px solid var(--lp-wa); color: var(--lp-wa); }
.lp-wa-logo .ui-icon { width: 58%; height: 58%; }
.lp-banner h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.22; font-weight: var(--ui-font-weight-normal); color: var(--ui-color-base-1); letter-spacing: -.015em; }
.lp-banner h2 strong { font-weight: var(--ui-font-weight-bold); }
.lp-banner .btn { margin-top: 32px; }
.lp-banner-visual { position: relative; align-self: stretch; clip-path: inset(-80px -80px 0 -80px); }

/* ==========================================================================
   Marcas: blocos de ícone (WhatsApp, Bitrix24, bots, IA)
   ========================================================================== */
.lp-brand-tile { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--ui-border-radius-lg); color: #fff; }
.lp-brand-tile .ui-icon { width: 24px; height: 24px; }
.lp-brand-tile.is-wa { background: var(--lp-wa); }
.lp-brand-tile.is-web { background: var(--ui-color-accent-main-primary); }
.lp-brand-tile.is-b24 { background: var(--lp-b24-dark); }
.lp-brand-tile.is-bot { background: var(--lp-wine); }
.lp-brand-tile.is-ai { background: linear-gradient(135deg, #8e52ec, #ff5752); }
.lp-brand-tile.is-soft { background: var(--lp-soft); color: var(--ui-color-accent-main-primary); }
.lp-agent .lp-brand-tile { display: grid; margin-bottom: 14px; }
/* ícones de serviço do b24icons têm o desenho menor dentro da caixa */
.lp .ui-icon.cs, .auth-aside .ui-icon.cs { transform: scale(1.75); }
.lp-marquee-item .lp-brand-tile { width: 34px; height: 34px; border-radius: var(--ui-border-radius-md); }
.lp-marquee-item .lp-brand-tile .ui-icon { width: 20px; height: 20px; color: inherit; }
.lp-wa-logo { background: var(--lp-wa); border: 0 !important; color: #fff; }

/* ==========================================================================
   Mockup do mensageiro do Bitrix24 (tema Air)
   ========================================================================== */
.b24 {
  --b24-blue: #0075ff;
  --b24-text: #151515;
  --b24-muted: #828b95;
  --b24-line: #edeef0;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--lp-r-card);
  background: radial-gradient(120% 90% at 100% 0%, #5dd2f3 0%, transparent 55%), linear-gradient(160deg, #0a4fa3 0%, #1677d8 55%, #29a8e6 100%);
  box-shadow: 0 24px 60px -24px rgb(10 40 90 / .45);
  font-size: 13px;
  line-height: 1.35;
  color: var(--b24-text);
  text-align: left;
}
.b24 .ui-icon { width: 18px; height: 18px; flex: none; }
.b24-top { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; color: #fff; }
.b24-brand { display: inline-flex; align-items: center; gap: 2px; font-size: 17px; letter-spacing: -.01em; }
.b24-brand b { font-weight: 700; }
.b24-brand i { font-style: normal; font-weight: 700; color: #7fe3ff; }
.b24-brand-mark { display: grid; place-items: center; width: 26px; height: 26px; margin-right: 5px; border-radius: 50%; background: #fff; color: var(--b24-blue); }
.b24-search { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; margin-left: 8px; flex: 0 1 180px; border-radius: 99px; background: rgb(255 255 255 / .18); color: rgb(255 255 255 / .8); font-size: 12px; }
.b24-top-end { margin-left: auto; }
.b24-body { flex: 1; display: flex; gap: 6px; min-height: 0; padding: 0 6px 6px 0; }
.b24-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 50px; padding-top: 4px; color: rgb(255 255 255 / .8); }
.b24-rail span { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.b24-rail .ui-icon { width: 22px; height: 22px; }
.b24-rail span.is-active { background: rgb(255 255 255 / .22); color: #fff; }
.b24-rail em { position: absolute; top: 1px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #ff5752; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; line-height: 16px; text-align: center; }
.b24-list { display: none; flex: 0 0 196px; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; }
@container (min-width: 520px) { .b24-list { display: flex; } }
.b24-list-head { padding: 12px 12px 8px; font-size: 14px; font-weight: 700; }
.b24-item { position: relative; display: flex; align-items: center; gap: 8px; margin: 0 6px; padding: 7px 6px; border-radius: 8px; }
.b24-item.is-active { background: #e5f1ff; }
.b24-item-text { flex: 1; min-width: 0; }
.b24-item-text strong { display: block; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b24-item-text small { display: block; color: var(--b24-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b24-item time { position: absolute; top: 7px; right: 8px; color: var(--b24-muted); font-size: 10.5px; }
.b24-item em { position: absolute; right: 8px; bottom: 8px; min-width: 16px; height: 16px; border-radius: 99px; background: var(--b24-blue); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; line-height: 16px; text-align: center; }
.b24-av { position: relative; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--av, #2fc6f6); color: #fff; font-size: 14px; font-weight: 600; }
.b24-av.is-me { width: 30px; height: 30px; background: #fff; color: var(--b24-blue); box-shadow: 0 0 0 2px rgb(255 255 255 / .5); }
.b24-av b { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--lp-wa); box-shadow: 0 0 0 2px #fff; }
.b24-av b .ui-icon { width: 11px; height: 11px; color: #fff; }
.b24-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #dfe8f0; }
.b24-chat-head { display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: #fff; border-bottom: 1px solid var(--b24-line); }
.b24-chat-title { flex: 1; min-width: 0; }
.b24-chat-title strong { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.b24-chat-title small { display: block; color: var(--b24-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b24-chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 8px; border: 1px solid #dfe0e3; color: #525c69; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.b24-chip .ui-icon { width: 14px; height: 14px; }
.b24-chip.is-crm { border-color: transparent; background: #e5f1ff; color: var(--b24-blue); }
@container (max-width: 400px) { .b24-chip:not(.is-crm) { display: none; } }
.b24-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 12px;
  background-image: radial-gradient(circle at 12px 12px, rgb(255 255 255 / .45) 1.5px, transparent 2px);
  background-size: 22px 22px;
}
.b24-date, .b24-system { align-self: center; padding: 3px 10px; border-radius: 99px; background: rgb(82 92 105 / .28); color: #fff; font-size: 11px; font-weight: 500; }
.b24-system { background: rgb(255 255 255 / .7); color: #525c69; font-weight: 400; }
.b24-msg { position: relative; align-self: flex-start; max-width: 82%; padding: 6px 10px 16px; border-radius: 12px 12px 12px 4px; background: #fff; }
.b24-msg small { display: flex; align-items: center; gap: 4px; margin-bottom: 1px; color: #e8a200; font-size: 11.5px; font-weight: 600; }
.b24-msg.is-own { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: #d9f4c3; }
.b24-msg.is-own small { color: #2a8a1a; }
.b24-msg.is-bot small { color: #8e52ec; }
.b24-msg time { position: absolute; right: 8px; bottom: 3px; display: inline-flex; align-items: center; gap: 2px; color: var(--b24-muted); font-size: 10px; }
.b24-msg time .ui-icon { width: 13px; height: 13px; color: #1eae43; }
.b24-file { display: flex; align-items: center; gap: 8px; margin: 3px 0 5px; padding: 6px 8px; border-radius: 8px; background: rgb(255 255 255 / .6); }
.b24-file i { padding: 5px 5px; border-radius: 5px; background: #ff5752; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 700; }
.b24-file span { font-size: 12px; font-weight: 600; }
.b24-file span small { display: block; margin: 0; color: var(--b24-muted) !important; font-weight: 400; font-size: 10.5px; }
.b24-input { display: flex; align-items: center; gap: 10px; margin: 0 10px 10px; padding: 7px 7px 7px 12px; border-radius: 12px; background: #fff; color: #a8adb4; }
.b24-input > span:not(.b24-send) { flex: 1; font-size: 12.5px; }
.b24-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--b24-blue); color: #fff; }

/* cartão de CRM flutuando sobre a janela do banner */
.lp-deal { position: absolute; left: -44px; bottom: 84px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: var(--lp-r-card); background: #fff; border: 1px solid var(--lp-stroke); box-shadow: 0 16px 40px -18px rgb(0 0 0 / .35); font-size: 13px; }
.lp-deal small { display: block; color: var(--ui-color-base-3); font-size: 11.5px; }
.lp-deal strong { display: block; color: var(--ui-color-base-1); font-weight: var(--ui-font-weight-semi-bold); }
.lp-deal-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--ui-border-radius-md); background: #e5f1ff; color: #0075ff; }

.lp-banner-visual .b24 { position: absolute; left: 0; right: 170px; top: -56px; bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.lp-v-b24 { background: var(--lp-soft); }
.lp-v-b24 .b24 { position: absolute; inset: 44px 28px; }

/* ==========================================================================
   Recursos em zigue-zague
   ========================================================================== */
.lp-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 40px 0; }
.lp-feature:last-child { padding-bottom: 0; }
.lp-feature.is-reverse .lp-feature-visual { order: 2; }
.lp-feature-visual { position: relative; min-height: 520px; border-radius: var(--lp-r-panel); }
.lp-feature-body { position: relative; isolation: isolate; }
.lp-feature-title { position: relative; display: inline-block; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.15; font-weight: var(--ui-font-weight-bold); color: var(--ui-color-base-1); letter-spacing: -.02em; }
.lp-feature-num { position: absolute; top: -78px; font-size: 110px; line-height: 1; font-weight: var(--ui-font-weight-light); color: var(--ui-color-base-7); z-index: -1; user-select: none; }
.lp-feature:not(.is-reverse) .lp-feature-num { right: 0; }
.lp-feature.is-reverse .lp-feature-num { right: 0; }
.lp .lp-feature-body > p { margin-top: 18px; font-size: 20px; color: var(--ui-color-base-3); }
.lp-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; }
.lp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 99rem; background: var(--lp-surface); border: 1px solid var(--lp-stroke); font-size: 17px; color: var(--ui-color-base-1); }
.lp-pill .ui-icon { width: 20px; height: 20px; color: var(--ui-color-accent-main-primary); }
.lp .lp-feature-note { margin-top: 26px; font-style: italic; font-size: 18px; color: var(--ui-color-base-3); }

.lp-float {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: var(--ui-design-outline-stroke-weight) solid var(--lp-stroke);
  z-index: 2;
}
.lp-float .ui-icon { width: 46%; height: 46%; }
.lp-float.is-red { background: var(--ui-color-accent-main-primary); border-color: var(--ui-color-accent-main-primary); color: #fff; }
.lp-float.is-b24 { color: #fff; background: var(--lp-b24-dark); border-color: var(--lp-b24-dark); }
.lp-float.is-wa { color: #fff; background: var(--lp-wa); border-color: var(--lp-wa); }

/* visual 1: conversa */
.lp-v-chat { background-color: var(--lp-wine); background-image: radial-gradient(circle at 30px 30px, rgb(255 255 255 / .05) 3px, transparent 4px); background-size: 70px 70px; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 48px 52px; }
.lp-v-chat .lp-bubble { font-size: 16px; padding: 12px 16px 24px; max-width: 80%; }
.lp-v-chat .lp-bubble time { font-size: 12px; }

/* visual 2: Bitrix24 */
.lp-v-b24 { background: var(--app-info-bg); }

/* visual 3: editor de fluxos (mesmo visual do editor do painel) */
.lp-v-flow { background-color: var(--air-theme-bg-color); background-image: radial-gradient(circle, #d5d7db 1px, transparent 1.2px); background-size: 24px 24px; overflow: hidden; }
.lp-flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-node { position: absolute; width: 200px; border-radius: var(--ui-border-radius-md); background: #fff; border: var(--ui-design-outline-stroke-weight) solid var(--lp-stroke); font-size: 14px; color: var(--ui-color-base-2); }
.lp-node-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px 9px 0 0; font-weight: var(--ui-font-weight-semi-bold); color: var(--ui-color-base-1); }
.lp-node-head span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: #fff; }
.lp-node-head .ui-icon { width: 16px; height: 16px; }
.lp-node-head:last-child { border-radius: 9px; }
.lp-node-body { padding: 8px 12px 10px; border-top: 1px solid var(--lp-line); background: var(--lp-surface); border-radius: 0 0 9px 9px; }
.lp-node-body div { padding: 5px 0; }
.lp-node.n-start { left: 8%; top: 10%; width: 150px; }
.lp-node.n-menu { left: 50%; top: 36%; width: 236px; transform: translateX(-50%); }
.lp-node.n-ai { left: 6%; bottom: 8%; }
.lp-node.n-human { right: 6%; bottom: 8%; }

/* visual 4: IA */
.lp-v-ai { background: var(--lp-soft); display: grid; place-content: center; justify-items: center; gap: 24px; padding: 40px; }
.lp-ai-core { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 14px rgb(178 30 75 / .08), 0 0 0 30px rgb(178 30 75 / .05); color: var(--ui-color-accent-main-primary); }
.lp-ai-core .ui-icon { width: 64px; height: 64px; }
.lp-row .badge { height: 28px; padding: 0 12px; font-size: var(--ui-font-size-md); }
.lp-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lp-file { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--ui-border-radius-md); background: #fff; border: 1px solid var(--lp-stroke); font-weight: var(--ui-font-weight-semi-bold); color: var(--ui-color-base-1); }
.lp-file i { font-style: normal; padding: 2px 7px; border-radius: 6px; color: #fff; font-size: 12px; }

/* ==========================================================================
   Como funciona
   ========================================================================== */
.lp-how {
  position: relative;
  margin: 32px 0 44px;
  padding: 64px 56px 72px;
  border-radius: var(--lp-r-panel) var(--lp-r-panel) var(--lp-r-panel) 0;
  background: var(--lp-wine);
  color: #fff;
}
.lp-how::after { content: ""; position: absolute; left: 0; bottom: -40px; width: 64px; height: 41px; background: var(--lp-wine); clip-path: polygon(0 0, 100% 0, 0 100%); }
.lp-how .lp-h2 { color: #fff; text-align: center; }
.lp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; margin: 52px auto 0; }
.lp-steps::before { content: ""; position: absolute; left: 24px; right: 30%; top: 24px; border-top: 2px dashed var(--lp-rose); opacity: .7; }
.lp-step-num { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--ui-border-radius-md); background: var(--ui-color-accent-main-primary); color: #fff; font-size: 22px; font-weight: var(--ui-font-weight-bold); }
.lp-step h3 { margin-top: 20px; font-size: 24px; line-height: 1.3; font-weight: var(--ui-font-weight-semi-bold); color: #fff; }
.lp-how-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 52px; font-size: 18px; }
.lp-how-checks span { display: inline-flex; align-items: center; gap: 10px; }
.lp-how-checks .ui-icon { color: var(--lp-rose); }
.lp-how .lp-center { margin-top: 36px; }

/* ==========================================================================
   Demonstrações
   ========================================================================== */
.lp-demos { position: relative; padding: 80px 8px 64px; }
.lp-demos::before {
  content: "";
  position: absolute;
  inset: 0 0 35% 10%;
  background-image: linear-gradient(30deg, transparent 49.2%, var(--ui-color-base-6) 49.5%, var(--ui-color-base-6) 50.5%, transparent 50.8%), linear-gradient(150deg, transparent 49.2%, var(--ui-color-base-6) 49.5%, var(--ui-color-base-6) 50.5%, transparent 50.8%);
  background-size: 64px 37px;
  opacity: .7;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 70%);
  pointer-events: none;
}
.lp-demos > * { position: relative; }
.lp-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1140px; margin: 0 auto; }
.lp-demo { position: relative; padding: 44px 48px 64px; text-align: center; background: var(--lp-surface); border: var(--ui-design-outline-stroke-weight) solid var(--lp-stroke); border-radius: var(--lp-r-panel); }
.lp-demo h3 { font-size: 28px; line-height: 1.25; font-weight: var(--ui-font-weight-medium); color: var(--ui-color-base-1); }
.lp-demo-visual { position: relative; height: 260px; margin: 32px auto 0; border-radius: var(--lp-r-card); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.lp-demo-visual.is-wa { background: var(--lp-wa); }
.lp-demo-visual.is-web { background: var(--ui-color-accent-main-primary); }
.lp-mini-phone { width: 186px; height: 232px; margin-bottom: -16px; padding: 8px; border-radius: 28px 28px 0 0; background: #16161a; }
.lp-mini-phone > div { height: 100%; border-radius: 22px 22px 0 0; background: var(--lp-wa-paper); padding: 28px 10px 10px; display: flex; flex-direction: column; gap: 8px; }
.lp-mini-phone > div.is-white { background: #fff; align-items: center; justify-content: center; gap: 10px; }
.lp-mini-phone .lp-bubble { font-size: 11px; padding: 6px 9px 14px; }
.lp-mini-phone .lp-bubble time { font-size: 9px; }
.lp-mini-phone .lp-wa-logo { width: 60px; height: 60px; border-width: 4px; }
.lp-qr { position: absolute; top: 24px; right: 24px; width: 88px; height: 88px; padding: 9px; border-radius: var(--ui-border-radius-md); background: #fff; }
.lp-demo .btn { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); }
.lp .lp-demo-caption { margin-top: 72px; text-align: center; font-size: 19px; color: var(--ui-color-base-2); }

/* ==========================================================================
   Chamada final
   ========================================================================== */
.lp-cta { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; margin: 48px 0; }
.lp-cta-panel {
  position: relative;
  padding: 56px 64px;
  border-radius: var(--lp-r-panel) 0 var(--lp-r-panel) var(--lp-r-panel);
  background: var(--ui-color-accent-main-primary);
  color: #fff;
}
.lp-cta-panel::after { content: ""; position: absolute; right: -52px; top: 0; width: 53px; height: 46px; background: var(--ui-color-accent-main-primary); clip-path: polygon(0 0, 100% 0, 0 100%); }
.lp-cta-panel h2 { font-size: clamp(30px, 3vw, 40px); font-weight: var(--ui-font-weight-bold); letter-spacing: -.02em; color: #fff; }
.lp-cta-list { list-style: none; margin: 22px 0 0; padding: 0; }
.lp-cta-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 21px; }
.lp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-cta-art { position: relative; width: 100%; max-width: 360px; height: 340px; justify-self: center; }
.lp-cta-art .lp-mark { position: absolute; left: 0; top: 0; width: 80px; height: 80px; border-radius: var(--ui-border-radius-3xl); font-size: 40px; }
.lp-orb { position: absolute; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.lp-orb .ui-icon { width: 46%; height: 46%; }
.lp-orb.is-wa { width: 116px; height: 116px; right: 0; top: 16px; background: var(--lp-wa); }
.lp-orb.is-b24 { width: 176px; height: 176px; left: 64px; top: 112px; background: var(--lp-b24-dark); }
.lp-orb.is-bot { width: 110px; height: 110px; right: 0; bottom: 8px; background: var(--lp-wine); }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.lp-footer { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 56px; padding: 56px 64px; border-radius: var(--lp-r-panel); background: #1b1c20; color: #c9ccd0; }
.lp-footer h4 { margin-bottom: 18px; font-size: 18px; font-weight: var(--ui-font-weight-semi-bold); color: #fff; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-footer a { color: #c9ccd0; font-size: 16px; }
.lp-footer a:hover { color: #fff; }
.lp-footer-brand { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: right; }
.lp-footer-brand .lp-logo { color: #fff; }
.lp-footer-brand small { color: var(--ui-color-base-4); font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .lp-nav-links { display: none; }
  .lp-hero-panel { grid-template-columns: 1fr; }
  .lp-hero-text { padding: 64px 36px 24px; }
  .lp-hero-visual { justify-content: center; padding: 16px 0 0; }
  .lp-hero-cut { display: none; }
  .lp-hero-panel { border-radius: var(--lp-r-panel) var(--lp-r-panel) 0 0; }
  .lp-hero-cards { position: static; flex-wrap: wrap; padding: 20px 20px 24px; background: #fff; }
  .lp-who-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-ways-grid, .lp-demo-grid { grid-template-columns: 1fr; gap: 64px; }
  .lp-banner { grid-template-columns: 1fr; padding: 64px 36px 0; }
  .lp-banner-visual { min-height: 400px; }
  .lp-banner-visual .b24 { top: 0; right: 0; }
  .lp-deal { left: 12px; bottom: 16px; }
  .lp-feature { grid-template-columns: 1fr; gap: 36px; }
  .lp-feature.is-reverse .lp-feature-visual { order: 0; }
  .lp-feature:not(.is-reverse) .lp-feature-num,
  .lp-feature.is-reverse .lp-feature-num { left: auto; right: 0; }
  .lp-cta { grid-template-columns: 1fr; }
  .lp-cta-panel { border-radius: var(--lp-r-panel); }
  .lp-cta-panel::after { display: none; }
  .lp-footer { grid-template-columns: repeat(3, 1fr); }
  .lp-footer-brand { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .lp-page { padding: 0 10px 10px; }
  .lp-nav { height: 72px; padding: 0 2px; }
  .lp-nav-actions .btn-outline { display: none; }
  .lp-br-desk { display: none; }
  .lp-hero-curve { display: none; }
  .lp-hero-text { padding: 44px 22px 16px; }
  .lp-hero-text p { font-size: 17px; }
  .lp-hero-actions .btn { width: 100%; }
  .lp-phone { width: 240px; height: 420px; }
  .lp-hero-cards { gap: 8px; padding: 14px; }
  .lp-agent { width: calc(33.33% - 6px); padding: 12px; font-size: 13px; }
  .lp-agent .ui-tile-icon { width: 32px; height: 32px; margin-bottom: 8px; }
  .lp-agent .ui-tile-icon .ui-icon { width: 18px; height: 18px; }
  .lp-section { padding: 56px 2px; }
  .lp-who-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lp-who { padding: 16px; gap: 16px; }
  .lp-who .ui-tile-icon { width: 44px; height: 44px; }
  .lp-who .ui-tile-icon .ui-icon { width: 24px; height: 24px; }
  .lp-who h3 { font-size: 15px; }
  .lp-ways { padding: 52px 14px; }
  .lp-way { padding: 28px 20px 52px; }
  .lp-way h3 { font-size: 26px; }
  .lp-banner { padding: 44px 22px 0; }
  .lp-banner-cut { width: 88px; height: 82px; }
  .lp-banner-cut .lp-wa-logo { width: 54px; height: 54px; border-width: 4px; }
  .lp-feature-visual { min-height: 420px; }
  .lp-feature-body { padding-top: 34px; }
  .lp-feature-num { font-size: 72px; top: -12px; }
  .lp-section-head { margin-bottom: 24px; }
  .lp .lp-ways-note { align-items: flex-start; text-align: left; }
  .lp-ways-note .ui-icon { flex-shrink: 0; margin-top: 3px; }
  .lp-v-b24 .lp-float.is-b24 { display: none; }
  .lp-v-b24 .b24 { inset: 24px 12px; }
  .lp-deal { display: none; }
  .b24-search { display: none; }
  .lp-qr { width: 64px; height: 64px; top: 12px; right: 12px; padding: 6px; }
  .lp .lp-demo-caption { margin-top: 48px; }
  .lp-demos { padding-bottom: 24px; }
  .lp-steps { justify-items: center; text-align: center; }
  .lp-v-chat { padding: 28px 18px; }
  .lp-v-chat .lp-bubble { font-size: 14px; }
  .lp-float { width: 56px !important; height: 56px !important; }
  .lp-float.f-right { right: 10px !important; left: auto !important; }
  .lp-float.f-left { left: 10px !important; right: auto !important; }
  .lp-float.f-top { top: 10px !important; bottom: auto !important; }
  .lp-float.f-bottom { bottom: 10px !important; top: auto !important; }
  .lp-node { width: 140px; font-size: 12px; }
  .lp-node.n-menu { width: 180px; top: 34%; }
  .lp-node.n-start { width: 120px; }
  .lp-how { padding: 48px 22px 56px; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-steps::before { display: none; }
  .lp-demo { padding: 36px 18px 56px; }
  .lp-demo h3 { font-size: 22px; }
  .lp-cta-panel { padding: 40px 24px; }
  .lp-cta-list li { font-size: 18px; }
  .lp-cta-actions .btn { width: 100%; }
  .lp-cta-art { height: 220px; max-width: 300px; }
  .lp-cta-art .lp-mark { width: 60px; height: 60px; font-size: 30px; }
  .lp-orb.is-wa { width: 90px; height: 90px; }
  .lp-orb.is-b24 { width: 130px; height: 130px; left: 50px; top: 70px; }
  .lp-orb.is-bot { width: 84px; height: 84px; }
  .lp-footer { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 24px; }
}
