.faq-container-btn {
  position: fixed;
  bottom: 90px;
  right: 60px;
  z-index: 99999;
  touch-action: none;
  user-select: none;
}

.faq-container-btn.dragging {
  transition: none !important;
}

.faq-floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--violet, #6b48e6);
  border: 2px solid var(--violet, #6b48e6);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: .9rem;
  cursor: grab;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.faq-floating-btn:active {
  cursor: grabbing;
}

.faq-floating-btn:hover {
  background: var(--violet, #6b48e6);
  color: #fff;
}

.faq-icon {
  width: 18px;
  height: 18px;
}

.faq-toggle {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #333;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.faq-container-btn.minimizado .faq-text {
  display: none;
}

.faq-container-btn.minimizado .faq-floating-btn {
  padding: 10px;
  justify-content: center;
}

.support-widget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.support-widget-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--violet, #6b48e6);
}

.support-widget-actions a:first-child {
  background: var(--violet, #6b48e6);
  color: #fff;
}

.support-widget-actions a:last-child {
  background: #fff;
  color: var(--violet, #6b48e6);
}

.custom-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2147483646;
}

.custom-modal.show {
  display: block;
}

.custom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.52);
}

.custom-modal-content {
  position: relative;
  margin: 82px auto 0;
  width: min(95%, 1100px);
  max-height: 75vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transform: translateY(20px);
  opacity: 0;
  animation: faqFadeIn .3s ease forwards;
}

@keyframes faqFadeIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.custom-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  cursor: pointer;
  font-weight: 800;
  z-index: 2;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item.open {
  border-color: var(--violet, #6b48e6);
  box-shadow: 0 10px 26px rgba(108,72,230,.12);
}

.faq-question {
  padding: 1.1rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question span {
  font-size: 1.2rem;
  transition: transform .25s ease;
}

.faq-item.open .faq-question span {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .2s ease;
  opacity: 0;
  padding: 0 1.2rem;
}

.faq-item.open .faq-answer {
  max-height: 520px;
  opacity: 1;
  padding-bottom: 1.2rem;
}

.faq-answer p {
  margin-top: .6rem;
  color: #444;
  line-height: 1.6;
  font-size: .95rem;
}

@media (max-width: 768px) {
  .faq-container-btn {
    bottom: 80px;
    right: 32px;
  }

  .faq-floating-btn {
    padding: 8px 14px;
    font-size: .8rem;
  }

  .custom-modal-content {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    box-sizing: border-box;
    margin: 58px 0 0;
    border-radius: 0;
    padding: 20px 16px 84px;
  }
}
