/* SMART FLOATING BAR */
.smart-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1100px;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid var(--border);
  border-radius: 20px;

  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);

  padding: 18px 24px;
  z-index: 9999;

  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { transform: translate(-50%, 40px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.smart-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.smart-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.smart-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 22px;
}

.smart-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
}

.smart-text span {
  font-size: 14px;
  color: var(--text-muted);
}

.smart-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-smart {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 22px;
  margin-right: 22px;
  font-size: 14px;
  font-weight: 600;

  background: var(--text-strong);
  color: white;

  border-radius: 12px;
  text-decoration: none;

  transition: all 0.25s ease;
}

.btn-smart svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-smart:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
}

.btn-smart:hover svg {
  transform: translateX(4px);
}

.smart-close {
  position: absolute;
  top: 10px;
  right: 14px;

  background: rgba(15,23,42,0.06);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);

  transition: all 0.2s ease;
}

.smart-close:hover {
  background: rgba(15,23,42,0.12);
  color: var(--text-strong);
}

@media (max-width: 900px) {

  .smart-bar {
    width: 94%;
    padding: 16px;
    bottom: 16px;
    border-radius: 18px;
  }

  .smart-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .smart-left {
    gap: 14px;
  }

  .smart-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .smart-text strong {
    font-size: 15px;
  }

  .smart-text span {
    font-size: 13px;
  }

  .smart-right {
    justify-content: space-between;
  }

  .btn-smart {
    flex: 1;
    justify-content: center;
    margin-right: 0;
  }
}

@media (max-width: 480px) {

  .smart-bar {
    width: 95%;
    padding: 14px;
    bottom: 12px;
  }

  .smart-left {
    align-items: flex-start;
  }

  .smart-icon {
    display: none; /* remove ícone para ganhar espaço */
  }

  .smart-text strong {
    font-size: 14px;
  }

  .smart-text span {
    font-size: 12px;
  }

  .smart-right {
    flex-direction: column;
    gap: 10px;
  }

  .btn-smart {
    width: 100%;
    padding: 12px;
    margin-right: 0;
  }

  .smart-close {
    align-self: flex-end;
  }
}
