/* Site des données : un outil de consultation, sobre et dense, distinct de l'application grand public. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); }
:root { --encre: #13233A; --encre-2: #45556B; --encre-3: #586779; --fond: #F3F5F8; --carte: #FFFFFF; --trait: #E3E8EF; --trait-fort: #CDD5DF; --nuit: #0F1D31; --accent: #0B7A5C; --rouge: #B42318; }
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--encre); background: var(--fond); line-height: 1.5; }
.int { width: min(1240px, 100% - 32px); margin-inline: auto; }
.bandeau { background: var(--nuit); color: #fff; }
.bandeau .int { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; padding-block: 10px; }
.marque { margin: 0; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.marque span { font-weight: 400; color: #9FD8C6; margin-left: 4px; }
.session { display: flex; gap: 12px; align-items: center; font-size: 0.88rem; color: #C9D3E0; }
.session button { background: none; border: 1px solid #3A4B64; color: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; cursor: pointer; }
main { padding-block: 28px 40px; outline: none; }
h1 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.02em; }
.chapo { margin: 0 0 22px; color: var(--encre-2); max-width: 64ch; }
.porte { background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 22px; max-width: 520px; display: grid; gap: 14px; }
label { display: grid; gap: 5px; font-size: 0.84rem; font-weight: 600; color: var(--encre-2); }
input, select { font: inherit; color: var(--encre); background: #fff; border: 1px solid var(--trait-fort); border-radius: 9px; padding: 9px 11px; min-width: 0; width: 100%; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn { font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0; border-radius: 9px; padding: 10px 16px; cursor: pointer; }
.btn.clair { background: #fff; color: var(--encre); border: 1px solid var(--trait-fort); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.erreur { color: var(--rouge); font-weight: 600; margin: 0; }
.discret { color: var(--encre-3); font-size: 0.86rem; margin: 0; }
.filtres { display: grid; grid-template-columns: 2fr repeat(6, minmax(0, 1fr)) auto; gap: 10px; align-items: end; background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 14px; }
@media (max-width: 1020px) { .filtres { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filtres .large { grid-column: 1 / -1; } }
.etat { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 10px; }
.etat p { margin: 0; font-weight: 600; }
.cadre { background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--trait); white-space: nowrap; vertical-align: top; }
th { position: sticky; top: 0; background: #F6F8FA; font-size: 0.78rem; font-weight: 600; color: var(--encre-2); }
td.n, th.n { text-align: right; }
td.adresse { white-space: normal; min-width: 220px; }
td.adresse small { display: block; color: var(--encre-3); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FAFBFC; }
.vide { padding: 34px 16px; text-align: center; color: var(--encre-2); }
.pages { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 14px; font-size: 0.88rem; }
.pied { padding-block: 0 36px; }
.pied p { margin: 0; font-size: 0.82rem; color: var(--encre-3); max-width: 90ch; }
