/* ==========================================================================
   ATENDELIVE & WABASHOT — HERO CAROUSEL ESTILO OMNISMART
   Totalmente isolado com namespace .omni-hero-* para evitar conflitos de CSS
   ========================================================================== */

.omni-hero-wrap {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

.omni-hero-wrap * {
  box-sizing: border-box;
}

/* Grafismos de fundo decorativos */
.omni-hero-bg-glow {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.15) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* Viewport & Track do Slider */
.omni-hero-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.omni-hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
}

.omni-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

/* Grid interna de cada slide */
.omni-slide-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1.5rem clamp(2.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
  min-height: min(76vh, 640px);
}

/* ─────────────────────────────────────────────────────────────────────────
   COLUNA ESQUERDA: COPY, PREÇO & AÇÕES
   ───────────────────────────────────────────────────────────────────────── */
.omni-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
  z-index: 2;
}

/* Kicker / Tag superior */
.omni-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.omni-kicker--atende {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.omni-kicker--disparo {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.omni-kicker--combo {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.omni-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: omniPulse 2s infinite;
}

.omni-kicker--atende .omni-kicker-dot { background: #10b981; }
.omni-kicker--disparo .omni-kicker-dot { background: #f59e0b; }
.omni-kicker--combo .omni-kicker-dot { background: #3b82f6; }

@keyframes omniPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Títulos principais */
.omni-hero-title {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #090d16;
  margin: 0 0 1rem 0;
}

.omni-title-highlight {
  display: inline-block;
  padding: 0.04em 0.35em;
  border-radius: 8px;
  margin: 0.05em 0;
}

.omni-title-highlight--yellow {
  background: #FFE600;
  color: #090d16;
}

.omni-title-highlight--green {
  background: #d1fae5;
  color: #065f46;
}

.omni-title-highlight--dark {
  background: #090d16;
  color: #FFE600;
}

/* Descrição */
.omni-hero-desc {
  font-size: clamp(0.975rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1.25rem 0;
}

/* Card de Preço em Destaque */
.omni-price-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.omni-price-pill--atende {
  background: #ffffff;
  border: 1.5px solid #a7f3d0;
}

.omni-price-pill--disparo {
  background: #ffffff;
  border: 1.5px solid #fde68a;
}

.omni-price-pill--combo {
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
}

.omni-price-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.omni-price-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #090d16;
}

.omni-price-detail {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  border-left: 1px solid #e2e8f0;
  padding-left: 10px;
}

/* Botões de Ação */
.omni-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  width: 100%;
}

.omni-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  background: #FFE600;
  color: #090d16;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 230, 0, 0.45);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.omni-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 230, 0, 0.55);
  background: #f5dc00;
}

.omni-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  color: #090d16;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
}

.omni-btn-secondary:hover {
  border-color: #090d16;
  background: #f8fafc;
  transform: translateY(-2px);
}

/* Selos de Confiança (Trust) */
.omni-trust-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
}

.omni-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.omni-trust-icon {
  width: 16px;
  height: 16px;
  color: #10b981;
}

/* ─────────────────────────────────────────────────────────────────────────
   COLUNA DIREITA: VISUAL / SIMULAÇÃO AO VIVO (ESTILO OMNISMART)
   ───────────────────────────────────────────────────────────────────────── */
.omni-hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ────────────────────── SLIDE 1: SIMULAÇÃO ATENDELIVE ────────────────────── */
.omni-chat-card {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px rgba(9, 13, 22, 0.12), 0 4px 16px rgba(9, 13, 22, 0.04);
  overflow: hidden;
  position: relative;
}

/* Banner de Topo com Foto da Atendente Juliana */
.omni-chat-hero-banner {
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #10b981;
}

.omni-attendant-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FFE600;
  flex-shrink: 0;
  background: #f1f5f9;
}

.omni-attendant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.omni-attendant-meta {
  flex-grow: 1;
}

.omni-attendant-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.omni-meta-verified {
  width: 14px;
  height: 14px;
  color: #25D366;
}

