/* =====================================================================
   LIBRAIRIE ROCKMIN – Feuille de style principale (mobile d'abord)
   Palette « univers du livre » :
     bordeaux  #7a1f2b  (couleur de marque, boutons principaux)
     crème     #faf6ef  (fond, couleur du papier)
     encre     #1d2433  (texte)
     or        #b8893a  (accents)
   Aucune police externe : polices système (chargement rapide, économe en données).
   ===================================================================== */

:root {
  --bordeaux: #7a1f2b;
  --bordeaux-fonce: #5b1520;
  --creme: #faf6ef;
  --creme-fonce: #f1e9da;
  --encre: #1d2433;
  --gris: #6b6f7a;
  --or: #b8893a;
  --bordure: #e6dccb;
  --blanc: #ffffff;
  --vert: #1f7a4d;
  --orange: #b86a12;
  --rouge: #b3261e;
  --rayon: 10px;
  --ombre: 0 2px 10px rgba(29, 36, 51, .08);
  --ombre-forte: 0 10px 28px rgba(29, 36, 51, .16);
  --police-texte: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --police-titre: Georgia, "Times New Roman", Times, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme); color: var(--encre);
  font-family: var(--police-texte); font-size: 1rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); }
a:hover { color: var(--bordeaux-fonce); }
h1, h2, h3, h4 { font-family: var(--police-titre); line-height: 1.25; margin: 0 0 .6rem; color: var(--encre); }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--bordure); margin: 1rem 0; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: -999px; top: 0; background: var(--bordeaux); color: #fff; padding: .6rem 1rem; z-index: 100; }
.lien-evitement:focus { left: 0; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.etroit { max-width: 560px; }
.etroit-large { max-width: 780px; }
.container.etroit, .container.etroit-large { margin-left: auto; margin-right: auto; }
.centre { text-align: center; }
.petit { font-size: .875rem; color: var(--gris); }
.cache-mobile { display: none; }
.liste-simple { list-style: none; padding: 0; margin: 0; }
.liste-simple li { margin-bottom: .35rem; }

/* ----- Barre du haut et en-tête ----- */
.barre-haut { background: var(--bordeaux-fonce); color: #fff; font-size: .8125rem; }
.barre-haut-contenu { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: .4rem; padding-bottom: .4rem; }
.barre-haut a { color: #fff; text-decoration: none; }
.barre-haut a:hover { text-decoration: underline; }
.entete { background: var(--blanc); border-bottom: 1px solid var(--bordure); position: sticky; top: 0; z-index: 50; }
.entete-contenu { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--police-titre); font-weight: 700; font-size: 1.15rem; color: var(--bordeaux); text-decoration: none; }
.logo-marque { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--bordeaux); color: #fff; font-family: var(--police-titre); font-weight: 700; }
.menu-bouton { background: none; border: 1px solid var(--bordure); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; display: inline-grid; place-items: center; }
.menu-barres, .menu-barres::before, .menu-barres::after { display: block; width: 20px; height: 2px; background: var(--encre); content: ""; position: relative; }
.menu-barres::before { position: absolute; top: -6px; }
.menu-barres::after { position: absolute; top: 6px; }
.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-bottom: 1px solid var(--bordure); padding: .5rem 16px 1rem; flex-direction: column; gap: .25rem; box-shadow: var(--ombre); }
.menu.ouvert { display: flex; }
.menu a, .menu-lien-bouton { padding: .6rem .25rem; color: var(--encre); text-decoration: none; font-weight: 600; }
.menu a:hover, .menu-lien-bouton:hover { color: var(--bordeaux); }
.menu a.btn { color: #fff; text-align: center; }
.menu-lien-bouton { background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; width: 100%; }
.menu-deconnexion { margin: 0; }
.zone-flash { padding-top: 1rem; }

/* ----- Boutons ----- */
.btn {
  display: inline-block; background: var(--bordeaux); color: #fff; border: 2px solid var(--bordeaux);
  border-radius: 8px; padding: .65rem 1.1rem; font: inherit; font-weight: 700; text-align: center;
  text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .2s, color .2s, transform .15s;
}
.btn:hover { background: var(--bordeaux-fonce); border-color: var(--bordeaux-fonce); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-petit { padding: .4rem .75rem; font-size: .875rem; }
.btn-grand { padding: .85rem 1.5rem; font-size: 1.05rem; }
.btn-clair { background: #fff; color: var(--bordeaux); border-color: #fff; }
.btn-clair:hover { background: var(--creme-fonce); color: var(--bordeaux-fonce); border-color: var(--creme-fonce); }
.btn-contour { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn-contour:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
.btn-contour-sombre { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); }
.btn-contour-sombre:hover { background: var(--bordeaux); color: #fff; }
.btn-danger { background: var(--rouge); border-color: var(--rouge); }
.btn-danger:hover { background: #8c1d17; border-color: #8c1d17; }
.btn-succes { background: var(--vert); border-color: var(--vert); }
.btn-succes:hover { background: #165c39; border-color: #165c39; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ----- Alertes, badges ----- */
.alerte { border-radius: var(--rayon); padding: .8rem 1rem; margin-bottom: 1rem; border: 1px solid; }
.alerte-succes { background: #e8f5ee; border-color: #a8d5bb; color: #14532d; }
.alerte-erreur { background: #fdecea; border-color: #f2b8b5; color: #7f1d1d; }
.alerte-info { background: #eef3fb; border-color: #bcd0ee; color: #1e3a5f; }
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.badge-vert { background: #e8f5ee; color: var(--vert); }
.badge-orange { background: #fdf0dc; color: var(--orange); }
.badge-rouge { background: #fdecea; color: var(--rouge); }
.badge-gris { background: #eceef2; color: var(--gris); }

/* ----- Sections ----- */
.section { padding: 2rem 0; }
.section-compacte { margin-bottom: 2rem; }
.section-claire { background: var(--creme-fonce); }
.titre-section { font-size: 1.6rem; margin-bottom: 1rem; position: relative; padding-bottom: .5rem; }
.titre-section::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--or); border-radius: 2px; }
.centre .titre-section::after { left: 50%; transform: translateX(-50%); }
.titre-petit { font-size: 1.2rem; margin-top: 1.25rem; }
.entete-section { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fil-ariane { font-size: .875rem; color: var(--gris); margin-bottom: 1rem; }
.deux-colonnes { display: grid; gap: 1.5rem; }
.encart { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1.25rem; margin-bottom: 1.25rem; }
.vide { text-align: center; padding: 3rem 1rem; background: var(--blanc); border: 1px dashed var(--bordure); border-radius: var(--rayon); }
.etapes { margin: 0; padding-left: 1.2rem; }
.etapes li { margin-bottom: .4rem; }

/* ----- Hero ----- */
.hero { background: linear-gradient(135deg, var(--bordeaux-fonce) 0%, var(--bordeaux) 60%, #8f2c39 100%); color: #fff; padding: 2.5rem 0 3rem; }
.hero h1 { color: #fff; font-size: 2rem; max-width: 20ch; }
.hero-sur-titre { text-transform: uppercase; letter-spacing: .14em; font-size: .8125rem; color: #e9cf9d; margin-bottom: .5rem; }
.hero-texte { max-width: 52ch; color: #f3e6e8; font-size: 1.05rem; }
.recherche-hero { display: flex; gap: .5rem; max-width: 520px; margin: 1.25rem 0; }
.recherche-hero input { flex: 1; min-width: 0; padding: .75rem 1rem; border-radius: 8px; border: 2px solid transparent; font: inherit; }
.recherche-hero .btn { background: var(--or); border-color: var(--or); color: #1d2433; }
.recherche-hero .btn:hover { background: #a37731; border-color: #a37731; color: #fff; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.centre.hero-actions, .centre .hero-actions { justify-content: center; }

/* ----- Cartes d'ouvrages ----- */
.grille-livres { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.carte-livre { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); box-shadow: var(--ombre); display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.carte-livre:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.carte-image { display: block; background: var(--creme-fonce); aspect-ratio: 2 / 3; overflow: hidden; }
.couverture { width: 100%; height: 100%; object-fit: cover; }
.couverture-defaut { display: grid; place-items: center; text-align: center; padding: 1rem; background: linear-gradient(160deg, var(--bordeaux) 0%, var(--bordeaux-fonce) 100%); color: #f7e9cc; font-family: var(--police-titre); font-weight: 700; font-size: 1.1rem; border: 6px double rgba(233, 207, 157, .5); }
.couverture-grande { aspect-ratio: 2 / 3; width: 100%; max-width: 320px; border-radius: 6px; box-shadow: var(--ombre-forte); }
.couverture-moyenne { aspect-ratio: 2 / 3; width: 110px; flex: none; border-radius: 4px; box-shadow: var(--ombre); }
.carte-corps { padding: .9rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.carte-titre { font-size: 1.05rem; margin: 0; }
.carte-titre a { color: var(--encre); text-decoration: none; }
.carte-titre a:hover { color: var(--bordeaux); }
.carte-soustitre { font-size: .875rem; color: var(--gris); margin: 0; }
.carte-auteur { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--or); }
.avatar-initiales { display: inline-grid; place-items: center; background: var(--creme-fonce); color: var(--bordeaux); font-weight: 700; font-size: .8125rem; }
.avatar-moyen { width: 44px; height: 44px; }
.avatar-grand { width: 72px; height: 72px; font-size: 1.2rem; }
.carte-resume { font-size: .875rem; color: #3d4455; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.carte-pied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .5rem; flex-wrap: wrap; }
.prix { font-weight: 800; color: var(--bordeaux); font-size: 1.05rem; }
.prix-grand { font-size: 1.6rem; }

/* ----- Carrousel de cartes flottantes ----- */
.section-carrousel { background: var(--creme-fonce); padding-bottom: 2.5rem; overflow: hidden; }
.carrousel { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 14px 0 22px; outline-offset: -3px; }
.carrousel::-webkit-scrollbar { display: none; }
.carrousel-horizontal .carrousel-piste { display: flex; gap: 1.1rem; width: max-content; padding: 0 16px; }
.carrousel-horizontal .carte-livre { width: 230px; flex: none; }
.carrousel-vertical { max-height: 620px; overflow-y: auto; overflow-x: hidden; }
.carrousel-vertical .carrousel-piste { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; padding: 0 16px; max-width: 1140px; margin: 0 auto; }
.carte-flottante { animation: flotter 5s ease-in-out infinite; }
.carte-flottante.flotte-1 { animation-delay: -1.2s; }
.carte-flottante.flotte-2 { animation-delay: -2.4s; }
.carte-flottante.flotte-3 { animation-delay: -3.6s; }
.carte-flottante:hover { animation-play-state: paused; }
@keyframes flotter { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ----- Catégories, témoignages, contact ----- */
.liste-categories { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1rem 0 0; }
.liste-categories a { display: inline-flex; gap: .5rem; align-items: center; padding: .45rem .9rem; background: #fff; border: 1px solid var(--bordure); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--encre); }
.liste-categories a:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.compteur { background: var(--creme-fonce); border-radius: 999px; padding: 0 .5rem; font-size: .8125rem; color: var(--gris); }
.etiquette { display: inline-block; background: var(--creme-fonce); color: var(--bordeaux); font-size: .8125rem; font-weight: 700; padding: .15rem .7rem; border-radius: 999px; text-decoration: none; margin-bottom: .5rem; }
.grille-temoignages { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 1rem; }
.temoignage { margin: 0; background: #fff; border: 1px solid var(--bordure); border-left: 4px solid var(--or); border-radius: var(--rayon); padding: 1.1rem; }
.temoignage blockquote { margin: 0 0 .6rem; font-family: var(--police-titre); font-style: italic; }
.bandeau-contact { background: var(--bordeaux); color: #fff; }
.bandeau-contact h2 { color: #fff; }
.liste-contact li { margin-bottom: .5rem; }
.liste-auteurs { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.auteur-fiche { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1rem; }
.auteur-fiche h3 { margin-bottom: .25rem; }

/* ----- Filtres du catalogue, pagination ----- */
.filtres { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1rem; margin-bottom: .75rem; }
.filtres .champ-large, .filtres .champ-actions { grid-column: 1 / -1; }
.champ-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-end; }
.resultats { margin: 1rem 0 0; }
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 2rem 0 0; }
.page-lien { padding: .45rem .8rem; border: 1px solid var(--bordure); border-radius: 8px; background: #fff; text-decoration: none; font-weight: 600; min-width: 40px; text-align: center; }
.page-lien.actif { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.page-points { padding: .45rem .3rem; color: var(--gris); }

/* ----- Formulaires ----- */
.formulaire { display: block; }
.champ { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.champ label, .champ > .etiquette-champ { font-weight: 600; font-size: .9375rem; }
.champ small { color: var(--gris); }
input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], input[type="url"], select, textarea {
  width: 100%; padding: .65rem .8rem; border: 1px solid #cfc4b0; border-radius: 8px; background: #fff; font: inherit; color: var(--encre);
}
input[type="file"] { width: 100%; padding: .4rem 0; font: inherit; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--bordeaux); outline: 3px solid rgba(122, 31, 43, .18); outline-offset: 0; }
input[disabled] { background: #f3efe6; color: var(--gris); }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.case { display: flex; gap: .6rem; align-items: center; }
.case input { width: auto; }

/* ----- Fiche d'un ouvrage ----- */
.fiche-livre { display: grid; gap: 1.5rem; }
.fiche-couverture { display: flex; justify-content: center; }
.fiche-infos h1 { margin-bottom: .25rem; }
.fiche-soustitre { font-size: 1.1rem; color: var(--gris); font-style: italic; }
.fiche-auteur { display: flex; align-items: center; gap: .6rem; }
.fiche-prix { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.fiche-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.caracteristiques { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1rem 0; }
.caracteristiques dt { font-weight: 700; }
.caracteristiques dd { margin: 0; }

/* ----- Achat et paiement ----- */
.achat-grille { display: grid; gap: 1.5rem; }
.achat-resume { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1rem; }
.modes { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.mode { display: block; cursor: pointer; }
.mode input { position: absolute; opacity: 0; }
.mode-carte { display: flex; flex-direction: column; border: 2px solid var(--bordure); border-radius: var(--rayon); padding: .8rem 1rem; background: #fff; transition: border-color .2s, background .2s; }
.mode input:checked + .mode-carte { border-color: var(--bordeaux); background: #fbeff0; }
.mode input:focus-visible + .mode-carte { outline: 3px solid var(--or); outline-offset: 2px; }
.recap { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1rem; margin-bottom: 1.25rem; }
.recap > div { display: flex; flex-direction: column; gap: .15rem; }
.encart-paiement { border-left: 4px solid var(--or); }
.numero-reception { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; padding: .9rem; background: var(--creme); border: 1px dashed var(--or); border-radius: var(--rayon); margin-bottom: 1rem; }
.numero { font-size: 1.6rem; letter-spacing: .02em; color: var(--bordeaux); font-family: var(--police-titre); }
.instructions { font-size: .9375rem; }

/* ----- Espace lecteur ----- */
.sous-menu { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; border-bottom: 1px solid var(--bordure); padding-bottom: .75rem; }
.sous-menu a { padding: .45rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--encre); background: #fff; border: 1px solid var(--bordure); }
.sous-menu a.actif, .sous-menu a:hover { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.cartes-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 2rem; }
.stat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1rem 1.2rem; text-decoration: none; color: var(--encre); box-shadow: var(--ombre); }
a.stat:hover { border-color: var(--bordeaux); }
.stat-nombre { font-family: var(--police-titre); font-size: 2rem; font-weight: 700; color: var(--bordeaux); line-height: 1.1; }
.liste-notifs { list-style: none; padding: 0; margin: 0; }
.liste-notifs li { background: #fff; border: 1px solid var(--bordure); border-radius: 8px; padding: .7rem .9rem; margin-bottom: .5rem; }
.liste-notifs li.non-lue { border-left: 4px solid var(--or); background: #fffaf0; }
.tableau-defilant { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--bordure); border-radius: var(--rayon); background: #fff; }
.tableau { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tableau th, .tableau td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--bordure); vertical-align: top; }
.tableau th { background: var(--creme-fonce); font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau td.nombre, .tableau th.nombre { text-align: right; white-space: nowrap; }

/* ----- Pied de page ----- */
.pied { background: var(--encre); color: #d9dce3; margin-top: 2rem; }
.pied a { color: #f0d9a8; }
.pied-grille { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 1.5rem; grid-template-columns: 1fr; }
.pied-titre { color: #fff; font-size: 1.05rem; }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1rem 0; font-size: .8125rem; color: #a9aebb; text-align: center; }

/* ----- WhatsApp flottant ----- */
.whatsapp-flottant { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); z-index: 60; transition: transform .2s; }
.whatsapp-flottant:hover { transform: scale(1.08); color: #fff; }

/* ----- Écrans moyens et larges ----- */
@media (min-width: 640px) {
  h1 { font-size: 2.3rem; }
  .hero h1 { font-size: 2.6rem; }
  .cache-mobile { display: inline; }
  .filtres { grid-template-columns: repeat(3, 1fr); }
  .filtres .champ-large { grid-column: span 3; }
  .achat-grille { grid-template-columns: 300px 1fr; align-items: start; }
  .achat-resume { position: sticky; top: 80px; }
  .liste-auteurs { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .menu-bouton { display: none; }
  .menu { display: flex; position: static; flex-direction: row; align-items: center; border: 0; padding: 0; box-shadow: none; background: transparent; gap: 1.1rem; }
  .menu a, .menu-lien-bouton { padding: .4rem 0; width: auto; }
  .hero { padding: 4rem 0 4.5rem; }
  .deux-colonnes { grid-template-columns: 1fr 1fr; align-items: start; }
  .fiche-livre { grid-template-columns: 340px 1fr; gap: 2.5rem; align-items: start; }
  .pied-grille { grid-template-columns: 1.4fr 1.2fr 1fr 1fr; }
  .filtres { grid-template-columns: 2fr 1fr 1fr 110px 110px 1fr auto; align-items: end; }
  .filtres .champ-large { grid-column: auto; }
  .filtres .champ-actions { grid-column: auto; }
  .filtres .champ { margin-bottom: 0; }
}

/* ----- Préférences d'accessibilité et impression ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .barre-haut, .entete, .pied, .whatsapp-flottant, .sous-menu, .btn { display: none !important; }
  body { background: #fff; }
}
