/* styles.css */

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  letter-spacing: 0;
}

html { 
  scroll-behavior: smooth; 
}

/* Scrollbar customizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.5);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.8);
}

/* Animações e stagger */
.card-appear {
  animation: fade-in-up 0.6s ease-out forwards;
}

.stagger-item {
  opacity: 0;
  animation: fade-in-up 0.6s ease-out forwards;
}
.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

/* Efeito de digitação */
.typing-animation {
  overflow: hidden;
  border-right: 2px solid currentColor;
  white-space: nowrap;
  animation: typing 2s steps(40, end), blink 0.75s step-end infinite;
}

.hero-chat-bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.34s ease, transform 0.34s ease;
  will-change: opacity, transform;
}

.hero-chat-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-typewriter {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  vertical-align: bottom;
  min-height: 1.35em;
}

.hero-typewriter.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.12em;
  animation: hero-caret 0.75s step-end infinite;
}

@keyframes hero-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.ai-live-dots {
  display: inline-flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.ai-live-dots.is-visible {
  opacity: 1;
}

.ai-live-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  animation: ai-dot 0.9s ease-in-out infinite;
}

.ai-live-dots span:nth-child(2) { animation-delay: 0.15s; }
.ai-live-dots span:nth-child(3) { animation-delay: 0.3s; }

.hero-result-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.hero-result-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-demo-panel {
  min-width: 0;
}

@keyframes ai-dot {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-3px); opacity: 1; }
}

/* Texto com gradiente animado */
.gradient-text {
  background: linear-gradient(90deg, #10b981, #34d399, #10b981);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

/* Hover com escala */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
}

/* Botão com efeito glow/brilho lateral */
.btn-glow {
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s;
}
.btn-glow:hover::before {
  left: 100%;
}

/* Fundo animado do hero */
.hero-bg {
  background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0.15), transparent);
  animation: float 6s ease-in-out infinite;
}

/* Contador (se usar em algum lugar) */
.counter {
  font-size: 2.5rem;
  font-weight: 800;
  color: #10b981;
}

/* Pulsa suave */
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.pulse-soft {
  animation: pulse-soft 2s ease-in-out infinite;
}

/* Efeito shimmer/reflexo nos cards */
.card-reflection {
  position: relative;
  overflow: hidden;
}
.card-reflection::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Carousel horizontal infinito */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: 0.75rem;
  animation: slide 5s linear infinite;
}
.carousel-item {
  flex: 0 0 calc(33.333% - 0.5rem);
  min-width: calc(33.333% - 0.5rem);
}
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
  }
}
@media (max-width: 640px) {
  #hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  #hero .grid {
    gap: 2rem;
  }

  #hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
    line-height: 1.05;
  }

  .hero-demo-panel > div {
    height: 330px !important;
    padding: 1rem !important;
    border-radius: 1.15rem;
  }

  .hero-typewriter {
    white-space: normal;
  }

  .hero-chat-bubble {
    max-width: min(17rem, 88vw) !important;
    font-size: 0.78rem;
  }

  .carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticket-conversation-card,
  .ticket-chat-preview .client-message,
  .ticket-chat-preview .agent-message,
  .ticket-confirm-check,
  .ticket-live-notice,
  .ticket-live-notice i,
  .orbit-channel,
  .orbit-note,
  .hero-chat-bubble,
  .hero-typewriter.is-typing::after {
    animation: none !important;
    transition: none !important;
  }

  .ticket-live-notice {
    opacity: 1;
    transform: none;
  }

  .ticket-conversation-card,
  .ticket-chat-preview .client-message,
  .ticket-chat-preview .agent-message,
  .ticket-confirm-check {
    opacity: 1;
    transform: none;
  }
}

/* Cards de features com hover glow */
.feature-card {
  position: relative;
  transition: all 0.3s ease;
}
.feature-card:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

/* Revelação ao scroll */
.section-reveal {
  opacity: 0;
  animation: fade-in-up 0.8s ease-out forwards;
}

