/* Rampe — « Jour franc » : feuille de l'accueil (13 novembre 2026). Le système (jetons,
 * tuiles, code, relevé, comparateur) est dans site.css.
 * Sommaire : 1 ouverture et vitrine ; 2 démonstration ; 3 fondateur ; 4 étapes ; 5 prix et essai ; 6 appel final. */

/* ---------- 1. Ouverture ---------- */
/* Le titre est posé entièrement sur le papier ; la vitrine soleil est dessous, à droite, et ne le touche pas. Dans
   la colonne de texte, un seul élément tranche : le bouton. Rien n'y bouge à l'arrivée. */
.ouverture { padding-top: clamp(1rem, 2vw, 1.5rem); padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.ouverture .titre-geant { margin-bottom: var(--m-titre); }
.ouverture__corps { display: grid; gap: clamp(2rem, 4vw, 3rem) var(--joint); }
.ouverture__texte { display: flex; flex-direction: column; gap: clamp(1.125rem, 1.6vw, 1.375rem); }
.ouverture__texte .chapo { max-width: var(--ligne); text-wrap: balance; }
/* le prix : un grand chiffre à l'encre sur le papier, sous un filet */
.ouverture__prix { display: grid; gap: .375rem; max-width: none; padding-top: .875rem; border-top: 2px solid var(--encre); }
.ouverture__prix strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .875rem; font-weight: 550; font-size: 1.125rem; line-height: 1.25; }
.ouverture__depuis { flex-basis: 100%; }
.ouverture__montant { font-family: var(--titre); font-stretch: 112%; font-weight: 750; font-size: clamp(3rem, 2.4rem + 1.9vw, 4rem); line-height: .95; letter-spacing: -.045em; white-space: nowrap; }
.ouverture__tva { font-size: 1rem; line-height: 1.4; color: var(--gris); }
.ouverture__actions { flex-direction: column; align-items: flex-start; gap: .25rem; }
.ouverture__sans-audit { max-width: 46ch; margin-top: -.5rem; font-size: 1rem; line-height: 1.5; color: var(--encre-doux); }
@media (min-width: 64em) {
  .ouverture__corps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(1.5rem, 3.2vw, 3rem); align-items: start; }
}
@media (max-width: 40em) {
  .ouverture__actions { align-items: stretch; gap: .375rem; }
}
/* écran large mais bas (portable) : l'ouverture se resserre pour que toute la colonne reste au premier écran */
@media (min-width: 64em) and (max-height: 52em) {
  .ouverture { padding-top: .5rem; }
  .ouverture .titre-geant { --m-titre: 1.25rem; }
  .ouverture__texte { gap: .875rem; }
  .ouverture__texte .chapo { font-size: 1.1875rem; max-width: 44ch; }
  .ouverture__prix { padding-top: .625rem; }
  .ouverture__montant { font-size: 3rem; }
}

/* La vitrine : une plaque soleil. La boutique corrigée y est une plaque épaisse, en perspective, cadrée sur la
   rangée de produits et ses pastilles ; le contour de focus s'y pose, comme la touche Tab. Derrière elle, plus
   petite, la feuille de code. Tout est décor (aria-hidden). Elle s'anime une fois, deux secondes. */
