/* --- Landing BEF (compact) --- */

.section-head { margin: 0 0 12px 0; }
.section-head h2 { margin: 0 0 4px 0; }
.section-head p { margin: 0; }

.support-how { padding: 16px 0; }

/* Liste compacte 1/2/3 */
.how-list {
  margin: 0;
  padding-left: 18px;
}
.how-item { margin: 6px 0; }
.how-title {
  font-weight: 700;
  margin-bottom: 2px;
}
.how-text { margin: 0; }

/* Tableau compact + encadré */
.table-wrap {
  overflow-x: auto;
  border: 2px solid #111827;   /* vrai cadre */
  border-radius: 12px;
  background: #fff;
}
.support-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.support-table th,
.support-table td {
  padding: 8px 10px;
  vertical-align: middle;
  white-space: nowrap; /* compact horizontal */
}

.support-table th {
  text-align: center;
}
.support-table td {
  text-align: center;
}
.support-table th,
.support-table td {
  border: 1px solid #e5e7eb;
}
.support-table thead th {
  font-weight: 700;
  line-height: 1.15;
}

.support-table td:nth-child(1) { white-space: normal; } /* Niveau peut wrap */
.support-table td:nth-child(4) { white-space: normal; } /* Accès bibliothèque peut wrap */

/* Réduire la “respiration” générale */
.rules-card { margin-top: 14px; }
.support-faq { padding: 16px 0; }

/* --- Buttons (BEF Landing) --- */
.hero-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.btn-primary{
  border-color: #1f2937;
  background: #111827;
  color: #fff;
}

.btn-primary:hover{
  filter: brightness(1.05);
}

.btn-ghost{
  border-color: #cbd5e1;
  background: #fff;
  color: #111827;
}

.btn-ghost:hover{
  background: #f8fafc;
}

/* === BEF – Boutons CTA === */

:root {
  --pw-green: #0b6b3a;      /* vert PyWorkflow */
  --pw-green-dark: #084e2b;
  --pw-gold: #f0a500;       /* doré / orange */
  --pw-gold-dark: #c98600;
}

/* Bouton principal : Soutenir */
.btn-bef-support {
  background-color: var(--pw-green);
  color: #fff !important;
  border: none;
}

.btn-bef-support:hover {
  background-color: var(--pw-green-dark);
  color: #fff !important;
}

/* Bouton accès bibliothèque */
.btn-bef-library {
  background-color: var(--pw-gold);
  color: #000 !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(240, 165, 0, 0.35);
}

.btn-bef-library:hover {
  background-color: var(--pw-gold-dark);
  color: #000 !important;
}

/* Bouton secondaire */
.btn-bef-secondary {
  background-color: #f4f4f4;
  color: #333 !important;
  border: 1px solid #ddd;
}

.btn-bef-secondary:hover {
  background-color: #e8e8e8;
}
.hero-actions a.btn,
.cta-bottom a.btn {
  text-decoration: none !important;
  display: inline-flex !important;
  min-height: 42px;
}