/* ── Pages éditoriales (Comment ça marche, Entreprises, Associations, Manifeste) ── */

/* Pricing table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .2s;
}
.pricing-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.pricing-name  { font-weight: 600; font-size: 14px; color: var(--text); }
.pricing-price { font-family: var(--serif); font-size: 28px; color: var(--green); line-height: 1.1; }
.pricing-desc  { font-size: 12px; color: var(--muted); }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text);
}
.pricing-features li {
  padding: 6px 0 6px 20px;
  border-top: 1px solid var(--border);
  position: relative;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

/* Founder cards */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}
@media (max-width: 640px) { .founder-grid { grid-template-columns: 1fr; } }

.founder-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.founder-name { font-weight: 600; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.founder-role { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.founder-bio  { font-size: 13px; line-height: 1.75; color: var(--text); }
.founder-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* Testimonial */
.testimonial {
  background: var(--card);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 40px 0;
  font-style: italic;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 720px;
}

/* Status cards (3 colonnes) */
.status-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 640px) { .status-cards { grid-template-columns: 1fr; } }

.status-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.status-card-label { margin-bottom: 10px; }
.status-card-body  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* RSE indicators (2 colonnes) */
.rse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 640px) { .rse-grid { grid-template-columns: 1fr; } }

.rse-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.rse-label { font-family: monospace; font-size: 11px; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.rse-title { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 8px; }
.rse-body  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Commitments list */
.commitments {
  list-style: none;
  padding: 0;
  margin: 0;
}
.commitments li {
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
  line-height: 1.65;
  position: relative;
  color: var(--text);
}
html:not(.dark) .commitments li { border-bottom-color: rgba(0,0,0,.08); }
.commitments li:last-child { border-bottom: none; }
.commitments li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Legal pages ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 48px;
}
.legal-content > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}
.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child {
  border-bottom: none;
}
.legal-section h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 16px;
}
.legal-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}
.legal-section p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 12px;
}
.legal-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-section ul li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 6px;
}
.legal-section a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Legal tables */
.legal-table {
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.6;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.legal-table-full {
  width: 100%;
}
.legal-table th {
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.legal-table tr:last-child td {
  border-bottom: none;
}
.legal-table td:first-child {
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .legal-table td:first-child { white-space: normal; }
  .legal-table th, .legal-table td { padding: 8px 10px; font-size: 12px; }
}
