/* Styles pour les pages secondaires (mentions légales, confidentialité) */

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.page-content p,
.page-content li {
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.page-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}

.page-content a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.page-content a:hover {
  text-decoration: none;
}

.page-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.page-back:hover {
  text-decoration: underline;
}

.page-content ul,
.page-content ol {
  list-style-position: inside;
  padding-left: 0;
}

.faq {
  padding: 4rem 1.5rem 5rem;
}

.faq__container {
  max-width: 820px;
  margin: 0 auto;
}

.faq__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.faq__intro {
  text-align: center;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 3rem;
  max-width: 640px;
}

.faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq__item {
  width: 100%;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq__item:hover {
  border-color: rgba(139, 122, 232, 0.3);
}

.faq__item[open] {
  border-color: var(--primary);
  box-shadow: 0 8px 24px -8px rgba(139, 122, 232, 0.2);
  background: #FDFBFF;
}

.faq__item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: inherit;
  text-align: left;
}

.faq__item-header::-webkit-details-marker {
  display: none;
}

.faq__item-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq__item[open] .faq__item-number {
  background: var(--primary);
  color: var(--white);
}

.faq__item-title {
  flex: 1;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.faq__item-chevron {
  flex-shrink: 0;
  color: var(--text-mid);
  transition: transform 0.3s ease;
}

.faq__item[open] .faq__item-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq__item-body {
  margin-top: 1rem;
  padding-left: calc(36px + 1rem);
}

.faq__item-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.faq__item-body p:last-child {
  margin-bottom: 0;
}

.faq__item-body ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.faq__item-body li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.faq__item-body a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .faq {
    padding: 3rem 1rem 4rem;
  }

  .faq__title {
    font-size: 1.75rem;
  }

  .faq__item {
    padding: 1.25rem 1.25rem;
  }

  .faq__item-body {
    padding-left: 0;
  }
}