/* Elementos interativos */
.interactive-element {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.interactive-element:hover {
  transform: translateY(-5px);
}

/* Painel — agent card hover lift */
.painel-agent-card {
  transition: border-color .2s ease, box-shadow .2s ease, transform .18s ease;
}
.painel-agent-card:hover {
  transform: translateY(-2px);
}

/* Stat cards — número tabular */
.tabular-nums { font-variant-numeric: tabular-nums; }

/* Bolinhas pulsantes (loading) */
@keyframes dot-bounce {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin: 0 2px;
  animation: dot-bounce 1.4s infinite;
}
.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

/* FAQ */
.phone-country-select {
  width: 132px;
  min-width: 132px;
}

.password-input-shell {
  position: relative;
}

.password-input-shell .password-input-field {
  padding-right: 3rem;
}

.password-toggle-button {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border-radius: 0.75rem;
  color: #64748b;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.password-toggle-button:hover,
.password-toggle-button:focus-visible {
  color: #111827;
  background: #f1f5f9;
  outline: none;
}

.password-toggle-button:active {
  transform: translateY(-50%) scale(0.96);
}

.auth-field-feedback {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.35;
}

.field-valid {
  border-color: rgba(16, 185, 129, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.field-invalid {
  border-color: rgba(239, 68, 68, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.password-strength-box {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.42rem;
}

.password-strength-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.password-strength-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #94a3b8;
  transition: width .22s ease, background-color .22s ease;
}

.password-strength-box[data-level="fraca"] .password-strength-track span {
  background: #ef4444;
}

.password-strength-box[data-level="media"] .password-strength-track span {
  background: #f59e0b;
}

.password-strength-box[data-level="forte"] .password-strength-track span {
  background: #10b981;
}

.password-strength-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.2;
}

.password-strength-meta strong {
  color: #111827;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.password-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.password-rules span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  font-size: 0.68rem;
  line-height: 1;
  white-space: nowrap;
}

.password-rules span.is-ok {
  background: #ecfdf5;
  color: #047857;
  border-color: #bbf7d0;
}

.password-strength-box.compact .password-strength-meta {
  font-size: 0.7rem;
}

.user-menu-dropdown {
  animation: menu-pop .16s ease-out;
}

.user-menu-item {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  color: #374151;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
  transition: background-color .16s ease, color .16s ease;
}

.user-menu-item i {
  width: 1rem;
  color: #94a3b8;
  text-align: center;
}

.user-menu-item:hover {
  background: #f8fafc;
  color: #111827;
}

.user-menu-item.danger:hover {
  color: #dc2626;
  background: #fff1f2;
}

.user-menu-item.danger:hover i {
  color: #dc2626;
}

.account-info-tile {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  background: #f9fafb;
}

.account-info-tile span {
  display: block;
  margin-bottom: 0.25rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-info-tile strong {
  display: block;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.crm-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 2rem 1rem;
  border: 1px dashed #dbe3ea;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  text-align: center;
}

.crm-empty-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: #f1f5f9;
  color: #64748b;
}

.crm-empty-state strong {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 600;
}

.crm-empty-state p {
  max-width: 32rem;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.55;
}

.crm-empty-state span {
  color: #94a3b8;
  font-size: 0.75rem;
}

.agent-wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #f9fafb;
}

.agent-wizard-steps span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.75rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.agent-wizard-steps span.is-active {
  background: #111827;
  color: #ffffff;
}

#cadastroPaisTelefone,
#cadastroTelefone {
  height: 46px;
  min-height: 46px;
}

#cadastroTelefone {
  min-width: 0;
}

@keyframes menu-pop {
  from { opacity: 0; transform: translateY(-4px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.terms-content h3 {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.challenge-section {
  position: relative;
  overflow: hidden;
}

.challenge-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.035), transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.08), transparent 28%);
  pointer-events: none;
}

.challenge-section > div {
  position: relative;
}

.challenge-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.challenge-tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 58px;
  padding: 0.9rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #4b5563;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.challenge-tab i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f3f4f6;
  color: #ef4444;
  flex: 0 0 auto;
}

