/* Salon des Auteurs Chrétiens de Tours — feuille de style commune (v4) */
:root {
  --rouge: #D23358;
  --rouge-texte: #B5264A;
  --sur-rouge: #FFFFFF;
  --bleu: #305283;
  --sur-bleu: #FFFFFF;
  --bleu-doux: #D3DDE8;
  --encre: #1F2638;
  --encre-2: #4A5266;
  --fond: #FAF6EE;
  --papier: #F6EFDB;
  --carte: #FFFDF8;
  --ligne: #E4DCCB;
  --focus: #305283;
  --bandeau: #305283;
  --bandeau-texte: #FFFFFF;
  --bandeau-doux: #D9E2F2;
  --ombre-couv: 0 1px 2px rgba(31, 38, 56, 0.20), 0 8px 18px rgba(31, 38, 56, 0.16);
  --rayon: 6px;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --texte: "Quicksand", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gouttiere: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --rouge: #F07A92; --rouge-texte: #F58CA1; --sur-rouge: #1A1320;
    --bleu: #A7BDE0; --sur-bleu: #121826; --bleu-doux: #253352;
    --encre: #EFE9DB; --encre-2: #B9B3A6; --fond: #151A27; --papier: #F6EFDB;
    --carte: #1D2334; --ligne: #2E3649; --focus: #A7BDE0;
    --bandeau: #253352; --bandeau-texte: #FFFFFF; --bandeau-doux: #D9E2F2;
    --ombre-couv: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 18px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --rouge: #F07A92; --rouge-texte: #F58CA1; --sur-rouge: #1A1320;
  --bleu: #A7BDE0; --sur-bleu: #121826; --bleu-doux: #253352;
  --encre: #EFE9DB; --encre-2: #B9B3A6; --fond: #151A27; --papier: #F6EFDB;
  --carte: #1D2334; --ligne: #2E3649; --focus: #A7BDE0;
  --bandeau: #253352; --bandeau-texte: #FFFFFF; --bandeau-doux: #D9E2F2;
  --ombre-couv: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 18px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.55; font-weight: 500; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--rouge-texte); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--encre); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: var(--gouttiere); top: -100px; background: var(--bleu); color: var(--sur-bleu); padding: 0.6rem 1rem; border-radius: var(--rayon); z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.conteneur { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gouttiere); }
.intro { max-width: 62ch; color: var(--encre-2); }
section { padding-block: clamp(2.75rem, 6vw, 5rem); scroll-margin-top: 6rem; }
.en-tete-section { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

/* ---------- En-tête ---------- */
.barre { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--fond); background: color-mix(in srgb, var(--fond) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.barre .conteneur { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; padding-block: 0.5rem; }
.marque { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--encre); font-weight: 700; flex: none; }
.marque img { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.marque span { font-size: 0.95rem; line-height: 1.2; }
.barre nav { margin-left: auto; min-width: 0; }
.barre nav ul { display: flex; gap: 0.1rem; position: relative; }
.barre nav li { flex: none; }
.barre nav a { display: block; padding: 0.5rem 0.65rem; text-decoration: none; font-size: 0.93rem; font-weight: 700; color: var(--encre-2); white-space: nowrap; }
.barre nav a:hover { color: var(--rouge-texte); }
.barre nav a[aria-current="page"] { color: var(--encre); box-shadow: inset 0 -2px 0 var(--rouge); }
.barre nav a.externe { color: var(--bleu); }
@media (max-width: 900px) {
  .barre .conteneur { padding-block: 0.45rem 0; }
  .marque img { width: 34px; height: 34px; }
  .marque span { font-size: 0.9rem; }
  .barre nav { margin-left: 0; width: 100%; }
  .barre nav ul { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gouttiere)); padding-inline: calc(var(--gouttiere) - 0.6rem); }
  .barre nav ul::-webkit-scrollbar { display: none; }
  .barre nav a { padding: 0.55rem 0.6rem 0.6rem; font-size: 0.9rem; }
}

