/* Accessiclair — feuille de styles unique. Contrastes vérifiés AA minimum. */

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --encre: #161a2b;
  --encre-douce: #444b63;
  --nuit: #0f1b3d;
  --bleu: #1d3fb8;
  --bleu-fonce: #142d86;
  --bleu-pale: #eaf0ff;
  --soleil: #ffd34d;
  --fond: #fbfaf7;
  --carte: #ffffff;
  --trait: #d8dae3;
  --trait-fort: #6b7085;
  --vert: #146c2e;
  --vert-pale: #e6f4ea;
  --ambre: #8a4b00;
  --ambre-pale: #fff3df;
  --rouge: #b3261e;
  --rouge-pale: #fdecea;
  --focus: #ffbf47;
  --rayon: 12px;
  --ombre: 0 1px 2px rgba(15, 27, 61, .06), 0 6px 24px rgba(15, 27, 61, .06);
  --police: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--nuit); }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1em; }
a { color: var(--bleu); text-underline-offset: .18em; }
a:hover { color: var(--bleu-fonce); text-decoration-thickness: 2px; }
code, pre { font-family: var(--mono); font-size: .9em; }
pre { white-space: pre-wrap; word-break: break-word; }

:focus-visible {
  outline: 3px solid var(--nuit);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--focus);
  border-radius: 4px;
}
main:focus { outline: none; }

.conteneur { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.etroit { width: min(760px, 100% - 2rem); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--claire { background: var(--carte); border-block: 1px solid var(--trait); }
.section--nuit { background: var(--nuit); color: #fff; }
.section--nuit h2, .section--nuit h3 { color: #fff; }
.section--nuit a { color: var(--soleil); }
.centre { text-align: center; }
.discret { color: var(--encre-douce); }
.petit { font-size: .92rem; }
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}

/* Lien d'évitement */
.evitement {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--nuit); color: #fff; padding: .75rem 1rem; border-radius: 8px; font-weight: 700;
}
.evitement:focus { top: 1rem; color: #fff; }

/* En-tête */
.entete { background: var(--carte); border-bottom: 1px solid var(--trait); }
.entete__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: .85rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.25rem; color: var(--nuit); text-decoration: none; }
.marque:hover { color: var(--nuit); }
.marque__logo { width: 32px; height: 32px; }
.nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.nav a, .nav .lien-bouton { color: var(--encre); text-decoration: none; font-weight: 700; padding: .35rem .1rem; }
.nav a:hover, .nav .lien-bouton:hover { color: var(--bleu); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--bleu); text-decoration: underline; text-decoration-thickness: 3px; }
.nav a.bouton { color: #fff; text-decoration: none; padding: .5rem 1rem; }
.en-ligne { display: inline; margin: 0; }
.lien-bouton { background: none; border: 0; font: inherit; cursor: pointer; color: var(--bleu); padding: 0; text-decoration: underline; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--bleu); color: #fff; border: 2px solid var(--bleu);
  font: inherit; font-weight: 700; line-height: 1.2;
  padding: .8rem 1.35rem; border-radius: 10px; text-decoration: none; cursor: pointer;
  min-height: 44px;
}
.bouton:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); color: #fff; text-decoration: none; }
.bouton--secondaire { background: transparent; color: var(--bleu); }
.bouton--secondaire:hover { background: var(--bleu-pale); color: var(--bleu-fonce); }
.bouton--soleil { background: var(--soleil); border-color: var(--soleil); color: var(--nuit); }
.bouton--soleil:hover { background: #ffc61a; border-color: #ffc61a; color: var(--nuit); }
.bouton--danger { background: var(--rouge); border-color: var(--rouge); }
.bouton--danger:hover { background: #8c1d18; border-color: #8c1d18; }
.bouton--petit { padding: .5rem .9rem; font-size: .95rem; min-height: 40px; }
.bouton--large { width: 100%; }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.actions--centre { justify-content: center; }
.h3 { font-size: 1.2rem; }
.sans-marge { margin: 0; }
.liste-nue { list-style: none; padding: 0; }
.lien-cible { display: inline-block; padding: .4rem .3rem; min-height: 44px; line-height: 1.9; }
.section-espace { margin-top: 2.5rem; }
.section-titre { margin-top: 2rem; }

/* Formulaires */
.champ { margin-bottom: 1.15rem; }
.champ label, .etiquette { display: block; font-weight: 700; margin-bottom: .3rem; }
.aide { display: block; color: var(--encre-douce); font-size: .93rem; margin-bottom: .35rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="file"], textarea, select {
  width: 100%; font: inherit; color: var(--encre); background: #fff;
  border: 2px solid var(--trait-fort); border-radius: 8px; padding: .65rem .8rem; min-height: 46px;
}
textarea { min-height: 7rem; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rouge); }
.erreur-champ { display: block; color: var(--rouge); font-weight: 700; margin-top: .35rem; }
.erreur-champ::before { content: "⚠ "; }
.case { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; }
.case input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; flex: none; accent-color: var(--bleu); }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend { font-weight: 700; padding: 0; margin-bottom: .4rem; }