.challenge-tab:hover,
.challenge-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.45);
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.07);
}

.challenge-tab.is-active i {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.challenge-board {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #ffffff, #f9fafb);
  box-shadow: 0 26px 80px rgba(17, 24, 39, 0.08);
  padding: 1.25rem;
  min-height: 468px;
}

.challenge-board.is-switching {
  animation: challenge-panel-in 0.34s ease-out;
}

.challenge-board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.35rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
}

.challenge-metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.challenge-flow {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  gap: 1rem;
  align-items: center;
  padding: 2rem 0.4rem 1.3rem;
}

.challenge-source,
.challenge-agent,
.challenge-output > div,
.challenge-solution {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
}

.challenge-source {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  color: #991b1b;
  background: #fff7f7;
  border-color: #fecaca;
  min-height: 112px;
}

.challenge-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.challenge-dot.red {
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.12);
}

.challenge-dot.green {
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.challenge-route {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #10b981;
}

.challenge-route span {
  width: 46px;
  height: 2px;
  display: block;
  background: linear-gradient(90deg, #ef4444, #10b981);
}

.challenge-agent {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  min-height: 112px;
}

.challenge-agent-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  flex: 0 0 auto;
  animation: challenge-agent-pulse 2.8s ease-in-out infinite;
}

.challenge-agent p,
.challenge-source p,
.challenge-output p,
.challenge-solution p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.challenge-output {
  display: grid;
  gap: 0.9rem;
  padding: 0 0.4rem;
}

.challenge-output > div:first-child {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  color: #065f46;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.challenge-progress {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
}

.challenge-progress span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #10b981, #34d399);
  animation: challenge-progress 3s ease-in-out infinite;
}

.challenge-solution {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 1.2rem 0.4rem 0;
  padding: 1rem;
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.challenge-solution i {
  color: #34d399;
  margin-top: 0.2rem;
}

@keyframes challenge-panel-in {
  from { opacity: 0.78; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes challenge-agent-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.18); }
  50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

@keyframes challenge-progress {
  0%, 100% { width: 64%; }
  50% { width: 92%; }
}

@media (max-width: 767px) {
  .phone-country-select {
    width: 118px;
    min-width: 118px;
  }

  .challenge-board {
    min-height: auto;
    padding: 1rem;
  }

  .challenge-flow {
    grid-template-columns: 1fr;
    padding-top: 1.3rem;
  }

  .challenge-route {
    justify-content: center;
    transform: rotate(90deg);
    height: 28px;
  }

  .challenge-board-header {
    flex-direction: column;
  }
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item {
  transition: background-color 0.2s ease;
}

.faq-item:hover {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.04), transparent);
}

/* Demonstração do Agent Builder */
.nux-agent-workbench {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
  align-items: end;
  min-height: 520px;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.95) 42%),
    #ffffff;
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.08);
}

.workbench-sidebar,
.workbench-phone {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.workbench-sidebar {
  min-height: 430px;
  padding: 1.25rem;
}

.workbench-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4rem;
}

.builder-mode {
  position: relative;
  padding: 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.builder-mode.active {
  animation: builder-focus 4s ease-in-out infinite;
}

.builder-mode p {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.nux-cursor {
  display: inline-block;
  width: 2px;
  height: 1rem;
  margin-left: 0.2rem;
  background: #10b981;
  animation: cursor-blink 0.8s steps(2, start) infinite;
}

.builder-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 2rem;
}

.builder-tools span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #6b7280;
  font-size: 0.85rem;
  background: #fff;
  animation: tool-pulse 5s ease-in-out infinite;
}

.builder-tools span:nth-child(2) { animation-delay: 0.4s; }
.builder-tools span:nth-child(3) { animation-delay: 0.8s; }
.builder-tools span:nth-child(4) { animation-delay: 1.2s; }

.workbench-phone {
  height: 455px;
  overflow: hidden;
  align-self: center;
}

.phone-header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1.1rem;
  border-bottom: 1px solid #e5e7eb;
}

