/* ═══════════════════════════ « Le Bilan » ═══════════════════════════
 *
 * Servie **seulement** sur sa fiche (`views/product-affiche.liquid`) : une mise en page
 * d'affiche n'a rien à faire dans le chemin critique du reste du site.
 *
 * ── Une année en moments et en chiffres, quatre styles ──
 *
 * Le contenu et la structure ne bougent pas ; chaque style a sa palette, ses polices et sa
 * façon de poser les chiffres. Le premier est celui que la fiche ouvre : le dégradé de story,
 * le plus reconnaissable.
 * - **Néon** : fond nuit dégradé de violet et de corail, prénoms en Didone, chiffres condensés
 *   avec une lueur. Le style « story ».
 * - **Journal** : papier, encre, filet double en tête et en pied, prénoms en Didone grasse
 *   centrés, chiffres en Didone à l'ancienne séparés par des filets, légendes en italique.
 * - **Rétro** : l'affiche de concert. Aplat moutarde, cadre noir, tout en capitales étroites
 *   (Anton), les moments comme une programmation de festival.
 * - **Minimal** : blanc, grille suisse, Inter serrée, tout à gauche, un seul point rouge.
 *
 * Toutes les polices sont servies par nous (point 2) : Playfair Display, Roboto Condensed et
 * Inter par `theme.css`, Anton ici. **Aucun nom, aucune couleur, aucune mise en page d'une
 * plateforme de streaming** : c'est notre « Bilan ».
 *
 * ── Les palettes ──
 *
 * **Ce sont des couleurs de produit, pas de charte** (point 6 quater) : elles sont en clair,
 * toutes ici, en tête, et nulle part ailleurs. `[data-style]` ne nomme pas `.bl` exprès, pour que
 * les échantillons du formulaire se colorent avec les mêmes variables.
 */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --l-fond : le papier ; --l-fond-image : ce qui se peint dessus (le dégradé du Néon) ;
   --l-encre : le texte ; --l-accent : le surtitre, le rang des moments, le lien des prénoms ;
   --l-doux : le texte en retrait (les lieux, les légendes, les chiffres vrais) ; --l-filet :
   les traits ; --l-halo : la lueur des chiffres (le Néon seul) ; --l-cadre : le cadre du Rétro. */
[data-style="Néon"] {
  --l-fond: #12061f; --l-fond-image: radial-gradient(120% 80% at 10% 0%, #5a1b63 0%, transparent 55%), radial-gradient(90% 70% at 100% 100%, #c2452f 0%, transparent 60%);
  --l-encre: #fff3ea; --l-accent: #ff7a59; --l-doux: #d9ccc6; --l-filet: #4a3a4a; --l-halo: rgba(255, 122, 89, .55); --l-cadre: transparent;
}
[data-style="Journal"] {
  --l-fond: #f4efe4; --l-fond-image: none;
  --l-encre: #141210; --l-accent: #b4231c; --l-doux: #5b5550; --l-filet: #141210; --l-halo: transparent; --l-cadre: transparent;
}
[data-style="Rétro"] {
  --l-fond: #f0b63a; --l-fond-image: none;
  --l-encre: #141210; --l-accent: #141210; --l-doux: #3d3524; --l-filet: #141210; --l-halo: transparent; --l-cadre: #141210;
}
[data-style="Minimal"] {
  --l-fond: #ffffff; --l-fond-image: none;
  --l-encre: #111111; --l-accent: #d4221b; --l-doux: #5a5a5a; --l-filet: #d0d0d0; --l-halo: transparent; --l-cadre: transparent;
}

/* ── L'affiche ──
 *
 * Tout est en `cqw` : l'affiche se lit sur sa propre largeur (le cadre est le conteneur de
 * requête), donc le même dessin tient de l'aperçu de 360 px au 70 × 100 imprimé. Les rapports
 * vendus vont de 1,333 (30 × 40) à 1,5 (40 × 60) : l'écart s'absorbe dans l'air entre les blocs
 * (la liste des moments prend la place qui reste), jamais dans une taille de texte qui
 * changerait avec le format. `--bl-t` est la taille du texte des moments, des chiffres et de la
 * phrase, 1 ou moins : l'éditeur la reprend au pixel quand cinq moments longs débordent. */
