/* Chaque document a son propre support : c'est la matière qui raconte. */
.papier {
  background: var(--papier);
  color: var(--encre);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--ombre-papier);
  overflow-wrap: break-word;
}
.papier h3, .papier h4 { margin: 0; }
.papier p { margin: 0 0 .8em; }

/* Coupure de presse */
.p-journal { background: var(--journal); font: 15.5px/1.5 var(--presse); text-align: justify; hyphens: auto; }
.p-journal .titre-journal { font: 700 1.05rem var(--presse); text-align: center; border-bottom: 3px double var(--encre); padding-bottom: .3rem; }
.p-journal .date-journal { text-align: center; font-style: italic; font-size: .85rem; margin: .3rem 0 1rem; }
.p-journal h3 { font: 700 1.6rem/1.15 var(--presse); text-align: left; margin-bottom: .3rem; }
.p-journal .chapeau { font-style: italic; text-align: left; margin-bottom: 1rem; }
.p-journal .colonnes { columns: 2 14rem; column-gap: 1.4rem; column-rule: 1px solid #b9b19c; }
.p-journal .colonnes p { text-indent: 1.2em; }

/* Registre de l'horloger : plume sur papier ligné à marge rouge */
.p-carnet {
  background-color: #f4f0e2;
  background-image: linear-gradient(90deg, transparent 2.3rem, #d58c8c 2.3rem 2.4rem, transparent 2.4rem),
    repeating-linear-gradient(transparent 0 31px, #bcc8d6 31px 32px);
  padding-left: 3rem;
  font: 1.3rem/32px var(--plume);
}
.p-carnet h3 { font: 600 1.6rem/32px var(--plume); margin-bottom: 32px; }
.p-carnet .entree { margin: 0 0 32px; }
.p-carnet .date { font-weight: 600; margin-right: .4rem; }
.p-carnet .note { color: #7a2a1f; }
.p-carnet s { text-decoration-thickness: 2px; }
.p-carnet.ancien { background-color: #e8dfc4; filter: sepia(.25); }

/* Pièces dactylographiées : procès-verbal, facture */
.p-machine { font: 14.5px/1.6 var(--machine); }
.p-machine h3 { font: 700 1rem/1.4 var(--machine); text-align: center; margin-bottom: 1rem; }
.p-machine .entete { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; margin-bottom: 1rem; }
.p-machine .signature { font: 1.5rem var(--plume); text-align: right; margin-top: 1rem; }

.p-facture { background: #f3efe6; }
.p-facture .raison { font: 700 1.5rem/1.1 var(--presse); text-align: left; letter-spacing: .02em; }
.p-facture .metier { font: italic .95rem var(--presse); margin-bottom: 1rem; }
.p-facture table { width: 100%; border-collapse: collapse; margin: .8rem 0; }
.p-facture td { border-bottom: 1px dotted #9a9385; padding: .35rem .2rem; vertical-align: top; }
.p-facture td:last-child { text-align: right; white-space: nowrap; }
.p-facture .acquitte { color: var(--tampon); border: 2px solid currentColor; display: inline-block; padding: 0 .4rem; transform: rotate(-4deg); font-weight: 700; }