/* Messages */
.message { border-radius: var(--rayon); padding: .9rem 1.1rem; margin: 1rem 0; border: 2px solid; font-weight: 700; }
.message--info { background: var(--bleu-pale); border-color: var(--bleu); color: var(--bleu-fonce); }
.message--succes { background: var(--vert-pale); border-color: var(--vert); color: var(--vert); }
.message--attention { background: var(--ambre-pale); border-color: var(--ambre); color: var(--ambre); }
.message--erreur { background: var(--rouge-pale); border-color: var(--rouge); color: var(--rouge); }
.encadre { background: var(--carte); border: 1px solid var(--trait); border-left: 6px solid var(--bleu); border-radius: var(--rayon); padding: 1.1rem 1.3rem; margin: 1.25rem 0; }
.encadre--soleil { border-left-color: var(--soleil); }
.encadre > :last-child { margin-bottom: 0; }

/* Cartes et grilles */
.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.4rem; box-shadow: var(--ombre); }
.carte > :last-child { margin-bottom: 0; }
.grille { display: grid; gap: 1.25rem; }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Accueil */
.heros { padding-block: clamp(2.5rem, 7vw, 5rem); background: #fff; border-bottom: 1px solid var(--trait); }
.heros__grille { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.surtitre { display: inline-block; font-weight: 700; color: var(--bleu-fonce); background: var(--bleu-pale); border-radius: 999px; padding: .25rem .8rem; margin-bottom: 1rem; font-size: .95rem; }
.heros__texte p.chapeau { font-size: 1.22rem; color: var(--encre-douce); max-width: 36em; }
.formulaire-analyse { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.formulaire-analyse .champ { flex: 1 1 260px; margin: 0; }
.formulaire-analyse .bouton { flex: 0 0 auto; align-self: flex-end; }
.preuves { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 1.2rem 0 0; color: var(--encre-douce); font-size: .95rem; }
.preuves li::before { content: "✓ "; color: var(--vert); font-weight: 700; }
.apercu-rapport { background: var(--carte); border: 1px solid var(--trait); border-radius: 16px; box-shadow: var(--ombre); padding: 1.3rem; }
.apercu-rapport__ligne { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem 0; border-top: 1px solid var(--trait); }
.apercu-rapport__ligne:first-of-type { border-top: 0; }
.etapes { counter-reset: etape; list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.etapes li { counter-increment: etape; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.3rem; }
.etapes li::before { content: counter(etape); display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--nuit); color: var(--soleil); font-weight: 700; margin-bottom: .6rem; }
.liste-coches { list-style: none; padding: 0; }
.liste-coches li { padding-left: 1.7rem; position: relative; margin-bottom: .55rem; }
.liste-coches li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 700; }
.liste-croix li::before { content: "✗"; color: var(--rouge); }
.citation-chiffre { font-size: 2.2rem; font-weight: 700; color: var(--nuit); display: block; line-height: 1.1; }

/* Tarifs */
.offres { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-items: stretch; }
.offre { display: flex; flex-direction: column; background: var(--carte); border: 2px solid var(--trait); border-radius: 16px; padding: 1.5rem; }
.offre--phare { border-color: var(--bleu); box-shadow: 0 0 0 4px var(--bleu-pale); }
.offre__badge { align-self: flex-start; background: var(--soleil); color: var(--nuit); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .15rem .7rem; margin-bottom: .6rem; }
.offre__prix { font-size: 2.3rem; font-weight: 700; color: var(--nuit); line-height: 1; margin: .4rem 0 .2rem; }
.offre__prix span { font-size: 1rem; font-weight: 400; color: var(--encre-douce); }
.offre ul { flex: 1; }
.offre form { margin: 0; }
.bascule { display: inline-flex; border: 2px solid var(--bleu); border-radius: 999px; padding: 3px; gap: 3px; margin-bottom: 1.5rem; }
.bascule button { font: inherit; font-weight: 700; border: 0; background: transparent; color: var(--bleu); padding: .45rem 1rem; border-radius: 999px; cursor: pointer; min-height: 40px; }
.bascule button[aria-pressed="true"] { background: var(--bleu); color: #fff; }

/* FAQ */
.faq details { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 1.2rem; list-style-position: outside; margin-left: 1rem; }
.faq details > div { padding: 0 1.2rem 1rem; }
.faq details > div > :last-child { margin-bottom: 0; }

/* Score */
.score { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.jauge { position: relative; width: 120px; height: 120px; flex: none; }
.jauge svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.jauge__fond { stroke: #e6e8ef; }
.jauge__valeur { stroke-linecap: round; }
.jauge--bon .jauge__valeur { stroke: var(--vert); }
.jauge--moyen .jauge__valeur { stroke: var(--ambre); }
.jauge--faible .jauge__valeur { stroke: var(--rouge); }
.jauge--neutre .jauge__valeur { stroke: var(--trait-fort); }
.jauge__texte { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 700; color: var(--nuit); }
.jauge__texte strong { font-size: 2rem; display: block; line-height: 1; }
.jauge__texte span { font-size: .8rem; color: var(--encre-douce); }
.etiquette-score { font-weight: 700; padding: .2rem .7rem; border-radius: 999px; display: inline-block; }
.etiquette-score--bon { background: var(--vert-pale); color: var(--vert); }
.etiquette-score--moyen { background: var(--ambre-pale); color: var(--ambre); }
.etiquette-score--faible { background: var(--rouge-pale); color: var(--rouge); }
.etiquette-score--neutre { background: #eef0f5; color: var(--encre-douce); }

/* Gravité */
.gravite { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; border-radius: 6px; padding: .1rem .55rem; border: 1px solid; white-space: nowrap; }
.gravite--critical { background: var(--rouge-pale); color: #8c1d18; border-color: #e7a7a2; }
.gravite--serious { background: #fff0e0; color: #8a3b00; border-color: #f0c08f; }
.gravite--moderate { background: #fff8d6; color: #6b5300; border-color: #e8d47a; }
.gravite--minor, .gravite--None, .gravite-- { background: #eef0f5; color: #3d4459; border-color: #c9cdd9; }
.compteurs { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); list-style: none; padding: 0; margin: 1rem 0; }
.compteurs li { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: .9rem 1rem; }
.compteurs strong { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--nuit); }

/* Rapport */
.probleme { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.3rem 1.4rem; margin-bottom: 1rem; }
.probleme__tete { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; justify-content: space-between; }
.probleme__tete h3 { margin: 0; }
.probleme__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--encre-douce); font-size: .95rem; margin: .5rem 0 .9rem; padding: 0; list-style: none; }
.probleme h4 { font-size: 1rem; margin: 1rem 0 .3rem; }
.probleme details { margin-top: .9rem; border-top: 1px solid var(--trait); padding-top: .7rem; }
.probleme summary { cursor: pointer; font-weight: 700; color: var(--bleu); }
.exemple { background: #f4f5f9; border-radius: 8px; padding: .7rem .9rem; margin: .6rem 0; font-size: .93rem; }
.exemple code { display: block; background: #fff; border: 1px solid var(--trait); border-radius: 6px; padding: .45rem .6rem; margin: .35rem 0; overflow-wrap: anywhere; }
.astuce-wp { background: #f0f6fc; border-left: 4px solid #2271b1; padding: .7rem .9rem; border-radius: 0 8px 8px 0; }
.criteres-rgaa { font-size: .92rem; color: var(--encre-douce); }

/* Tableaux */
.tableau-defile { overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--carte); }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-weight: 700; padding: .9rem 1rem; color: var(--nuit); }
th, td { text-align: left; padding: .7rem 1rem; border-top: 1px solid var(--trait); vertical-align: top; }
thead th { background: #f4f5f9; border-top: 0; }
td.nombre, th.nombre { text-align: right; font-variant-numeric: tabular-nums; }
.url-coupee { overflow-wrap: anywhere; }

/* Progression */
.progression { display: flex; align-items: center; gap: 1rem; }
.tourne { width: 28px; height: 28px; border: 4px solid var(--bleu-pale); border-top-color: var(--bleu); border-radius: 50%; animation: tourne 1s linear infinite; flex: none; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tourne { animation: none; border-top-color: var(--bleu); } }
progress { width: 100%; height: 14px; accent-color: var(--bleu); }

/* Grille RGAA */
.theme-rgaa { margin-bottom: 1.5rem; }
.theme-rgaa > summary { cursor: pointer; font-size: 1.15rem; font-weight: 700; color: var(--nuit); padding: 1rem 1.2rem; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); }
.theme-rgaa[open] > summary { border-radius: var(--rayon) var(--rayon) 0 0; }
.theme-rgaa__corps { border: 1px solid var(--trait); border-top: 0; border-radius: 0 0 var(--rayon) var(--rayon); background: var(--carte); padding: .5rem 1.2rem 1.2rem; }
.critere { border-top: 1px solid var(--trait); padding: 1rem 0; }
.critere:first-child { border-top: 0; }
.critere fieldset { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .5rem 0; }
.critere fieldset legend { width: 100%; }
.critere fieldset label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; cursor: pointer; padding: .2rem 0; }
.critere fieldset input { width: 1.2rem; height: 1.2rem; accent-color: var(--bleu); }
.critere__officiel { font-size: .92rem; color: var(--encre-douce); }
.critere__detecte { color: var(--rouge); font-weight: 700; font-size: .95rem; }
.critere textarea { min-height: 3.2rem; }
.barre-collante { position: sticky; bottom: 0; background: rgba(251, 250, 247, .97); border-top: 1px solid var(--trait); padding: .8rem 0; margin-top: 1rem; z-index: 10; }

/* Historique (graphique) */
.graphique { width: 100%; height: auto; max-height: 220px; }
.graphique .ligne { fill: none; stroke: var(--bleu); stroke-width: 3; }
.graphique .point { fill: var(--bleu); }
.graphique .axe { stroke: var(--trait); }
.graphique text { font-size: 12px; fill: var(--encre-douce); font-family: var(--police); }

/* Déclaration */
.declaration-apercu { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.5rem; overflow-wrap: anywhere; }
.code-a-copier { width: 100%; min-height: 12rem; font-family: var(--mono); font-size: .85rem; }

/* Pied de page */
.pied { background: var(--nuit); color: #e8ebf5; margin-top: 4rem; padding-block: 2.5rem; }
.pied a { color: #fff; }
.pied a:hover { color: var(--soleil); }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .45rem; }
.pied__grille { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pied__marque { font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: .3rem; }

/* Pages légales / contenus longs */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose li { margin-bottom: .35rem; }
.sources { font-size: .93rem; color: var(--encre-douce); }

.zone-danger { border: 2px solid var(--rouge); border-radius: var(--rayon); padding: 1.2rem 1.4rem; background: #fff; }
.zone-danger h2, .zone-danger h3 { color: var(--rouge); }

.fil { font-size: .95rem; margin: 1.2rem 0 .5rem; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; }
.fil li + li::before { content: "›"; margin-right: .3rem; color: var(--encre-douce); }

.flou { filter: blur(4px); user-select: none; pointer-events: none; }

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .entete__ligne { padding-block: .6rem; }
  .nav ul { gap: .1rem .9rem; }
  .probleme { padding: 1rem; }
}

@media print {
  .entete, .pied, .evitement, .actions, .barre-collante, form { display: none !important; }
  body { background: #fff; }
}

/* Contenus éditoriaux (guides, RGAA, erreurs) */
.h3 { font-size: 1.2rem; font-weight: 700; color: var(--nuit); line-height: 1.25; margin-bottom: .5em; }
.encadre--appel { border-left-color: var(--soleil); background: #fffdf3; }
.meta-article { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; color: var(--encre-douce); font-size: .95rem; list-style: none; padding: 0; margin: -.3rem 0 1.5rem; }
.sommaire { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1rem 1.3rem; margin: 1.5rem 0; }
.sommaire h2 { font-size: 1.05rem; margin: 0 0 .5rem; }
.sommaire ol { margin: 0; padding-left: 1.3rem; }
.cartes-liens { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); list-style: none; padding: 0; }
.cartes-liens > li { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.1rem 1.2rem; box-shadow: var(--ombre); }
.cartes-liens > li > :last-child { margin-bottom: 0; }
.cartes-liens a { font-weight: 700; }
.liste-criteres { list-style: none; padding: 0; }
.liste-criteres > li { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.1rem 1.3rem; margin-bottom: 1rem; scroll-margin-top: 1rem; }
.liste-criteres h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.liste-criteres > li > :last-child { margin-bottom: 0; }
.pastille { display: inline-block; font-size: .85rem; font-weight: 700; border-radius: 999px; padding: .1rem .65rem; background: #eef0f5; color: var(--encre-douce); }
.pastille--auto { background: var(--vert-pale); color: var(--vert); }
.pastille--manuel { background: var(--bleu-pale); color: var(--bleu-fonce); }
.pagination-themes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.code-exemple { background: #f4f5f9; border-radius: 8px; padding: .8rem 1rem; overflow-x: auto; font-size: .9rem; }
.tableau-simple { margin: 1rem 0 1.5rem; }

/* Vérificateur de contraste */
.contraste { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.contraste__champs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.contraste__couleur { display: flex; gap: .5rem; align-items: center; }
.contraste__couleur input[type="color"] { width: 48px; height: 44px; padding: 2px; border: 2px solid var(--trait-fort); border-radius: 8px; background: #fff; flex: none; }
.contraste__apercu { border-radius: var(--rayon); padding: 1.3rem; border: 1px solid var(--trait); }
.contraste__apercu .grand { font-size: 1.5rem; font-weight: 700; margin-bottom: .4rem; }
.contraste__ratio { font-size: 2.6rem; font-weight: 700; color: var(--nuit); line-height: 1; margin: 0 0 .8rem; }
.verdicts { list-style: none; padding: 0; display: grid; gap: .4rem; }
.verdicts li { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--trait); padding-top: .4rem; }
.ok { color: var(--vert); font-weight: 700; }
.ko { color: var(--rouge); font-weight: 700; }
