/* ========================================================= RESET ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================================================= BASE ========================================================= */

html,
body {
  width: 100%;
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: #f8f8f8;
  color: #1b2736;
}

body {
  overflow-x: hidden;
}

/* ========================================================= PÁGINA FAQ ========================================================= */

.faq-page {
  width: 100%;
  min-height: 100vh;
  padding: 42px 20px 64px;
  background: #f8f8f8;
}

.faq-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* ========================================================= VOLTAR ========================================================= */

.faq-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.faq-back-link:hover {
  color: #1b2736;
  transform: translateX(-2px);
}

.faq-back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

/* ========================================================= HEADER ========================================================= */

.faq-header {
  margin-bottom: 26px;
}

.faq-header h1 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.faq-header p {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: #64748b;
}

/* ========================================================= FAQ LISTA ========================================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #d7dee3;
  border-radius: 16px;
  background: #f8f8f8;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #c9d2d9;
}

.faq-item.is-open {
  background: #f8f8f8;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.faq-question span:first-child {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: #0f172a;
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  color: #374151;
  transition: transform 0.2s ease;
}

/* ========================================================= RESPOSTA ========================================================= */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer-content {
  padding: 0 18px 18px;
}

.faq-answer-content p {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: #64748b;
}

/* ========================================================= FOOTER ========================================================= */

.faq-footer {
  margin-top: 32px;
  text-align: center;
}

.faq-footer p {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  color: #b2bcc8;
}

.faq-footer a {
  color: #1b2736;
  text-decoration: none;
  font-weight: 600;
}

.faq-footer a:hover {
  text-decoration: underline;
}

/* ========================================================= RESPONSIVO ========================================================= */

@media (max-width: 768px) {
  .faq-page {
    padding: 28px 16px 48px;
  }

  .faq-container {
    max-width: 100%;
  }

  .faq-back-link {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .faq-header {
    margin-bottom: 22px;
  }

  .faq-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .faq-header p {
    font-size: 14px;
  }

  .faq-question {
    padding: 16px 16px;
  }

  .faq-question span:first-child {
    font-size: 14px;
  }

  .faq-answer-content {
    padding: 0 16px 16px;
  }

  .faq-answer-content p {
    font-size: 14px;
  }

  .faq-footer {
    margin-top: 28px;
  }

  .faq-footer p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .faq-page {
    padding: 24px 14px 40px;
  }

  .faq-back-link {
    font-size: 13px;
    gap: 6px;
  }

  .faq-back-icon {
    font-size: 16px;
  }

  .faq-header h1 {
    font-size: 22px;
  }

  .faq-header p {
    font-size: 13px;
  }

  .faq-question {
    padding: 15px 14px;
  }

  .faq-question span:first-child {
    font-size: 13px;
  }

  .faq-chevron {
    font-size: 16px;
  }

  .faq-answer-content {
    padding: 0 14px 15px;
  }

  .faq-answer-content p {
    font-size: 13px;
    line-height: 1.65;
  }
}