/* Large-print guide (/accessibility/, /fr/accessibilite/).
   Built for Atout France criterion 121 ("document accessible"): large type,
   high contrast, short lines, plain structure, readable by screen readers
   and printable at 16 pt or more. Keep it plain: no images, no columns,
   no justified text, no light grey body copy. */

.lp-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 18px; font-size: 1.25rem; z-index: 100;
}
.lp-skip:focus { left: 12px; top: 12px; }

main.lp {
  max-width: 40rem;              /* about 60 characters a line at this size */
  margin: 0 auto;
  padding: 48px 20px 72px;
  font-size: 1.375rem;           /* 22 px */
  line-height: 1.6;
  color: var(--navy);            /* #1A293A on white: about 14:1 contrast */
}
.lp h1 { font-size: 2.4rem; line-height: 1.15; font-weight: 800; color: var(--navy); margin: 0 0 16px; }
.lp h2 {
  font-size: 1.9rem; line-height: 1.2; font-weight: 800; color: var(--navy);
  margin: 56px 0 16px; padding-top: 20px; border-top: 4px solid var(--navy);
}
.lp h3 { font-size: 1.55rem; line-height: 1.25; font-weight: 700; color: var(--navy); margin: 36px 0 10px; }
.lp p, .lp li { margin: 0 0 14px; }
.lp ul { list-style: disc; padding-left: 1.4em; margin: 0 0 14px; }
.lp ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 14px; }
.lp li { padding-left: 0.2em; }
.lp strong { font-weight: 800; }
.lp a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.lp a:focus-visible, .lp-skip:focus-visible { outline: 4px solid #F2B705; outline-offset: 3px; }

.lp-intro p { font-size: 1.5rem; }
.lp-key {
  font-weight: 800; font-size: 1.6rem;
  background: var(--blue-tint, #E8EEF7); border-left: 8px solid var(--blue);
  padding: 16px 20px; margin: 0 0 20px;
}

.lp-numbers { margin: 0 0 20px; }
.lp-numbers div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px;
  border-bottom: 2px solid #C9D2DE; padding: 12px 0;
}
.lp-numbers dt { font-weight: 600; }
.lp-numbers dd { margin: 0; font-weight: 800; font-size: 1.6rem; }

@media (max-width: 600px) {
  main.lp { font-size: 1.25rem; padding: 32px 16px 56px; }   /* 20 px on phones */
  .lp h1 { font-size: 2rem; }
  .lp h2 { font-size: 1.65rem; }
  .lp h3 { font-size: 1.4rem; }
}

/* Printed copy for the apartment: A4, black on white, 18 pt body. */
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  .site-header, .site-footer, .lp-skip { display: none !important; }
  body { background: #fff; }
  main.lp { max-width: none; padding: 0; font-size: 18pt; line-height: 1.45; color: #000; }
  .lp h1 { font-size: 30pt; color: #000; }
  .lp h2 { font-size: 24pt; color: #000; border-top-color: #000; margin-top: 18pt; }
  .lp h3 { font-size: 20pt; color: #000; margin-top: 14pt; break-after: avoid; }
  .lp-intro p { font-size: 18pt; }
  .lp-key { font-size: 20pt; background: none; border-left-color: #000; color: #000; }
  .lp a { color: #000; text-decoration: none; }
  .lp-numbers dd { font-size: 20pt; }
  .lp-equipment, .lp-help { break-before: page; }
  .lp-equipment h2, .lp-help h2 { border-top: none; padding-top: 0; margin-top: 0; }
  .lp ul, .lp ol, .lp-numbers div { break-inside: avoid; }
}
