/* pdfactory.org — design system for the site pages.
 *
 * Hand-written, deliberately: no Tailwind, no web font, no icon set. A site
 * whose argument is "your files stay in Frankfurt and nothing leaves" cannot
 * load its typeface from a third party -- a German court has already fined a
 * site for exactly that. So the personality has to come from treatment rather
 * than from an exotic face, and every byte here is served from our own host.
 *
 * The idea the whole thing hangs on: a PDF is flat. Everything PDFactory does
 * is recover structure from that flat surface. So the palette has two poles --
 * `flat`, the muted grey of the scan, and `ultra`, the ink of what we pull out
 * of it -- and the figures on every page are that same before/after.
 */

:root {
  --ink: #0f1620;
  --ink-soft: #55637a;
  --paper: #f3f6f9;
  --film: #ffffff;
  --rule: #d5dde6;
  --ultra: #2340d8; /* the extracted ink */
  --flat: #97a3b2; /* the scan it came from */

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ultra);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- primitives ---------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gut);
}

/* The utility voice: plan annotation, not marketing eyebrow. Every label,
   status, caption and measurement on the site is set in it. */
.mono {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 20;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

/* ---------- masthead ---------- */

.masthead {
  background: var(--film);
  border-bottom: 1px solid var(--rule);
}

.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: 10px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  /* No gap: a flex container turns the bare text node "actory" into its own
     item, and any gap would split the word down the middle. */
  gap: 0;
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark b {
  color: var(--ultra);
  font-weight: 800;
}

.wordmark span {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--flat);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--ultra);
}

/* La barre porte désormais deux choses à droite : les modules et la langue.
   Elles se groupent, pour que l'espacement de la barre reste « la marque à
   gauche, le reste à droite » plutôt que de devenir trois blocs répartis. */
.masthead__droite {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  flex-wrap: wrap;
}

/* La bascule de langue. Deux liens véritables, pas un bouton : la page dans
   l'autre langue existe à sa propre adresse, un moteur doit pouvoir la suivre,
   et un clic du milieu doit l'ouvrir dans un onglet. Rien n'est retenu d'un
   passage à l'autre -- ni cookie, ni stockage, ni redirection selon la langue
   du navigateur : le site promet de ne rien garder, et une préférence de
   langue est encore quelque chose de gardé. */
.langue {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  line-height: 1;
  background: var(--film);
}

.langue a,
.langue span {
  padding: 7px 9px;
  text-decoration: none;
  color: var(--flat);
  display: inline-flex;
  align-items: center;
}

.langue a:hover {
  color: var(--ink);
  background: var(--paper);
}

.langue [aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.langue a + a,
.langue span + a,
.langue a + span {
  border-left: 1px solid var(--rule);
}

/* ---------- hero ---------- */

.hero {
  border-bottom: 1px solid var(--rule);
  background: var(--film);
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 104px);
}

/* A page with no figure to set beside the headline. */
.hero__in--solo {
  grid-template-columns: minmax(0, 1fr);
}

.hero__in--solo > * {
  max-width: 68ch;
}

.hero__in--solo h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 0.97;
  letter-spacing: -0.042em;
  font-weight: 800;
  /* Le titre porte ses propres <br> : chaque moitié est une phrase, et la
     coupure est écrite. Reste ce que la traduction fait varier -- « PDFactory
     hands it back. » ne tient pas là où « PDFactory restitue. » tenait, et le
     point final se retrouvait seul sur une troisième ligne. `balance` répartit
     ce débordement au lieu de le laisser en orpheline ; là où le navigateur
     l'ignore, on retrouve exactement le rendu d'avant. */
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--ultra);
}

.hero__lede {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.hero__cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ultra);
  background: var(--ultra);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 12px 22px;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: #1b34ad;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  background: var(--rule);
  border-color: var(--rule);
  color: #8a97a8;
  cursor: not-allowed;
}

.btn--quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn--quiet:hover {
  background: var(--paper);
  border-color: var(--flat);
}

.arrow {
  transition: transform 0.15s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- figure: the before/after plate ---------- */

.fig {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--film);
  border-radius: 3px;
  overflow: hidden;
}

