/* ══════════════════════════════════════════════
   Lira Empreendimentos — Home (Taba)
   Compatível com Bootstrap 5; complementa utilities.
══════════════════════════════════════════════ */

:root {
  --ls-azul-900: #1e3a8a;
  --ls-azul-600: #2563eb;
  --ls-azul-500: #3b82f6;
  --ls-branco: #ffffff;
  --ls-cinza-50: #f8fafc;
  --ls-cinza-100: #f1f5f9;
  --ls-cinza-300: #cbd5e1;
  --ls-cinza-600: #475569;
  --ls-cinza-800: #1e293b;
  --ls-sucesso: #16a34a;
  --ls-sombra: 0 10px 30px rgba(30, 58, 138, 0.12);
  --ls-radius: 1.125rem;
  --ls-footer-bg: #4685c4;
}

html {
  scroll-behavior: smooth;
}

body.ls-home {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ls-cinza-800);
  background: var(--ls-branco);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

/* Hero / fundos */
.ls-hero-wrap {
  background:
    radial-gradient(circle at 8% 20%, rgba(59, 130, 246, 0.2), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(30, 58, 138, 0.15), transparent 35%),
    linear-gradient(180deg, #eff6ff 0%, #ffffff 65%);
  border-bottom: 1px solid #e2e8f0;
}

.ls-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ls-azul-900), var(--ls-azul-500));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--ls-sombra);
}

.ls-app-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(70, 133, 196, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ls-app-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* Cards de casos de uso */
.ls-use-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e2e8f0;
  border-radius: var(--ls-radius);
  height: 100%;
}

.ls-use-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.08) !important;
}

.ls-use-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #dbeafe;
  color: var(--ls-azul-900);
  font-size: 1.35rem;
}

/* Mockup celular */
.ls-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.ls-phone {
  width: 280px;
  max-width: 100%;
  border-radius: 2rem;
  border: 10px solid #0f172a;
  background: #0f172a;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
  padding: 10px 10px 14px;
}

.ls-phone-notch {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.ls-phone-notch span {
  width: 88px;
  height: 5px;
  background: #334155;
  border-radius: 99px;
}

.ls-phone-screen {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.ls-chat-header {
  padding: 0.5rem 0.75rem;
  background: #fff;
  border-bottom: 1px solid var(--ls-cinza-300);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ls-azul-900);
}

.ls-chat-body {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.ls-bubble {
  max-width: 92%;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  line-height: 1.35;
}

.ls-bubble.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--ls-cinza-800);
}

.ls-bubble.user {
  align-self: flex-end;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #1e293b;
}

.ls-chat-input {
  margin-top: auto;
  padding: 0.5rem;
  background: #fff;
  border-top: 1px solid var(--ls-cinza-300);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ls-chat-input .fake-input {
  flex: 1;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: #64748b;
  font-size: 0.72rem;
}

.ls-neural-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.ls-neural-badge i {
  font-size: 0.75rem;
}

/* Plano em destaque */
.ls-price-highlight {
  border: 2px solid #60a5fa !important;
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.17);
  transform: translateY(-2px);
}

/* Rodapé (alinhado ApEn) */
footer.ls-site-footer,
.ls-site-footer {
  margin-top: 0;
  padding: 0.85rem 1rem;
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 0.82rem;
  color: #fff;
  background: var(--ls-footer-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ls-site-footer .ls-footer-title {
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.35rem;
}

.ls-site-footer .ls-footer-hub {
  font-size: 0.78rem;
  opacity: 0.92;
  margin-bottom: 0.5rem;
}

.ls-site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.ls-site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Botão flutuante (opcional) */
.ls-float-wa {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 1030;
  box-shadow: var(--ls-sombra);
}

/* Ajuste display-4 em telas estreitas */
@media (max-width: 575.98px) {
  .ls-hero-title.display-4 {
    font-size: clamp(1.65rem, 6.5vw, 2.25rem);
  }
}
