/* Vérificateur de règlement intérieur (04/10/2026) — même DA « L'affiche ». */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.audit { padding: clamp(40px, 7vw, 88px) 0 40px; }
.audit h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.audit__sous { font-size: 1.12rem; color: var(--encre-2); margin: 0 0 28px; }
.audit__outil { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); box-shadow: var(--ombre-forte); padding: clamp(16px, 3vw, 26px); }
.depot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1.5px dashed var(--filet-fort); border-radius: var(--rayon-petit); padding: 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.depot:hover, .depot:focus-visible, .depot--survol { border-color: var(--punaise); background: var(--punaise-pale); outline: none; }
.depot__icone { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--papier-2); color: var(--punaise); flex: none; }
.depot__nom { margin-left: auto; font-size: .9rem; color: var(--encre-3); overflow-wrap: anywhere; }
.audit__ou { display: flex; align-items: center; gap: 12px; color: var(--encre-3); font-size: .85rem; margin: 14px 0; }
.audit__ou::before, .audit__ou::after { content: ""; flex: 1; border-top: 1px solid var(--filet); }
.audit__outil textarea { width: 100%; min-height: 150px; resize: vertical; font: 15px/1.55 var(--corps); color: var(--encre); background: var(--papier); border: 1px solid var(--filet-fort); border-radius: var(--rayon-petit); padding: 12px 14px; }
.audit__outil textarea:focus { outline: 2px solid var(--punaise); outline-offset: 1px; }
.audit__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.audit__exemple { background: none; border: 0; padding: 0; font: inherit; font-size: .95rem; color: var(--encre-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.audit__exemple:hover { color: var(--punaise); }
.audit__etat { min-height: 1.4em; margin: 10px 0 0; font-size: .95rem; color: var(--encre-2); }

.rapport { margin-top: 36px; outline: none; }
.rapport__tete { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.jauge { --c: var(--erreur); flex: none; width: 108px; height: 108px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--papier) 79%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--val) * 1%), var(--filet) 0); }
.jauge[data-niveau="moyen"] { --c: var(--alerte); }
.jauge[data-niveau="ok"] { --c: var(--ok); }
.jauge span { font-family: var(--titre); font-size: 2.3rem; font-weight: 600; line-height: 1; }
.jauge small { font-size: .8rem; color: var(--encre-3); }
.rapport__verdict { font-family: var(--titre); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; margin: 0 0 4px; line-height: 1.2; }
.rapport__resume { margin: 0; color: var(--encre-2); }
.constats { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.constat { background: var(--surface); border: 1px solid var(--filet); border-left: 4px solid var(--filet-fort); border-radius: var(--rayon-petit); padding: 14px 16px; }
.constat p { margin: 6px 0 0; color: var(--encre-2); font-size: .97rem; }
.constat--illicite { border-left-color: var(--erreur); }
.constat--manquant { border-left-color: var(--punaise); }
.constat--risque, .constat--obsolete { border-left-color: var(--alerte); }
.constat--vide { border-left-color: var(--ok); }
.constat__tete { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.constat__base { color: var(--encre-3); font-size: .82rem; margin-left: auto; }
.constat__extrait { margin: 10px 0 0; padding: 8px 12px; border-radius: 6px; background: var(--papier-2); font: italic .93rem/1.5 var(--feuille); color: var(--encre-2); overflow-wrap: anywhere; }
.pastille { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--papier-2); color: var(--encre-2); }
.pastille--illicite { background: var(--erreur); color: #fff; }
.pastille--manquant { background: var(--punaise-pale); color: var(--punaise); }
.pastille--risque, .pastille--obsolete { background: var(--alerte-pale); color: var(--alerte); }
.rapport__suite h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }

.familles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.famille { border-top: 2px solid var(--encre); padding-top: 14px; }
.famille h3 { font-size: 1.2rem; display: flex; justify-content: space-between; }
.famille h3 span { font-family: var(--corps); font-size: .9rem; color: var(--encre-3); }
.famille > p { margin: 0 0 10px; color: var(--encre-3); font-size: .93rem; }
.famille ul { margin: 0; padding: 0; list-style: none; }
.famille li { padding: 7px 0; border-top: 1px solid var(--filet); font-size: .95rem; }
.famille li small { display: block; color: var(--encre-3); font-size: .8rem; }
@media (max-width: 560px) { .rapport__tete { gap: 14px; } .jauge { width: 84px; height: 84px; } .jauge span { font-size: 1.8rem; } .constat__base { margin-left: 0; width: 100%; } }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
