/* Sailly — éléments ajoutés au site par le branchement sur Pupitre : bandeau d'alerte (option A), sommaire post-it (lot 3),
   assistant des habitants (lot 4), accessibilité. Mêmes jetons que base.css ; bleu du logo #002960. */
:root { --bleu-logo: #002960; --gris-logo: #737373; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evite:focus { position: fixed !important; left: 16px; top: 16px; width: auto; height: auto; clip: auto; z-index: 100; padding: 12px 18px; background: #fff; color: var(--bleu-logo); border-radius: 6px; box-shadow: var(--ombre); }

/* ---------------------------------------------------------------- bandeau d'alerte */
.alerte-bandeau { color: #fff; font: 500 15px/1.4 var(--f-texte); }
.alerte-bandeau .wrap { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-block: 10px; }
.alerte-bandeau svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alerte-fermer { flex: 0 0 44px; width: 44px; height: 44px; margin: -8px -8px -8px 0; border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 6px; } .alerte-fermer:hover { background: rgba(255,255,255,.18); } .alerte-fermer:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.alerte-bandeau .wrap > span { flex: 1 1 auto; }
.alerte-bandeau b { font-weight: 700; }
.alerte-bandeau a { color: #fff; font-weight: 600; margin-left: auto; white-space: nowrap; text-underline-offset: 3px; }
.alerte-bandeau.info { background: #33498C; } .alerte-bandeau.jaune { background: var(--paille-fonce); } .alerte-bandeau.orange { background: #B4520C; } .alerte-bandeau.rouge { background: #9E2A16; }
@media (max-width: 640px) { .alerte-bandeau .wrap { flex-wrap: wrap; } .alerte-bandeau a { margin-left: 36px; } }

/* ---------------------------------------------------------------- sommaire post-it */
.postits { padding-block: clamp(36px, 4vw, 56px); background: var(--papier-2); border-block: 1px solid var(--trait); }
.postits .titre-pi { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.postits .titre-pi p { margin: 0; color: var(--encre-douce); }
.pi-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.pi { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 150px; padding: 26px 20px 18px; color: var(--encre); text-decoration: none; font: 500 17px/1.4 var(--f-texte);
  box-shadow: 0 1px 0 rgba(23,32,46,.08), 0 14px 22px -14px rgba(23,32,46,.45); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pi::before { content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 20px; transform: translateX(-50%) rotate(-2deg); background: rgba(255,255,255,.55); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.pi:nth-child(3n+1) { transform: rotate(-1.4deg); } .pi:nth-child(3n+2) { transform: rotate(1deg); } .pi:nth-child(3n) { transform: rotate(-.4deg); }
.pi:hover, .pi:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 0 rgba(23,32,46,.08), 0 22px 30px -16px rgba(23,32,46,.5); color: var(--encre); }
.pi .pi-lire { font: 600 13px/1 var(--f-texte); letter-spacing: .04em; text-transform: uppercase; color: var(--bleu-logo); }
.pi.paille { background: #F7E7B8; } .pi.vert { background: #DCEBC8; } .pi.lin { background: #DDE5F6; } .pi.brique { background: #F4D9CF; }
@media (prefers-reduced-motion: reduce) { .pi, .pi:hover { transition: none; transform: none; } }

/* ---------------------------------------------------------------- assistant : bouton sur toutes les pages, fenêtre au centre */
#asst { font-family: var(--f-texte); }
.asst-bouton { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 26px; background: var(--bleu-logo); color: #fff; font: 600 15px/1 var(--f-texte); cursor: pointer; box-shadow: 0 12px 28px -12px rgba(0,41,96,.7); transition: transform .25s var(--ease), background .2s; }
.asst-bouton:hover { background: #0A1F3F; transform: translateY(-2px); }
.asst-bouton svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.asst-ouvert .asst-bouton { opacity: 0; pointer-events: none; }
.asst-voile { position: fixed; inset: 0; z-index: 80; background: rgba(10,31,63,.45); backdrop-filter: blur(3px); animation: asst-fondu .25s ease both; }
.asst-fenetre { position: fixed; z-index: 81; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(720px, calc(100vw - 32px)); height: min(680px, calc(100vh - 48px)); display: flex; flex-direction: column; background: var(--surface); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(10,31,63,.6); overflow: hidden; animation: asst-in .3s var(--ease) both; }
.asst-voile[hidden], .asst-fenetre[hidden] { display: none; }
@keyframes asst-in { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes asst-fondu { from { opacity: 0; } }
.asst-fenetre header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--bleu-logo); color: #fff; }
.asst-fenetre header b { display: block; font: 600 26px/1.1 var(--f-display); }
.asst-fenetre header span { display: block; font-size: 14px; opacity: .82; margin-top: 6px; max-width: 52ch; }
.asst-fermer { flex: none; width: 40px; height: 40px; border: 0; border-radius: 6px; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.asst-fil { flex: 1; overflow-y: auto; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.asst-msg { margin: 0; padding: 12px 16px; border-radius: 10px; font-size: 16px; line-height: 1.55; max-width: 86%; }
.asst-msg p { margin: 0; }
.asst-ia { background: var(--pierre-blanche); border: 1px solid var(--trait); align-self: flex-start; }
.asst-moi { background: var(--vert-tendre); align-self: flex-end; }
.asst-suggestions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.asst-suggestions button { min-height: 52px; padding: 10px 14px; text-align: left; border: 1.5px solid var(--trait); border-radius: 8px; background: #fff; color: var(--encre); font: 500 15px/1.35 var(--f-texte); cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.asst-suggestions button:hover { border-color: var(--vert-prairie); transform: translateY(-2px); }
.asst-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.asst-liens span { font-size: 13px; color: var(--encre-douce); }
.asst-liens a { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--trait); text-decoration: none; color: var(--bleu-logo); }
.asst-ecrire { margin-top: 12px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--vert-prairie); color: #fff; font: 600 14px/1 var(--f-texte); cursor: pointer; }
.asst-points { display: inline-flex; gap: 5px; } .asst-points i { width: 7px; height: 7px; border-radius: 50%; background: var(--encre-douce); animation: asst-pt 1s infinite ease-in-out; } .asst-points i:nth-child(2) { animation-delay: .15s; } .asst-points i:nth-child(3) { animation-delay: .3s; }
@keyframes asst-pt { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.asst-fenetre form { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--trait); background: #fff; }
.asst-fenetre input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid var(--trait); border-radius: 6px; font: 400 16px var(--f-texte); background: #fff; }
.asst-fenetre input:focus { outline: none; border-color: var(--bleu-logo); }
.asst-fenetre form .btn { min-height: 52px; padding: 0 22px; }
.asst-mention { margin: 0; padding: 0 18px 14px; background: #fff; font-size: 12.5px; color: var(--encre-douce); }
@media (max-width: 600px) {
  .asst-fenetre { left: 0; top: 0; transform: none; width: 100vw; height: 100dvh; border-radius: 0; animation: none; }
  .asst-suggestions { grid-template-columns: minmax(0, 1fr); }
  .asst-bouton span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .asst-bouton { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) { .asst-fenetre, .asst-voile, .asst-points i { animation: none; } }
.asst-ouvert body { overflow: hidden; }

/* ---------------------------------------------------------------- formulaires envoyés à Pupitre */
.envoi-erreur { margin: 10px 0 0; padding: 10px 14px; border-radius: 6px; background: var(--brique-clair); color: #8A2E18; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* le cadre photo des en-têtes de page ne doit pas élargir la page sur téléphone */
.ph-photo, .ph-photo .cadre { overflow: hidden; }
/* aucune page ne doit défiler à l’horizontale sur téléphone (clip garde les sous-menus collants) */
html, body { overflow-x: clip; }

/* ---------------------------------------------------------------- pages de sous-rubrique (#/page/…) */
.page-corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 860px; }
.page-image { margin: 0; }
.page-image img { display: block; max-width: 100%; max-height: 420px; width: auto; height: auto; margin-inline: auto; border-radius: 12px; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h2.h3 { margin-top: 18px; color: var(--bleu-logo); }
.prose h2.h3:first-child { margin-top: 0; }
.prose p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--encre); }
.prose p.puce { position: relative; padding-left: 26px; }
.prose p.puce::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; background: var(--vert-prairie); transform: rotate(45deg); border-radius: 1px; }
.page-liste { display: grid; gap: 10px; }
.page-liste .res { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 20px; background: #fff; border: 1px solid var(--trait); border-radius: 8px; text-decoration: none; color: var(--encre); transition: border-color .2s, transform .25s var(--ease); }
.page-liste .res:hover { border-color: var(--vert-prairie); transform: translateX(4px); color: var(--encre); }
.page-liste .res span { flex: none; font-size: 14px; font-weight: 600; color: var(--vert-prairie); }
.plan-site { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.plan-site > div { display: flex; flex-direction: column; gap: 8px; }
.plan-site h2 a { color: var(--bleu-logo); text-decoration: none; }
.plan-site > div > a { color: var(--encre); text-decoration: none; padding: 4px 0; border-bottom: 1px solid var(--trait); }
.plan-site > div > a:hover { color: var(--vert-prairie); }
.page-hero .chapo { color: rgba(255,255,255,.82); }
.page-hero .ariane a, .page-hero .ariane span { color: rgba(255,255,255,.86); }

/* ---------------------------------------------------------------- lot 3 : sommaire post-it (pile collée au bord gauche)
   Design system : post-it vert prairie (#3B7A28, celui du titre « aux portes de Lille »), numéros et liseré en bleu du logo (#002960), libellés en blanc. */
.sousnav { display: none !important; } /* remplacé par la pile de post-it */
.pi-pile { position: fixed; left: 0; top: 50%; transform: translateY(-50%); max-height: calc(100vh - 140px); overflow-y: auto; overflow-x: hidden; padding-right: 22px; scrollbar-width: thin; z-index: 40; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-family: var(--f-texte); pointer-events: none; }
.pi-pile a { pointer-events: auto; text-decoration: none; }
.pi-note { position: relative; display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 10px; width: 200px; height: 52px; padding: 6px 12px 6px 14px; background: var(--vert-prairie); color: #fff;
  border-radius: 0 3px 3px 0; box-shadow: 0 0 0 1px rgba(0,41,96,.18), 0 10px 18px -12px rgba(0,0,0,.5);
  transform: translateX(-152px) rotate(var(--r, -.6deg)); transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease); }
.pi-note:nth-child(odd) { --r: .5deg; }
.pi-note:hover { background: var(--vert-profond); color: #fff; }
.pi-num { flex: none; min-width: 26px; padding: 3px 4px; text-align: center; border-radius: 3px; background: var(--pierre-blanche); font: 700 14px/1 var(--f-chiffres); font-variant-numeric: lining-nums tabular-nums; color: var(--bleu-logo); } /* pastille claire : le bleu du logo sur le vert ne faisait que 2,7:1 */
.pi-lib { font: 600 14px/1.2 var(--f-texte); color: #fff; overflow-wrap: normal; hyphens: manual; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pi-note.actif { transform: translateX(-152px) rotate(0); background: var(--vert-profond); box-shadow: inset -4px 0 0 var(--bleu-logo), 0 0 0 1px rgba(255,255,255,.5), 0 16px 26px -14px rgba(0,41,96,.7); }
.pi-pile:hover .pi-note, .pi-pile:has(.pi-note:focus-visible) .pi-note { transform: translateX(0) rotate(0); } /* déployée au survol ou à la tabulation, pas après un clic */
.pi-note.actif .pi-lib { text-decoration: underline; text-decoration-color: #fff; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pi-note.actif::before { content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--bleu-logo); border: 2px solid #fff; border-radius: 50%; }
@media (max-width: 1100px) {
  .pi-pile { max-height: none; overflow-y: hidden; top: 0; right: 0; left: 0; transform: translateY(-100%); flex-direction: row; align-items: stretch; gap: 8px; padding: 8px 12px; overflow-x: auto; background: rgba(245,241,232,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); transition: transform .3s var(--ease); scrollbar-width: none; }
  .pi-pile.pi-visible { transform: translateY(0); }
  .pi-note { flex: none; flex-direction: row; justify-content: flex-start; width: auto; min-width: 150px; height: 44px; transform: none !important; border-radius: 3px; }
  .pi-lib { white-space: nowrap; display: block; }
  .pi-num { text-align: left; }
  .pi-note.actif::before { content: none; }
  .pi-pile { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 30px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 30px), transparent 100%); }
}
@media (prefers-reduced-motion: reduce) { .pi-note, .pi-pile { transition: none; } }

/* ---------------------------------------------------------------- magazines municipaux : couvertures et liseuse
   Couvertures réelles des numéros (Pupitre), titre et numéro dessous ; la liseuse s'ouvre en fenêtre, page après page. */
.kqs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; }
.kq-tous { margin: 40px 0 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .kqs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kqs, .kq-tous { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
.kq { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--bleu-logo); }
.kq-couv { position: relative; display: block; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 3px; background: #E8E2D4;
  box-shadow: 0 1px 0 rgba(0,41,96,.08), 0 18px 30px -22px rgba(0,41,96,.55); transform-origin: left center; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.kq-couv::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,0)); pointer-events: none; }
.kq-couv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kq:hover .kq-couv, .kq:focus-visible .kq-couv { transform: perspective(900px) rotateY(-9deg) translateY(-4px); box-shadow: 0 1px 0 rgba(0,41,96,.08), 0 26px 34px -20px rgba(0,41,96,.6); }
.kq:focus-visible { outline: none; } .kq:focus-visible .kq-txt b { text-decoration: underline; text-decoration-color: var(--vert-pousse); text-underline-offset: 4px; }
.kq-txt { display: flex; flex-direction: column; gap: 4px; }
.kq-txt b { font: italic 500 18px/1.15 var(--f-display); }
.kq-txt i { font: 600 12px/1.2 var(--f-texte); font-style: normal; letter-spacing: .07em; text-transform: uppercase; color: var(--vert-prairie); }
.kq-som { font-size: 13px; line-height: 1.4; color: #596273; }
.kq-go { margin-top: 4px; font-size: 13px; font-weight: 600; transition: letter-spacing .25s var(--ease); }
.kq:hover .kq-go { letter-spacing: .02em; }
.kq-vide { margin: 0; color: #596273; }

html.lz-ouverte { overflow: hidden; }
.lz { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0A1F3F; color: #fff;
  display: none; grid-template-rows: auto minmax(0, 1fr) auto; font-family: var(--f-texte); }
.lz[open] { display: grid; animation: lz-entre .3s var(--ease); }
.lz::backdrop { background: rgba(10,31,63,.7); }
@keyframes lz-entre { from { opacity: 0; } }
.lz-haut { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 20px; padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lz-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lz-sur { font: 600 11px/1 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--vert-pousse); }
.lz-id h2 { margin: 0; font: italic 500 24px/1.1 var(--f-display); overflow-wrap: anywhere; }
.lz-pages { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.85); white-space: nowrap; }
.lz-actions { display: flex; align-items: center; gap: 10px; }
.lz-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 40px; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: none; color: #fff; font: 600 14px/1 var(--f-texte); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.lz-btn:hover, .lz-btn[aria-pressed="true"] { background: var(--vert-prairie); border-color: var(--vert-prairie); }
.lz-fermer { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lz-fermer:hover { background: rgba(255,255,255,.2); }
.lz :focus-visible { outline: 3px solid var(--vert-pousse); outline-offset: 2px; }
.lz-scene { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; min-height: 0; padding: 18px 0; }
.lz-livre { position: relative; height: 100%; min-height: 0; overflow: hidden; touch-action: pan-y pinch-zoom; outline: none; user-select: none; }
.lz-vue { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .42s var(--ease), opacity .42s var(--ease); }
.lz-page { display: block; background: #fff; box-shadow: 0 24px 50px -26px rgba(0,0,0,.8); }
.lz-double .lz-page:first-child { box-shadow: inset -18px 0 22px -18px rgba(0,0,0,.35), 0 24px 50px -26px rgba(0,0,0,.8); }
.lz-double .lz-page:last-child { box-shadow: inset 18px 0 22px -18px rgba(0,0,0,.25), 0 24px 50px -26px rgba(0,0,0,.8); }
.lz-arrive.de-d { transform: translateX(6%) rotateY(-8deg); opacity: 0; } .lz-arrive.de-g { transform: translateX(-6%) rotateY(8deg); opacity: 0; }
.lz-part.vers-g { transform: translateX(-6%); opacity: 0; } .lz-part.vers-d { transform: translateX(6%); opacity: 0; }
.lz-livre { perspective: 1600px; }
.lz-nav { justify-self: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--vert-prairie); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; transition: transform .2s var(--ease), background .2s, opacity .2s; }
.lz-nav span { display: block; margin-top: -4px; }
.lz-nav:hover:not(:disabled) { transform: scale(1.06); background: var(--vert-profond); }
.lz-nav:disabled { opacity: .25; cursor: default; }
.lz-bas { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 96px 20px; font-size: 13px; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.lz-curseur { width: 100%; accent-color: var(--vert-pousse); height: 24px; cursor: pointer; }
.lz-msg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: rgba(255,255,255,.85); }
.lz-msg a, .lz-attente a { color: #fff; text-decoration-color: var(--vert-pousse); text-underline-offset: 3px; }
.lz-attente { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 12px 24px; }
.lz-attente img { max-height: 70%; max-width: 100%; box-shadow: 0 24px 50px -26px rgba(0,0,0,.8); }
.lz-attente p { max-width: 560px; margin: 0; text-align: center; line-height: 1.55; color: rgba(255,255,255,.88); }
.lz.lz-zoom-on .lz-livre { overflow: auto; }
@media (max-width: 760px) {
  .lz-haut { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 10px 14px; }
  .lz-pages { grid-row: 2; grid-column: 1 / -1; }
  .lz-id h2 { font-size: 19px; }
  .lz-btn { min-width: 0; height: 36px; padding: 0 12px; font-size: 13px; }
  .lz-scene { grid-template-columns: 0 minmax(0, 1fr) 0; padding: 10px 8px; }
  .lz-nav { position: absolute; bottom: 8px; z-index: 2; width: 46px; height: 46px; font-size: 28px; }
  .lz-prec { left: 12px; } .lz-suiv { right: 12px; }
  .lz-bas { padding: 8px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .lz[open], .lz-vue, .kq-couv, .lz-nav { animation: none; transition: none; } }
.lz.lz-zoom-on .lz-vue { position: relative; inset: auto; min-height: 100%; align-items: flex-start; padding-bottom: 24px; }
.lz-livre:focus, .lz-livre:focus-visible { outline: none; }
.lz [hidden] { display: none !important; }
.lz-prec { grid-column: 1; grid-row: 1; } .lz-livre { grid-column: 2; grid-row: 1; } .lz-suiv { grid-column: 3; grid-row: 1; }

/* carrousel des numéros (Ma vie à Sailly) : tous les numéros conservés, du plus récent au plus ancien */
.kq-carrousel { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 5 * 20px) / 6); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--vert-prairie) transparent; }
.kq-carrousel > .kq { scroll-snap-align: start; }
.kq-carrousel:focus-visible { outline: 3px solid var(--vert-pousse); outline-offset: 4px; }
@media (max-width: 1100px) { .kq-carrousel { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 560px) { .kq-carrousel { grid-template-columns: none; grid-auto-columns: 44%; gap: 14px; } }
.kq-nav { display: flex; align-items: center; gap: 10px; }
.kq-nav .lien-fleche { margin-right: 10px; }
.kq-fl { width: 44px; height: 44px; border: 1.5px solid var(--bleu-logo); border-radius: 50%; background: none; color: var(--bleu-logo); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.kq-fl span { display: block; margin-top: -3px; }
.kq-fl:hover { background: var(--vert-prairie); border-color: var(--vert-prairie); color: #fff; }
