/* ===========================
   ANTES DE COMEÇAR (FAQ)
=========================== */

.faq-page {
  min-height: 100vh;

  background:
    linear-gradient(rgba(8, 8, 8, 0.5), rgba(8, 8, 8, 0.65)),
    url("../images/services/background.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  padding-bottom: 160px;
}

/* HERO */

.faq-hero {
  max-width: 900px;

  margin: 0 auto;

  padding: 190px 24px 80px;

  animation: aboutFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-eyebrow {
  margin-bottom: 24px;

  color: rgba(255, 195, 120, 0.85);

  font-size: 22px;
  font-weight: 600;

  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.faq-title {
  margin: 0 0 30px;

  background: linear-gradient(
    100deg,
    #8a8a8a 0%,
    #e8e8e8 20%,
    #ffffff 35%,
    #9a9a9a 50%,
    #d4d4d4 65%,
    #ffffff 80%,
    #b0b0b0 100%
  );
  background-size: 200% 100%;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.7),
    0 16px 34px rgba(0, 0, 0, 0.5);

  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;

  animation: titleShine 7s ease-in-out infinite;
}

.faq-intro {
  max-width: 640px;

  margin: 0 0 20px;

  color: var(--text-secondary);

  font-size: 16px;
  font-weight: 200;
  line-height: 1.7;
}

/* CATEGORIAS */

.faq-category {
  max-width: 1200px;

  margin: 0 auto;

  padding: 50px 24px 10px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  opacity: 0;
  transform: translateY(20px);
  animation: aboutFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.faq-category:nth-of-type(1) {
  animation-delay: 0.05s;
}
.faq-category:nth-of-type(2) {
  animation-delay: 0.1s;
}
.faq-category:nth-of-type(3) {
  animation-delay: 0.15s;
}
.faq-category:nth-of-type(4) {
  animation-delay: 0.2s;
}
.faq-category:nth-of-type(5) {
  animation-delay: 0.25s;
}

.faq-category-title {
  margin: 0 0 34px;

  color: rgba(255, 195, 120, 0.8);

  font-size: 22px;
  font-weight: 600;

  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.faq-row {
  display: flex;
  flex-wrap: wrap;

  gap: 40px;

  padding-bottom: 40px;
}

.faq-item {
  flex: 1 1 260px;

  min-width: 220px;

  padding-left: 24px;

  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:first-child {
  padding-left: 0;

  border-left: none;
}

.faq-number {
  margin-bottom: 14px;

  color: rgba(255, 195, 120, 0.55);

  font-size: 22px;
  font-weight: 600;
}

.faq-question {
  margin: 0 0 14px;

  color: #fff;

  font-size: 16px;
  font-weight: 600;

  line-height: 1.4;
}

.faq-answer {
  margin: 0 0 12px;

  color: var(--text-secondary);

  font-size: 14px;
  line-height: 1.65;
}

.faq-answer:last-child {
  margin-bottom: 0;
}

.faq-checklist {
  margin: 0;
  padding: 0;

  list-style: none;
}

.faq-checklist li {
  position: relative;

  margin-bottom: 8px;
  padding-left: 22px;

  color: var(--text-secondary);

  font-size: 14px;
  line-height: 1.5;
}

.faq-checklist li::before {
  content: "✓";

  position: absolute;
  left: 0;

  color: rgba(255, 195, 120, 0.85);

  font-weight: 700;
}

/* FECHAMENTO */

.faq-closing {
  max-width: 1200px;

  margin: 60px auto 0;

  padding: 60px 24px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

  opacity: 0;
  transform: translateY(20px);
  animation: aboutFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.3s;
}

.faq-closing-title {
  margin: 0 0 20px;

  color: rgba(255, 195, 120, 0.8);

  font-size: 18px;
  font-weight: 700;

  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.faq-closing p {
  margin: 0 0 12px;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.65;
}

.faq-closing p:last-child {
  margin-bottom: 0;
}

.faq-closing-right p {
  color: rgba(255, 255, 255, 0.85);

  font-size: 20px;
  line-height: 1.55;
}

.faq-closing-right p.faq-highlight {
  color: rgba(255, 195, 120, 0.9);
}

.faq-cta {
  position: relative;

  overflow: hidden;

  margin-top: 28px;
  padding: 16px 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  border: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);

  background: rgba(255, 255, 255, 0.015);

  color: #ffffff;

  text-decoration: none;
  text-transform: uppercase;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.18em;

  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.02),
    0 8px 20px rgba(0, 0, 0, 0.28);

  transition:
    border-color 0.6s ease,
    background 0.6s ease,
    box-shadow 0.6s ease,
    transform 0.6s ease;
}

.faq-cta-arrow {
  transition: transform 0.4s ease;
}

.faq-cta:hover {
  background: rgba(255, 255, 255, 0.025);

  border-color: var(--accent);

  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.32),
    0 0 30px rgba(255, 255, 255, 0.1),
    0 0 24px rgba(255, 195, 120, 0.3);

  transform: translateY(-6px);
}

.faq-cta:hover .faq-cta-arrow {
  transform: translateX(6px);
}

/* BOTÃO FLUTUANTE "DÚVIDAS?" */

.help-button {
  position: fixed;

  right: 28px;
  bottom: 28px;

  z-index: 900;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 14px 22px;

  border: 1px solid rgba(255, 195, 120, 0.4);
  border-radius: 999px;

  background: rgba(15, 13, 11, 0.7);
  backdrop-filter: blur(6px);

  color: rgba(255, 255, 255, 0.85);

  text-decoration: none;
  text-transform: uppercase;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.16em;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.help-button::before {
  content: "?";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 16px;
  height: 16px;

  border: 1px solid rgba(255, 195, 120, 0.6);
  border-radius: 50%;

  color: rgba(255, 195, 120, 0.9);

  font-size: 10px;
}

.help-button:hover {
  border-color: rgba(255, 195, 120, 0.85);

  box-shadow: 0 10px 34px rgba(255, 195, 120, 0.18);

  transform: translateY(-3px);
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {
  .faq-closing {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .faq-hero {
    padding: 140px 20px 50px;
  }

  .faq-title {
    font-size: 30px;
  }

  .faq-row {
    flex-direction: column;
    gap: 28px;
  }

  .faq-item {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .faq-item:first-child {
    padding-top: 0;
    border-top: none;
  }

  .help-button {
    right: 16px;
    bottom: 16px;

    padding: 12px 18px;

    font-size: 10px;
  }
}
