/* Pages d'accompagnement : la même typographie et le même papier que l'accueil, sans l'animation. */
@font-face { font-family: "KMR Apparat"; src: url("/fonts/KMR-Apparat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "KMR Apparat"; src: url("/fonts/KMR-Apparat-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --papier: #fbfaf6; --encre: #1f1b18; --doux: #6e655c; --brique: #883318;
  --sans: "KMR Apparat", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --gout: calc(max(0px, (100vw - 1280px) / 2) + max(16px, min(4vw, 51.2px)));
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--papier); color: var(--encre); font-family: var(--mono); font-weight: 300; font-size: clamp(14.5px, .45vw + 8.5px, 16px); line-height: 1.55; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brique); }
.haut { display: flex; justify-content: space-between; gap: 16px; padding: max(14px, env(safe-area-inset-top)) var(--gout) 12px;
  font-family: var(--sans); font-size: clamp(12px, .2vw + 9.4px, 13px); line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.haut .qui { display: flex; flex-direction: column; text-decoration: none; }
.haut .qui b { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.haut .contact { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
main { max-width: 68ch; margin: 0 auto; padding: 24px 16px calc(var(--farrellH, 120px) + 90px); }
.fil { font-family: var(--sans); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); }
/* les tailles de l'accueil : le titre de la page exactement comme l'accroche d'un chapitre (« Construire à votre rythme » : 17 px, 15 px sur téléphone, graisse normale) */
h1 { font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.25; letter-spacing: .01em; text-transform: uppercase; margin: 1.6em 0 .7em; }
main h3 { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 1.6em 0 .3em; }
h2 { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; margin: 2.2em 0 .6em; }
p { margin: 0 0 .7em; text-wrap: pretty; }
.pourqui, .prix { color: var(--doux); }
.afixer { color: var(--brique); }
.bouton { display: inline-block; margin-top: 6px; padding: 6px 14px 5px; border: 1px solid currentColor; text-decoration: none; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bouton:hover { background: var(--encre); color: var(--papier); }
.autres { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pied { position: fixed; left: var(--gout); right: var(--gout); bottom: 0; z-index: 3; margin: 0; display: flex; justify-content: space-between;
  border-top: 1px solid var(--encre); padding: 12px 0 max(16px, env(safe-area-inset-bottom)); background: var(--papier);
  font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pied::before { content: ''; position: absolute; left: calc(-1 * var(--gout)); right: calc(-1 * var(--gout)); top: 0; bottom: 0; background: var(--papier); z-index: -1; }
#farrell { position: fixed; left: 0; top: 0; z-index: 2; pointer-events: none; will-change: transform; line-height: 0; }
#farrell > div { display: none; }
#farrell > div.on { display: block; }
@media (max-width: 560px) { .haut { font-size: 11px; letter-spacing: .04em; } }
@media (max-width: 760px) { body { font-size: 13px; } h1, .chapo, .article .accroche { font-size: 15px; } }
/* Les articles : la page d'un article, et leur liste */
.date { color: var(--doux); margin-top: -.2em; }
.couverture { margin: 1.4em 0; }
.couverture img, .couverture video { display: block; width: 100%; height: auto; }
.chapo { font-family: var(--sans); font-size: 17px; line-height: 1.35; letter-spacing: .01em; }
.article h3 { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 1.6em 0 .3em; }
.article .accroche { font-family: var(--sans); font-size: 17px; line-height: 1.3; text-transform: uppercase; }
.voisins { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2.4em 0 1em; padding-top: 14px; border-top: 1px solid var(--encre); }
.voisins a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.voisins a span { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--doux); }
.voisins .ancien { text-align: right; }
.liste-articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.liste-articles a { display: grid; grid-template-columns: 140px 1fr; grid-template-rows: auto auto 1fr; column-gap: 18px; text-decoration: none; }
.liste-articles img { grid-row: 1 / 4; width: 140px; height: 105px; object-fit: cover; }
.liste-articles b { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.liste-articles .date, .liste-articles .resume { color: var(--doux); }
@media (max-width: 560px) { .liste-articles a { grid-template-columns: 96px 1fr; column-gap: 12px; } .liste-articles img { width: 96px; height: 72px; } .voisins { grid-template-columns: 1fr; } .voisins .ancien { text-align: left; } }
/* au survol (ordinateur, souris), un lien seul sur sa ligne grandit un peu, comme sur chezhelene.be ; il grandit depuis
   son bord (à droite pour les contacts alignés à droite) ; les liens dans une phrase et les boutons ne bougent pas */
@media (hover: hover) {
  .fil a, .autres a, h3 a { display: inline-block; }
  .haut a, .fil a, .autres a, .pied a, .legal a, h3 a { transform-origin: left center; transition: transform .15s cubic-bezier(.4, 0, .2, 1); }
  .haut .contact a, .pied a:last-child { transform-origin: right center; }
  .haut a:hover, .fil a:hover, .autres a:hover, .pied a:hover, .legal a:hover, h3 a:hover { transform: scale(1.1); }
}