.fig svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fbfcfd;
}

/* Labels inside the drawings: the same plan-annotation voice as .mono, but
   SVG text takes its own properties. */
.figtext {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  fill: var(--ink-soft);
}

.figtext--dim {
  fill: var(--flat);
}

/* ---------- plates: one per module ---------- */

.plate {
  border-top: 1px solid var(--rule);
  padding-block: clamp(44px, 7vw, 84px);
}

.plate:first-of-type {
  border-top: 0;
}

.plate__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.plate__head .mono {
  color: var(--ink);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.plate__body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(26px, 4.4vw, 60px);
  align-items: start;
}

.plate h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.028em;
  font-weight: 750;
}

.plate p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* Status is information the reader needs before anything else: whether the
   module exists yet. So it sits in the head, not in the body copy. */
.status {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  white-space: nowrap;
}

.status--live {
  border-color: var(--ultra);
  color: var(--ultra);
  font-weight: 600;
}

/* ---------- spec list: formats, guarantees, facts ---------- */

.specs {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.specs li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}

.specs dt,
.specs .k {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flat);
  padding-top: 3px;
}

.specs .v {
  color: var(--ink);
}

/* ---------- the three-column feature table (juridique) ---------- */

.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 26px;
}

.cell {
  background: var(--film);
  padding: 22px 20px;
}

.cell h3 {
  margin: 10px 0 8px;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.cell p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cell .prob {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 2px solid var(--flat);
}

.cell .gain {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  padding-left: 12px;
  border-left: 2px solid var(--ultra);
}

.cell .mono {
  display: block;
  color: var(--flat);
  font-size: 0.6rem;
  margin-bottom: 4px;
}

/* ---------- feature table: what it does / what it solves / what you gain ---------- */

.tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 26px;
  background: var(--film);
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.tbl th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--flat);
  font-weight: 400;
  padding: 13px 20px;
  border-bottom: 1px solid var(--rule);
  width: 33.33%;
}

.tbl td {
  padding: 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.tbl tr:last-child td {
  border-bottom: 0;
}

.tbl td:first-child {
  color: var(--ink);
  font-weight: 650;
  font-size: 1rem;
}

.tbl td:last-child {
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--ultra);
}

@media (max-width: 820px) {
  .tbl,
  .tbl tbody,
  .tbl tr,
  .tbl td {
    display: block;
    width: auto;
  }

  .tbl thead {
    display: none;
  }

  .tbl tr {
    border-bottom: 1px solid var(--rule);
    padding: 6px 0 14px;
  }

  .tbl tr:last-child {
    border-bottom: 0;
  }

  .tbl td {
    border-bottom: 0;
    padding: 6px 20px;
  }

  .tbl td::before {
    content: attr(data-k);
    display: block;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--flat);
    margin-bottom: 4px;
  }

  .tbl td:last-child {
    box-shadow: none;
    border-left: 2px solid var(--ultra);
    margin-left: 20px;
    padding-left: 14px;
  }
}

/* ---------- questions fréquentes ---------- */

/* Le titre d'une plaque -- « Le parcours », « Ce que le module fait » -- porte
   la voix mono, mais c'est un titre : il ouvre la section, et les h3 des
   cellules lui répondent. Écrit en <p>, il laissait un h3 arriver avant tout
   h2, et une page se lisait au lecteur d'écran comme un plan sans étages. Le
   niveau change, l'apparence ne bouge pas : .plate__head .mono garde la taille
   et l'interlettrage, ces trois lignes défont ce que h2 aurait ajouté. */
.plate__head h2.mono {
  margin: 0 0 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* Une question est posée comme on la poserait à voix haute, et la réponse
   tient en un paragraphe : c'est la forme qu'un moteur cite, et c'est aussi
   celle qu'on lit le plus vite. Même filet que .specs -- rien de neuf à
   apprendre en descendant la page. */
.faq {
  margin-top: 22px;
  border-top: 1px solid var(--rule);
}

.faq__q {
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
}

.plate .faq h3 {
  margin: 0 0 7px;
  font-size: 1.04rem;
  line-height: 1.38;
  letter-spacing: -0.012em;
  font-weight: 700;
  max-width: 54ch;
}

.plate .faq p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 70ch;
}