/* ---------- Boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.15rem; border-radius: var(--rayon); font: inherit; font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer; line-height: 1.2; border: 1.5px solid var(--bleu); color: var(--bleu); background: transparent; transition: background-color .15s ease, color .15s ease; }
.btn:hover { background: var(--bleu-doux); color: var(--bleu); }
.btn-plein { background: var(--rouge); border-color: var(--rouge); color: var(--sur-rouge); }
.btn-plein:hover { background: var(--rouge-texte); border-color: var(--rouge-texte); color: var(--sur-rouge); }
.btn-petit { padding: 0.55rem 0.9rem; font-size: 0.92rem; }

/* ---------- Haut de page ---------- */
.hero { background: var(--fond); border-bottom: 1px solid var(--ligne); padding-block: clamp(1.75rem, 4.5vw, 3.5rem) clamp(2.25rem, 5vw, 4rem); }
.hero .conteneur { display: flex; flex-direction: column; gap: 1.25rem; }
.titre-salon { font-family: var(--texte); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.25; color: var(--bleu); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; }
.titre-salon .edition { font-family: var(--display); font-weight: 500; color: var(--rouge-texte); }
.date-geante { font-family: var(--display); font-weight: 500; text-transform: uppercase; color: var(--rouge); line-height: 0.92; letter-spacing: -0.01em; font-size: min(11.5vw, 8.4rem); }
.date-geante span { display: block; white-space: nowrap; }
.date-geante .num { display: inline; color: var(--bleu); }
.sous-date { font-size: clamp(0.95rem, 2vw, 1.15rem); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--encre-2); }
.hero-bas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; margin-top: 0.75rem; }
.hero-infos { display: flex; flex-direction: column; gap: 1.1rem; }
.lieu { display: flex; flex-direction: column; gap: 0.15rem; font-size: 1.1rem; }
.lieu strong { font-weight: 700; color: var(--encre); font-size: 1.2rem; }
.lieu a { color: var(--encre-2); }
.navette { font-weight: 700; color: var(--encre); padding-left: 0.85rem; border-left: 3px solid var(--bleu); max-width: 46ch; }
.points { font-weight: 700; color: var(--encre-2); }
.organisateur { display: flex; align-items: center; gap: 0.8rem; color: var(--encre-2); font-size: 0.95rem; }
.organisateur img { width: 48px; height: 48px; flex: none; border-radius: 50%; }
.organisateur strong { color: var(--encre); display: block; }
@media (max-width: 820px) { .hero-bas { grid-template-columns: 1fr; } .hero-image { max-width: 520px; } }
.hero-page h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); color: var(--rouge); text-transform: uppercase; line-height: 0.95; }
.hero-page h1 .num { color: var(--bleu); }
@media (max-width: 620px) { .titre-salon .sep { display: none; } .titre-salon { flex-direction: column; } }

/* ---------- Compte à rebours ---------- */
.decompte { display: flex; flex-direction: column; gap: 0.3rem; padding-left: 0.9rem; border-left: 3px solid var(--rouge); }
.decompte-titre { font-weight: 700; color: var(--encre-2); }
.decompte-valeur { display: flex; flex-wrap: wrap; gap: 0.1rem 1.1rem; font-variant-numeric: tabular-nums; }
.decompte-valeur .u { white-space: nowrap; font-weight: 700; color: var(--encre-2); }
.decompte-valeur b { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; color: var(--bleu); margin-right: 0.1rem; }
.decompte.statut .decompte-titre { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: 1.15; color: var(--encre); }
.decompte.statut .decompte-titre a { color: inherit; }

/* ---------- Vendredi sur l'accueil ---------- */
.veille { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "titre couv" "liste couv" "pied couv"; gap: 1rem 2rem; align-items: start;
  background: var(--bandeau); color: var(--bandeau-texte); border-radius: var(--rayon); padding: clamp(1.15rem, 3vw, 1.9rem); max-width: 880px; margin-top: 0.25rem; }
