/* ============================================================
   PAGES STATIQUES (questions, examen, à propos, mentions légales)
   Générées par scripts/generer-pages.js
   ============================================================ */

.page-statique header .rf-logo { color: white; text-decoration: none; }
.nav-site {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-left: auto;
  font-family: var(--police-interface);
  font-size: 0.88rem;
}
.nav-site a { color: white; text-decoration: none; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.nav-site a:hover, .nav-site a:focus-visible { border-bottom-color: white; }

.fil-ariane { font-family: var(--police-interface); font-size: 0.8rem; margin-bottom: 1.25rem; }
.fil-ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.fil-ariane li + li::before { content: "›"; margin-right: 0.25rem; color: #4b5563; }
.fil-ariane a { color: var(--bleu); }
.fil-ariane [aria-current] { color: #4b5563; }

.contenu-statique { line-height: 1.65; }
.contenu-statique h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--bleu);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.contenu-statique h2 {
  font-family: var(--police-interface);
  font-size: 1.1rem;
  color: var(--bleu);
  margin: 2rem 0 0.75rem;
}
.contenu-statique h3 { font-family: var(--police-interface); font-size: 0.95rem; margin-bottom: 0.4rem; }
.contenu-statique p, .contenu-statique ul, .contenu-statique ol { margin-bottom: 1rem; }
.contenu-statique ul, .contenu-statique > ol { padding-left: 1.4rem; }
.contenu-statique a { color: var(--bleu); }
.contenu-statique .chapo { font-size: 1.08rem; }
.contenu-statique .maj, .contenu-statique .conseil { font-size: 0.9rem; color: #4b5563; }

.btn-cta {
  display: inline-block;
  background: var(--bleu);
  color: white !important;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-family: var(--police-interface);
  font-weight: 700;
  font-size: 0.9rem;
}
.btn-cta:hover, .btn-cta:focus-visible { background: #5a28a8; }

.liste-questions { list-style: none; padding: 0 !important; counter-reset: q; }
.question-statique {
  counter-increment: q;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.9rem;
}
.question-statique .enonce { font-weight: 600; margin-bottom: 0.5rem; }
.question-statique .enonce::before { content: counter(q) ". "; color: var(--bleu); }
.propositions-statiques { padding-left: 1.6rem !important; margin-bottom: 0.5rem !important; }
.question-statique details summary {
  cursor: pointer;
  font-family: var(--police-interface);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bleu);
}
.reponse-statique {
  margin: 0.5rem 0 0 !important;
  padding: 0.6rem 0.8rem;
  background: var(--vert-clair);
  border-left: 4px solid var(--vert);
  border-radius: 4px;
}

.avertissement-statique {
  background: #fff7ed;
  border-left: 5px solid #c2410c;
  color: #7c2d12;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

.tableau-statique {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  background: white;
  font-size: 0.92rem;
}
.tableau-statique th, .tableau-statique td {
  border: 1px solid #e5e7eb;
  padding: 0.55rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.tableau-statique th { font-family: var(--police-interface); background: var(--bleu-clair); }

.liens-revision { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.liens-revision ul { padding-left: 1.2rem; }

.page-statique footer a { color: rgba(255,255,255,0.85); }

/* Bloc de liens vers les pages de questions, sur l'accueil */
.encart-questions { margin-bottom: 2rem; }
.encart-questions ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.5rem; }
.encart-questions a {
  display: block;
  background: white;
  border: 1.5px solid var(--bleu-moyen);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--bleu);
  font-family: var(--police-interface);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.encart-questions a:hover, .encart-questions a:focus-visible { border-color: var(--bleu); background: var(--bleu-clair); }

@media (max-width: 600px) {
  .page-statique header { flex-wrap: wrap; padding: 0.65rem 1rem; }
  .nav-site { margin-left: 0; }
  .contenu-statique h1 { font-size: 1.4rem; }
}
.titre-encart-questions {
  font-family: var(--police-interface);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--bleu);
  margin-bottom: 0.6rem;
}
