/*!
 * Matrix Print — FAQ Aluguel de Impressora
 * Arquivo: mp-faq-aluguel.css
 * Prefixo: mpfa-
 */

/* ── SEÇÃO ── */
.mpfa-section {
  background: #F4F4F4;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.mpfa-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,26,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,26,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── CONTAINER ── */
.mpfa-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ── HEADING ── */
.mpfa-heading {
  text-align: center;
  margin-bottom: 60px;
}

.mpfa-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF6B1A;
  background: rgba(255,107,26,0.08);
  border: 1px solid rgba(255,107,26,0.18);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.mpfa-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin: 0 0 14px;
}

.mpfa-title em {
  font-style: normal;
  color: #FF6B1A;
}

.mpfa-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* ── LISTA ── */
.mpfa-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── ITEM ── */
.mpfa-item {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.mpfa-item:hover {
  border-color: rgba(255,107,26,0.30);
  box-shadow: 0 2px 16px rgba(255,107,26,0.07);
}

.mpfa-item.mpfa-open {
  border-color: rgba(255,107,26,0.35);
  box-shadow: 0 4px 24px rgba(255,107,26,0.10);
}

/* ── BOTÃO PERGUNTA ── */
.mpfa-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.mpfa-question:hover {
  background: rgba(255,107,26,0.02);
}

.mpfa-item.mpfa-open .mpfa-question {
  background: rgba(255,107,26,0.03);
}

/* ── NÚMERO ── */
.mpfa-num {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FF6B1A;
  background: rgba(255,107,26,0.10);
  border: 1px solid rgba(255,107,26,0.16);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.mpfa-item.mpfa-open .mpfa-num {
  background: #FF6B1A;
  color: #ffffff;
  border-color: #FF6B1A;
}

/* ── TEXTO DA PERGUNTA ── */
.mpfa-q-text {
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1a1f2e;
  line-height: 1.45;
}

/* ── ÍCONE +/× ── */
.mpfa-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s ease, transform 0.28s ease;
}

.mpfa-icon svg {
  width: 18px;
  height: 18px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke 0.22s ease;
}

.mpfa-item.mpfa-open .mpfa-icon {
  background: rgba(255,107,26,0.10);
  transform: rotate(45deg);
}

.mpfa-item.mpfa-open .mpfa-icon svg {
  stroke: #FF6B1A;
}

/* ── RESPOSTA ── */
.mpfa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s cubic-bezier(0.4,0,0.2,1), padding 0.25s ease;
  padding: 0 28px 0 92px;
}

.mpfa-item.mpfa-open .mpfa-answer {
  max-height: 500px;
  padding: 0 28px 26px 92px;
}

.mpfa-answer p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.75;
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 18px;
}

/* ── CTA BOTTOM ── */
.mpfa-bottom {
  margin-top: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mpfa-bottom p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  color: #6b7280;
  margin: 0;
}

.mpfa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF6B1A;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255,107,26,0.28);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.mpfa-btn:hover {
  background: #e55a0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255,107,26,0.38);
  color: #fff;
}

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  .mpfa-question {
    padding: 20px 22px;
    gap: 14px;
  }

  .mpfa-num {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .mpfa-q-text {
    font-size: 15px;
  }

  .mpfa-answer {
    padding: 0 22px 0 78px;
  }

  .mpfa-item.mpfa-open .mpfa-answer {
    padding: 0 22px 22px 78px;
  }

  .mpfa-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .mpfa-section {
    padding: 64px 0 56px;
  }

  .mpfa-container {
    padding: 0 16px;
  }

  .mpfa-question {
    padding: 16px 18px;
    gap: 12px;
  }

  .mpfa-num {
    width: 36px;
    height: 36px;
    font-size: 12px;
    border-radius: 8px;
  }

  .mpfa-q-text {
    font-size: 14px;
  }

  .mpfa-answer {
    padding: 0 18px 0 66px;
  }

  .mpfa-item.mpfa-open .mpfa-answer {
    padding: 0 18px 18px 66px;
  }

  .mpfa-icon {
    width: 32px;
    height: 32px;
  }
}