.veille-titre { grid-area: titre; font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--bandeau-texte); }
.veille-couv { grid-area: couv; width: 140px; align-self: center; }
.veille-couv img { border-radius: 3px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.veille-liste { grid-area: liste; display: flex; flex-direction: column; gap: 0.9rem; }
.veille-liste li { display: grid; grid-template-columns: 4.3rem minmax(0, 1fr); gap: 0.75rem; }
.veille-liste time { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; }
.veille-liste p { color: var(--bandeau-doux); }
.veille-liste strong { display: block; color: var(--bandeau-texte); font-size: 1.08rem; }
.veille-pied { grid-area: pied; color: var(--bandeau-doux); font-size: 0.95rem; }
.veille-pied a { color: var(--bandeau-texte); font-weight: 700; }
.veille-pied a:hover { color: var(--bandeau-texte); text-decoration-thickness: 2px; }
.veille :focus-visible { outline-color: var(--bandeau-texte); }
@media (max-width: 560px) {
  .veille { grid-template-columns: minmax(0, 1fr) 76px; grid-template-areas: "titre couv" "liste liste" "pied pied"; gap: 1rem 1rem; }
  .veille-titre { align-self: center; }
  .veille-couv { width: 76px; align-self: start; }
  .veille-liste li { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0.6rem; }
  .veille-liste time { font-size: 1.25rem; }
}

/* ---------- Bandeau des auteurs ---------- */
.defile { border-bottom: 1px solid var(--ligne); padding-block: clamp(2rem, 5vw, 3.25rem); overflow: hidden; }
.defile-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.5rem; margin-bottom: 1.5rem; }
.defile-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.defile-fenetre { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-inline: var(--gouttiere); -webkit-overflow-scrolling: touch; }
.defile-fenetre::-webkit-scrollbar { display: none; }
.defile-piste { display: flex; width: max-content; }
.defile-piste li { flex: none; padding-right: 1.5rem; scroll-snap-align: start; }
.defile-piste a { display: flex; flex-direction: column; gap: 0.45rem; width: 8.5rem; text-decoration: none; color: var(--encre); }
.defile-piste a:hover .d-nom { color: var(--rouge-texte); }
.d-nom { font-weight: 700; font-size: 0.9rem; line-height: 1.25; }
.d-titre { font-family: var(--display); font-style: italic; font-size: 0.95rem; line-height: 1.25; color: var(--encre-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.defile:not(.anime) [data-clone] { display: none; }
.defile.anime .defile-fenetre { overflow: hidden; padding-inline: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%); }
.defile.anime .defile-piste { animation: defilement var(--duree, 190s) linear infinite; }
.defile.anime:hover .defile-piste, .defile.anime:focus-within .defile-piste, .defile.en-pause .defile-piste { animation-play-state: paused; }
@keyframes defilement { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { .defile-piste a { width: 7.4rem; } .defile-piste li { padding-right: 1.1rem; } }

/* ---------- Sommaires (liens vers les pages) ---------- */
.sommaire { border-top: 2px solid var(--encre); }
.sommaire li { border-bottom: 1px solid var(--ligne); }
.sommaire a { display: grid; grid-template-columns: 15rem minmax(0, 1fr); grid-template-areas: "quand quoi" "quand desc"; gap: 0.35rem 2rem; padding-block: 1.4rem; text-decoration: none; color: var(--encre); }
.sommaire .quand { grid-area: quand; font-weight: 700; color: var(--encre-2); font-size: 0.95rem; padding-top: 0.5rem; }
.sommaire .quoi { grid-area: quoi; font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.1; color: var(--rouge-texte); }
.sommaire .desc { grid-area: desc; color: var(--encre-2); max-width: 62ch; }
.sommaire a:hover .quoi { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
@media (max-width: 700px) {
  .sommaire a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "quand" "quoi" "desc"; padding-block: 1.15rem; }
  .sommaire .quand { padding-top: 0; }
}

/* ---------- Blocs d'informations ---------- */
.grille-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
@media (max-width: 980px) { .grille-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grille-cartes { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.carte { border-top: 2px solid var(--encre); padding-top: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.carte h3 { font-size: 1.65rem; color: var(--encre); }
.carte p { color: var(--encre); }
.carte p.sub { color: var(--encre-2); font-size: 0.98rem; }
.carte .actions { margin-top: auto; padding-top: 0.4rem; }
.carte a[href^="mailto:"], footer a[href^="mailto:"], .texte a[href^="mailto:"] { overflow-wrap: anywhere; }
.choix-jour { display: inline-flex; border: 1.5px solid var(--bleu); border-radius: var(--rayon); padding: 3px; gap: 3px; align-self: flex-start; }
.choix-jour button { font: inherit; font-weight: 700; font-size: 0.9rem; border: 0; border-radius: 4px; padding: 0.45rem 0.9rem; background: transparent; color: var(--bleu); cursor: pointer; }
.choix-jour button[aria-pressed="true"] { background: var(--bleu); color: var(--sur-bleu); }

/* ---------- Programme du samedi ---------- */
.legende { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.9rem; color: var(--encre-2); font-weight: 700; }
.legende span { display: inline-flex; align-items: center; gap: 0.45rem; }
.pastille { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.pastille-tr { background: var(--rouge); } .pastille-vs { background: var(--bleu); } .pastille-ados { background: var(--encre-2); }
.grille { display: flex; flex-direction: column; border-top: 2px solid var(--encre); }
.creneau { display: grid; grid-template-columns: 6.5rem minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 1.5rem; padding-block: 1.35rem; border-bottom: 1px solid var(--ligne); align-items: start; }
.heure { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--encre); font-variant-numeric: tabular-nums; padding-top: 0.1rem; }
.heure sup { font-family: var(--texte); font-size: 0.85rem; font-weight: 700; color: var(--encre-2); vertical-align: 0.9em; margin-left: 0.1rem; letter-spacing: 0.05em; }
.colonne { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.evt { display: flex; flex-direction: column; gap: 0.3rem; padding-left: 0.9rem; border-left: 3px solid var(--ligne); }
.evt.tr { border-color: var(--rouge); } .evt.vs { border-color: var(--bleu); } .evt.ados { border-color: var(--encre-2); }
.evt .etiquette { font-size: 0.8rem; font-weight: 700; color: var(--encre-2); }
.evt.tr .etiquette { color: var(--rouge-texte); } .evt.vs .etiquette { color: var(--bleu); }
.evt h3 { font-size: 1.3rem; line-height: 1.15; }
.evt.vs h3, .evt.ados h3 { font-family: var(--texte); font-size: 1.05rem; font-weight: 700; }
.evt p { color: var(--encre-2); font-size: 0.98rem; }
.evt p b { color: var(--encre); font-weight: 700; }
@media (max-width: 720px) { .creneau { grid-template-columns: 1fr; gap: 0.9rem; } .heure { font-size: 1.7rem; } }
.concours { margin-top: 2.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; border-top: 2px solid var(--encre); padding-top: 1.5rem; max-width: 720px; }
.concours img { width: 120px; }
.concours h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
@media (max-width: 480px) { .concours { grid-template-columns: 1fr; } .concours img { width: 100px; } }

/* ---------- Vendredi ---------- */
.temoignage { background: var(--bandeau); color: var(--bandeau-texte); }
.temoignage-grille { display: grid; grid-template-columns: 181px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.temoignage-couv { width: 181px; }
.temoignage-heure { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--bandeau-doux); margin-bottom: 0.6rem; }
.temoignage h2 { color: var(--bandeau-texte); font-size: clamp(2rem, 5vw, 3.2rem); }
.temoignage-phrase { font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.45; margin-top: 1rem; max-width: 52ch; color: var(--bandeau-texte); }
.temoignage-lieu { margin-top: 1rem; color: var(--bandeau-doux); font-weight: 700; }
.temoignage :focus-visible { outline-color: var(--bandeau-texte); }
@media (max-width: 560px) { .temoignage-grille { grid-template-columns: minmax(0, 1fr); } .temoignage-couv { justify-self: center; } }
.visuel-fondu img { width: 100%; height: auto; border-radius: 4px;
  -webkit-mask-image: radial-gradient(120% 110% at 50% 45%, #000 55%, transparent 95%);
  mask-image: radial-gradient(120% 110% at 50% 45%, #000 55%, transparent 95%); }
.soiree { display: flex; flex-direction: column; border-top: 2px solid var(--encre); }
.soiree > li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.25rem; padding-block: 1.4rem; border-bottom: 1px solid var(--ligne); }
.soiree h3 { font-size: 1.5rem; }
.soiree p { color: var(--encre-2); margin-top: 0.35rem; }
.soiree .ou { font-size: 0.92rem; }
.soiree .citation { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--rouge-texte); }
.prix { display: flex; flex-wrap: wrap; margin-top: 0.6rem; font-weight: 700; font-size: 0.95rem; color: var(--encre); }
.prix li:not(:last-child)::after { content: "·"; margin-inline: 0.5rem; color: var(--encre-2); }
@media (max-width: 480px) { .soiree > li { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- Couvertures ---------- */
.couv { position: relative; aspect-ratio: 2 / 3; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.couv img { width: auto; height: auto; max-width: 100%; max-height: 100%; box-shadow: var(--ombre-couv); transition: opacity .3s ease; }
.couv .repli { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; text-align: center; padding: 0.75rem;
  border: 1px solid var(--ligne); background: var(--carte); font-family: var(--display); font-size: 1.05rem; line-height: 1.2; color: var(--encre-2); overflow: hidden; }
.couv.attente img { opacity: 0; }
.couv.attente .repli, .couv.sans-image .repli { display: flex; }
.couv.sans-image img { display: none; }
.couv.mini .repli { font-size: 0.85rem; padding: 0.5rem; }

/* ---------- Auteurs & ouvrages ---------- */
.livres { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 2.25rem 1.5rem; }
@media (max-width: 460px) { .livres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; } }
.livre { display: flex; flex-direction: column; gap: 0.5rem; scroll-margin-top: 7rem; }
.livre .couv { margin-bottom: 0.4rem; }
.livre:target .auteur { color: var(--rouge-texte); }
.livre:target .couv img { outline: 3px solid var(--rouge); outline-offset: 4px; }
.livre .auteur { font-weight: 700; font-size: 1rem; line-height: 1.25; color: var(--encre); }
.livre .auteur b { color: var(--bleu); text-transform: uppercase; letter-spacing: 0.02em; }
.livre .titre { font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1.25; color: var(--encre); }
.livre .meta { font-size: 0.88rem; color: var(--encre-2); }
.autres { margin-top: 0.35rem; }
.autres summary { cursor: pointer; font-size: 0.85rem; font-weight: 700; color: var(--bleu); }
.autres summary::marker { color: var(--bleu); }
.autres ul { margin-top: 0.4rem; display: flex; flex-direction: column; gap: 0.3rem; }
.autres li { font-size: 0.85rem; color: var(--encre-2); line-height: 1.35; padding-left: 0.7rem; border-left: 2px solid var(--ligne); }
.note { font-size: 0.9rem; color: var(--encre-2); }
.note-bas { margin-top: 2.5rem; }

/* ---------- Partenaires ---------- */
.partenaires { background: var(--papier); color: #1F2638; }
.partenaires h2 { color: #1F2638; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 1.5rem; }
.logos li { flex: 0 0 calc((100% - 7.5rem) / 6); display: flex; align-items: center; justify-content: center; height: 76px; }
.logos li.large { flex-basis: calc((100% - 7.5rem) / 3 + 1.5rem); }
.logos img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.logos li.large img { max-height: 46px; }
@media (max-width: 900px) {
  .logos li { flex-basis: calc((100% - 4.5rem) / 4); }
  .logos li.large { flex-basis: calc((100% - 4.5rem) / 2 + 1.5rem); }
}
@media (max-width: 560px) {
  .logos { gap: 1.5rem 1rem; }
  .logos li { flex-basis: calc((100% - 2rem) / 3); height: 60px; }
  .logos li.large { flex-basis: calc((100% - 2rem) / 3 * 2 + 1rem); }
  .logos img { max-height: 52px; }
  .logos li.large img { max-height: 36px; }
}

/* ---------- Pages texte ---------- */
.texte { max-width: 70ch; display: flex; flex-direction: column; gap: 0.9rem; }
.texte h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.5rem; }
.texte dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; margin: 0; }
.texte dt { font-weight: 700; color: var(--encre-2); }
.texte dd { margin: 0; }
@media (max-width: 560px) { .texte dl { grid-template-columns: 1fr; } .texte dd { margin-bottom: 0.5rem; } }

/* ---------- Pied de page ---------- */
footer { border-top: 1px solid var(--ligne); padding-block: 2rem; color: var(--encre-2); font-size: 0.92rem; }
footer .conteneur { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
footer ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.toast { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--encre); color: var(--fond); padding: 0.7rem 1.1rem; border-radius: var(--rayon); font-weight: 700; font-size: 0.95rem; z-index: 60; max-width: calc(100% - 2 * var(--gouttiere)); }

@media print {
  .barre, .actions, .skip, .toast, .choix-jour, .defile, .decompte { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  section { padding-block: 1.2rem; }
  .partenaires, .veille, .temoignage { background: none; color: #000; }
}

/* ---------- v5 : bilan 2026 et prix littéraires ---------- */
.hero-bilan .date-geante .num { display: block; }
.bilan-phrase { font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 700; color: var(--encre-2); max-width: 46ch; }

/* Palmarès sur l'accueil */
.pp-liste { border-top: 2px solid var(--encre); }
.pp { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1rem 2rem; padding-block: 1.75rem; border-bottom: 1px solid var(--ligne); }
.pp-nom { font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.12; }
.pp-nom a { color: var(--rouge-texte); text-decoration: none; }
.pp-nom a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.pp-livres { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.5rem 2rem; }
.lp { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.lp-laureat { grid-template-columns: 7.5rem minmax(0, 1fr); }
.lp-couv, .pl-couv { width: 100%; height: auto; box-shadow: var(--ombre-couv); }
.mention { display: flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: 0.9rem; color: var(--encre); margin-bottom: 0.4rem; }
.mention img { width: 28px; height: 28px; flex: none; }
.lp-titre { font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1.25; }
.lp-laureat .lp-titre { font-size: 1.3rem; }
.lp-auteur { font-weight: 700; margin-top: 0.3rem; }
.lp-edition { font-size: 0.88rem; color: var(--encre-2); margin-top: 0.15rem; }
.suite-palmares { margin-top: 2rem; }
@media (max-width: 760px) { .pp { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) {
  .pp-livres { grid-template-columns: minmax(0, 1fr); }
  .lp { grid-template-columns: 5rem minmax(0, 1fr); }
  .lp-laureat { grid-template-columns: 6.5rem minmax(0, 1fr); }
}

/* Le travail des jurys */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; border-top: 2px solid var(--encre); padding-top: 1.5rem; }
.c-val { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--bleu); }
.c-val-texte { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.1; }
.c-pre { font-family: var(--texte); font-size: 0.95rem; font-weight: 700; color: var(--encre-2); vertical-align: middle; }
.c-lib { font-weight: 700; font-size: 1.1rem; margin-top: 0.45rem; }
.c-sub { color: var(--encre-2); font-size: 0.95rem; margin-top: 0.25rem; }
@media (max-width: 900px) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .chiffres { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

/* Remerciements */
.merci-aussi { margin-top: 2.5rem; border-top: 1px solid #D9CFB8; padding-top: 1.5rem; color: #1F2638; }
.merci-aussi h3 { font-size: 1.5rem; color: #1F2638; }
.merci-aussi ul { display: flex; flex-wrap: wrap; margin-top: 0.75rem; font-weight: 700; }
.merci-aussi li:not(:last-child)::after { content: "·"; margin-inline: 0.6rem; color: #4A5266; }
.merci-aussi p { margin-top: 0.6rem; color: #4A5266; }

/* Rendez-vous en 2027 */
.rdv-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.rdv-phrase { font-size: clamp(1.15rem, 2.5vw, 1.45rem); margin-top: 0.6rem; color: var(--encre-2); max-width: 36ch; }
.rdv .carte { margin-top: 2rem; max-width: 26rem; }
.revoir { margin-top: 1.5rem; color: var(--encre-2); }
@media (max-width: 820px) { .rdv-grille { grid-template-columns: minmax(0, 1fr); } .rdv .hero-image { max-width: 520px; } }

/* Bandeau d'archive (vendredi, samedi) */
.archive { background: var(--bandeau); color: var(--bandeau-texte); }
.archive .conteneur { padding-block: 0.8rem; }
.archive p { font-weight: 700; }
.archive a { color: var(--bandeau-texte); margin-left: 0.3rem; }
.archive a:hover { color: var(--bandeau-texte); text-decoration-thickness: 2px; }
.archive :focus-visible { outline-color: var(--bandeau-texte); }

/* Page des prix */
.sommaire-prix ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.sommaire-prix a { display: inline-block; padding-block: 0.2rem; font-weight: 700; }
.prix-bloc { border-top: 1px solid var(--ligne); }
.prix-entete { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 2rem; }
.prix-jury { font-weight: 700; font-size: 1.1rem; }
.prix-bilan { color: var(--encre-2); }
.prix-livres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; align-items: start; }
.pl { display: grid; grid-template-columns: 11rem minmax(0, 1fr); grid-template-areas: "couv tete" "couv suite"; grid-template-rows: auto 1fr; gap: 0 1.5rem; align-items: start; }
.pl-coeur { grid-template-columns: 8rem minmax(0, 1fr); }
.pl-couv { grid-area: couv; }
.pl-tete { grid-area: tete; }
.pl-suite { grid-area: suite; }
.pl-titre { font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.2; }
.pl-auteur { font-weight: 700; margin-top: 0.45rem; }
.pl-edition { color: var(--encre-2); font-size: 0.92rem; margin-top: 0.15rem; }
.pl-citation { font-family: var(--display); font-style: italic; color: var(--rouge-texte); font-size: 1.1rem; line-height: 1.35; margin-top: 0.9rem; }
.pl-texte { margin-top: 0.6rem; max-width: 60ch; }
.selection { margin-top: 2.75rem; border-top: 1px solid var(--ligne); padding-top: 1.5rem; }
.selection-titre { font-size: 1.5rem; margin-bottom: 1.25rem; }
.sel-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 1.75rem 1.25rem; }
.sel { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.sel-couv { margin-bottom: 0.3rem; }
.sel-couv .repli { font-size: 0.85rem; padding: 0.5rem; }
.sel-multi { grid-column: span 2; }
.sel-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 0.3rem; }
.sel-trio .sel-couv { margin-bottom: 0; }
.sel-titre { font-family: var(--display); font-style: italic; font-size: 0.98rem; line-height: 1.25; color: var(--encre); }
.sel-auteur { font-size: 0.85rem; font-weight: 700; color: var(--encre-2); line-height: 1.3; }
@media (max-width: 900px) { .prix-livres { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .pl { grid-template-columns: 7rem minmax(0, 1fr); grid-template-areas: "couv tete" "suite suite"; grid-template-rows: auto auto; gap: 0 1rem; }
  .pl-coeur { grid-template-columns: 6rem minmax(0, 1fr); }
  .sel-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 0.75rem; }
  .sel-titre { font-size: 0.88rem; }
  .sel-auteur { font-size: 0.78rem; }
}

/* Repères sur la page des auteurs */
.repere { display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start; font-size: 0.85rem; font-weight: 700; color: var(--encre); text-decoration: none; padding-block: 0.15rem; }
.repere img { width: 24px; height: 24px; flex: none; }
.repere:hover { color: var(--rouge-texte); text-decoration: underline; }

@media print { .archive { background: none; color: #000; } }