.bl {
  --fond: var(--l-fond); --texte: var(--l-encre);
  --bl-t: 1; --bl-ech: 1;
  --bl-police: "Roboto Condensed"; --bl-titrage: "Playfair Display"; --bl-chiffres: "Roboto Condensed";
  display: flex; flex-direction: column; position: relative;
  padding: 6.5cqw 7cqw;
  background-color: var(--l-fond); background-image: var(--l-fond-image); color: var(--l-encre);
  font-family: var(--bl-police), system-ui, sans-serif; line-height: 1.2;
}
.bl :where(p, ol, ul, li) { margin: 0; padding: 0; list-style: none; }
.bl [hidden] { display: none !important; }
/* L'exemple en pleine couleur (Fred, 8 oct. 2026 : « le contraste est vraiment trop faible, l'écriture
   est trop transparente ») : sur cette affiche presque tout est exemple au premier affichage — les cinq
   moments, les quatre chiffres, le mot —, et à 40 % l'affiche entière paraissait délavée. La classe
   `affiche-exemple` reste : c'est elle que la fabrication masque, et que l'éditeur retire à la frappe.
   Seule la phrase du bas, facultative, reste un peu en retrait. Même règle que « Nos voyages ». */
.affiche__affiche.bl .affiche-exemple { opacity: 1; }
.affiche__affiche.bl .bl__phrase.affiche-exemple { opacity: .7; }
.bl__in { flex: 1; min-height: 0; display: grid; grid-template-rows: auto auto 1fr auto auto auto; gap: 3cqw; }

.bl__eyebrow { font-size: 2.6cqw; letter-spacing: .22em; text-transform: uppercase; color: var(--l-accent); display: flex; justify-content: space-between; }
.bl__noms { font-family: var(--bl-titrage), Georgia, serif; font-weight: 700; font-size: calc(9.2cqw * var(--bl-ech)); line-height: .98; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: anywhere; }
.bl__et { font-weight: 400; font-style: italic; color: var(--l-accent); }

/* Les moments prennent la place qui reste et s'y répartissent : cinq lignes courtes se lisent comme une programmation, cinq longues se serrent. */
.bl__moments { display: grid; gap: calc(1.6cqw * var(--bl-t)); align-content: space-evenly; border-top: 1px solid var(--l-filet); padding-top: 2.6cqw; min-height: 0; }
.bl__moment { display: grid; grid-template-columns: 4.2cqw 1fr auto; gap: 2cqw; font-size: calc(3.4cqw * var(--bl-t)); line-height: 1.25; align-items: baseline; }
.bl__moment b { font-family: var(--bl-chiffres), sans-serif; color: var(--l-accent); font-weight: 700; }
.bl__lieu { color: var(--l-doux); font-size: calc(2.6cqw * var(--bl-t)); font-family: var(--bl-chiffres), sans-serif; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.bl__lieu:empty { display: none; }

.bl__chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2cqw; border-top: 1px solid var(--l-filet); padding-top: 2.6cqw; }
.bl__chiffre strong { display: block; font-family: var(--bl-chiffres), sans-serif; font-weight: 700; font-size: calc(6.6cqw * var(--bl-t)); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--l-encre); text-shadow: 0 0 2.4cqw var(--l-halo); white-space: nowrap; }
.bl__chiffre span { display: block; font-size: calc(2.3cqw * var(--bl-t)); color: var(--l-doux); margin-top: .8cqw; line-height: 1.2; overflow-wrap: anywhere; }
/* Une rangée où il ne reste qu'un ou deux chiffres garde ses colonnes : les cases vides sont cachées, la grille reste la même. */