.phone-body {
  position: relative;
  height: calc(100% - 72px);
  padding: 1rem;
  overflow: hidden;
}

.phone-body::after {
  content: '';
  position: absolute;
  top: 1.2rem;
  right: 0.45rem;
  width: 6px;
  height: 72%;
  border-radius: 999px;
  background: linear-gradient(#d1d5db 0 18%, #9ca3af 18% 82%, #d1d5db 82%);
}

.phone-date {
  width: max-content;
  margin: 0 auto 1rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
}

.client-bubble {
  width: min(78%, 280px);
  margin-left: auto;
  margin-right: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px 16px 4px 16px;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: bubble-in 0.7s ease-out both;
}

.activity-stream {
  margin-top: 1rem;
  padding-right: 1rem;
}

.activity-line {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  min-height: 42px;
  color: #9ca3af;
  opacity: 0;
  transform: translateY(8px);
  animation: activity-in 0.6s ease-out forwards;
}

.activity-line:nth-child(1) { animation-delay: 0.7s; }
.activity-line:nth-child(2) { animation-delay: 1.3s; }
.activity-line:nth-child(3) { animation-delay: 1.9s; }
.activity-line:nth-child(4) { animation-delay: 2.5s; }
.activity-line:nth-child(5) { animation-delay: 3.1s; }

.activity-line span {
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  flex: 0 0 auto;
}

.activity-line p {
  font-size: 0.86rem;
  line-height: 1.35;
}

.activity-line.active {
  color: #7c3aed;
  font-weight: 700;
}

.activity-line.active span {
  border-color: #a78bfa;
  background: #a78bfa;
  animation: pulse-soft 1.5s ease-in-out infinite;
}

.activity-line.done {
  color: #4b5563;
}

.activity-line.done span {
  border-color: #10b981;
  background: #10b981;
  position: relative;
}

.activity-line.done span::after {
  content: '';
  position: absolute;
  left: 1px;
  top: 0;
  width: 4px;
  height: 7px;
  border: solid white;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

/* Demonstração prática: CRM 360 */
.practice-section {
  position: relative;
}

.practice-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(249, 250, 251, 0.88)),
    radial-gradient(circle at 18% 48%, rgba(16, 185, 129, 0.08), transparent 28%);
  pointer-events: none;
}

.practice-section > div {
  position: relative;
}

.practice-crm-stage {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.05fr);
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(17, 24, 39, 0.08);
}

.practice-orbit {
  position: relative;
  min-height: 470px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #ffffff, #f9fafb),
    radial-gradient(circle at center, rgba(16, 185, 129, 0.08), transparent 34%);
  overflow: hidden;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 330px);
  aspect-ratio: 1;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.orbit-ring::before,
.orbit-ring::after {
  content: '';
  position: absolute;
  border-radius: inherit;
}

.orbit-ring::before {
  inset: 18%;
  border: 1px dashed rgba(16, 185, 129, 0.22);
}

.orbit-ring::after {
  inset: -18%;
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.orbit-agent {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  gap: 0.1rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 28px;
  background: #ffffff;
  color: #111827;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  z-index: 2;
}

.orbit-agent i {
  color: #10b981;
  font-size: 1.55rem;
}

.orbit-agent span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
}

.orbit-channel {
  position: absolute;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
  animation: orbit-float 4.5s ease-in-out infinite;
}

.orbit-channel i {
  font-size: 1.35rem;
}

