/* ========================================
   FAQ Page Styles - Matiiou Barber
   Style cohérent avec le site
   ======================================== */

.faq-page {
  padding-top: 20px;
  min-height: 100vh;
  padding: 0 8%;
}

/* Hero Section */
.faq-hero {
  background-color: white;
  padding: 60px 40px;
  text-align: center;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid black;
}

.faq-hero h1 {
  font-size: 50px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #5e493a;
}

.faq-hero h1 i {
  font-size: 40px;
}

.faq-hero p {
  font-size: 14px;
  color: rgb(97, 96, 96);
  letter-spacing: 2px;
}

/* Container */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Catégories */
.faq-category {
  margin-bottom: 40px;
}

.faq-category h2 {
  font-size: 24px;
  color: #5e493a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid black;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.faq-category h2 i {
  font-size: 20px;
}

/* Items FAQ */
.faq-item {
  background: white;
  border: 1px solid black;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Question (bouton) */
.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: left;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-question:hover {
  background: rgba(0, 0, 0, 0.03);
}

.faq-question span {
  flex: 1;
  padding-right: 15px;
}

.faq-question i {
  font-size: 14px;
  color: #5e493a;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: black;
  color: white;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: white;
}

/* Réponse */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 25px;
}

.faq-answer p {
  color: rgb(97, 96, 96);
  line-height: 25px;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 1px;
}

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

.faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.faq-answer ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: rgb(97, 96, 96);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 22px;
}

.faq-answer ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5e493a;
  font-weight: bold;
}

.faq-answer a {
  color: #5e493a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  text-transform: uppercase;
  font-size: 12px;
}

.faq-answer a:hover {
  color: black;
  text-decoration: underline;
}

.faq-answer strong {
  color: #333;
}

/* Bouton Map */
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: black !important;
  padding: 10px 20px;
  border: 1px solid black;
  border-radius: 0;
  margin-top: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.btn-map:hover {
  background: black;
  color: white !important;
  text-decoration: none !important;
}

/* Section Contact */
.faq-contact {
  background: white;
  border: 1px solid black;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  margin-top: 50px;
}

.faq-contact h3 {
  font-size: 20px;
  color: #5e493a;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.faq-contact p {
  color: rgb(97, 96, 96);
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 1px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: black;
  padding: 15px 30px;
  border: 1px solid black;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.5s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-contact:hover {
  background: black;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-page {
    padding: 0 5%;
  }

  .faq-hero {
    padding: 40px 20px;
    margin-top: 20px;
  }

  .faq-hero h1 {
    font-size: 28px;
    flex-direction: column;
    gap: 10px;
  }

  .faq-hero h1 i {
    font-size: 24px;
  }

  .faq-hero p {
    font-size: 12px;
  }

  .faq-container {
    padding: 30px 0;
  }

  .faq-category h2 {
    font-size: 18px;
  }

  .faq-question {
    padding: 15px 20px;
    font-size: 12px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }

  .faq-contact {
    padding: 30px 20px;
  }

  .faq-contact h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .faq-hero h1 {
    font-size: 22px;
  }

  .faq-question {
    font-size: 11px;
    padding: 12px 15px;
  }

  .faq-answer p,
  .faq-answer ul li {
    font-size: 12px;
  }
}