.bl__pied { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3cqw; align-items: end; border-top: 1px solid var(--l-filet); padding-top: 2.4cqw; }
.bl__vrais { font-family: var(--bl-chiffres), sans-serif; font-size: 2.4cqw; letter-spacing: .06em; text-transform: uppercase; color: var(--l-doux); line-height: 1.6; }
.bl__vrais b { color: var(--l-encre); font-weight: 700; font-variant-numeric: tabular-nums; }
.bl__mot { text-align: right; max-width: 40cqw; }
.bl__mot-lbl { display: block; font-family: var(--bl-chiffres), sans-serif; font-size: 2.2cqw; letter-spacing: .18em; text-transform: uppercase; color: var(--l-accent); }
.bl__mot-val { display: block; font-family: var(--bl-titrage), Georgia, serif; font-style: italic; font-size: 5cqw; line-height: 1.05; overflow-wrap: anywhere; }
.bl__phrase { font-family: var(--bl-titrage), Georgia, serif; font-style: italic; font-size: calc(3cqw * var(--bl-t)); color: var(--l-doux); text-align: center; border-top: 1px solid var(--l-filet); padding-top: 2.2cqw; text-wrap: balance; }

/* ── Journal : papier, encre, filet double, chiffres en Didone. ── */
.bl[data-style="Journal"] .bl__in { border-top: .9cqw double var(--l-encre); padding-top: 2cqw; }
.bl[data-style="Journal"] .bl__eyebrow { font-family: var(--bl-titrage), Georgia, serif; font-style: italic; text-transform: none; letter-spacing: 0; font-size: 3cqw; color: var(--l-encre); border-bottom: 1px solid var(--l-encre); padding-bottom: 1.2cqw; }
.bl[data-style="Journal"] .bl__noms { font-weight: 900; font-size: calc(10cqw * var(--bl-ech)); text-align: center; }
.bl[data-style="Journal"] .bl__et { color: var(--l-encre); }
.bl[data-style="Journal"] .bl__moments { border-top: 1px solid var(--l-encre); border-bottom: 1px solid var(--l-encre); padding-bottom: 2.4cqw; }
.bl[data-style="Journal"] .bl__moment { font-family: var(--bl-titrage), Georgia, serif; font-size: calc(3.3cqw * var(--bl-t)); }
.bl[data-style="Journal"] .bl__moment b { font-family: var(--bl-titrage), Georgia, serif; }
.bl[data-style="Journal"] .bl__chiffres { border-top: none; padding-top: 0; column-gap: 0; }
.bl[data-style="Journal"] .bl__chiffre { padding-inline: 2cqw; border-left: 1px solid var(--l-filet); }
.bl[data-style="Journal"] .bl__chiffre:first-child { border-left: none; padding-left: 0; }
.bl[data-style="Journal"] .bl__chiffre strong { font-family: var(--bl-titrage), Georgia, serif; font-weight: 400; font-size: calc(6.8cqw * var(--bl-t)); font-variant-numeric: lining-nums tabular-nums; }
.bl[data-style="Journal"] .bl__chiffre span { font-family: var(--bl-titrage), Georgia, serif; font-style: italic; font-size: calc(2.6cqw * var(--bl-t)); }
.bl[data-style="Journal"] .bl__pied { border-top: .9cqw double var(--l-encre); }
.bl[data-style="Journal"] .bl__mot-val { font-weight: 700; font-style: normal; }
.bl[data-style="Journal"] .bl__phrase { border-top: none; }