.orbit-channel.whatsapp { left: 50%; bottom: 15%; color: #22c55e; animation-delay: 0.1s; }
.orbit-channel.instagram { left: 13%; top: 50%; color: #db2777; animation-delay: 0.4s; }
.orbit-channel.email { right: 18%; top: 20%; color: #ef4444; animation-delay: 0.7s; }
.orbit-channel.calendar { right: 13%; top: 52%; color: #2563eb; animation-delay: 1s; }
.orbit-channel.crm { left: 22%; top: 20%; color: #10b981; animation-delay: 1.3s; }

.orbit-note {
  position: absolute;
  display: grid;
  gap: 0.1rem;
  min-width: 142px;
  padding: 0.72rem 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
  animation: note-in 5s ease-in-out infinite;
}

.orbit-note strong {
  font-size: 0.82rem;
  color: #111827;
}

.orbit-note span {
  font-size: 0.74rem;
  color: #6b7280;
}

.orbit-note.note-one {
  left: 7%;
  bottom: 15%;
}

.orbit-note.note-two {
  right: 6%;
  top: 12%;
  animation-delay: 1.7s;
}

.practice-crm-panel {
  position: relative;
  height: 540px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #f3f4f6;
  padding: 1.1rem;
}

.crm-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.crm-panel-header h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #111827;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.live-badge i {
  font-size: 0.45rem;
  animation: pulse-soft 1.5s ease-in-out infinite;
}

.crm-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.crm-search-row div,
.crm-search-row button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  background: #ffffff;
  color: #9ca3af;
  font-size: 0.86rem;
  padding: 0 0.9rem;
}

.crm-search-row button {
  color: #4b5563;
  cursor: default;
}

.ticket-scene {
  position: relative;
  min-height: 330px;
  display: grid;
  align-items: start;
  padding-top: 3.75rem;
}

.ticket-live-notice {
  position: absolute;
  left: 50%;
  top: 0.35rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 1rem);
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #047857;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
  font-size: 0.76rem;
  font-weight: 700;
  animation: simple-notice-cycle 7.2s ease-in-out infinite;
  pointer-events: none;
  white-space: nowrap;
}

.ticket-live-notice i {
  animation: ticket-bell 1.2s ease-in-out infinite;
}

.ticket-card {
  position: relative;
  padding: 0.95rem;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.04);
  transform-origin: center top;
}

.ticket-card.active {
  border-color: rgba(239, 68, 68, 0.22);
}

.ticket-conversation-card {
  border-color: rgba(16, 185, 129, 0.22);
  animation: simple-ticket-cycle 7.2s ease-in-out infinite;
  will-change: opacity, transform;
}

.ticket-topline {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.ticket-topline strong {
  display: block;
  color: #111827;
  font-size: 0.92rem;
}

.ticket-topline small {
  color: #9ca3af;
  font-size: 0.76rem;
}

.ticket-channel {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #ffffff;
  flex: 0 0 auto;
}

.ticket-channel.instagram { background: #ec4899; }
.ticket-channel.whatsapp { background: #22c55e; }
.ticket-channel.email { background: #ef4444; }

.ticket-card p {
  color: #6b7280;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ticket-chat-preview {
  display: grid;
  gap: 0.62rem;
  margin-top: 0.9rem;
}

.ticket-chat-preview p {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  line-height: 1.45;
}

.ticket-chat-preview .client-message {
  justify-self: start;
  background: #f1f5f9;
  color: #334155;
  animation: client-message-cycle 7.2s ease-in-out infinite;
}

.ticket-chat-preview .agent-message {
  justify-self: end;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #bbf7d0;
  animation: agent-message-cycle 7.2s ease-in-out infinite;
}

.ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.ticket-footer span,
.ticket-footer mark {
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.ticket-footer span {
  color: #6b7280;
  background: #f3f4f6;
}

.ticket-footer mark {
  background: transparent;
}

.ticket-footer .needs-human {
  color: #dc2626;
  background: #fee2e2;
}

.ticket-footer .resolved {
  color: #047857;
  background: #dcfce7;
}

.ticket-footer .running {
  color: #1d4ed8;
  background: #dbeafe;
}

.ticket-confirm-check {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
  opacity: 0;
  transform: scale(0.6);
  animation: confirm-check-cycle 7.2s ease-in-out infinite;
}

@keyframes orbit-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes note-in {
  0%, 100% { opacity: 0.72; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-5px); }
}

@keyframes simple-notice-cycle {
  0%, 7% { opacity: 0; transform: translate(-50%, -10px) scale(.96); }
  13%, 28% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  36%, 100% { opacity: 0; transform: translate(-50%, -8px) scale(.98); }
}

@keyframes ticket-bell {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  55% { transform: rotate(10deg); }
}

@keyframes simple-ticket-cycle {
  0%, 25% { opacity: 0; transform: translateY(18px) scale(.96); }
  33%, 78% { opacity: 1; transform: translateY(0) scale(1); }
  84%, 100% { opacity: 0; transform: translateY(12px) scale(.98); }
}

@keyframes client-message-cycle {
  0%, 35% { opacity: 0; transform: translateY(8px); }
  43%, 78% { opacity: 1; transform: translateY(0); }
  84%, 100% { opacity: 0; transform: translateY(5px); }
}

@keyframes agent-message-cycle {
  0%, 49% { opacity: 0; transform: translateY(8px); }
  57%, 78% { opacity: 1; transform: translateY(0); }
  84%, 100% { opacity: 0; transform: translateY(5px); }
}

@keyframes confirm-check-cycle {
  0%, 61% { opacity: 0; transform: scale(0.6); }
  68%, 78% { opacity: 1; transform: scale(1); }
  84%, 100% { opacity: 0; transform: scale(0.8); }
}

@media (max-width: 1024px) {
  .practice-crm-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .practice-crm-stage {
    min-height: auto;
    padding: 0.85rem;
    border-radius: 20px;
    gap: 1rem;
  }

  .practice-orbit {
    min-height: 310px;
  }

  .orbit-note {
    display: none;
  }

  .orbit-channel {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .orbit-agent {
    width: 82px;
    height: 82px;
    border-radius: 22px;
  }

  .practice-crm-panel {
    height: 390px;
    padding: 0.85rem;
    border-radius: 20px;
  }

  .crm-search-row {
    grid-template-columns: 1fr;
  }

  .ticket-live-notice {
    top: 0.2rem;
    justify-content: center;
    font-size: 0.7rem;
  }

  .ticket-scene {
    min-height: 250px;
    padding-top: 3.25rem;
  }

  .ticket-card {
    padding: 0.78rem;
    border-radius: 15px;
  }

  .ticket-card p {
    font-size: 0.78rem;
  }

  .ticket-topline strong {
    font-size: 0.84rem;
  }

  .ticket-footer {
    flex-wrap: wrap;
    padding-right: 2.2rem;
  }
}

/* Preços */
.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 476px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  border-color: rgba(16, 185, 129, 0.45);
}

.pricing-featured {
  box-shadow: 0 22px 60px rgba(16, 185, 129, 0.14);
}

.landing-plan-action {
  min-height: 52px;
  white-space: nowrap;
}

.landing-plan-action.is-current-plan {
  cursor: default;
  color: #10b981;
  background: #ffffff;
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: none;
}

@media (max-width: 767px) {
  .pricing-card {
    min-height: auto;
  }
}

@keyframes builder-focus {
  0%, 100% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); border-color: #e5e7eb; }
  45%, 65% { box-shadow: 0 16px 36px rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.55); }
}

@keyframes cursor-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes tool-pulse {
  0%, 100% { border-color: #e5e7eb; background: #fff; }
  50% { border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.04); }
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (max-width: 1024px) {
  .nux-agent-workbench {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .workbench-sidebar {
    min-height: auto;
  }

  .workbench-pill {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .nux-agent-workbench {
    padding: 0.8rem;
    border-radius: 18px;
  }

  .builder-tools {
    grid-template-columns: 1fr;
  }

  .workbench-phone {
    height: 430px;
  }

  .client-bubble {
    width: calc(100% - 1.5rem);
    margin-right: 0.6rem;
  }
}

/* Área logada mais minimalista */
#meuPainel {
  background: #f9fafb;
}

#meuPainel,
#meuPainel button,
#meuPainel input,
#meuPainel select,
#meuPainel textarea {
  font-weight: 400;
}

#meuPainel h1,
#meuPainel h2,
#meuPainel h3,
#meuPainel .font-bold {
  font-weight: 600 !important;
}

#meuPainel .font-semibold {
  font-weight: 500 !important;
}

#meuPainel .text-2xl,
#meuPainel .text-3xl {
  font-weight: 500 !important;
}

#meuPainel p,
#meuPainel span,
#meuPainel label {
  letter-spacing: 0;
}

