/* Pages légales : règlement, CGU, etc. */

.lbn-legal {
  max-width: 800px;
  margin: 24px auto 40px;
  background: var(--lbn-white);
  border-radius: var(--lbn-radius);
  box-shadow: var(--lbn-shadow);
  padding: 32px 40px;
}

.lbn-legal__title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lbn-purple-dark);
  line-height: 1.3;
}

.lbn-legal__version {
  margin: 0 0 32px;
  font-size: 0.9rem;
  color: var(--lbn-grey);
  font-style: italic;
}

.lbn-legal__article {
  margin-bottom: 28px;
}

.lbn-legal__article:last-child {
  margin-bottom: 0;
}

.lbn-legal__article-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--lbn-purple);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lbn-legal__article p {
  margin: 0 0 12px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.lbn-legal__article p:last-child {
  margin-bottom: 0;
}

.lbn-legal__list {
  margin: 0 0 12px;
  padding-left: 1.4rem;
  line-height: 1.65;
  font-size: 0.95rem;
}

.lbn-legal__list li {
  margin-bottom: 4px;
}

.lbn-legal__list li:last-child {
  margin-bottom: 0;
}

.lbn-legal__address {
  margin: 0 0 12px;
  font-style: normal;
  line-height: 1.65;
  font-size: 0.95rem;
}

.lbn-legal__table-wrap {
  overflow-x: auto;
  margin: 12px 0;
}

.lbn-legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lbn-legal__table th,
.lbn-legal__table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #e8e0f0;
}

.lbn-legal__table th {
  background: var(--lbn-grey-light);
  font-weight: 800;
  color: var(--lbn-purple-dark);
}

.lbn-legal__table tbody tr:nth-child(even) {
  background: #faf8fc;
}

.lbn-legal__section {
  margin-bottom: 28px;
}

.lbn-legal__section:last-child {
  margin-bottom: 0;
}

.lbn-legal__section-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--lbn-purple-dark);
  line-height: 1.35;
}

.lbn-legal__subsection-title {
  margin: 16px 0 12px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--lbn-purple);
}

.lbn-legal__section p {
  margin: 0 0 12px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.lbn-legal__section p:last-child {
  margin-bottom: 0;
}

.lbn-legal__section--cta {
  text-align: center;
  padding-top: 8px;
}

.lbn-legal__cta {
  margin-top: 20px !important;
}

.lbn-legal__cta-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--lbn-pink) 0%, var(--lbn-purple) 100%);
  color: var(--lbn-white);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(233, 30, 140, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lbn-legal__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
  color: var(--lbn-white);
}

@media (max-width: 600px) {
  .lbn-legal {
    padding: 24px 20px;
  }

  .lbn-legal__title {
    font-size: 1.35rem;
  }
}

/* FAQ */
.lbn-faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  align-items: center;
  margin: 0 0 28px;
  padding: 12px 0;
  border-top: 1px solid #eee6f5;
  border-bottom: 1px solid #eee6f5;
  font-size: 0.9rem;
}

.lbn-faq-toc a {
  color: var(--lbn-purple);
  font-weight: 700;
  text-decoration: none;
}

.lbn-faq-toc a:hover {
  text-decoration: underline;
}

.lbn-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lbn-faq-item {
  border: 1px solid #e8e0f0;
  border-radius: 10px;
  background: #faf8fc;
  padding: 0 14px;
}

.lbn-faq-item[open] {
  background: #fff;
  box-shadow: 0 1px 4px rgba(74, 20, 140, 0.06);
}

.lbn-faq-item__question {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--lbn-purple-dark);
  line-height: 1.4;
}

.lbn-faq-item__question::-webkit-details-marker {
  display: none;
}

.lbn-faq-item__question::after {
  content: "+";
  float: right;
  color: var(--lbn-purple);
  font-weight: 800;
  margin-left: 12px;
}

.lbn-faq-item[open] > .lbn-faq-item__question::after {
  content: "−";
}

.lbn-faq-item__answer {
  padding: 0 0 14px;
}

.lbn-faq-item__answer p {
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
}