.omni-attendant-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.omni-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.omni-system-tag {
  background: rgba(255, 230, 0, 0.15);
  color: #FFE600;
  border: 1px solid rgba(255, 230, 0, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Corpo do Chat Simulador WhatsApp */
.omni-chat-body {
  background: #efeae2;
  background-image: radial-gradient(#d5cebf 0.75px, transparent 0.75px);
  background-size: 16px 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  max-height: 340px;
  overflow-y: auto;
}

.omni-bubble {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.omni-bubble--agent {
  align-self: flex-start;
  background: #ffffff;
  color: #111827;
  border-top-left-radius: 3px;
}

.omni-bubble--user {
  align-self: flex-end;
  background: #d9fdd3;
  color: #111827;
  border-top-right-radius: 3px;
}

.omni-bubble--system {
  align-self: center;
  background: rgba(255, 255, 255, 0.85);
  color: #047857;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #a7f3d0;
}

.omni-chat-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.omni-chat-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1e293b;
}

.omni-chat-opt.is-active {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
  font-weight: 700;
}

/* Rodapé do Chat Simulador */
.omni-chat-footer {
  background: #f0f2f5;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
}

.omni-chat-input-fake {
  flex-grow: 1;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
}

.omni-chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

/* ────────────────────── SLIDE 2: SIMULAÇÃO WABASHOT ────────────────────── */
.omni-dispatch-card {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px rgba(9, 13, 22, 0.12);
  overflow: hidden;
}

.omni-dispatch-header {
  background: #090d16;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #FFE600;
}

.omni-dispatch-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.omni-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid #10b981;
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.omni-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: omniPulse 1.5s infinite;
}

.omni-dispatch-body {
  padding: 1.25rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Barra de Progresso do Disparo */
.omni-progress-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
}

.omni-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
}

.omni-progress-bar-wrap {
  height: 9px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.omni-progress-bar-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #FFE600 0%, #10b981 100%);
  border-radius: 999px;
  animation: omniProgressAnim 3s ease-in-out infinite alternate;
}

@keyframes omniProgressAnim {
  0% { width: 72%; }
  100% { width: 84%; }
}

/* Grade de Métricas em Tempo Real */
.omni-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.omni-metric-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.omni-metric-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #090d16;
  line-height: 1.1;
}

.omni-metric-lbl {
  font-size: 0.6875rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Feed em tempo real dos disparos */
.omni-feed-list {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 6px 12px;
}

.omni-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.775rem;
}

.omni-feed-row:last-child {
  border-bottom: none;
}

.omni-feed-phone {
  font-weight: 700;
  color: #334155;
}

.omni-feed-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.omni-feed-status--delivered { color: #10b981; }
.omni-feed-status--read { color: #0284c7; }
.omni-feed-status--click { color: #d97706; }

/* Template Meta Oficial com Botão */
.omni-template-preview {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 10px 12px;
}

.omni-template-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.omni-template-text {
  font-size: 0.775rem;
  color: #1e3a8a;
  line-height: 1.4;
  margin-bottom: 6px;
}

.omni-template-btn-pill {
  display: inline-block;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
}

/* ────────────────────── SLIDE 3: COMBO COMPLETO ────────────────────── */
.omni-combo-card {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px rgba(9, 13, 22, 0.12);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.omni-combo-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.omni-flow-step {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.omni-flow-step--primary {
  background: #fffde6;
  border-color: #fde047;
}

.omni-flow-step--secondary {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.omni-flow-icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.omni-flow-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #090d16;
}

.omni-flow-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
}

.omni-flow-arrow {
  color: #94a3b8;
  font-size: 1.4rem;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────────────────────────────
   NAVEGAÇÃO DO CARROSSEL: TABS INFERIORES & SETAS
   ───────────────────────────────────────────────────────────────────────── */
.omni-hero-nav-bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.omni-tabs-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(9, 13, 22, 0.08);
  border: 1px solid #e2e8f0;
}

.omni-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
}

.omni-tab-btn:hover {
  color: #090d16;
  background: #f1f5f9;
}

.omni-tab-btn.is-active {
  background: #090d16;
  color: #FFE600;
  box-shadow: 0 4px 14px rgba(9, 13, 22, 0.2);
}

.omni-tab-tag {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 230, 0, 0.2);
  color: #FFE600;
  font-weight: 800;
}

.omni-tab-btn:not(.is-active) .omni-tab-tag {
  background: #e2e8f0;
  color: #475569;
}

/* Setas Laterais Flutuantes */
.omni-arrow-btn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  color: #090d16;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(9, 13, 22, 0.08);
  z-index: 10;
  transition: all 0.2s;
}

.omni-arrow-btn:hover {
  background: #090d16;
  color: #FFE600;
  border-color: #090d16;
  transform: translateY(-50%) scale(1.06);
}

.omni-arrow-btn--prev { left: 1rem; }
.omni-arrow-btn--next { right: 1rem; }

/* ─────────────────────────────────────────────────────────────────────────
   RESPONSIVIDADE (MOBILE & TABLET)
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .omni-slide-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 1.25rem 2.5rem;
    gap: 2rem;
  }

  .omni-hero-copy {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .omni-hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .omni-hero-actions {
    justify-content: center;
  }

  .omni-trust-list {
    justify-content: center;
  }

  .omni-hero-visual {
    max-width: 440px;
  }

  .omni-arrow-btn {
    display: none;
  }

  .omni-tabs-container {
    flex-wrap: wrap;
    border-radius: 16px;
    justify-content: center;
  }

  .omni-tab-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .omni-hero-actions .omni-btn-primary,
  .omni-hero-actions .omni-btn-secondary {
    width: 100%;
  }

  .omni-price-pill {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .omni-price-detail {
    border-left: none;
    padding-left: 0;
  }
}