#meuPainel [class*="bg-blue-50"],
#meuPainel [class*="bg-violet-50"],
#meuPainel [class*="bg-green-100"],
#meuPainel [class*="bg-nuxter-green/10"],
#meuPainel [class*="bg-nuxter-green/15"],
#meuPainel [class*="from-green-100"],
#meuPainel [class*="to-emerald-50"] {
  background: #f3f4f6 !important;
  background-image: none !important;
}

#meuPainel [class*="text-blue-"],
#meuPainel [class*="text-violet-"],
#meuPainel [class*="text-nuxter-green"],
#meuPainel [class*="group-hover:text-nuxter-green"] {
  color: #374151 !important;
}

#meuPainel .painel-agent-card:hover,
#meuPainel [class*="hover:border-nuxter-green"]:hover {
  border-color: #111827 !important;
}

#meuPainel .btn-glow::before,
#planoModal .btn-glow::before {
  display: none;
}

#planoModal .plano-option {
  box-shadow: none;
}

#planoModal .current-plan-option {
  cursor: default;
  border-color: rgba(16, 185, 129, 0.55) !important;
  background: rgba(16, 185, 129, 0.04) !important;
}

#planoModal button.current-plan-option {
  opacity: 1;
}

#planoModal h2,
#planoModal strong {
  font-weight: 600;
}