/* ── Rétro : l'affiche de concert, un aplat, une capitale étroite, tout en majuscules. ── */
.bl[data-style="Rétro"] { --bl-titrage: "Anton"; --bl-chiffres: "Anton"; padding: 5.5cqw 6cqw; }
.bl[data-style="Rétro"] .bl__in { border: .7cqw solid var(--l-cadre); padding: 3cqw 3.6cqw; }
.bl[data-style="Rétro"] .bl__eyebrow { font-family: "Anton", sans-serif; font-size: 3.2cqw; letter-spacing: .12em; }
.bl[data-style="Rétro"] .bl__noms { font-family: "Anton", sans-serif; font-weight: 400; font-size: calc(13cqw * var(--bl-ech)); line-height: .92; text-transform: uppercase; letter-spacing: .005em; }
.bl[data-style="Rétro"] .bl__et { font-style: normal; font-family: "Playfair Display", Georgia, serif; font-weight: 700; text-transform: none; font-size: .55em; vertical-align: .25em; }
.bl[data-style="Rétro"] .bl__moments { border-top: .5cqw solid var(--l-encre); }
.bl[data-style="Rétro"] .bl__moment { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: calc(3.4cqw * var(--bl-t)); letter-spacing: .02em; }
.bl[data-style="Rétro"] .bl__moment b { font-weight: 400; }
.bl[data-style="Rétro"] .bl__chiffres { border-top: .5cqw solid var(--l-encre); }
.bl[data-style="Rétro"] .bl__chiffre strong { font-weight: 400; font-size: calc(7.8cqw * var(--bl-t)); }
.bl[data-style="Rétro"] .bl__chiffre span { font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: calc(2.2cqw * var(--bl-t)); }
.bl[data-style="Rétro"] .bl__pied { border-top: .5cqw solid var(--l-encre); }
.bl[data-style="Rétro"] .bl__vrais { color: var(--l-encre); font-weight: 400; }
.bl[data-style="Rétro"] .bl__mot-val { font-family: "Anton", sans-serif; font-style: normal; text-transform: uppercase; font-size: 5.6cqw; }
.bl[data-style="Rétro"] .bl__phrase { font-family: "Anton", sans-serif; font-style: normal; text-transform: uppercase; letter-spacing: .1em; font-size: calc(2.8cqw * var(--bl-t)); color: var(--l-encre); border-top: none; }

/* ── Minimal : blanc, grille suisse, un point rouge, tout à gauche. ── */
.bl[data-style="Minimal"] { --bl-titrage: "Inter"; --bl-chiffres: "Inter"; --bl-police: "Inter"; padding: 7cqw 8cqw; }
.bl[data-style="Minimal"] .bl__in { gap: 4.5cqw; }
.bl[data-style="Minimal"] .bl__eyebrow { font-weight: 600; letter-spacing: .08em; font-size: 2.3cqw; color: var(--l-encre); }
.bl[data-style="Minimal"] .bl__eyebrow span:first-child::before { content: ""; display: inline-block; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--l-accent); margin-right: 1.2cqw; vertical-align: .1em; }
.bl[data-style="Minimal"] .bl__noms { font-weight: 700; font-size: calc(7.6cqw * var(--bl-ech)); letter-spacing: -.035em; line-height: 1; }
.bl[data-style="Minimal"] .bl__et { font-style: normal; font-weight: 400; color: var(--l-doux); }
.bl[data-style="Minimal"] .bl__moment { font-size: calc(2.9cqw * var(--bl-t)); grid-template-columns: 5cqw 1fr auto; }
.bl[data-style="Minimal"] .bl__moment b { font-weight: 400; color: var(--l-doux); }
.bl[data-style="Minimal"] .bl__lieu { text-transform: none; letter-spacing: 0; font-size: calc(2.6cqw * var(--bl-t)); }
.bl[data-style="Minimal"] .bl__chiffre strong { font-weight: 600; font-size: calc(5.8cqw * var(--bl-t)); letter-spacing: -.04em; }
.bl[data-style="Minimal"] .bl__vrais { text-transform: none; letter-spacing: 0; font-size: 2.5cqw; }
.bl[data-style="Minimal"] .bl__mot-lbl { letter-spacing: .08em; color: var(--l-doux); }
.bl[data-style="Minimal"] .bl__mot-val { font-style: normal; font-weight: 600; font-size: 4.2cqw; letter-spacing: -.02em; }
.bl[data-style="Minimal"] .bl__phrase { font-style: normal; text-align: left; font-size: calc(2.6cqw * var(--bl-t)); border-top: none; padding-top: 0; }

