/* ==================================| FAQ SECTION |=============================== */
.faq-section {
  position: relative;
  z-index: 2;
  margin: 10px auto 6px auto;
  padding: 4px 20px 2px;
  max-width: 900px;
}

.faq-section h2 {
  margin-bottom: 10px;
}

/* ==================================| FAQ BOX |================================== */
.faq-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: var(--faq-box-bg);
  border: 1px solid var(--faq-box-border);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 14px var(--faq-box-glow),
    0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition:
  opacity 1s ease,
  box-shadow 1s ease,
  filter 1s ease,
  background 1s ease,
  border-color 1s ease;
}

.faq-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--faq-box-sheen-1) 30%,
    var(--faq-box-sheen-2) 50%,
    var(--faq-box-sheen-3) 70%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.9;
}

.faq-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--faq-box-topline),
    transparent
  );
  pointer-events: none;
}

/* ====================================| FAQ CONENT |==================================== */
.faq-content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap; /* deixa quebrar quando apertar */
  position: relative;
  z-index: 1;
}

.faq-line {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
  color: var(--faq-text);
  font-size: 1rem;
  letter-spacing: 0.2px;
  text-shadow: none;
}

.faq-label {
  font-weight: 700;
  color: #ff204f;
  margin-right: 8px;
  text-shadow:
    0 0 8px rgba(255, 32, 79, 0.28),
    0 0 14px rgba(255, 32, 79, 0.14);
}

/* separador só quando tiver espaço */
.faq-line + .faq-line {
  position: relative;
  padding-left: 18px;
}

.faq-line + .faq-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  transform: translateY(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    var(--faq-divider),
    transparent
  );
}

/* ==================================| FAQ ARROWS |============================ */
.faq-arrow {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: var(--faq-arrow-text);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, var(--faq-arrow-bg-1), var(--faq-arrow-bg-2));
  border: 1px solid var(--faq-arrow-border);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 12px rgba(255,255,255,0.04);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
  position: relative;
  z-index: 1;
}

.faq-arrow:hover {
  transform: scale(1.08);
  border-color: var(--faq-arrow-hover-border);
  background: radial-gradient(circle at 30% 30%, var(--faq-arrow-hover-bg-1), var(--faq-arrow-hover-bg-2));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 16px var(--faq-arrow-hover-glow);
}

.faq-arrow:active {
  transform: scale(0.94);
}

.faq-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* =================================| TIGHT SCREEN |============================ */
@media (max-width: 900px) {
  .faq-box {
    gap: 10px;
    padding: 12px 14px;
  }

  .faq-content {
    justify-content: flex-start;
    gap: 10px;
  }

  .faq-line {
    font-size: 0.95rem;
  }
}

@media (max-width: 700px) {
  .faq-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .faq-line + .faq-line {
    padding-left: 0;
  }

  .faq-line + .faq-line::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .faq-section {
    margin: 8px auto 4px auto;
    padding: 2px 10px 0;
  }

  .faq-box {
    padding: 12px 10px;
  }

  .faq-line {
    font-size: 0.9rem;
  }

  .faq-arrow {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
  
  .faq-end-message {
  width: 100%;
  max-width: 100%;
  text-align: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 20, 65, 0.16), rgba(255, 31, 90, 0.06));
  border: 1px solid rgba(255, 31, 90, 0.22);
  box-shadow:
    0 0 18px rgba(201, 20, 65, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

.faq-end-message .faq-label {
  display: none;
}

.faq-end-message #faq-question {
  display: block;
  width: 100%;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ff4d7a;
  text-shadow:
    0 0 10px rgba(255, 31, 90, 0.18),
    0 0 22px rgba(255, 31, 90, 0.08);
}
}


/* ================= FAQ FINAL RIDDLE ================= */

.faq-riddle-message {
  width: 100%;
  max-width: 100%;
  text-align: center;
  justify-content: center;
  padding: 18px 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(255, 31, 90, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(12, 8, 15, 0.92), rgba(35, 0, 18, 0.78));
  border: 1px solid rgba(255, 31, 90, 0.28);
  box-shadow:
    0 0 22px rgba(201, 20, 65, 0.14),
    inset 0 0 0 1px rgba(255,255,255,0.035);
}

.faq-riddle-message .faq-label {
  display: none;
}

.faq-riddle-message #faq-question {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: 0.35px;
  color: rgba(255, 235, 244, 0.95);
  text-align: center;
  text-shadow:
    0 0 10px rgba(255, 31, 90, 0.18),
    0 0 24px rgba(255, 31, 90, 0.08);
}

.faq-riddle-mark {
  font-size: 1.05rem;
  color: #ff4d7a;
  opacity: 0.9;
  margin-bottom: 2px;
}

.faq-riddle-title {
  margin-bottom: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 143, 189, 0.72);
}

.faq-riddle-line {
  display: block;
  font-size: 1.08rem;
  font-weight: 600;
}

.faq-riddle-divider {
  width: min(180px, 70%);
  height: 1px;
  margin: 8px 0 4px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 31, 90, 0.55),
    transparent
  );
}

.faq-riddle-hint {
  font-size: 0.9rem;
  letter-spacing: 1.6px;
  color: rgba(255, 205, 224, 0.78);
  font-style: italic;
}

@media (max-width: 520px) {
  .faq-riddle-message {
    padding: 16px 14px;
  }

  .faq-riddle-message #faq-question {
    font-size: 0.98rem;
    gap: 5px;
  }

  .faq-riddle-line {
    font-size: 1rem;
  }

  .faq-riddle-title {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }
}
.faq-line.faq-riddle-message .faq-label,
.faq-line.faq-end-message .faq-label {
  display: none !important;
}
/* ================= FAQ SECRET NEXT ARROW ================= */

.faq-arrow.faq-secret-pulse {
  opacity: 1 !important;
  cursor: pointer !important;
  color: #fff;
  border-color: rgba(255, 31, 90, 0.75);
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.22), rgba(255,31,90,0.16)),
    rgba(255, 31, 90, 0.08);
  animation: faqSecretPulse 1.25s ease-in-out infinite;
}

.faq-arrow.faq-secret-pulse:hover {
  transform: scale(1.12);
  box-shadow:
    0 0 18px rgba(255, 31, 90, 0.42),
    0 0 34px rgba(255, 31, 90, 0.22),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

@keyframes faqSecretPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(255, 31, 90, 0.18),
      0 0 22px rgba(255, 31, 90, 0.08);
  }

  50% {
    transform: scale(1.13);
    box-shadow:
      0 0 20px rgba(255, 31, 90, 0.55),
      0 0 42px rgba(255, 31, 90, 0.28),
      inset 0 0 0 1px rgba(255,255,255,0.08);
  }
}