.checkout-loading-button {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  pointer-events: none;
}

.checkout-loading-mark {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 2px solid rgba(17, 24, 39, 0.15);
  border-top-color: #10b981;
  animation: checkout-spin 0.8s linear infinite;
  flex: 0 0 auto;
}

.checkout-loading-mark::after {
  content: "";
  position: absolute;
  inset: 0.28rem;
  border-radius: inherit;
  background: #10b981;
  opacity: 0.9;
}

.checkout-loading-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.checkout-loading-copy strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: inherit;
}

.checkout-loading-copy small {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(75, 85, 99, 0.78);
}

.checkout-redirect-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(17, 24, 39, 0.28);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.checkout-redirect-overlay.hidden {
  display: none;
}

.checkout-redirect-overlay.is-visible {
  opacity: 1;
}

.checkout-redirect-card {
  width: min(92vw, 390px);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
  padding: 1.4rem;
  color: #111827;
  transform: translateY(8px) scale(0.98);
  transition: transform 0.22s ease;
}

.checkout-redirect-overlay.is-visible .checkout-redirect-card {
  transform: translateY(0) scale(1);
}

.checkout-orbit {
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  border-radius: 1.1rem;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-orbit span {
  position: absolute;
  inset: -0.25rem;
  border-radius: 1.25rem;
  border: 2px solid rgba(16, 185, 129, 0.18);
  border-top-color: #10b981;
  animation: checkout-spin 1s linear infinite;
}

.checkout-orbit i {
  font-size: 1rem;
}

.checkout-redirect-kicker {
  margin: 0 0 0.25rem;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-redirect-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: 0;
}

.checkout-redirect-card p {
  margin: 0.45rem 0 0;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.45;
}

.checkout-progress {
  position: relative;
  overflow: hidden;
  height: 0.42rem;
  margin-top: 1.25rem;
  border-radius: 999px;
  background: #eef2f7;
}

.checkout-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #10b981, #34d399);
  animation: checkout-progress 1.25s ease-in-out infinite;
}

@keyframes checkout-spin {
  to { transform: rotate(360deg); }
}

@keyframes checkout-progress {
  0% { transform: translateX(-115%); }
  55% { transform: translateX(90%); }
  100% { transform: translateX(250%); }
}

#planoAvisoPainel .plan-actions {
  flex: 0 0 auto;
}

#planoAvisoPainel .plan-actions .plano-option {
  min-width: 180px;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.2;
}

#planoAvisoPainel .plan-actions > * {
  min-width: 180px;
}

#planoAvisoPainel .plan-actions .current-plan-badge {
  margin-top: 0;
  color: inherit;
}

