:root {
  --background: #f5f5f5;
  --foreground: #1f1f1f;
  --card: #ffffff;
  --card-foreground: #1f1f1f;
  --primary: #d80073;
  --primary-foreground: #ffffff;
  --muted: #ededed;
  --muted-foreground: #737373;
  --accent: #fce4f2;
  --accent-foreground: #d80073;
  --border: #e0e0e0;
  --radius: 0.75rem;
  --success-bg: #fce4f2;
}

/* ========== TOGGLE BUTTON ========== */
.quiz-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 9999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s;
}

.quiz-toggle-btn:hover {
  transform: scale(1.05);
}

.quiz-toggle-btn:active {
  transform: scale(0.95);
}

.quiz-toggle-btn svg {
  width: 20px;
  height: 20px;
}

/* ========== CARD ========== */
.quiz-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 340px;
  max-height: 520px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
}

@media (max-width: 991px) {
  .quiz-card,
  .quiz-toggle-btn {
    right: 15px;
    bottom: 15px;
  }
}
.quiz-card.hidden {
  display: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========== HEADER ========== */
.quiz-header {
  position: relative;
  padding: 16px 16px 8px;
  text-align: left;
}

.quiz-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  padding: 4px;
  border-radius: 9999px;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.quiz-close-btn:hover {
  color: var(--foreground);
  background: var(--muted);
}

.quiz-close-btn svg {
  width: 16px;
  height: 16px;
}

/* ========== PROGRESS ========== */
.quiz-progress-badge {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 15px;
  border-radius: 9999px;
  margin-bottom: 15px;
}

.quiz-progress-bar-2 {
  display: flex;
  gap: 4px;
}

.quiz-progress-dot {
  flex: 1;
  height: 3px;
  border-radius: 9999px;
  background: var(--muted);
  transition: background 0.3s;
}

.quiz-progress-dot.active {
  background: var(--primary);
}

/* ========== CONTENT ========== */
.quiz-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px 8px;
}

.quiz-title {
  font-size: 22px !important;
  font-weight: 700;
  color: var(--card-foreground);
  margin-top: 8px;
}

.quiz-subtitle {
  font-size: 14px !important;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

/* ========== OPTIONS (multiple/single) ========== */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 16px;
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
  width: 100%;
}

.quiz-option:hover {
  border-color: rgba(214, 22, 139, 0.4);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: var(--accent);
}

/* Checkbox */
.quiz-checkbox {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid rgba(115, 115, 115, 0.4);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.quiz-option.selected .quiz-checkbox {
  border-color: var(--primary);
  background: var(--primary);
}

.quiz-checkbox svg {
  display: none;
}

.quiz-option.selected .quiz-checkbox svg {
  display: block;
}

/* Radio */
.quiz-radio {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid rgba(115, 115, 115, 0.4);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}

.quiz-option.selected .quiz-radio {
  border-color: var(--primary);
}

.quiz-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--primary);
  display: none;
}

.quiz-option.selected .quiz-radio-dot {
  display: block;
}

.quiz-option-text {
  flex: 1;
}

.quiz-option-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--card-foreground);
}

.quiz-option-desc {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* ========== IMAGE OPTIONS ========== */
.quiz-image-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-image-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--card);
  width: 100%;
  text-align: left;
  padding-left: 0;
}

.quiz-image-option:hover {
  border-color: rgba(214, 22, 139, 0.4);
}

.quiz-image-option.selected {
  border-color: var(--primary);
  background: rgba(252, 228, 242, 0.5);
}

.quiz-image-option img {
  width: 96px;
  height: 96px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.quiz-image-option .quiz-option-text {
  flex: 1;
  padding-right: 12px;
}

.quiz-image-option .quiz-checkbox {
  margin-right: 12px;
}

.quiz-image-option.selected .quiz-checkbox {
  border-color: var(--primary);
  background: var(--primary);
}

.quiz-image-option svg {
  display: none;
}

.quiz-image-option.selected .quiz-checkbox svg {
  display: block;
}

/* ========== TEXTAREA ========== */
.quiz-textarea {
  width: 100%;
  min-height: 120px;
  resize: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 12px;
  font-size: 14px;
  color: var(--card-foreground);
  transition: border-color 0.15s;
  outline: none;
}

.quiz-textarea::-moz-placeholder {
  color: var(--muted-foreground);
}

.quiz-textarea::placeholder {
  color: var(--muted-foreground);
}

.quiz-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(214, 22, 139, 0.1);
}