/* ── Le formulaire ── */
.bl-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.bl-styles input { position: absolute; opacity: 0; pointer-events: none; }
.bl-styles label { display: grid; gap: .3rem; padding: .8rem; border: .1rem solid rgba(var(--encre), .18); border-radius: .8rem; cursor: pointer; min-height: 4.4rem; }
.bl-styles input:checked + label { border-color: rgb(var(--encre)); box-shadow: inset 0 0 0 .1rem rgb(var(--encre)); }
.bl-styles input:focus-visible + label { outline: .2rem solid rgb(var(--bleu-focus)); outline-offset: .2rem; }
.bl-echantillon { display: flex; align-items: center; gap: .4rem; height: 3.2rem; padding: 0 .8rem; border-radius: .4rem; background-color: var(--l-fond); background-image: var(--l-fond-image); color: var(--l-encre); font-family: var(--bl-chiffres, "Roboto Condensed"), sans-serif; font-weight: 700; font-size: 1.5rem; }
.bl-echantillon i { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--l-accent); }
.bl-styles label[data-style="Rétro"] .bl-echantillon { --bl-chiffres: "Anton"; font-weight: 400; box-shadow: inset 0 0 0 .2rem var(--l-cadre); }
.bl-styles label[data-style="Minimal"] .bl-echantillon { --bl-chiffres: "Inter"; box-shadow: inset 0 0 0 .1rem var(--l-filet); }
.bl-styles label[data-style="Journal"] .bl-echantillon { --bl-chiffres: "Playfair Display"; font-weight: 400; border-top: .2rem double var(--l-encre); border-bottom: .2rem double var(--l-encre); }
.bl-styles__nom { font-weight: 600; }
.bl-styles small { color: rgba(var(--encre), .7); }

.bl-bloc { position: relative; }
.bl-tout { margin: .4rem 0 .8rem; }
.bl-lignes { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.bl-ligne { display: grid; gap: .4rem; }
.bl-ligne__rang { display: grid; grid-template-columns: minmax(0, 1fr) 4.4rem; gap: .6rem; align-items: end; }
.bl-ligne__nom { font-weight: 600; }
.bl-ligne__petit label { font-size: 1.3rem; color: rgba(var(--encre), .7); }
.bl-ligne--chiffre { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: .6rem; }
.bl-de { display: inline-flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; border: .1rem solid rgba(var(--encre), .25); border-radius: .8rem; background: rgb(var(--color-background)); color: rgb(var(--encre)); cursor: pointer; }
.bl-de svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bl-de svg circle { fill: currentColor; stroke: none; }
.bl-de[hidden], .bl-idees[hidden], .bl-tout[hidden], .bl-partage[hidden] { display: none; }
.bl-idees { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.bl-idees button { font: inherit; font-size: 1.3rem; padding: .6rem 1rem; min-height: 4.4rem; border-radius: 99rem; border: .1rem solid rgba(var(--encre), .25); background: rgb(var(--color-background)); color: rgb(var(--encre)); cursor: pointer; }
.bl-de:focus-visible, .bl-idees button:focus-visible, .bl-partager:focus-visible { outline: .2rem solid rgb(var(--bleu-focus)); outline-offset: .2rem; }
.bl-vrais { margin-top: 1rem; }
.bl-partage { margin: .4rem 0 1.6rem; display: grid; gap: .4rem; }
.bl-partager { font: inherit; font-weight: 600; padding: 0 2rem; min-height: 4.8rem; border-radius: 99rem; border: none; background: rgb(var(--navy)); color: rgb(var(--color-background)); cursor: pointer; }
.bl-partage small { color: rgba(var(--encre), .7); }
