/*
 * Éditions de l'Olivier — feuille du site, par-dessus UIkit 3.25.
 * Direction visuelle : documentation/DESIGN.md.
 *
 * Polices, tailles et largeur reprennent celles de l'ancien site
 * (../app/assets/stylesheets) : News Gothic partout, conteneur de 980 px,
 * titres de rubrique à barre épaisse, panneaux gris clair sur fond blanc.
 *
 * --theme est injectée par _layout.twig depuis Réglages → Couleur du thème.
 * Toutes les teintes d'accent en dérivent : ne pas écrire de violet en dur.
 */

:root {
  --theme: #593997;
  --theme-clair: color-mix(in srgb, var(--theme) 80%, #fff); /* lighten 20 % de l'ancien site */
  --theme-pale: color-mix(in srgb, var(--theme) 8%, #fff);
  --encre: #1a1a1a;
  --gris: #6e6e6e;
  --gris-clair: #8d8d8d;
  --panneau: rgba(0, 0, 0, .04);
  --barre-grise: rgba(46, 46, 46, .36);
  --filet: #e2e2e2;

  --marque: "news-gothic-std", "News Gothic MT", Arial, sans-serif;

  /* Largeur du contenu de l'ancien site. */
  --largeur: 980px;

  /* Échelle des couvertures : pixels par millimètre de hauteur réelle. */
  --echelle: 1.25;
}

/* --- Base --------------------------------------------------------------- */

html {
  font-family: var(--marque);
  font-size: 16px;
  color: var(--encre);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
body {
  display: flex; flex-direction: column; min-height: 100vh;
  font: 400 14px/20px var(--marque);
  color: var(--encre);
}

h1, h2, h3, h4, .uk-h1, .uk-h2, .uk-h3, .uk-h4 {
  font-family: var(--marque);
  font-weight: 700;
  color: var(--encre);
}
h1, .uk-h1 { font-size: 23px; line-height: 28px; }
h2, .uk-h2 { font-size: 18px; line-height: 26px; }
h3, .uk-h3 { font-size: 16px; line-height: 22px; }

a, .uk-link { color: var(--theme); }
/* Pas de soulignement au survol (UIkit en met un par défaut) : seule la couleur change. */
a:hover, .uk-link:hover, .uk-link-toggle:hover .uk-link { color: var(--theme-clair); text-decoration: none; }

:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  padding: .5rem 1rem; background: var(--theme); color: #fff;
}
.lien-evitement:focus { top: 1rem; color: #fff; }

/* Conteneur : 980 px de contenu, comme l'ancien site (UIkit ajoute les marges latérales). */
.cadre { max-width: var(--largeur); }

/* Textes longs (quatrième, biographies, pages) : 14/22 comme les pages de l'ancien site. */
.lecture { font-size: 14px; line-height: 22px; max-width: 68ch; }
.lecture p { margin: 0 0 .6em; }
.lecture i, .lecture em { font-style: italic; }
.lecture b, .lecture strong { font-weight: 700; }
.lecture a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--theme) 35%, #fff); text-underline-offset: .2em; }
.lecture a:hover { text-decoration-color: currentColor; }

.discret { color: var(--gris); }

/* Exposants posés par le filtre |typo (1er, XIXe…) : sans bousculer l'interligne. */
.exposant { font-size: .75em; line-height: 0; vertical-align: .4em; }

/* --- UIkit aux couleurs du thème --------------------------------------- */

.uk-button { font-family: var(--marque); font-weight: 700; text-transform: none; font-size: 14px; }
.uk-button-primary { background: var(--theme); color: #fff; }
.uk-button-primary:hover, .uk-button-primary:focus { background: var(--theme-clair); color: #fff; }
.uk-button-default { border-color: #bababa; color: #3f3f3f; background: #f5f5f5; }
.uk-button-default:hover { border-color: var(--theme); color: var(--theme); background: #fff; }

.uk-input, .uk-select { border-color: #ccc; font-family: var(--marque); font-size: 14px; color: var(--encre); }
.uk-input:focus, .uk-select:focus { border-color: var(--theme); }

.uk-pagination > * > * { color: var(--theme); font-size: 14px; }
.uk-pagination > .uk-active > * { color: var(--encre); font-weight: 700; }
.uk-pagination > * > a:hover { color: var(--theme-clair); }

.uk-offcanvas-bar { background: #fff; color: var(--encre); }
.uk-offcanvas-bar .uk-nav-default > li > a { color: var(--theme); font-size: 18px; font-weight: 700; padding: .5rem 0; }
.uk-offcanvas-bar .uk-nav-default > li.uk-active > a,
.uk-offcanvas-bar .uk-nav-default > li > a:hover { color: var(--encre); }
.uk-offcanvas-bar .uk-offcanvas-close { color: var(--encre); }
/* Le panneau d'UIkit est en couleurs inversées par défaut : on le repasse en clair. */
.uk-offcanvas-bar .uk-input { background: #fff; color: var(--encre); border: 1px solid #ccc; }
.uk-offcanvas-bar .uk-input::placeholder { color: var(--gris); }
.uk-offcanvas-bar .uk-input:focus { border-color: var(--theme); }
.uk-offcanvas-bar .uk-button-primary { background: var(--theme); color: #fff; }
.uk-offcanvas-bar .recherche .uk-input { width: auto; flex: 1; min-width: 0; height: 38px; }
.uk-offcanvas-bar .recherche .uk-button { height: 38px; width: 38px; }

/* --- En-tête : bandeau de lin avec le logo, puis bandeau du menu --------- */

.entete { background: #f4f4f2 url("img/lin.png") repeat; }
@media (min-resolution: 2dppx) {
  .entete, .pied { background-image: url("img/lin@2x.png"); background-size: 300px; }
}
.entete__haut { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding-top: 4px; }
.marque { display: inline-flex; align-items: flex-end; gap: 12px; color: var(--encre); text-decoration: none; }
.marque:hover { color: var(--encre); text-decoration: none; }
.marque__arbre { width: clamp(72px, 10vw, 130px); height: auto; color: #111; flex: none; }
.marque__nom { font-weight: 700; font-size: clamp(17px, 1rem + .6vw, 22px); line-height: 1; padding-bottom: clamp(10px, 2vw, 24px); white-space: nowrap; }
.bouton-menu { color: var(--encre); padding: .4rem; margin-bottom: .6rem; }
@media (max-width: 359px) {
  .entete__haut { gap: .5rem; }
  .marque { gap: 8px; }
  .marque__arbre { width: 52px; }
  .marque__nom { font-size: 16px; }
}

.entete__barre { background: #fff; border-top: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; box-shadow: 0 2px 0 #f3f3f3; }
.entete__barre-int { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.nav-principale { display: flex; margin: 0; padding: 0; list-style: none; }
.nav-principale a {
  display: block; padding: 0 15px; line-height: 36px;
  font-weight: 700; font-size: 16px; color: var(--theme); text-decoration: none;
  box-shadow: inset 0 -3px 0 transparent;
}
.nav-principale li:first-child a { padding-left: 0; }
.nav-principale a:hover { color: var(--theme-clair); }
.nav-principale a[aria-current="page"] { color: var(--encre); }

.entete__outils { display: flex; align-items: center; gap: 18px; }
.recherche { display: flex; gap: 3px; }
.recherche .uk-input { background: #fff; }
.entete__outils .recherche .uk-input { width: 220px; height: 26px; padding: 0 10px; border-radius: 6px; background: #fff; box-shadow: inset 1px 2px 2px #f5f5f5; font-size: 14px; }
.entete__outils .recherche .uk-button { width: 26px; height: 26px; line-height: 26px; padding: 0; border-radius: 6px; }
/* Loupe centrée : sans flex, le SVG se pose sur la ligne de base et descend de 2 px. */
.recherche .uk-button { display: inline-flex; align-items: center; justify-content: center; }
.recherche .uk-button svg { display: block; }
.lien-facebook { display: inline-grid; place-items: center; width: 36px; height: 26px; background: #3b5998; color: #fff; }
.lien-facebook:hover { background: #4c6bb0; color: #fff; }

/* --- Gabarit des pages -------------------------------------------------- */

/* L'olivier en filigrane, en bas à gauche, le pied posé sur le pied de page comme sur
   l'ancien site. L'image a 31 px de transparent sous l'arbre : on la descend d'autant. */
main {
  flex: 1;
  padding-block: clamp(24px, 4vw, 45px) clamp(40px, 6vw, 70px);
}
@media (min-width: 960px) {
  main { background: url("img/arbre-filigrane.png") no-repeat 10% calc(100% + 31px); }
}

/* Titre de rubrique : 23 px à la couleur du thème, barre de 9 px. */
.titre-page { margin: 0; padding-bottom: 10px; border-bottom: 9px solid var(--theme); }
.titre-page h1 { margin: 0; font-size: 23px; line-height: 26px; color: var(--theme); }
.titre-page + * { margin-top: 0; }
.titre-page + :not(.panneau) { margin-top: 25px; }
/* Fiche auteur : nom en gris, sans barre. */
.titre-page--auteur { border: 0; padding: 0; margin-bottom: 25px; }
.titre-page--auteur h1 { color: var(--gris); line-height: 30px; }
.titre-page--auteur + * { margin-top: 0; }

/* Panneau gris clair sous la barre (catalogue, auteurs, accueil). */
.panneau { background: var(--panneau); padding: 25px 35px; margin-top: 1px; }
@media (max-width: 639px) { .panneau { padding: 20px 15px; } }

/* Titre de section : 18 px, barre grise de 9 px (modules de l'accueil). */
.titre-section, .module > h2 {
  margin: 0 0 15px; padding-bottom: 10px;
  font-size: 18px; line-height: 26px;
  border-bottom: 9px solid var(--barre-grise);
}

.retour { display: inline-block; margin-bottom: 15px; font-weight: 700; text-decoration: none; }

/* --- L'étagère : couvertures à leur taille réelle relative ------------ */
/*
 * Chaque .livre reçoit --l et --h (largeur et hauteur en mm, données de l'API).
 * La largeur affichée est proportionnelle à la largeur réelle, la hauteur suit le
 * rapport largeur / hauteur : un poche paraît plus petit qu'un grand format.
 * Grâce à subgrid, toutes les couvertures d'une rangée partagent la même ligne de
 * base, une « planche » continue à la couleur du thème, quelle que soit la longueur
 * des légendes.
 */
.livre { --l: 140; --h: 205; display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; color: inherit; text-decoration: none; }
.livre:hover { color: inherit; text-decoration: none; }
.livre__support {
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.25rem 10px 0;
  border-bottom: 3px solid var(--theme);
}
.livre__couverture {
  display: block;
  width: calc(var(--l) * var(--echelle) * 1px);
  max-width: 100%;
  height: auto;
  /* Rapport réel de l'image une fois chargée ; celui de l'API (mm) ne sert qu'à réserver
     la place avant : il diffère parfois du visuel (145 × 205 mm pour une image 1,52). */
  aspect-ratio: auto var(--l) / var(--h);
  background: #eee;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, .25);
  transition: transform .2s ease;
}
.livre:hover .livre__couverture,
.livre:focus-visible .livre__couverture { transform: translateY(-6px); }
/* Légende : titre en gras 16/20, auteur en gris 15 px, comme les listes de l'ancien site. */
.livre__legende { padding: 10px 10px 0; font-size: 15px; line-height: 20px; }
.livre__titre { display: block; font-size: 16px; font-weight: 700; color: var(--encre); }
.livre:hover .livre__titre, .livre:focus-visible .livre__titre { color: var(--theme); }
.livre__auteur { display: block; color: var(--gris-clair); }
.livre__date { display: block; margin-top: 2px; color: var(--theme); font-size: 14px; }

/* Rayon horizontal qui défile (accueil, « Du même auteur ») */
.etagere__rayon {
  display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: max-content;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  margin: 0; padding: 0 0 1rem; list-style: none;
  scrollbar-width: thin; scrollbar-color: #ccc transparent;
}
.etagere__rayon > li { display: grid; grid-template-rows: subgrid; grid-row: span 2; scroll-snap-align: start; max-width: 15rem; }
.etagere__nav { display: flex; gap: .5rem; }
.etagere__nav button {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border: 0; border-radius: 5px; background: #fff; color: var(--theme); cursor: pointer;
}
.etagere__nav button:hover { color: var(--theme-clair); }
.etagere__nav button:disabled { opacity: .35; cursor: default; }

/* Rayonnage en grille (catalogue) : chaque rangée est une planche. */
.rayonnage {
  --echelle: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  column-gap: 0; row-gap: 35px;
  margin: 0; padding: 0; list-style: none;
}
.rayonnage > li { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
@media (max-width: 639px) {
  .rayonnage { --echelle: .85; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etagere__rayon { --echelle: 1; }
}

/* --- Accueil ------------------------------------------------------------ */

/* Carrousel (slider UIkit), comme l'ancien site : couvertures de même hauteur,
   trois par vue, date centrée dessous, flèches blanches de chaque côté. */
.accueil-carrousel { margin-bottom: 35px; }
/* Hauteur commune des couvertures : 340 px, réduite quand trois colonnes ne laissent pas
   la place (tablette) ; 150 px = marges du conteneur et du panneau. */
.carrousel { --hauteur: min(340px, calc(((100vw - 150px) / 3 - 16px) * 1.4)); position: relative; padding: 45px 35px 60px; }
/* Mobile : deux couvertures par vue ; la hauteur suit la largeur de l'écran pour qu'un
   format courant (rapport 1,46) tienne sans être rogné. */
@media (max-width: 639px) { .carrousel { --hauteur: min(220px, calc(((100vw - 60px) / 2 - 16px) * 1.4)); padding: 25px 15px 55px; } }
.carrousel .uk-slider-items > li { display: flex; justify-content: center; }
.carrousel__livre { display: flex; flex-direction: column; align-items: center; max-width: 100%; padding: 4px 8px; color: var(--encre); text-decoration: none; }
.carrousel__livre:hover { color: var(--encre); text-decoration: none; }
.carrousel__support { display: block; max-width: 100%; height: var(--hauteur); }
.carrousel__couverture {
  display: block; height: 100%; width: auto; max-width: 100%; /* un format à l'italienne est rogné */
  aspect-ratio: auto var(--l) / var(--h); object-fit: contain; background: #eee;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, .4);
  transition: transform .2s ease;
}
.carrousel__livre:hover .carrousel__couverture,
.carrousel__livre:focus-visible .carrousel__couverture { transform: translateY(-4px); }
.carrousel__date { margin-top: 15px; font-size: 14px; line-height: 18px; text-align: center; }
/* Flèches sous les couvertures, aux deux bords, comme l'ancien site. */
.carrousel__fleche {
  position: absolute; bottom: 15px;
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 5px; background: #fff; color: var(--theme);
}
.carrousel__fleche svg { fill: currentColor; }
.carrousel__fleche:hover { color: var(--theme-clair); }
.carrousel__fleche--prec { left: 30px; }
.carrousel__fleche--suiv { right: 30px; }
@media (max-width: 639px) {
  .carrousel__fleche--prec { left: 15px; }
  .carrousel__fleche--suiv { right: 15px; }
}

/* Trois modules de 313 px dans les 980 px, comme l'ancien site. */
.modules { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); font-size: 14px; line-height: 18px; }
.module > h2 a { color: inherit; text-decoration: none; }
.module > h2 a:hover { color: var(--theme); }
.module ul { margin: 0; padding: 0; list-style: none; }
.module li + li { margin-top: 20px; padding-top: 20px; border-top: 1px solid #f1f1f1; }
.module a { text-decoration: none; }
.module__titre { display: inline-block; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--theme); }
a:hover .module__titre { color: var(--theme-clair); }
.module__une { display: grid; grid-template-columns: 140px 1fr; gap: 15px; align-items: start; color: var(--encre); }
.module__une img { width: 140px; height: auto; box-shadow: 0 0 2px 0 rgba(0, 0, 0, .4); }
.module__une .module__titre { color: var(--encre); }
.module img { max-width: 100%; height: auto; }
.module__avp { display: grid; grid-template-columns: 140px 1fr; gap: 15px; align-items: start; }
.module__avp img { display: block; width: 140px; box-shadow: 0 0 2px 0 rgba(0, 0, 0, .4); }

/* --- Catalogue ---------------------------------------------------------- */

/* Onglets posés sur la barre du titre : Tous les livres / Littérature française / étrangère */
.titre-page--onglets { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 1rem; padding-bottom: 0; }
.titre-page--onglets h1 { padding-bottom: 10px; }
.onglets ul { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 0; padding: 0; list-style: none; }
.onglets a {
  display: block; padding: 2px 10px 0; line-height: 26px;
  font-size: 14px; color: #3f3f3f; text-decoration: none;
  background: #eee; border: 1px solid #bababa; border-bottom: 0; border-radius: 4px 4px 0 0;
}
.onglets a:hover { background: #fff; color: var(--encre); }
.onglets a[aria-current="page"] { background: #fff; color: var(--encre); border-color: #ccc; }
@media (max-width: 639px) {
  .titre-page--onglets { padding-bottom: 10px; }
  .onglets a { border-bottom: 1px solid #bababa; border-radius: 4px; }
}

.filtres { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; margin-bottom: 15px; }
.filtres form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
.filtres label { flex-basis: 100%; display: block; font-size: 13px; color: var(--gris); margin: 0; }
.filtres .uk-select { min-width: 12rem; background-color: #fff; font-size: 16px; }

/* --- Fiche livre : trois colonnes comme l'ancien site ------------------- */
/*   315 px : couverture et caractéristiques | texte | 315 px : biographie   */

.fiche { display: grid; gap: 25px 20px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "visuel" "texte" "bio"; font-size: 13px; line-height: 18px; }
.fiche__visuel { grid-area: visuel; }
.fiche__texte { grid-area: texte; }
.fiche__bio { grid-area: bio; }
@media (min-width: 640px) {
  .fiche { grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "visuel texte" "visuel bio"; align-items: start; }
}
@media (min-width: 960px) {
  .fiche { grid-template-columns: 315px minmax(0, 1fr); grid-template-areas: "visuel texte"; }
  .fiche--bio { grid-template-columns: 315px minmax(0, 1fr) 315px; grid-template-areas: "visuel texte bio"; }
}
.fiche__visuel img { display: block; width: 100%; max-width: 315px; height: auto; aspect-ratio: auto var(--l) / var(--h); box-shadow: 0 0 4px 1px rgba(0, 0, 0, .4); }
@media (max-width: 639px) { .fiche__visuel img { max-width: 240px; } }

.fiche h1 { margin: 0 0 10px; font-size: 23px; line-height: 28px; }
.fiche__soustitre { margin: -5px 0 10px; font-size: 18px; line-height: 24px; color: var(--gris); }
.fiche__contributeurs { margin: 0 0 25px; font-size: 23px; line-height: 28px; }
.fiche__contributeurs a { color: var(--encre); text-decoration: none; }
.fiche__contributeurs a:hover { color: var(--theme); }
.fiche__contributeurs .role { font-size: 15px; color: var(--gris); }
.fiche__contributeurs:has(+ .fiche__contributions) { margin-bottom: 10px; }
.fiche__contributions { margin: 0 0 25px; font-size: 15px; line-height: 22px; }
.fiche__contributions .role { color: var(--gris); }
.fiche__contributions a { color: var(--encre); }
.fiche__statut { display: inline-block; margin: 0 0 20px; padding: 3px 10px; background: var(--theme-pale); color: var(--theme); font-size: 14px; font-weight: 700; }
.accroche { margin: 0 0 15px; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--theme); }
.accroche p { margin: 0 0 .5em; text-align: left !important; }
.fiche__texte .lecture { font-size: 15px; line-height: 22px; }
.fiche__texte .lecture p { text-align: left !important; }

/* Biographie : en gras, comme l'ancien site, avec le lien vers la fiche de l'auteur. */
.fiche__bio { padding: 0 20px; }
.fiche__bio .lecture { font-size: 13px; line-height: 18px; font-weight: 700; }
.fiche__lien-auteur {
  display: table; margin: 15px 0 0 auto; padding: 2px 10px 4px;
  font-weight: 700; color: #3f3f3f; text-decoration: none;
  background: #f5f5f5; border: 1px solid #aeaeae; border-radius: 3px;
}
.fiche__lien-auteur:hover { background: #fcfcfc; color: var(--encre); }
@media (max-width: 959px) { .fiche__bio { padding: 0; } }

/* Caractéristiques sous la couverture : libellés en gras alignés à droite. */
.caracteristiques { display: grid; grid-template-columns: 35% 1fr; gap: 6px 14px; margin: 20px 0 0; max-width: 315px; }
.caracteristiques dt { text-align: right; font-weight: 700; }
.caracteristiques dd { margin: 0; }
.caracteristiques a { color: inherit; }
.caracteristiques a:hover { color: var(--theme); }

/* --- Auteurs ------------------------------------------------------------ */

.bio-auteur { max-width: 640px; font-size: 14px; line-height: 20px; margin-bottom: 45px; }
.bio-auteur p { margin: 0; }

.alphabet { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 10px; padding: 6px 0; list-style: none; position: sticky; top: 0; z-index: 5; background: #f5f5f5; }
.alphabet a, .alphabet span { display: inline-grid; place-items: center; width: 28px; height: 28px; font-size: 14px; text-decoration: none; }
.alphabet a { font-weight: 700; }
.alphabet a:hover { background: var(--theme); color: #fff; }
.alphabet span { color: #c4c4c4; }
.lettre { scroll-margin-top: 4rem; }
.lettre h2 { margin: 35px 0 10px; padding-bottom: 10px; font-size: 20px; line-height: 24px; color: var(--theme); border-bottom: 1px solid #f1f1f1; }
.lettre:first-child h2 { margin-top: 20px; }
.lettre ul { columns: 3 14rem; column-gap: 20px; margin: 0 0 35px; padding: 0; list-style: none; font-size: 16px; line-height: 20px; font-weight: 700; }
.lettre li { break-inside: avoid; padding: 1px 0 2px; }
.lettre a { color: var(--encre); text-decoration: none; }
.lettre a:hover { color: var(--theme); }

/* --- Agenda et À la une ------------------------------------------------- */

.articles { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 18px; }
.article { display: grid; gap: 20px; padding-block: 30px; border-top: 1px solid var(--filet); }
.article:first-child { border-top: 0; }
/* Illustration à droite, sur 320 px, comme l'agenda de l'ancien site. */
@media (min-width: 768px) {
  .article--image { grid-template-columns: minmax(0, 1fr) 320px; }
  .article--image > :first-child { order: 2; }
}
.article img { width: 100%; height: auto; border: 1px solid #cfcece; box-shadow: 0 0 5px 1px rgba(0, 0, 0, .12); }
.article__surtitre { margin: 4px 0 0; font-size: 17px; line-height: 25px; color: var(--theme); }
.article h2 { margin: 0 0 5px; font-size: 24px; line-height: 30px; }
.article h2 a { color: inherit; text-decoration: none; }
.article h2 a:hover { color: var(--theme); }
.article__chapo { margin: 0 0 10px; font-size: 22px; line-height: 30px; color: var(--gris); }
.article .lecture { font-size: 14px; line-height: 18px; }
.article .lecture p { margin: 8px 0 0; }
.article__pdf { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }

/* --- Pied de page : bandeau de lin, 12 px ------------------------------- */

.pied { background: #f4f4f2 url("img/lin.png") repeat; border-top: 1px solid #e4e4e4; font-size: 12px; line-height: 40px; }
.pied ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.pied li a { display: block; padding: 0 0 0 30px; color: var(--theme); text-decoration: none; }
.pied li a:hover { color: var(--theme-clair); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 1rem; }
.pied__bas > span { font-weight: 700; color: var(--theme); }
@media (max-width: 639px) {
  .pied { line-height: 28px; padding-block: 10px; }
  .pied li a { padding: 0 20px 0 0; }
}

/* --- Mouvement réduit --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