/* ========== FORM INPUTS ========== */
.quiz-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-input-wrap {
  position: relative;
}

.quiz-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-foreground);
}

.quiz-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 12px 16px 12px 40px;
  font-size: 14px;
  color: var(--card-foreground);
  transition: border-color 0.15s;
  outline: none;
}

.quiz-input::-moz-placeholder {
  color: var(--muted-foreground);
}

.quiz-input::placeholder {
  color: var(--muted-foreground);
}

.quiz-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(214, 22, 139, 0.1);
}

/* ========== SUCCESS ========== */
.quiz-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0;
  gap: 12px;
}

.quiz-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-success-icon svg {
  height: auto;
}

.quiz-success-badge {
  display: inline-block;
  border: 1px solid #c3fab8;
  background-color: #e5ffe5;
  color: #348523;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 9999px;
}

.quiz-success-title {
  font-size: 22px;
  font-weight: 700;
  color: #d80073;
  line-height: 1.3;
}

.quiz-success-text {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ========== RESULT IMAGE ========== */
.quiz-result-image {
  width: 100%;
  margin: 8px 0;
}
.quiz-result-image img {
  width: 100%;
  max-height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
}

/* ========== RESULT CTA ========== */
.quiz-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 9999px;
  margin-top: 4px;
  transition: opacity 0.15s;
}
.quiz-result-cta:hover {
  opacity: 0.9;
  text-decoration: none;
}
.quiz-result-cta svg {
  flex-shrink: 0;
}

/* ========== FOOTER ========== */
.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.quiz-back-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
}

.quiz-back-btn:hover {
  text-decoration: underline;
}

.quiz-back-btn svg {
  width: 14px;
  height: 14px;
}

.quiz-next-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  width: 180px;
  height: 48px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

.quiz-next-btn:hover {
  opacity: 0.9;
}

.quiz-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ========== INLINE MODE (shortcode) ========== */
.quiz-inline-container {
  width: 100%;
  margin: 24px 0;
  display: flex;
  justify-content: center;
}

.quiz-card--inline {
  position: static;
  width: 100%;
  max-width: 520px;
  max-height: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  animation: none;
}
.quiz-card--inline .quiz-header {
  padding: 16px 16px 12px;
}
.quiz-card--inline .quiz-content {
  max-height: none;
  overflow-y: visible;
}

/* ========== INLINE WRAPPER WITH SIDEBAR IMAGE ========== */
.quiz-inline-wrapper {
  display: flex;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.quiz-inline-wrapper .quiz-card--inline {
  border-radius: 0;
  box-shadow: none;
  flex: 1;
  max-width: none;
}

.quiz-inline-image {
  flex: 0 0 40%;
  min-height: 300px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

@media (max-width: 600px) {
  .quiz-inline-wrapper {
    flex-direction: column;
  }
  .quiz-inline-image {
    flex: none;
    height: 200px;
    width: 100%;
  }
}
/* ========== RESULT SECTIONS (multi-result) ========== */
.quiz-result-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 4px 0 8px;
  text-align: left;
}

.quiz-result-section-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #000 !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.3;
}

/* Ferramentas grid (2 colunas) */
.quiz-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 768px) {
  .quiz-result-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.quiz-result-tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--card);
}

.quiz-result-tool-icon img {
  width: 36px;
  height: 36px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 4px;
  border-radius: 8px;
}

.quiz-result-tool-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--card-foreground) !important;
  margin: 0 !important;
  line-height: 1.3;
}

.quiz-result-tool-text {
  font-size: 12px !important;
  color: var(--muted-foreground) !important;
  margin: 0 !important;
  line-height: 1.4;
}

/* Oferta especial card */
.quiz-offer-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
}

.quiz-offer-icon img {
  width: 40px;
  height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 8px;
}

.quiz-offer-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--card-foreground) !important;
  margin: 0 !important;
  line-height: 1.3;
}

.quiz-offer-text {
  font-size: 13px !important;
  color: var(--muted-foreground) !important;
  margin: 0 !important;
  line-height: 1.4;
}

.quiz-offer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding-top: 10px;
  margin-top: 2px;
  border-top: 1px solid var(--border);
}
.quiz-offer-cta:hover {
  text-decoration: none;
  opacity: 0.8;
}/*# sourceMappingURL=style.css.map */