@media (max-width: 640px) {
  .agent-wizard-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-wizard-steps span {
    justify-content: flex-start;
    font-size: 0.72rem;
  }

  #cadastroPaisTelefone {
    width: 112px;
    min-width: 112px;
  }

  #cadastroTelefone {
    font-size: 0.86rem;
  }

  #planoAvisoPainel .plan-actions {
    width: 100%;
  }

  #planoAvisoPainel .plan-actions .plano-option,
  #planoAvisoPainel .plan-actions > * {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  #agentDashboard .w-72 {
    width: 4.75rem !important;
  }

  #agentDashboard .w-72 nav,
  #agentDashboard .w-72 > div:last-child {
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
  }

  #agentDashboard .navDashBtn {
    justify-content: center;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  #agentDashboard .navDashBtn i,
  #btnDeletarAgente i,
  #btnLogout i {
    margin: 0;
  }

  #agentDashboard .navDashBtn,
  #btnDeletarAgente,
  #btnLogout {
    font-size: 0;
  }

  #agentDashboard .navDashBtn i,
  #btnDeletarAgente i,
  #btnLogout i {
    font-size: 0.95rem;
  }

  #crmContatos .flex.gap-3 {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  #loginModalCard,
  #resetSenhaModalCard,
  #alterarSenhaModalCard,
  #confirmActionCard {
    max-width: 100%;
    border-radius: 1.1rem;
  }

  #meuPainel header {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    min-height: auto;
    gap: 0.75rem;
  }

  #painelAgentes,
  #painelConta,
  #crmVisao,
  #crmContatos,
  #crmPipeline,
  #historicoSection {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #painelWelcomeBar .grid.grid-cols-3 {
    grid-template-columns: 1fr;
  }

  #meuPainel .painelTabBtn {
    flex: 1 0 auto;
    justify-content: center;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    white-space: nowrap;
  }

  #meuPainel .max-w-5xl.mx-auto.px-6.flex {
    overflow-x: auto;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #painelAgentesCardsGrid,
  #painelTiposGrid {
    grid-template-columns: 1fr !important;
  }

  #agentDashboard > .flex-1.overflow-hidden.flex {
    flex-direction: column;
    overflow: hidden;
  }

  #agentDashboard .w-72 {
    width: 100% !important;
    flex: 0 0 auto;
    max-height: 10.5rem;
    border-right: 0 !important;
    border-bottom: 1px solid #e5e7eb;
    overflow-y: hidden;
  }

  #agentDashboard .w-72 nav {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.75rem !important;
  }

  #agentDashboard .w-72 > div:last-child {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0 0.75rem 0.75rem !important;
    border-top: 0 !important;
  }

  #agentDashboard .navDashBtn,
  #btnDeletarAgente,
  #btnLogout {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 3rem;
    min-height: 2.75rem;
    font-size: 0 !important;
    justify-content: center;
    padding: 0.7rem 0.8rem !important;
  }

  #agentDashboard .navDashBtn i,
  #btnDeletarAgente i,
  #btnLogout i {
    font-size: 1rem !important;
  }

  #agentDashboard .flex-1.overflow-y-auto {
    min-height: 0;
  }

  #agentDashboard .sticky.top-0 {
    position: relative;
  }

  .ticket-footer,
  #crmAtividadeRecente .flex.items-center.justify-between,
  #crmAtividadeRecente .flex.items-center.gap-4 {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticket-conversation-card,
  .ticket-chat-preview .client-message,
  .ticket-chat-preview .agent-message,
  .ticket-confirm-check,
  .ticket-live-notice,
  .ticket-live-notice i,
  .orbit-channel,
  .orbit-note {
    animation: none !important;
    transition: none !important;
  }

  .ticket-live-notice {
    opacity: 1 !important;
    transform: none !important;
  }

  .ticket-conversation-card,
  .ticket-chat-preview .client-message,
  .ticket-chat-preview .agent-message,
  .ticket-confirm-check {
    opacity: 1 !important;
    transform: none !important;
  }
}
