/* Documents légaux My Beauty Date : mise en page noir et blanc, format A4, imprimée en PDF
   par Chrome headless (scripts/build-legal-pdf.sh). */
@page {
  size: A4;
  margin: 22mm 20mm 24mm 20mm;
  @bottom-left {
    content: "My Beauty Date";
    font-family: Helvetica, Arial, sans-serif;
    font-size: 8.5pt;
    color: #000;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  @bottom-right {
    content: counter(page) " / " counter(pages);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 8.5pt;
    color: #000;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10.5pt;
  line-height: 1.5;
}

/* En-tête centré, comme les documents Planity : logo, titre, puis le texte. */
header.doc {
  text-align: center;
  padding: 6mm 0 10mm;
  margin-bottom: 8mm;
}
header.doc .brand {
  font-size: 16pt;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
header.doc h1 {
  font-size: 22pt;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 14mm 0 4mm;
}
header.doc .meta {
  font-size: 9.5pt;
  color: #000;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2mm 8mm;
}

h2 {
  font-size: 13pt;
  font-weight: 600;
  margin: 9mm 0 3mm;
  break-after: avoid;
}
h3 {
  font-size: 11pt;
  font-weight: 600;
  margin: 6mm 0 2mm;
  break-after: avoid;
}
p { margin: 0 0 3mm; text-align: justify; hyphens: auto; }
ul, ol { margin: 0 0 3mm; padding-left: 6mm; }
li { margin-bottom: 1.2mm; }
strong { font-weight: 600; }
a { color: #000; text-decoration: underline; text-underline-offset: 2pt; }
table { width: 100%; border-collapse: collapse; margin: 3mm 0 5mm; font-size: 9.5pt; }
th, td { border: 0.75pt solid #000; padding: 2mm 2.5mm; text-align: left; vertical-align: top; }
th { font-weight: 600; text-transform: uppercase; font-size: 8.5pt; letter-spacing: 0.08em; }
.lead { font-size: 11pt; }
.sign { margin-top: 12mm; padding-top: 5mm; border-top: 0.75pt solid #000; font-size: 9.5pt; }