.vitrine { position: relative; height: 76vw; border-radius: var(--rayon-plan); background: var(--soleil); container-type: size; overflow: hidden; }
@media (min-width: 40em) { .vitrine { height: 54vw; } }
@media (min-width: 64em) { .vitrine { align-self: stretch; min-height: clamp(25rem, calc(100svh - 25.75rem), 36rem); } }
.vitrine__soleil { position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(60% 75% at 84% 8%, #FFDB63 0%, rgba(255, 154, 92, 0) 70%),
    linear-gradient(rgba(23, 19, 14, .09) 1px, transparent 1px) 0 0 / 100% 12.5cqw,
    linear-gradient(90deg, rgba(23, 19, 14, .09) 1px, transparent 1px) 0 0 / 12.5cqw 100%; }
/* --defile (0 à 1) est réglé par js/accueil.js pendant le défilement : la scène dérive un peu (parallaxe) */
/* La plaque remplit le panneau (14 novembre 2026). Elle est réglée sur la hauteur du panneau, bornée par sa largeur,
   et posée en bas : si le panneau est bas, c'est le haut de la boutique qui sort, jamais les produits.
   Téléphone : x 62 à 800, y 250 à 890 de la capture (la bannière, deux produits et demi). */
.vitrine__monde { position: absolute; inset: 0; perspective: 170cqw; perspective-origin: 40% 44%; transform: translateY(calc(var(--defile, 0) * -2.75rem)); }
.vitrine__groupe { position: absolute; left: 50%; bottom: 5cqh; height: min(84cqh, 80cqw); aspect-ratio: 738 / 640; translate: -52% 0; transform-style: preserve-3d;
  transform: rotateX(calc(8deg + var(--ty, 0deg))) rotateY(calc(-15deg + var(--tx, 0deg))) rotateZ(2.5deg);
  transition: transform .7s var(--sortie); }
html.anim .vitrine__groupe { animation: vitrine-pose 1s var(--sortie) backwards; }
@keyframes vitrine-pose { from { transform: translateY(8%) rotateX(27deg) rotateY(-34deg) rotateZ(8deg); } }
.vitrine__ombre { position: absolute; inset: 6% -5% -6% 12%; border-radius: 6%; background: rgba(84, 58, 0, .42); filter: blur(4.5cqw); transform: translateZ(-11cqw); }
.plaque { position: absolute; inset: 0; transform-style: preserve-3d; --ep: 3cqw; }
.plaque__face { position: absolute; inset: 0; overflow: hidden; border-radius: 1.2cqw; background: #f4f4f4; box-shadow: 0 0 0 1px rgba(23, 19, 14, .14); }
/* la capture (1280 × 900) cadrée sur la bannière et les produits : x 62 à 800, y 250 à 890 */
.plaque--boutique .plaque__face img { position: absolute; max-width: none; width: 173.442%; height: auto; left: -8.401%; top: -39.0625%; }
.plaque::before { content: ""; position: absolute; top: .9cqw; bottom: .9cqw; right: 0; width: var(--ep); transform-origin: 100% 50%; transform: rotateY(-90deg); background: linear-gradient(90deg, #2E2820, #8A7F6B); }
.plaque::after { content: ""; position: absolute; left: .9cqw; right: .9cqw; bottom: 0; height: var(--ep); transform-origin: 50% 100%; transform: rotateX(90deg); background: linear-gradient(#6F6654, #2E2820); }
/* la feuille de code : en second plan, derrière la boutique, plus petite */
/* la feuille de code passe devant la boutique, en haut à droite */
.plaque--code { inset: auto; left: 49%; top: 4%; width: 57%; height: auto; transform: translateZ(9cqw); --ep: 1.6cqw; }
.plaque--code .plaque__face { position: relative; padding: 1.8cqw 2.2cqw 2.2cqw; background: var(--nuit-2); color: var(--sur-nuit); box-shadow: 0 0 0 1px rgba(255, 252, 245, .12), 0 2.5cqw 6cqw rgba(23, 19, 14, .45); font-family: var(--mono); font-size: 2.2cqw; line-height: 1.75; }
.plaque--code::before { background: linear-gradient(90deg, #060504, #3A332A); }
.plaque--code::after { background: #060504; }
.mini-code__onglet { margin-bottom: .6em; padding-bottom: .5em; border-bottom: 1px solid rgba(244, 237, 224, .16); color: var(--papier); }
.mini-code__onglet b { font-weight: 500; }
.mini-code__l { position: relative; padding: 0 .6em 0 1.6em; border-radius: .3em; white-space: nowrap; }
.mini-code__l--plus { background: rgba(150, 163, 255, .18); color: #E9ECFF; }
.mini-code__l--plus::before { content: "+"; position: absolute; left: .5em; color: var(--cobalt-clair); }
.mini-code__l--moins { background: rgba(255, 198, 26, .18); color: #FFE08A; text-decoration: line-through; text-decoration-thickness: 1px; }
.mini-code__l--moins::before { content: "−"; position: absolute; left: .5em; color: var(--soleil); }

/* le repère de focus, remis par le correctif : il passe du premier produit au second, comme la touche Tab, et s'y pose */
.arret { position: absolute; top: 54.375%; width: 33.875%; height: 39.0625%; border: max(3px, .5cqw) solid var(--cobalt); border-radius: .7cqw; box-shadow: 0 0 0 .55cqw rgba(43, 63, 247, .22), 0 0 3cqw .4cqw rgba(43, 63, 247, .5); opacity: 0; }
.arret--1 { left: 3.52%; }
.arret--fin { left: 42.14%; opacity: 1; }
html.anim .arret--1 { animation: arret .85s .5s var(--sortie) both; }
html.anim .arret--fin { animation: arret-fin .6s 1.3s var(--rebond) both; }
@keyframes arret { 0% { opacity: 0; transform: scale(1.1); } 25%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes arret-fin { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: none; } }
/* de 640 à 767 px : panneau large, la plaque montre toute la largeur de la boutique (x 62 à 1218), la bannière et les quatre produits */
@media (min-width: 40em) and (max-width: 47.9375em) {
  .vitrine__groupe { height: min(86cqh, 48cqw); aspect-ratio: 1156 / 640; translate: -50% 0; }
  .plaque--boutique .plaque__face img { width: 110.727%; left: -5.363%; }
  .arret { width: 21.626%; }
  .arret--1 { left: 2.249%; }
  .arret--fin { left: 26.903%; }
  .plaque--code { left: 52%; top: -7%; width: 44%; }
  .plaque--code .plaque__face { font-size: 1.55cqw; }
}
/* à partir de 768 px : panneau en hauteur à côté du texte ; la plaque montre la moitié gauche de la boutique
   (x 62 à 650, y 40 à 890) : le menu, la bannière et les deux premiers produits */
@media (min-width: 48em) {
  .ouverture__corps { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: stretch; }
  .vitrine { height: auto; min-height: 0; }
  .vitrine__monde { perspective: 190cqw; perspective-origin: 42% 46%; }
  .vitrine__groupe { bottom: 4cqh; height: min(91cqh, 152cqw); aspect-ratio: 588 / 850; translate: -51% 0;
    transform: rotateX(calc(6deg + var(--ty, 0deg))) rotateY(calc(-14deg + var(--tx, 0deg))) rotateZ(2.5deg); }
  .plaque--boutique .plaque__face img { width: 217.687%; left: -10.544%; top: -4.706%; }
  .arret { top: 65.647%; width: 42.517%; height: 29.412%; }
  .arret--1 { left: 4.422%; }
  .arret--fin { left: 52.891%; }
  .plaque--code { left: 29%; top: -2.5%; width: 73%; transform: translateZ(10cqw); }
  .plaque--code .plaque__face { font-size: 3cqw; }
}

/* vraies pastilles de la boutique, recadrées dans la capture (1280 × 900) : --x, --y, --w en pixels de la capture */
.pastille { --e: 1.3; display: block; flex: none; width: calc(var(--w) * var(--e) * 1px); height: calc(30px * var(--e)); border-radius: 4px; background-repeat: no-repeat; background-size: calc(1280px * var(--e)) auto; background-position: calc(var(--x) * var(--e) * -1px) calc(var(--y) * var(--e) * -1px); box-shadow: 0 2px 4px rgba(23, 19, 14, .14), 0 8px 18px rgba(23, 19, 14, .18); }
.pastille--remise { --x: 88; --y: 608; --w: 57; }
.pastille--nouveau { --x: 88; --y: 648; --w: 93; }
.pastille--origine { background-image: url(../images/accueil-origine.png); }
.pastille--corrige { background-image: url(../images/accueil-corrige.png); }

/* ---------- 2. Démonstration (écrin sombre) ---------- */
.demo__tete { display: grid; gap: clamp(2.5rem, 5vw, 4rem) var(--joint); }
.demo__dit { display: flex; flex-direction: column; gap: clamp(1.25rem, 2.4vw, 2rem); }
.demo__dit h2 { font-size: clamp(2.125rem, 1.2rem + 2.9vw, 3.875rem); }
.demo__compte { display: grid; gap: 1rem; max-width: none; }
.geant { display: block; font-family: var(--titre); font-stretch: 112%; font-weight: 750; font-size: clamp(7.5rem, 3.6rem + 12vw, 15.5rem); line-height: .78; letter-spacing: -.06em; margin-left: -.04em; color: var(--soleil); font-variant-numeric: tabular-nums; }
.demo__compte span { max-width: 24ch; font-size: var(--t-chapo); line-height: 1.35; }
/* à l'encre claire, pleine : le lien se lit sur la nuit (il était trop pâle) */
.demo__passer .lien-fort { color: var(--papier); }
/* grand écran : le titre et le chiffre côte à côte, puis le comparateur sur toute la largeur */
@media (min-width: 64em) {
  .demo__dit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--joint); row-gap: 1.5rem; align-items: end; }
  .demo__dit h2 { grid-column: 1; grid-row: 1; align-self: start; }
  .demo__passer { grid-column: 1; grid-row: 2; }
  .demo__compte { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(1rem, 2vw, 1.75rem); }
  .demo__compte span { padding-bottom: .2em; }
}
/* Le cadrage de la capture (1280 × 900) dans le comparateur. Rien n'y est coupé à moitié.
   Téléphone : le premier produit, x 76 à 476, y 537 à 905. Tablette : deux produits, x 80 à 625, y 560 à 900.
   Grand écran : « Produits populaires » et la rangée des quatre produits, x 44 à 1236, y 520 à 900. */
.comparateur__cadre { aspect-ratio: 1 / .876; --zoom: 320%; --zoom-x: -19%; --zoom-y: -153.4%; --z: 3.2; --zx: -.19; --zy: -1.534; --r: .876; }
@media (min-width: 40em) {
  .comparateur__cadre { aspect-ratio: 16 / 10; --zoom: 234.86%; --zoom-x: -14.68%; --zoom-y: -164.4%; --z: 2.3486; --zx: -.1468; --zy: -1.644; --r: .625; }
}
@media (min-width: 64em) {
  .comparateur__cadre { aspect-ratio: 1192 / 338; --zoom: 107.383%; --zoom-x: -3.691%; --zoom-y: -166.272%; --z: 1.07383; --zx: -.03691; --zy: -1.66272; --r: .283557; }
  .comparateur__bouton { top: 62%; }
}

/* Le Bento des preuves, numéroté de 01 à 06. Grand écran : à gauche, l'avant (01) puis l'après (03), l'un sous
   l'autre ; à droite, plus étroits, le code (02) puis le clavier (04) ; dessous, le relevé (05) et sa limite (06).
   La tuile de code est plus étroite que celle du résultat. */
.demo__bento { margin-top: clamp(2.5rem, 5vw, 4rem); }
.demo__bento .tuile { container-type: inline-size; }
.demo__bento h3 { max-width: 24ch; }
/* 15 novembre 2026 : le code du correctif est replié. Les deux Recto sont côte à côte (avant, après) ; dessous, le Verso
   est une barre sur toute la largeur, qui s'ouvre vers le bas ; puis « Au clavier » en bandeau, le relevé et sa limite. */
@media (min-width: 64em) {
  .demo__bento { grid-template-columns: repeat(24, minmax(0, 1fr)); }
  .tuile--recto { grid-column: 1 / span 12; min-height: 30.5rem; }
  .tuile--corrige { grid-column: 13 / span 12; min-height: 30.5rem; }
}
@media (min-width: 78em) {
  .tuile--releve { grid-column: 1 / span 16; }
  .tuile--limite { grid-column: 17 / span 8; }
}

/* Recto (01) et recto corrigé (02) : deux tuiles jumelles. La vraie carte produit recadrée, puis les deux contrastes. */
.recto { display: grid; gap: 1.5rem; margin-block: auto; }
.recto__vue { display: block; width: min(100%, 16.375rem); padding: .375rem; border-radius: 1rem; background: #fff; rotate: -2deg; box-shadow: 0 2px 4px rgba(23, 19, 14, .16), 0 14px 28px rgba(23, 19, 14, .22), 0 30px 50px rgba(23, 19, 14, .16); }
.recto__vue img { width: 100%; border-radius: .7rem; }
.recto__mesures { display: grid; gap: 1.25rem; align-content: center; container-type: inline-size; } /* le verdict se mesure à cette colonne */
@container (min-width: 29rem) {
  .recto { grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 5.5cqw, 3.25rem); align-items: center; }
}
.echantillons { display: grid; gap: 1.375rem; }
/* 15 novembre 2026 : le verdict (« trop pâle », « suffisant ») en grand, le rapport chiffré en petit, posé à côté de son
   échantillon. L'ordre du code est gardé : l'échantillon, son rapport, puis le verdict sur la ligne suivante. */
.echantillons li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start; gap: .5rem .75rem; }
.ratio { display: contents; }
.ratio b { font-family: var(--mono); font-size: 1rem; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; padding: .25rem .625rem .3rem; border-radius: 999px; white-space: nowrap; }
.ratio i { grid-column: 1 / -1; font-style: normal; font-family: var(--titre); font-stretch: 112%; font-weight: 700; font-size: min(2.25rem, 21.5cqw); line-height: .95; letter-spacing: -.04em; white-space: nowrap; }
@container (max-width: 13.4rem) { .ratio b { grid-column: 1 / -1; } } /* colonne trop étroite pour la pastille « Nouveau » et son rapport côte à côte (211 px) : le rapport passe dessous, pour les deux pastilles */
@media (min-width: 30em) { .ratio i { font-size: min(3.75rem, 21.5cqw); } } /* au téléphone 36 px, pour ne pas rallonger la page ; au-delà, jusqu'à 60 px, sans jamais dépasser la colonne (21,5cqw : le mot fait 4,34 em) */
.tuile--recto .ratio b { background: var(--encre); color: var(--craie); }
.tuile--corrige .ratio b { background: var(--craie); color: var(--encre); }
.tuile--recto .tuile__note { max-width: 30ch; }
/* Verso (03) : une barre. Le titre, le nom du fichier, et le bouton qui déplie les lignes modifiées. */
.tuile--verso { gap: 1rem; }
.tuile--verso h3 { max-width: none; }
.tuile--verso .code { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.tuile--verso .repli { min-width: 0; }
.tuile--verso .code__onglet { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.tuile--verso .code__onglet::after { content: none; }
.tuile--verso .code:has(> .repli[open]) .code__onglet { padding-bottom: .75rem; border-bottom: 1px solid var(--filet); }
.tuile--verso .code:has(> .repli[open]) .code__onglet::after { content: attr(data-bloc); }
.tuile--verso .repli > summary { font-family: var(--texte); }
.tuile--verso .repli > :not(summary) { margin-top: 1rem; }
.tuile--verso .code .l { padding-left: 3.25rem; padding-right: .5rem; }
.tuile--verso .code .l::before { width: 1.9rem; }
.tuile--verso .code .l--moins::after, .tuile--verso .code .l--plus::after { left: 2.25rem; }
/* écran large : le bouton à droite du titre (il reste à sa place quand le code s'ouvre dessous) ; le nom du fichier sur
   la ligne suivante, puis, quand la place suffit (82em), sur la même ligne, entre le titre et le bouton */
@media (min-width: 64em) {
  .demo__bento > .tuile--verso { --haut: clamp(1.125rem, 1.7vw, 1.5rem); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 clamp(1.75rem, 3.4vw, 3.5rem); padding-block: var(--haut); }
  .demo__bento > .tuile--verso > h3 { grid-column: 1 / -1; display: flex; align-items: center; min-height: 2.75rem; padding-right: 23.5rem; }
  .tuile--verso > .tuile__n { top: calc(var(--haut) + .4375rem); }
  .tuile--verso > .code { display: contents; }
  .tuile--verso .code__onglet { grid-column: 1 / -1; grid-row: 2; margin-top: .375rem; }
  .tuile--verso .code:has(> .repli[open]) .code__onglet { padding-bottom: 0; border-bottom: 0; }
  .tuile--verso .code__onglet::after { margin-left: 0; }
  .tuile--verso .repli { grid-column: 1 / -1; grid-row: 3; font-family: var(--mono); line-height: 1.6; }
  .tuile--verso .repli > summary { position: absolute; top: var(--haut); right: calc(clamp(1.125rem, 2vw, 1.75rem) + 4rem); }
  .tuile--verso .repli > :not(summary) { margin-top: 1.125rem; padding-top: 1.125rem; border-top: 1px solid var(--filet); max-width: 46rem; }
  .tuile--verso .repli[open] { padding-bottom: .5rem; }
  /* les deux Recto se lisent l'un contre l'autre : leur contenu part du haut, à la même hauteur */
  .tuile--recto .recto, .tuile--corrige .recto { margin-block: 0 auto; align-items: start; }
}
@media (min-width: 82em) {
  .demo__bento > .tuile--verso > h3 { grid-column: 1; padding-right: 0; }
  .tuile--verso .code__onglet { grid-column: 2; grid-row: 1; align-content: center; min-height: 2.75rem; margin-top: 0; padding-right: 23.5rem; }
  .tuile--verso .repli { grid-column: 2; grid-row: 2; }
}
/* téléphone : sans les numéros de ligne, presque toutes les lignes tiennent ; les plus longues défilent */
@media (max-width: 40em) {
  .tuile--verso .code .l { padding-left: 1.75rem; }
  .tuile--verso .code .l::before { display: none; }
  .tuile--verso .code .l--moins::after, .tuile--verso .code .l--plus::after { left: .5rem; }
}

/* « Au clavier, le repère se perd » (04) : le haut de la vraie boutique d'origine. La touche Tab arrive sur le champ
   de recherche, et rien ne l'entoure. */
.tuile--clavier { gap: 1.5rem; }
@media (min-width: 64em) {
  .tuile--clavier { flex-direction: row; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
  .tuile--clavier > h3 { flex: 0 0 auto; max-width: 7em; font-size: clamp(2.25rem, 1.2rem + 1.9vw, 3.125rem); line-height: 1; text-wrap: balance; }
  .tuile--clavier .sans-repere { flex: 1 1 0; min-width: 0; max-width: 47rem; margin: 0 4.75rem 0 auto; }
}
.sans-repere { --note: 4.75rem; position: relative; margin-block: auto; padding-bottom: var(--note); }
/* la capture d'origine (1280 × 900) cadrée sur son bandeau : x 800 à 1280, y 0 à 132 */
.sans-repere__vue { display: block; aspect-ratio: 480 / 132; border-radius: .875rem; background: #fff url(../images/accueil-origine.png) 100% 0 / 266.667% auto no-repeat; box-shadow: 0 2px 4px rgba(84, 58, 0, .16), 0 14px 28px rgba(84, 58, 0, .24), 0 30px 50px rgba(84, 58, 0, .18); }
.sans-repere__note { position: absolute; left: 40%; top: calc((100% - var(--note)) * .9); padding: .35rem .875rem .4rem; border-radius: 999px; background: var(--encre); color: var(--craie); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; white-space: nowrap; box-shadow: 0 8px 18px rgba(23, 19, 14, .3); }
/* tuile étroite (téléphone) : cadrage plus serré sur le champ de recherche, x 920 à 1280 */
@container (max-width: 26rem) {
  .sans-repere__vue { aspect-ratio: 360 / 132; background-size: 355.556% auto; }
  .sans-repere__note { left: 14%; }
}
/* la touche Tab : c'est elle qui arrive sur le champ */
.touche { position: absolute; right: 0; bottom: .375rem; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .875rem .5625rem; border-radius: .75rem; background: var(--craie); color: var(--encre); font-family: var(--mono); font-size: 1.0625rem; font-weight: 500; line-height: 1.3; box-shadow: 0 .3125rem 0 #CFC3AA, 0 .375rem 0 1px rgba(23, 19, 14, .35), 0 1rem 1.5rem rgba(84, 58, 0, .35); }
.sans-repere__note::before { content: ""; position: absolute; left: 1.375rem; top: -.375rem; width: .875rem; height: .875rem; background: inherit; rotate: 45deg; border-radius: .125rem; }

.tuile--releve { gap: 1.25rem; }
.tuile--limite { gap: 1.25rem; }
.limite { font-family: var(--titre); font-stretch: 88%; font-weight: 560; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -.018em; max-width: 30ch; text-wrap: balance; }
.sources { font-size: 1.0625rem; line-height: 1.45; color: var(--encre-doux); }

/* ---------- 3. Le fondateur : une réponse écrite ---------- */
/* À gauche le titre et quatre faits, quatre cartes identiques ; à droite la lettre, une grande feuille. */
.fondateur__grille { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) var(--joint); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.fondateur__grille > * { grid-column: 1 / -1; }
.fondateur h2 { font-size: clamp(2.125rem, 1.2rem + 2.9vw, 3.875rem); max-width: 12ch; }
.lettre { position: relative; display: flex; flex-direction: column; gap: clamp(1.25rem, 2.6vw, 2.25rem); padding: clamp(1.5rem, 3.4vw, 3.25rem); border-radius: var(--rayon); background: var(--craie); box-shadow: var(--ombre-2); --fond-carte: var(--craie); }
/* la feuille du dessous (décor, posée dans la même case de la grille, avant la lettre) : la lettre a de l'épaisseur */
.lettre__dessous { grid-row: 2; border-radius: var(--rayon); background: var(--pierre); transform: translate(.625rem, .75rem) rotate(1.8deg); box-shadow: var(--ombre-1); }
.fondateur__grille > .lettre { grid-row: 2; }
.lettre__signe { display: block; width: clamp(2.5rem, 4.5vw, 3.75rem); }
.lettre__signe svg { width: 100%; fill: var(--soleil); }
.declaration { max-width: 21ch; font-family: var(--titre); font-stretch: 88%; font-weight: 540; font-size: clamp(1.75rem, 1.05rem + 2.7vw, 3.375rem); line-height: 1.06; letter-spacing: -.02em; text-wrap: pretty; }
.declaration strong { font-weight: 800; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--cobalt); text-decoration-thickness: .085em; text-underline-offset: .13em; }
.fondateur__nom { max-width: none; margin-top: auto; padding-top: 1.125rem; border-top: 1.5px solid var(--filet); font-size: var(--t-chapo); line-height: 1.4; }
.faits { display: grid; gap: var(--joint); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); align-content: start; }
@media (min-width: 34em) and (max-width: 63.9375em) { .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* sur tablette, deux rangées de deux : trois cartes puis une seule laissaient une carte orpheline */
.fait { display: flex; flex-direction: column; gap: .875rem; padding: clamp(1.125rem, 1.7vw, 1.5rem); border-radius: var(--rayon); background: var(--craie); box-shadow: var(--ombre-carte); isolation: isolate; --fond-carte: var(--craie); transition: transform .45s var(--sortie); }
.fait dt { display: flex; align-items: center; gap: .625rem; font-size: 1.0625rem; font-weight: 650; line-height: 1.2; }
.fait dt svg { flex: none; width: 2.5rem; height: 2.5rem; padding: .5625rem; border-radius: 50%; background: var(--papier); }
.fait dd { font-size: 1.1875rem; line-height: 1.3; font-weight: 500; letter-spacing: -.008em; }
@media (hover: hover) { .fait:hover { transform: translateY(-5px); } }
@media (min-width: 64em) {
  .fondateur__grille { grid-template-rows: auto 1fr; }
  .fondateur h2 { grid-column: 1 / span 5; grid-row: 1; }
  .fondateur__grille > .lettre, .lettre__dessous { grid-column: 6 / span 7; grid-row: 1 / span 2; }
  .faits { grid-column: 1 / span 5; grid-row: 2; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr)); align-content: end; } /* 13/11 : deux colonnes seulement si chaque carte garde 13,75rem (à 13rem, vers 1 180 px, le texte tombait à 14 caractères par ligne) */
}

/* ---------- 4. Les étapes : quatre marches sur une rampe ---------- */
/* Quatre cartes de même hauteur, décalées d'un pas régulier (--marche) ; la rampe, la coupe en biais de la marque,
   passe sous leur pied. Le texte se lit de haut en bas : numéro, titre, phrase, à l'encre, 17 px. */
.etapes h2 { font-size: clamp(2.75rem, 1.4rem + 5.6vw, 6.75rem); margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.etapes .cadre { position: relative; }
.marches { --marche: clamp(0rem, 4vw, 3.75rem); --socle: 1.25rem; position: relative; display: grid; gap: var(--joint); }
.marche { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: var(--rayon); background: var(--craie); color: var(--encre); box-shadow: var(--ombre-carte); isolation: isolate; --foyer: var(--cobalt); --fond-carte: var(--craie); transition: transform .45s var(--sortie); }
.marche__n { margin-bottom: .5rem; font-family: var(--titre); font-stretch: 112%; font-weight: 750; font-size: clamp(4rem, 2.6rem + 4.2vw, 6.5rem); line-height: .8; letter-spacing: -.05em; color: var(--encre); }
.marche h3 { font-size: clamp(1.375rem, 1.1rem + .75vw, 1.75rem); }
.marche p { font-size: 1.125rem; line-height: 1.5; color: var(--encre); }
@media (hover: hover) { .marche:hover { transform: translateY(-6px); } }
@media (min-width: 40em) { .marches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .marches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .marche:nth-child(1) { margin-top: calc(3 * var(--marche)); }
  .marche:nth-child(2) { margin-top: calc(2 * var(--marche)); margin-bottom: var(--marche); }
  .marche:nth-child(3) { margin-top: var(--marche); margin-bottom: calc(2 * var(--marche)); }
  .marche:nth-child(4) { margin-bottom: calc(3 * var(--marche)); }
  .etapes h2 { margin-bottom: calc(-1.5 * var(--marche)); max-width: 9ch; }
  /* la rampe : le signe de la marque en très grand ; sa pente passe sous le milieu du pied de chaque carte */
  .marches { margin-bottom: calc(.47 * var(--marche) + var(--socle) + 2.5rem); }
  .marches::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: calc(100% - 3.47 * var(--marche) + .75rem); height: calc(3.94 * var(--marche) + var(--socle)); background: var(--encre); border-radius: 0 0 .5rem .5rem; clip-path: polygon(0 calc(100% - var(--socle)), 100% 0, 100% 100%, 0 100%); transform-origin: 0 100%; }
  /* elle pousse une fois, quand la première marche apparaît */
  @supports selector(:has(*)) {
    html.anim .marches::before { transform: scale(.12); }
    html.anim .marches:has(.marche.vu)::before { transform: none; transition: transform .9s var(--sortie) .15s; }
  }
}
.etapes__audit { position: relative; margin-top: clamp(1.75rem, 3.5vw, 2.5rem); padding: 1rem 1.375rem; border-radius: var(--rayon); background: var(--craie); color: var(--encre); width: fit-content; max-width: min(100%, 36rem); font-size: 1.125rem; box-shadow: var(--ombre-carte); --foyer: var(--cobalt); }
.etapes__audit .lien-fort { display: inline; }

/* ---------- 5. Les prix ---------- */
.prix { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.prix__tete { display: grid; gap: 1.5rem var(--joint); }
.prix__intro { display: grid; gap: 1rem; }
/* droite, en phrase, sous un filet (le même que celui du prix de l'ouverture) */
.lancement { max-width: none; padding-top: .875rem; border-top: 2px solid var(--encre); font-size: 1.125rem; font-weight: 650; line-height: 1.3; }
.offres { display: grid; gap: var(--joint); margin-top: clamp(2rem, 4.5vw, 3.5rem); }
.offre { position: relative; display: flex; flex-direction: column; gap: 1.25rem; min-height: clamp(22rem, 33vw, 30rem); padding: clamp(1.5rem, 3vw, 2.75rem); border-radius: var(--rayon-plan); background: var(--craie); box-shadow: var(--ombre-2); isolation: isolate; --fond-carte: var(--craie); transition: transform .5s var(--sortie); }
.offre dt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--titre); font-stretch: 88%; font-weight: 640; font-size: var(--t-h3); letter-spacing: -.015em; line-height: 1.04; }
.offre dt::after { content: ""; flex: none; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 6px rgba(43, 63, 247, .16); }
.offre__montant { margin-top: auto; max-width: none; container-type: inline-size; } /* le prix se mesure à ce bloc (28cqw) : il ne dépasse plus de sa carte vers 768 px, et se replie si le visiteur agrandit l'espacement des lettres */
.offre__montant span { display: block; margin-bottom: .625rem; font-size: 1.0625rem; font-weight: 550; line-height: 1.3; }
.offre__montant b { display: block; margin-left: -.035em; font-family: var(--titre); font-stretch: 112%; font-weight: 750; font-size: min(clamp(4.25rem, 1.2rem + 9.4vw, 9.75rem), 28cqw); line-height: .82; letter-spacing: -.06em; overflow-wrap: break-word; color: var(--cobalt); }
.offre__detail { max-width: 44ch; padding-top: 1.25rem; border-top: 1.5px solid rgba(23, 19, 14, .16); }
.offre--nuit { background: var(--nuit); color: var(--papier); --foyer: var(--cobalt-clair); --fond-carte: var(--nuit); }
.offre--nuit .offre__montant b { color: var(--soleil); }
.offre--nuit dt::after { background: var(--soleil); box-shadow: 0 0 0 6px rgba(255, 198, 26, .22); }
.offre--nuit .offre__detail { border-top-color: rgba(244, 237, 224, .2); }
@media (hover: hover) { .offre:hover { transform: translateY(-6px); } }
.prix__suite { display: grid; gap: 1.5rem var(--joint); margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.prix__note { font-size: 1.125rem; line-height: 1.5; color: var(--encre); max-width: var(--ligne); }
@media (min-width: 48em) { .offres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .prix__tete { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .prix__suite { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } /* mêmes colonnes que les deux cartes de prix */
}

/* L'essai gratuit : une carte en deux faces. À gauche la proposition, sur la craie ; à droite le fichier, sur la
   nuit (la couleur du code), avec ses lignes changées. */
.essai { position: relative; display: grid; margin-top: clamp(2.5rem, 5.5vw, 4.5rem); border-radius: var(--rayon-plan); background: var(--craie); box-shadow: var(--ombre-2); --fond-carte: var(--craie); }
.essai__texte { display: grid; gap: 1.25rem; justify-items: start; align-content: center; padding: clamp(1.5rem, 4vw, 3.75rem); }
.essai h3 { font-size: clamp(1.875rem, 1.1rem + 2.6vw, 3.5rem); line-height: 1; letter-spacing: -.022em; max-width: 15ch; }
.essai__fichier { position: relative; display: grid; place-items: center; min-height: clamp(15rem, 62vw, 20rem); margin: 2px; padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem); border-radius: 0 0 calc(var(--rayon-plan) - 2px) calc(var(--rayon-plan) - 2px); background: var(--nuit); overflow: hidden; container-type: inline-size;
  background-image: radial-gradient(70% 90% at 85% 0%, rgba(150, 163, 255, .2), rgba(150, 163, 255, 0) 70%),
    linear-gradient(rgba(244, 237, 224, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 237, 224, .06) 1px, transparent 1px);
  background-size: auto, 100% 2.5rem, 2.5rem 100%; }
.fiche-diff { position: relative; width: min(100%, 27rem); padding: 1.25rem 1.375rem 1.5rem; border-radius: 1.125rem; background: var(--nuit-2); color: var(--sur-nuit); font-family: var(--mono); font-size: clamp(.8125rem, 3.7cqw, 1.125rem); line-height: 1.85; rotate: -3deg; box-shadow: 0 0 0 1px rgba(255, 252, 245, .12), 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px rgba(0, 0, 0, .5); }
@media (min-width: 64em) {
  .essai { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .essai__fichier { min-height: 0; border-radius: 0 calc(var(--rayon-plan) - 2px) calc(var(--rayon-plan) - 2px) 0; }
}
.prescripteurs { margin-top: 1.75rem; }

/* ---------- 6. L'appel final (plaque cobalt) ---------- */
.appel__grille { position: relative; display: grid; gap: 2.5rem var(--joint); }
.appel h2 { font-size: clamp(2.75rem, .9rem + 7.2vw, 8rem); line-height: .92; letter-spacing: -.028em; max-width: 12ch; }
.appel__suite { --a: clamp(.5rem, 1.6vw, 1.5rem); position: relative; display: grid; gap: 1.5rem; justify-items: start; padding: clamp(1.25rem, 2.4vw, 2.25rem); margin: calc(3 * var(--a)); border-radius: var(--rayon);
  box-shadow: 0 0 0 3px var(--craie), 0 0 0 var(--a) var(--cobalt), 0 0 0 calc(var(--a) + 3px) rgba(255, 252, 245, .55), 0 0 0 calc(2 * var(--a)) var(--cobalt), 0 0 0 calc(2 * var(--a) + 3px) rgba(255, 252, 245, .3), 0 0 0 calc(3 * var(--a)) var(--cobalt), 0 0 0 calc(3 * var(--a) + 3px) rgba(255, 252, 245, .14), 0 0 90px calc(3 * var(--a)) rgba(150, 163, 255, .55); }
.appel__suite .actions { align-self: stretch; }
.appel__dit { font-size: var(--t-chapo); line-height: 1.4; max-width: 34ch; }
.appel .a-completer { background: none; }
@media (min-width: 64em) {
  .appel__grille { grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr); align-items: center; }
}
.pied { margin-top: var(--gouttiere); }

/* La feuille inclinée sous la lettre ne dépasse pas du bord de la page sur les petits écrans (un demi-pixel à 320 px). */
.fondateur { overflow-x: clip; }

/* Reprise du 13 novembre 2026 : la phrase de la tuile 06 est dite en grand, la tuile n'a plus de vide. */
.tuile--limite h3 { font-size: clamp(1.625rem, 1rem + 1.6vw, 2.375rem); line-height: 1.05; }

/* ---------- 7. Ouverture en grille architecturale (13 novembre 2026, après-midi) ----------
   Grand écran : le titre à gauche sur 8 colonnes, la vitrine à droite sur 4, alignés en haut ; sous le titre, des
   cellules à bordures fines : la phrase, puis le prix et le bouton côte à côte, puis l'orientation. Le titre et le prix
   restent en haut à gauche, dans le premier écran, et ne bougent pas à l'arrivée. */
@media (min-width: 64em) {
  .ouverture { padding-block: 0; }
  .ouverture .cadre { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; }
  .ouverture .titre-geant { grid-column: 1 / span 8; grid-row: 1; margin: 0; padding: clamp(1.25rem, 3vh, 2.25rem) clamp(1.25rem, 2.2vw, 2.25rem) clamp(1.25rem, 2.6vh, 2rem) 0;
    font-size: clamp(3.5rem, 5.6vw, 5.25rem); border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
  .ouverture__corps { display: contents; }
  .ouverture__texte { grid-column: 1 / span 8; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-right: 1px solid var(--trait); }
  .ouverture__texte .chapo { grid-column: 1 / -1; max-width: var(--ligne); padding: clamp(1rem, 2.2vh, 1.5rem) clamp(1.25rem, 2.2vw, 2.25rem) clamp(1rem, 2.2vh, 1.5rem) 0; }
  .ouverture__prix { grid-column: 1; align-content: start; margin: 0; padding: clamp(1rem, 2.2vh, 1.5rem) clamp(1rem, 1.8vw, 1.75rem) clamp(1rem, 2.2vh, 1.5rem) 0; border-top: 1px solid var(--trait); border-right: 1px solid var(--trait); }
  .ouverture__actions { grid-column: 2; align-self: stretch; justify-content: center; margin: 0; padding: clamp(1rem, 2.2vh, 1.5rem) clamp(1rem, 1.8vw, 1.75rem); border-top: 1px solid var(--trait); }
  .ouverture__sans-audit { grid-column: 1 / -1; max-width: none; margin: 0; padding: clamp(.875rem, 1.8vh, 1.25rem) clamp(1.25rem, 2.2vw, 2.25rem) clamp(.875rem, 1.8vh, 1.25rem) 0; border-top: 1px solid var(--trait); }
  .vitrine { grid-column: 9 / -1; grid-row: 1 / span 2; min-height: 0; margin: clamp(1rem, 2.6vh, 1.75rem) 0 clamp(1rem, 2.6vh, 1.75rem) clamp(1.25rem, 2.2vw, 2.25rem); border-radius: var(--rayon); }
}
/* l'ouverture va jusqu'aux deux lignes du cadre : ses traits les rejoignent, son texte garde le retrait */
@media (min-width: 64em) {
  .ouverture .cadre { padding-inline: 0; }
  .ouverture .titre-geant, .ouverture__texte .chapo, .ouverture__prix, .ouverture__sans-audit { padding-left: var(--retrait); }
  .ouverture__sans-audit { padding-right: max(clamp(1.25rem, 2.2vw, 2.25rem), calc(100% - var(--ligne) - var(--retrait))); }
  .ouverture .titre-geant__l { white-space: normal; }
  .vitrine { margin-right: var(--retrait); }
}

/* ---------- 8. Recto, verso, recto corrigé : le passage (13 novembre 2026) ----------
   À leur arrivée, les trois tuiles se retournent l'une après l'autre ; dans le verso, chaque ligne retirée se barre, puis
   chaque ligne ajoutée entre et son surlignage se pose, pendant qu'un trait de lumière court sous l'onglet du fichier ;
   dans le recto corrigé, les pastilles basculent sur leur nouvelle couleur. Une seule fois. Les pastilles attendent
   d'entrer elles-mêmes à l'écran ; depuis le 15 novembre le code est replié : ses lignes se posent quand on l'ouvre
   pour la première fois ; tout est posé 2 s après. Sans html.anim (mouvement réduit, pas de JavaScript), rien ne bouge : tout est déjà à sa place.
   Au survol, une pastille et ses deux lignes de code s'éclairent ensemble (js/accueil.js), sans mouvement. */
@keyframes tuile-tourne { from { opacity: .01; transform: perspective(1600px) rotateY(-16deg) translateX(-1.25rem); } to { opacity: 1; transform: none; } }
html.anim .demo__bento > .tuile--recto[data-apparait].vu { transform-origin: 0 50%; animation: tuile-tourne .9s var(--sortie) 0s both; }
html.anim .demo__bento > .tuile--corrige[data-apparait].vu { transform-origin: 0 50%; animation: tuile-tourne .9s var(--sortie) .2s both; }
html.anim .demo__bento > .tuile--verso[data-apparait].vu { transform-origin: 0 50%; animation: tuile-tourne .9s var(--sortie) .4s both; }
@keyframes ligne-barree { from { background-color: transparent; } }
@keyframes ligne-barree-trait { from { text-decoration-color: transparent; } }
@keyframes ligne-ajoutee { from { opacity: 0; translate: -.75rem 0; background-color: transparent; } }
@keyframes surligne-pose { from { box-shadow: 0 0 0 rgba(150, 163, 255, 0) inset; } }
html.anim .tuile--verso .code.vu .l--moins { animation: ligne-barree .45s var(--sortie) both; }
html.anim .tuile--verso .code.vu .l--moins .l__t { animation: ligne-barree-trait .45s var(--sortie) both; }
html.anim .tuile--verso .code.vu .l--plus { animation: ligne-ajoutee .5s var(--sortie) both; }
html.anim .tuile--verso .code.vu .l--plus .surligne { animation: surligne-pose .5s var(--sortie) both; }
html.anim .tuile--verso .code.vu del:nth-of-type(1), html.anim .tuile--verso .code.vu del:nth-of-type(1) .l__t { animation-delay: .15s; }
html.anim .tuile--verso .code.vu ins:nth-of-type(1) { animation-delay: .35s; }
html.anim .tuile--verso .code.vu ins:nth-of-type(1) .surligne { animation-delay: .6s; }
html.anim .tuile--verso .code.vu del:nth-of-type(2), html.anim .tuile--verso .code.vu del:nth-of-type(2) .l__t { animation-delay: .55s; }
html.anim .tuile--verso .code.vu ins:nth-of-type(2) { animation-delay: .75s; }
html.anim .tuile--verso .code.vu ins:nth-of-type(2) .surligne { animation-delay: 1s; }
html.anim .tuile--verso .code.vu ins:nth-of-type(3) { animation-delay: .95s; }
html.anim .tuile--verso .code.vu ins:nth-of-type(3) .surligne { animation-delay: 1.2s; }
html.anim .tuile--verso .code.vu ins:nth-of-type(4) { animation-delay: 1.1s; }
html.anim .tuile--verso .code.vu ins:nth-of-type(4) .surligne { animation-delay: 1.35s; }
.tuile--verso .code__onglet { position: relative; }
@keyframes faisceau { 0% { opacity: 0; transform: translateX(-100%); } 15%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(290%); } }
html.anim .tuile--verso .code.vu .code__onglet::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 35%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--soleil), transparent); pointer-events: none; animation: faisceau 1.2s var(--sortie) 0s both; }
@keyframes pastille-bascule { from { opacity: .01; transform: perspective(500px) rotateX(-95deg); } 55% { opacity: 1; } to { opacity: 1; transform: none; } }
html.anim .tuile--corrige .echantillons.vu .pastille { transform-origin: 50% 0; animation: pastille-bascule .7s var(--rebond) .25s both; }
html.anim .tuile--corrige .echantillons.vu li:nth-child(2) .pastille { animation-delay: .4s; }
/* la liste de pastilles entre sans glisser : seul son contenu s'anime */
html.anim .tuile--corrige .echantillons[data-apparait] { opacity: 1; }
html.anim .tuile--corrige .echantillons[data-apparait].vu { animation: none; }
html.anim .tuile--corrige .echantillons[data-apparait]:not(.vu) .pastille { opacity: .01; }
/* 15 novembre 2026 : le code est replié. Ses lignes se posent à la première ouverture du repli (js/accueil.js pose la
   classe vu au clic, puis la classe pose 2,4 s après : plus rien ne rejoue aux ouvertures suivantes). */
html.anim .tuile--verso .code.vu.pose :is(.l, .l__t, .surligne) { animation: none; }
html.anim .tuile--verso .code.vu.pose .code__onglet::before { content: none; }
/* survol croisé : pastille et lignes de code (classe posée par js/accueil.js) */
.code .l.est-lie { background-color: rgba(255, 214, 10, .24); box-shadow: inset 3px 0 0 var(--soleil); }
.echantillons li.est-lie .pastilles { border-radius: 5px; background-color: color-mix(in srgb, currentColor 16%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 16%, transparent); } /* un fond, pas un contour : un contour passerait pour un repère de focus */
html.anim .code .l, html.anim .echantillons .pastilles { transition: background-color .25s var(--sortie), box-shadow .25s var(--sortie); }

/* ---------- 9. Fond de la section « 192 » : un faisceau de lumière, une seule fois (13 novembre 2026) ----------
   Vidéo de fond (images/lumiere.mp4, 1280 × 720, lue sans le son), posée derrière le haut de la section sombre, sous un voile qui
   garde chaque texte au-dessus de 4,5:1 sur l'image la plus claire du passage joué. js/accueil.js la charge à l'approche
   de la section et la joue une fois, de 0,3 s à 5,9 s, à 1,25× (4,5 s), puis elle reste sur sa dernière image, qui est aussi
   son affiche (images/lumiere-fixe.png, 960 × 540). Mouvement réduit, petit écran, économie de données ou pas de JavaScript : seule
   l'image fixe s'affiche. Rien ne tourne en boucle. */
.demo > .cadre { position: relative; z-index: 1; }
/* Le fond n'existe que sur un écran d'au moins 768 px de large et 500 de haut : sur un téléphone, debout ou couché, rien
   n'est affiché ni téléchargé (l'image fixe, presque noire une fois recadrée en hauteur, y coûtait 462 Ko pour rien). */
.demo__fond { display: none; }
@media (min-width: 48em) and (min-height: 31.25em) {
  .demo__fond { display: block; position: absolute; inset: -9rem 0 auto; z-index: 0; height: min(100% + 9rem, 52rem); overflow: hidden; pointer-events: none; } /* commence au-dessus de la section : le faisceau entre par le haut */
  .demo__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
  .demo__fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 13, .3) 0%, rgba(20, 17, 13, .42) 55%, var(--nuit) 100%); }
  /* L'image fixe (dernière image de la vidéo) n'est chargée que là où la vidéo ne jouera pas : sans JavaScript ou en
     mouvement réduit (html sans la classe anim), et quand js/accueil.js y renonce (économie de données, lecture
     refusée par le navigateur, vidéo absente, réglage changé en cours de route) : classe demo__fond--fixe. */
  html:not(.anim) .demo__fond, .demo__fond--fixe { background: var(--nuit) url("../images/lumiere-fixe.png") 50% 40% / cover no-repeat; }
  html:not(.anim) .demo__video, .demo__fond--fixe .demo__video { display: none; }
}

/* ---------- Reprise du 14 novembre 2026, seconde partie ---------- */
/* Les quatre faits du fondateur : une liste à filets, le libellé à gauche, la réponse à droite (quatre petites cartes
   à pictogramme faisaient « gabarit » à côté de la grande carte). */
.faits { grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--trait-fort); container-type: inline-size; }
@media (min-width: 34em) and (max-width: 63.9375em) { .faits { grid-template-columns: minmax(0, 1fr); } }
.fait { display: grid; grid-template-columns: minmax(0, 1fr); gap: .375rem 1.25rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--trait-fort); border-radius: 0; background: none; box-shadow: none; }
.fait[data-lumiere]::before, .fait[data-lumiere]::after { content: none; }
.fait dt { font-family: var(--mono); font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.fait dt svg { width: 1.5rem; height: 1.5rem; padding: 0; border-radius: 0; background: none; color: var(--cobalt); }
.fait dd { font-size: 1.25rem; line-height: 1.3; }
@media (hover: hover) { .fait:hover { transform: none; } }
@container (min-width: 29rem) { .fait { grid-template-columns: 11.5rem minmax(0, 1fr); } } /* libellé à gauche seulement si la liste fait 464 px au moins : la réponse garde 16 em */
@media (min-width: 64em) { .faits { grid-template-columns: minmax(0, 1fr); align-content: end; } }
/* Le code du thème au téléphone : les lignes longues passent à la ligne au lieu d'être coupées au bord droit */
@media (max-width: 39.9375em) {
  .tuile--verso .code { font-size: .875rem; }
  .tuile--verso .code__texte { white-space: pre-wrap; overflow-wrap: anywhere; }
  .tuile--verso .code__texte code { width: auto; min-width: 0; }
}
