/* Poivre et Sel · feuille d'impression.
   Pages de service : une fiche A4 d'une page, gros caractères, numéro en très grand.
   Autres pages : le texte seul, lisible, avec le numéro en bas. */

@page { size: A4; margin: 15mm 17mm; }

html { font-size: 12.5pt; }
body { background: #fff; color: #000; }
a { color: #000; text-decoration: none; }

.evitement, .entete .menu, .grains, .ariane, .pied, .formulaire, .boutons, .outils, .lien-suite,
.appel__autres, .ecran, .section-rappel { display: none !important; }

.cadre { max-width: none; padding-inline: 0; }
.entete__haut { padding: 0 0 4mm; border-bottom: 2pt solid #000; align-items: flex-end; }
.logo__svg { width: 46mm; }
.logo__gris { fill: #333; }
.logo__accent { fill: #000; }
.entete__invite { color: #000; }
.entete .numero { font-size: 20pt; }
.numero { text-decoration: none; color: #000; }

.page, .tete, .bloc, .une { padding-block: 6mm 0; }
.bloc--voile { background: none; }
.deux, .loin, .faire { display: block; }
.carton { border: 1.5pt solid #000; background: none; margin-top: 6mm; break-inside: avoid; }
h1 { font-size: 24pt; }
h2 { font-size: 16pt; break-after: avoid; }
h3 { font-size: 13pt; break-after: avoid; }
p, li { orphans: 3; widows: 3; }
.tableau { border-top: 2pt solid #000; }
.tableau th, .tableau td { border-bottom: 0.5pt solid #000; }

.appel { background: none; color: #000; padding: 6mm 0 0; margin-top: 8mm; border-top: 2pt solid #000; break-inside: avoid; }
.appel h2 { color: #000; font-size: 13pt; }
.appel .numero, .appel a { color: #000; }
.appel .numero--geant { font-size: 40pt; }
.appel__texte { color: #000; }

/* ── Fiche de service : tout disparaît sauf la feuille ── */
.page-service .entete, .page-service main > :not(.feuille), .page-service .appel { display: none !important; }
.page-service .feuille {
  display: flex;
  flex-direction: column;
  height: 264mm; /* A4 moins les marges : la fiche tient sur une page */
  font-size: 15.5pt;
  line-height: 1.42;
  break-inside: avoid;
}
.feuille__marque { font-family: var(--titre); font-size: 18pt; padding-bottom: 3mm; border-bottom: 3pt solid #000; display: flex; justify-content: space-between; align-items: baseline; }
.feuille__marque span { font-family: var(--texte); font-size: 11.5pt; }
.feuille__titre { font-family: var(--titre); font-size: 31pt; line-height: 1.1; margin-top: 9mm; }
.feuille__phrase { font-size: 18.5pt; line-height: 1.35; margin-top: 5mm; }
.feuille__points { list-style: none; padding: 0; margin-top: 7mm; border-top: 1pt solid #000; }
.feuille__points li { padding: 2.6mm 0 2.6mm 8mm; border-bottom: 1pt solid #000; position: relative; }
.feuille__points li::before { content: ""; position: absolute; left: 0; top: 5.2mm; width: 3.4mm; height: 3.4mm; background: #000; }
.feuille__preparer { margin-top: 6mm; }
.feuille__preparer strong { display: block; }
.feuille__bas { margin-top: auto; border: 3pt solid #000; padding: 6mm 7mm 6mm; }
.feuille__invite { font-size: 17pt; }
.feuille__numero { font-family: var(--titre); font-size: 62pt; line-height: 1.05; white-space: nowrap; margin-top: 1mm; }
.feuille__second { margin-top: 3mm; font-size: 14.5pt; }
.feuille__pied { margin-top: 4mm; font-size: 11.5pt; display: flex; justify-content: space-between; gap: 6mm; }