/* ---------- data band ---------- */

.band {
  background: var(--ink);
  color: #fff;
}

.band__in {
  padding-block: clamp(38px, 6vw, 68px);
}

.band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.028em;
  font-weight: 750;
}

.band p {
  margin: 0;
  color: #a9b6c8;
  max-width: 56ch;
}

.band a {
  color: #fff;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: #27303e;
  border: 1px solid #27303e;
  border-radius: 3px;
  margin-top: 30px;
}

.fact {
  background: var(--ink);
  padding: 20px 18px;
}

.fact b {
  display: block;
  font-size: 1.34rem;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.fact span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8493a8;
}

/* ---------- long-form prose (confidentialite) ---------- */

.prose {
  max-width: 68ch;
  padding-block: clamp(40px, 6vw, 72px);
}

.prose h2 {
  margin: 46px 0 12px;
  font-size: 1.42rem;
  letter-spacing: -0.024em;
  font-weight: 750;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.prose h2:first-of-type {
  margin-top: 34px;
}

.prose h3 {
  margin: 26px 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 7px;
}

.prose strong {
  color: var(--ink);
}

.note {
  border-left: 2px solid var(--ultra);
  padding: 4px 0 4px 18px;
  margin: 22px 0;
}

.note p {
  margin: 0;
}

/* ---------- upload widget ---------- */

.drop {
  margin-top: 26px;
  border: 1.5px dashed var(--rule);
  background: var(--film);
  border-radius: 4px;
  padding: clamp(28px, 5vw, 46px) 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.drop:hover,
.drop.is-over {
  border-color: var(--ultra);
  background: #f6f8ff;
}

.drop__title {
  margin: 0;
  font-weight: 650;
}

.drop__hint {
  margin: 6px 0 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flat);
}

.drop__file {
  margin: 0;
  font-weight: 650;
  color: var(--ultra);
  word-break: break-all;
}

/* La pile de fichiers déposés. Numérotée, parce que l'ordre du dépôt est
 * l'ordre des pages de la liasse : c'est une information, pas une décoration. */
.pile {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
}

.pile li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 13px;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
}

.pile li:first-child {
  border-top: 0;
}

.pile__rang {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--flat);
  min-width: 1.4em;
}

.pile__nom {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pile__poids {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--flat);
  white-space: nowrap;
}

.pile__oter {
  font-size: 0.8rem;
  color: var(--flat);
}

.pile__oter:hover {
  color: #b0202f;
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.fields label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.fields select,
.fields input {
  display: block;
  width: 100%;
  margin-top: 7px;
  font: inherit;
  font-size: 0.95rem;
  padding: 9px 11px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--film);
  color: var(--ink);
}

.fields select:focus,
.fields input:focus {
  border-color: var(--ultra);
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 64, 216, 0.14);
}

.err {
  margin-top: 14px;
  color: #b0202f;
  font-size: 0.92rem;
}

/* Ce que la conversion fera d'une page trop grande pour la résolution
 * demandée. Rien n'a échoué, et la couleur le dit : l'encre extraite plutôt
 * que le rouge de `.err`. */
.avis {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--ultra);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 48ch;
}

/* Les voies secondaires, sous le dépôt de fichier. Chacune n'apparaît que là
 * où elle mène quelque part -- la photo demande une caméra -- et l'écart entre
 * elles est un `gap` plutôt qu'une ponctuation : une puce écrite à la main
 * resterait seule à l'écran le jour où sa voisine se cache. */
