/* ============================================
   CHARTE ÉTHIQUE — Page pourquoi-nous-faire-confiance
   Accordéon <details>/<summary> natif HTML
   ============================================ */

.charte-section { margin-top: 3rem; }

.charte-intro {
  font-style: italic;
  color: #555;
  border-left: 4px solid #B8D430;
  padding: 0.8rem 1.2rem;
  margin: 1.5rem 0 2rem 0;
  background: #f9fbe7;
  border-radius: 0 6px 6px 0;
}

.charte-accordeon {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E0E0E0;
}

.charte-item {
  border-bottom: 1px solid #E0E0E0;
}
.charte-item:last-child { border-bottom: none; }

.charte-valeur {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  background: #fff;
  transition: background 0.2s ease;
  list-style: none;
  font-weight: 600;
  color: #3D4145;
  font-size: 1rem;
}
.charte-valeur::-webkit-details-marker { display: none; }
.charte-valeur::after {
  content: "+";
  margin-left: auto;
  font-size: 1.3rem;
  color: #B8D430;
  font-weight: 700;
}
details[open] > .charte-valeur { background: #f9fbe7; }
details[open] > .charte-valeur::after { content: "−"; }
.charte-valeur:hover { background: #f9fbe7; }

.charte-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #B8D430;
  color: #2C2C2C;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.charte-contenu {
  padding: 1rem 1.2rem 1.2rem 3.8rem;
  background: #fafafa;
}
.charte-contenu ul { margin: 0; padding: 0; list-style: none; }
.charte-contenu li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: justify;
}
.charte-contenu li:last-child { border-bottom: none; }
.charte-contenu li::before {
  content: "✓ ";
  color: #B8D430;
  font-weight: 700;
}

.charte-conclusion {
  margin-top: 1.5rem;
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
  border-left: 4px solid #B8D430;
  padding: 0.8rem 1.2rem;
  background: #f9fbe7;
  border-radius: 0 6px 6px 0;
}

/* Justification des paragraphes */
.charte-section p,
.content-section p {
  text-align: justify;
}

@media (max-width: 768px) {
  .charte-valeur { font-size: 0.95rem; padding: 0.9rem 1rem; }
  .charte-contenu { padding: 0.8rem 1rem 1rem 1rem; }
}