.drop__ou {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.lien {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: var(--ultra);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- framing a photographed page ---------- */

.rdr__wrap {
  padding-top: clamp(28px, 5vw, 52px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.rdr__titre {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}

.rdr__lede {
  max-width: 58ch;
  color: var(--ink-soft);
  margin: 12px 0 26px;
}

/* The box hugs the image exactly -- max-width and max-height on an <img>
 * shrink the element itself rather than letterboxing inside it -- so the
 * overlay can simply cover the box and land on the picture. */
.rdr {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

.rdr__page {
  display: block;
  max-width: 100%;
  max-height: 62vh;
}

.rdr__cadre {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Otherwise dragging a corner scrolls the page under the finger. */
  touch-action: none;
}

.rdr__poly {
  fill: rgba(35, 64, 216, 0.14);
  stroke: #7a93ff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.rdr__coin {
  fill: #fff;
  stroke: var(--ultra);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  cursor: grab;
}

.rdr__coin.is-pris {
  fill: var(--ultra);
  cursor: grabbing;
}

.rdr__coin:focus-visible {
  outline: 2px solid #fff;
}

.rdr__attente {
  text-align: center;
  color: var(--ink-soft);
  padding: clamp(40px, 10vw, 96px) 0;
  margin: 0;
}

.rdr__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 26px 0 0;
}

.rdr__note {
  margin-top: 20px;
  color: var(--flat);
}

/* ---------- viewfinder ---------- */

/* A camera surface, not a site surface: it is nearly black because the
 * document has to be the brightest thing on the screen, and it borrows the
 * conventions of every camera the visitor has already used. The one thing it
 * keeps from the site is the grammar of the figures -- flat grey for what has
 * not been resolved yet, ink for what has -- which is why the guide turns blue
 * at exactly the moment the frame becomes worth keeping. */
.shot {
  --vif: #7a93ff; /* the brand blue, lifted to carry on near-black */
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #05080d;
}

body.shot-ouvert {
  overflow: hidden;
}

.shot__flux,
.shot__gele {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #05080d;
}

/* A viewfinder fills the screen; a proof sheet does not. `cover` on the frozen
 * shot would crop it, so we would be asking "is this readable?" about a view
 * that is not the one leaving the phone. `contain` shows the whole frame,
 * bars and all. */
.shot__flux {
  object-fit: cover;
}

.shot__gele {
  object-fit: contain;
}

/* Inset from the usable area rather than from the screen: at the foot, the bar
 * and the status pill own the last 150 pixels, and corner marks drawn behind
 * "Annuler" guide nobody. The region actually scored stays the middle of the
 * frame -- the two only ever matched approximately anyway, since the preview
 * is drawn with `cover`. */
.shot__cadre {
  position: absolute;
  top: var(--marge);
  left: var(--marge);
  right: var(--marge);
  bottom: calc(var(--marge) + 96px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.shot__cadre i {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 2px solid var(--flat);
  transition: border-color 0.18s ease;
}

.shot__cadre i:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.shot__cadre i:nth-child(2) {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}

.shot__cadre i:nth-child(3) {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.shot__cadre i:nth-child(4) {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

.shot.is-pret .shot__cadre i {
  border-color: var(--vif);
}

/* Carried on its own dark pill: the status sits over whatever the camera is
 * pointed at, and white letters on a white sheet are unreadable however heavy
 * the text-shadow. */
.shot__etat {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  /* Absolutely positioned with `left` but no `right`, the box would shrink to
   * fit the half of the screen left of it and wrap mid-sentence; max-content
   * lets it size to its text, and max-width keeps it on screen. */
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(5, 8, 13, 0.74);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.shot.is-pret .shot__etat {
  color: var(--vif);
}

.shot__barre {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px clamp(14px, 5vw, 32px);
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(5, 8, 13, 0.85), rgba(5, 8, 13, 0));
}

.shot__barre--revue {
  grid-template-columns: 1fr auto;
}

.shot__texte {
  border: 0;
  background: none;
  padding: 10px 4px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  justify-self: start;
}

.shot__barre > .shot__texte:last-child {
  justify-self: end;
}

.shot__texte[aria-pressed="true"] {
  color: var(--vif);
}

.shot__declencheur {
  width: 74px;
  height: 74px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.12s ease;
}

.shot__declencheur::after {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin: auto;
  border-radius: 50%;
  background: #fff;
}

.shot.is-pret .shot__declencheur {
  border-color: var(--vif);
}

.shot__declencheur:active {
  transform: scale(0.94);
}

.shot__valider {
  border: 1px solid var(--vif);
  background: var(--vif);
  color: #05080d;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 3px;
  cursor: pointer;
  justify-self: end;
}

.shot :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

/* ---------- le relais téléphone -> poste ---------- */

/* Pas sur un téléphone : afficher là un code à viser revient à demander à
 * l'appareil de se lire lui-même, et « Visez ce code avec votre téléphone »
 * n'a aucun sens quand on le lit dessus. L'offre de photographier, juste à
 * côté, est de toute façon strictement meilleure là où elle s'affiche. Une
 * fenêtre de bureau rétrécie garde `pointer: fine` et conserve donc l'offre,
 * ce qui est bien ce qu'on veut : c'est le doigt qui trahit le téléphone, pas
 * la largeur. */
@media (pointer: coarse) and (max-width: 600px) {
  .lien--relais {
    display: none;
  }
}

/* Une fiche posée sous le dépôt, pas une fenêtre par-dessus : elle n'interrompt
 * rien, puisque la suite du geste se passe sur un autre appareil et que la
 * page, elle, se contente d'attendre. */
.qr {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
  margin-top: 20px;
  padding: clamp(16px, 3vw, 24px);
  background: var(--film);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

@media (max-width: 560px) {
  .qr {
    grid-template-columns: 1fr;
  }
}

/* 200 px pour 41 modules de large, soit près de 5 pixels par module : au-dessus
 * de ce qu'un objectif de téléphone demande, avec de quoi encaisser un écran
 * mat, un reflet ou une main qui tremble. */
.qr__vue {
  position: relative;
  width: 200px;
  max-width: 56vw;
  aspect-ratio: 1;
  /* Blanc franc, et pas --film : la zone de silence du code en fait partie, et
   * un fond légèrement teinté réduit le contraste que l'objectif vient lire. */
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
}

.qr__code {
  display: block;
  width: 100%;
  height: 100%;
}

.qr.is-perime .qr__code {
  filter: grayscale(1);
  opacity: 0.25;
}

.qr__voile {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.qr__titre {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.qr__titre:focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: 4px;
}

/* Numérotés parce que l'ordre porte quelque chose : on ne photographie pas
 * avant d'avoir ouvert le lien. */
.qr__pas {
  margin: 12px 0 0;
  padding-left: 1.2em;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.qr__pas li {
  margin-top: 5px;
}

.qr__pas li::marker {
  color: var(--ultra);
  font-weight: 650;
}

/* Chiffres à chasse fixe : sans cela le compte à rebours tressaute d'un pixel
 * à chaque seconde, ce qui attire l'œil sur la seule chose qui n'a pas besoin
 * d'être surveillée. */
.qr__horloge {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flat);
  font-variant-numeric: tabular-nums;
}

.qr__mot {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.qr__mot:empty {
  display: none;
}

.qr__sous {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 16px 0 0;
  font-size: 0.92rem;
}

/* ---------- la page ouverte par le téléphone ---------- */

.tel {
  max-width: 44rem;
  padding-top: clamp(28px, 6vw, 48px);
  padding-bottom: clamp(36px, 8vw, 64px);
}

.tel__titre {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tel__lede {
  margin: 12px 0 0;
  max-width: 48ch;
  color: var(--ink-soft);
}

.tel__actions {
  margin-top: 28px;
}

.tel__ou {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.tel__note {
  margin-top: 28px;
  color: var(--flat);
}

/* Une cible qu'on atteint d'un pouce, debout, sans viser -- et qui redevient un
 * bouton ordinaire dès qu'il y a de la place autour. */
.btn--grand {
  width: 100%;
  justify-content: center;
  padding: 17px 24px;
  font-size: 1.05rem;
}

@media (min-width: 620px) {
  .btn--grand {
    width: auto;
  }
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--rule);
  background: var(--film);
}

.foot__in {
  padding-block: 30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.foot a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-right: 18px;
  font-size: 0.9rem;
}

.foot a:hover {
  color: var(--ink);
}

/* ---------- the hero extraction, played once on load ---------- */

.scanlayer {
  filter: blur(1.6px);
  animation: dim 0.9s 2.15s ease forwards;
}

.vec {
  opacity: 0;
  animation: appear 0.01s forwards;
}

.draw {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: draw 1.15s var(--at, 0.35s) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pop {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: pop 0.34s var(--at, 1s) cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

.tag {
  opacity: 0;
  animation: fade 0.5s var(--at, 2.3s) ease forwards;
}

/* The composite sheet. Unlike .scanlayer it is the subject of the drawing,
   not a backdrop under fresh ink, so it softens instead of fading away --
   at 0.22 the "before" disappeared and the comparison went with it. */
.composite {
  filter: blur(1.1px);
  animation: soften 0.9s 1.9s ease forwards;
}

@keyframes soften {
  to {
    opacity: 0.78;
  }
}

/* A separation being lifted off the composite: the one moving thing on the
   page, so it gets the one transform. It starts back at the sheet it came
   from and settles into its own place. */
.sheet {
  opacity: 0;
  transform: translate(-22px, 8px);
  animation: lift 0.62s var(--at, 0.6s) cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}

@keyframes draw {
  from {
    stroke-dashoffset: var(--len);
    opacity: 1;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes pop {
  to {
    transform: scale(1);
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

@keyframes appear {
  to {
    opacity: 1;
  }
}

@keyframes lift {
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes dim {
  to {
    opacity: 0.22;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero__in,
  .plate__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__fig {
    order: -1;
  }

  .specs li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scanlayer,
  .composite,
  .vec,
  .draw,
  .pop,
  .tag,
  .sheet {
    animation: none !important;
  }

  .scanlayer {
    opacity: 0.22;
  }

  .vec,
  .tag {
    opacity: 1;
  }

  .composite {
    opacity: 0.78;
  }

  .sheet {
    opacity: 1;
    transform: none;
  }

  .draw {
    stroke-dashoffset: 0;
  }

  .pop {
    transform: none;
  }

  .btn,
  .arrow,
  .drop,
  .shot__cadre i,
  .shot__declencheur {
    transition: none;
  }
}

/* ---------- l'atelier juridique ----------
 *
 * La même figure que partout ailleurs sur le site, posée cette fois comme
 * surface de travail : à droite le document tel quel, à gauche ce qu'on en a
 * tiré. Le surlignage est en `--ultra`, l'encre extraite -- la seule couleur
 * que le site emploie pour ce qu'il a trouvé lui-même.
 */

.dos {
  display: grid;
  grid-template-columns: minmax(300px, 26rem) 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) var(--gut) clamp(40px, 6vw, 70px);
}

.dos__cote {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 40px);
}

.dos__nom {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.dos__meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.jauge {
  height: 3px;
  background: var(--rule);
  overflow: hidden;
}

.jauge i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ultra);
  transition: width 0.4s ease;
}

.dos__cherche {
  display: flex;
  gap: 8px;
}

.dos__cherche input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--rule);
  background: var(--film);
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
}

.dos__cherche input:focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: -1px;
}

.btn--petit {
  padding: 9px 14px;
  font-size: 0.82rem;
}

.dos__onglets {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 1px solid var(--rule);
}

.dos__onglets button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 7px 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.dos__onglets button:hover {
  color: var(--ink);
}

.dos__onglets button.est-actif {
  color: var(--ink);
  border-bottom-color: var(--ultra);
}

.dos__vide {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.dos__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  border-top: 1px solid transparent;
}

.dos__item {
  padding: 8px 10px;
  border-left: 2px solid transparent;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}

.dos__item:hover {
  background: var(--film);
}

.dos__item.est-actif {
  background: var(--film);
  border-left-color: var(--ultra);
}

.dos__page-n {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--flat);
  margin-right: 6px;
}

.dos__sorties ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.88rem;
}

.dos__adieu {
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--rule);
  font-size: 0.86rem;
}

.dos__adieu .mono {
  font-size: 0.62rem;
  display: inline-block;
  padding-top: 6px;
}

.dos__vue {
  min-width: 0;
}

.dos__barre {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}

.dos__fleche {
  border: 1px solid var(--rule);
  background: var(--film);
  color: var(--ink);
  font: inherit;
  line-height: 1;
  padding: 5px 11px;
  cursor: pointer;
}

.dos__fleche:hover {
  border-color: var(--flat);
}

.dos__source {
  margin-left: auto;
  font-size: 0.62rem;
  color: var(--flat);
}

/* La page est posée sur un fond sombre : c'est ce qui la fait lire comme une
 * feuille sous une lampe, et non comme un bloc du site. */
.dos__page {
  position: relative;
  background: #dfe5ec;
  border: 1px solid var(--rule);
  min-height: 60vh;
}

.dos__page img {
  display: block;
  width: 100%;
  height: auto;
}

.dos__page svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.marque {
  fill: var(--ultra);
  fill-opacity: 0.22;
  stroke: var(--ultra);
  stroke-opacity: 0.55;
  stroke-width: 0.7;
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- module comptabilité : la pièce et son verdict ---------- */

/* Le cadre d'une pièce sur sa page. Un trait, pas un aplat : ce qu'il entoure
 * doit rester lisible, puisque c'est justement ce qu'on vient relire. */
.cadre {
  fill: none;
  stroke: var(--ultra);
  stroke-width: 1.6;
  stroke-dasharray: 6 4;
}

/* Trois comptes, cliquables comme filtres. Un pourcentage se lit sans rien
 * apprendre ; « 2 à vérifier » dit par où commencer. */
.bilan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 3px;
  margin: 18px 0;
  overflow: hidden;
}

.bilan__part {
  background: var(--paper);
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 11px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  transition: background 0.12s ease;
}

.bilan__part:hover {
  background: var(--film);
}

.bilan__part.est-actif {
  background: var(--film);
  box-shadow: inset 0 -2px 0 var(--ultra);
}

.bilan__part b {
  font-size: 1.15rem;
  line-height: 1;
}

.bilan__part span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flat);
}

.badge {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  border: 1px solid var(--rule);
  color: var(--flat);
  white-space: nowrap;
}

/* Le vert de ce qui tombe juste, l'ambre de ce qu'il faut regarder. Jamais de
 * rouge : un écart n'est pas une erreur du visiteur, c'est une lecture dont il
 * faut décider. */
.badge--ok {
  border-color: #167d4a;
  color: #167d4a;
}

.badge--alerte {
  border-color: #b45309;
  color: #b45309;
}

.badge--tiede {
  border-color: var(--rule);
  color: var(--flat);
}

.piece {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.piece__nom {
  font-weight: 500;
  line-height: 1.25;
}

.piece__bas {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  font-size: 0.78rem;
}

.piece__bas .mono {
  font-size: 0.6rem;
  color: var(--flat);
}

.piece__bas b {
  font-variant-numeric: tabular-nums;
}

/* La fiche : ce que la pièce dit, et ce qu'on peut y reprendre. */
.fiche {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  padding: 16px 18px;
  margin-top: 14px;
}

.fiche__tete {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.fiche__tete .mono {
  font-size: 0.62rem;
  color: var(--flat);
}

.fiche__mot {
  background: #fdf5ec;
  border-left: 2px solid #b45309;
  padding: 9px 12px;
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.fiche__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 14px;
}

.fiche__champ {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fiche__champ .mono {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flat);
}

.fiche__champ input {
  font: inherit;
  font-variant-numeric: tabular-nums;
  padding: 6px 9px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
}

.fiche__champ input:focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: 1px;
}

/* Un champ repris à la main ne se confond pas avec un champ lu : l'export doit
 * pouvoir le dire, et l'écran aussi. */
.fiche__champ.est-repris input {
  border-color: var(--ultra);
  background: #f5f7ff;
}

/* La grille chiffrée telle qu'elle a été reconstituée. Elle défile dans son
 * propre cadre : un tableau de sept colonnes ne doit pas faire défiler la page
 * entière sur le côté. */
.fiche__tableau {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.quadrille {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.quadrille th,
.quadrille td {
  padding: 5px 10px;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

.quadrille thead th {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flat);
  text-align: right;
  font-weight: 500;
  vertical-align: bottom;
}

.quadrille tbody th {
  text-align: left;
  font-weight: 400;
  color: var(--ink-soft);
  white-space: normal;
  min-width: 12ch;
}

.quadrille td {
  text-align: right;
}

/* Les totaux ne sont pas des valeurs comme les autres : ce sont eux que
 * l'arithmétique a éprouvés, et c'est là qu'on regarde d'abord. */
.quadrille .est-totale {
  font-weight: 650;
  color: var(--ink);
  background: var(--film);
}

.quadrille tbody tr:last-child th,
.quadrille tbody tr:last-child td {
  border-bottom: 0;
}

.quadrille tr.est-refusee th,
.quadrille tr.est-refusee td {
  background: #fdf1ea;
  box-shadow: inset 2px 0 0 #b45309;
}

/* La case où la ligne refusée et la colonne refusée se croisent. C'est le seul
 * chiffre qui explique les deux écarts à la fois — la conclusion du
 * recoupement, et la seule chose que l'œil doit trouver sur la page.
 *
 * Le sélecteur porte la ligne refusée avec lui : sans elle, `.quadrille
 * tr.est-refusee td` l'emporte en spécificité et repose son fond pâle
 * par-dessus, ce qui laissait du blanc sur du crème — la case la plus
 * importante du tableau, devenue la moins lisible. */
.quadrille tr.est-refusee td.est-fautive,
.quadrille td.est-fautive {
  background: #b45309;
  color: #fff;
  font-weight: 650;
}

.fiche__detail {
  margin-top: 14px;
  font-size: 0.84rem;
}

.fiche__detail summary {
  cursor: pointer;
  color: var(--flat);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fiche__detail ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .dos {
    grid-template-columns: 1fr;
  }

  .dos__cote {
    position: static;
    max-height: none;
  }

  .dos__liste {
    max-height: 40vh;
  }
}

/* Le masquage. Le noir est celui de l'encre du site, pas un noir de plus :
 * ce qui est retiré est retiré, et l'aperçu le dit avec la même matière. */
.dos__masque {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.dos__masque .btn--petit {
  margin-left: auto;
}

.dos__item.est-coche {
  background: var(--film);
}

.dos__item.est-coche::before {
  content: "▪ ";
  color: var(--ink);
}

.marque--masque {
  fill: var(--ink);
  fill-opacity: 0.88;
}

.marque--cible {
  fill: var(--ultra);
  fill-opacity: 0;
  cursor: pointer;
  pointer-events: all;
}

.marque--cible:hover {
  fill-opacity: 0.18;
}

/* ---------- le blogue ---------- */

/* Une liste, pas une grille de cartes. Trois guides longs se lisent l'un sous
   l'autre, et un filet horizontal les sépare mieux qu'une boîte : la boîte
   promet un aperçu, la ligne promet un texte. */
.posts {
  border-top: 1px solid var(--rule);
}

.post {
  display: block;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}

/* Le filet et le retrait de `.prose h2` sont annulés : ici c'est `.post` qui
   porte la séparation, et les deux ensemble tiraient un second trait entre la
   ligne de tête d'un article et son titre. */
.post h2 {
  margin: 9px 0;
  border: 0;
  padding-top: 0;
  font-size: 1.32rem;
  letter-spacing: -0.024em;
  font-weight: 750;
  line-height: 1.24;
}

.post:first-child h2,
.prose .posts h2:first-of-type {
  margin-top: 9px;
}

.post:hover h2,
.post:focus-visible h2 {
  color: var(--ultra);
}

.post p {
  margin: 0;
  max-width: 64ch;
  color: var(--ink-soft);
}

/* La ligne de tête d'un article : le module dont il parle, et la durée de
   lecture. Le module en premier -- c'est ce qui dit au lecteur si l'article
   le concerne, avant même le titre. */
.post__meta,
.article__meta {
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
}

.post__meta b,
.article__meta b {
  color: var(--ultra);
  font-weight: 400;
}

/* Le renvoi vers le module, en fin d'article. L'article explique un geste ;
   la seule chose à faire ensuite est de le poser sur un vrai fichier. */
.suite {
  border-top: 1px solid var(--rule);
  margin-top: 52px;
  padding-top: 26px;
}

.suite h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  border: 0;
  padding: 0;
}

.suite p {
  margin: 0 0 18px;
  max-width: 58ch;
}
