/* =====================================================================
   CLICK & PLAY — COMPOSANTS DE RÉCIT DES PAGES DÉDIÉES (refonte complète)
   Chargé après assets/socle/pages.css par les pages intérieures (sauf Contact et Merci, qui ont leurs fichiers du LOT 12C).
   Prolonge le socle 11D sans le redéfinir : mêmes jetons (encre, papier, lumière, quatre typographies, focus orange de 2 px),
   mêmes révélations (data-reveal, assets/socle/pages.js). Aucune boucle d'animation ; tout est lisible sans JavaScript.
   Sommaire :
     0. Univers (couleurs d'accent par page)           7. Formules
     1. Ouverture plein cadre (pages produit)          8. Familles (listes en colonnes)
     2. Repères (faits vérifiés)                       9. Citation
     3. Chapitres (catalogue des expériences)         10. Fiche projet et cadres d'appareils
     4. Ligne du temps (déroulé)                      11. Poursuivre (pages complémentaires)
     5. Écrans (captures de téléphone)                12. Tableau comparatif
     6. Pastilles, états, motifs                      13. Pages légales
   ===================================================================== */

/* texte réservé aux lecteurs d'écran (même règle que formulaire.css, non chargé ici) */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 0. Univers ---------- */
:root { --acc1: #ff8f1a; --acc2: #f2296f; --acc-texte: #ffb37a; }
.u-lgm { --acc1: #8f5bff; --acc2: #e0303a; --acc-texte: #c7b2ff; }
.u-quiz { --acc1: #3d7bff; --acc2: #f2b84b; --acc-texte: #a9c3ff; }
.u-music { --acc1: #f2296f; --acc2: #2fd3e0; --acc-texte: #ff9cc0; }
.u-mystery { --acc1: #d9a441; --acc2: #2a9d8f; --acc-texte: #e8c27a; }
.u-sites { --acc1: #ff8f1a; --acc2: #f2296f; --acc-texte: #ffb37a; }
.u-apps { --acc1: #6b2bff; --acc2: #2fd3e0; --acc-texte: #b9a3ff; }
.acc { color: var(--acc-texte); }
.lumiere-acc { background: linear-gradient(100deg, var(--paper) 10%, var(--acc-texte) 55%, var(--acc2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 1. Ouverture plein cadre ---------- */
.ouverture { position: relative; isolation: isolate; min-height: min(92svh, 980px); display: grid; align-items: end; overflow: hidden;
  padding-top: calc(var(--hdr-h, 102px) + 40px); padding-bottom: clamp(48px, 9vh, 104px); }
.ouverture-fond { position: absolute; inset: 0; z-index: -1; margin: 0; }
.ouverture-fond img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fond-pos, 60% 40%); opacity: .62; }
.ouverture-fond::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 7, 11, .94) 0%, rgba(8, 7, 11, .7) 42%, rgba(8, 7, 11, .15) 75%),
              linear-gradient(0deg, var(--ink) 2%, rgba(8, 7, 11, .2) 45%, rgba(8, 7, 11, .55) 100%); }
.ouverture > .wrap { display: grid; gap: 26px; justify-items: start; width: 100%; }
.ouverture-texte { display: grid; gap: 24px; justify-items: start; max-width: 46rem; container-type: inline-size; width: 100%; }
.ouverture h1 { font-size: clamp(42px, 11cqi, 108px); }
.ouverture .lead { color: #cfcbd6; max-width: 34em; }
.ouverture-logo { width: clamp(76px, 9vw, 112px); height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 18px 60px -18px var(--acc1), 0 0 0 1px rgba(238, 235, 229, .08); }
.ouverture-logo--rond { border-radius: 50%; background: #fff; padding: 6px; }
@media (max-width: 760px) {
  .ouverture { min-height: auto; padding-top: calc(var(--hdr-h, 81px) + 32px); }
  .ouverture-fond img { opacity: .4; object-position: var(--fond-pos-mobile, 70% 30%); }
  .ouverture-fond::after { background: linear-gradient(0deg, var(--ink) 8%, rgba(8, 7, 11, .72) 55%, rgba(8, 7, 11, .55) 100%); }
}

/* ---------- 2. Repères ---------- */
.reperes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-top: 1px solid var(--line); }
.repere { display: grid; gap: 6px; align-content: start; padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.repere b { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.repere b em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; color: var(--acc-texte); }
.repere span { font-size: 15px; color: var(--mute); max-width: 18em; }
@media (min-width: 761px) { .repere + .repere { padding-left: 22px; border-left: 1px solid var(--line); } .reperes { border-bottom: 1px solid var(--line); } .repere { border-bottom: 0; } }

/* ---------- 3. Chapitres (catalogue des expériences) ---------- */
.chapitres { display: grid; border-top: 1px solid var(--line); counter-reset: ch; }
.chapitre { position: relative; display: grid; gap: 22px; padding-block: clamp(28px, 5vw, 56px); border-bottom: 1px solid var(--line); counter-increment: ch; }
.chapitre::before { content: counter(ch, decimal-leading-zero) " / 04"; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--mute); }
.chapitre-texte { display: grid; gap: 16px; align-content: start; justify-items: start; min-width: 0; }
.chapitre-titre { display: flex; align-items: center; gap: 18px; }
.chapitre-titre img { width: 64px; height: 64px; border-radius: 22%; flex: none; box-shadow: 0 10px 34px -12px var(--acc1); }
.chapitre h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; letter-spacing: -.01em; line-height: .98; font-size: clamp(30px, 4vw, 56px); }
.chapitre .accroche { font-family: var(--f-serif); font-style: italic; font-size: clamp(21px, 2vw, 27px); line-height: 1.25; color: var(--acc-texte); }
.chapitre p.texte-ch { color: #c9c5d0; max-width: 34em; }
.chapitre-media { margin: 0; position: relative; min-width: 0; border-radius: 6px; overflow: hidden; }
.chapitre-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.chapitre-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(238, 235, 229, .08); border-radius: inherit; pointer-events: none; }
.chapitre:hover .chapitre-media img { transform: scale(1.03); }
.chapitre .pi-actions { margin-top: 6px; }
@media (min-width: 961px) {
  .chapitre { grid-template-columns: 80px minmax(0, 6fr) minmax(0, 5fr); column-gap: 4vw; align-items: center; }
  .chapitre::before { align-self: start; padding-top: 10px; grid-column: 1; grid-row: 1; }
  .chapitre-texte, .chapitre-media { grid-row: 1; }
  .chapitre-texte { grid-column: 2; } .chapitre-media { grid-column: 3; }
  .chapitre:nth-child(even) .chapitre-media { grid-column: 2; }
  .chapitre:nth-child(even) .chapitre-texte { grid-column: 3; }
}
@media (prefers-reduced-motion: reduce) { .chapitre-media img { transition: none; } .chapitre:hover .chapitre-media img { transform: none; } }

/* ---------- 4. Ligne du temps ---------- */
.ligne-temps { display: grid; gap: 0; counter-reset: lt; }
.ligne-temps li { position: relative; display: grid; align-content: start; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 0 0 26px; counter-increment: lt; }
.ligne-temps li::before { content: counter(lt); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--acc1); color: var(--paper); font-family: var(--f-mono); font-size: 13px; background: var(--ink); position: relative; z-index: 1; }
.ligne-temps li::after { content: ""; position: absolute; left: 17.5px; top: 36px; bottom: 0; width: 1px; background: linear-gradient(var(--acc1), rgba(238, 235, 229, .08)); }
.ligne-temps li:last-child::after { display: none; }
.ligne-temps h3 { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; text-transform: uppercase; font-size: 17px; line-height: 1.25; padding-top: 7px; }
.ligne-temps p { color: var(--mute); max-width: 34em; }
@media (min-width: 961px) {
  .ligne-temps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 26px; }
  .ligne-temps li { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 14px; }
  .ligne-temps li::before { grid-row: auto; }
  .ligne-temps li::after { left: 44px; right: -22px; top: 18px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--acc1), rgba(238, 235, 229, .08)); }
  .ligne-temps h3 { padding-top: 0; }
}

/* ---------- 5. Écrans ---------- */
.ecrans { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2.4vw, 28px); padding-block: 12px 24px; }
.ecran { margin: 0; flex: 0 1 230px; display: grid; gap: 12px; justify-items: center; min-width: 0; }
.ecran-cadre { position: relative; width: 100%; border-radius: 22px; overflow: hidden; background: #0c0a10;
  box-shadow: 0 0 0 5px #0c0a10, 0 0 0 6px rgba(238, 235, 229, .16), 0 30px 70px -26px rgba(0, 0, 0, .9), 0 0 80px -30px var(--acc1); }
.ecran-cadre img, .tm .ecran-cadre img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: fill; border-radius: 0; }
.ecran:nth-child(2) { transform: translateY(-28px); }
.ecran figcaption { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-align: center; }
@media (max-width: 560px) { .ecrans { gap: 8px; } .ecran:nth-child(2) { transform: translateY(-14px); } .ecran-cadre { border-radius: 14px; box-shadow: 0 0 0 3px #0c0a10, 0 0 0 4px rgba(238, 235, 229, .16), 0 20px 40px -18px rgba(0, 0, 0, .9); } .ecran figcaption { font-size: 10px; letter-spacing: .06em; } }

/* ---------- 6. Pastilles, états, motifs ---------- */
.etat { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(238, 235, 229, .24);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.etat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fd39b; box-shadow: 0 0 10px #6fd39b; }
.etat--dev::before { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.motifs { display: flex; flex-wrap: wrap; gap: 10px; }
.motifs li { padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(238, 235, 229, .18); background: rgba(238, 235, 229, .03); font-size: 15px; color: #dcd8e2; }
.meta-ligne { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #b9b5c2; }
.meta-ligne span { display: inline-flex; align-items: center; gap: 10px; }
.meta-ligne span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--acc1); }
.note { font-size: 14.5px; color: #aaa6b3; max-width: 46em; }
.note strong { color: #d9d5df; font-weight: 600; }

/* ---------- 7. Formules ---------- */
.formules { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.formule { position: relative; display: grid; gap: 16px; align-content: start; padding: 30px 26px 28px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(238, 235, 229, .05), rgba(238, 235, 229, .015)); border: 1px solid rgba(238, 235, 229, .1); }
.formule::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 1px; background: linear-gradient(90deg, var(--acc1), var(--acc2)); box-shadow: 0 0 10px var(--acc1); }
.formule h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 24px; line-height: 1.05; }
.formule .public { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--acc-texte); line-height: 1.2; }
.formule ul { display: grid; gap: 9px; }
.formule li { position: relative; padding-left: 20px; color: #c9c5d0; font-size: 15.5px; line-height: 1.45; }
.formule li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--acc1); }
.formule .tarif { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--mute); }

/* ---------- 8. Familles ---------- */
.familles { display: grid; gap: 28px 4vw; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.famille { display: grid; gap: 14px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.famille h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--acc-texte); }
.famille ul { display: grid; gap: 6px; }
.famille li { color: #dcd8e2; }
.famille p { color: var(--mute); font-size: 15px; }

/* ---------- 9. Citation ---------- */
.citation { display: grid; gap: 18px; max-width: 30em; margin: 0; }
.citation p { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -.01em; }
.citation p::before { content: "« "; color: var(--acc-texte); } .citation p::after { content: " »"; color: var(--acc-texte); }
.citation footer { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }

/* ---------- 10. Fiche projet et cadres d'appareils ---------- */
.fiche { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fiche div { display: grid; gap: 6px; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.fiche dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #a8a4b1; }
.fiche dd { margin: 0; color: var(--paper); }
.fiche a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(238, 235, 229, .45); }
.fiche a:hover { text-decoration-color: var(--paper); }
.appareils { position: relative; padding: clamp(20px, 4vw, 48px) clamp(0px, 3vw, 40px) clamp(40px, 6vw, 70px); }
.ordinateur { margin: 0; width: 100%; max-width: 980px; border-radius: 10px 10px 4px 4px; overflow: hidden; background: #111018;
  box-shadow: 0 0 0 1px rgba(238, 235, 229, .14), 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 120px -50px var(--acc1); }
.ordinateur::before { content: ""; display: block; height: 22px; background: linear-gradient(90deg, #ff5f57 0 8px, transparent 8px 16px, #febc2e 16px 24px, transparent 24px 32px, #28c840 32px 40px, transparent 40px) 14px 7px / 40px 8px no-repeat, #1a1822; }
.ordinateur img { display: block; width: 100%; height: auto; }
.telephone { position: absolute; right: 0; bottom: 0; width: clamp(120px, 22%, 230px); margin: 0; border-radius: 22px; overflow: hidden; background: #0c0a10;
  box-shadow: 0 0 0 5px #0c0a10, 0 0 0 6px rgba(238, 235, 229, .16), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.telephone img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) { .telephone { border-radius: 14px; box-shadow: 0 0 0 3px #0c0a10, 0 0 0 4px rgba(238, 235, 229, .16), 0 20px 40px -16px rgba(0, 0, 0, .9); } }
.legende-capture { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 14px; }

/* ---------- 11. Poursuivre ---------- */
.poursuivre { padding-block: clamp(56px, 9vh, 96px); border-top: 1px solid var(--line); }
.poursuivre .wrap { display: grid; gap: 24px; }
.poursuivre-liste { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.poursuivre-liste a { position: relative; display: grid; gap: 8px; padding: 22px 22px 20px; min-height: 100%; border-radius: 6px; border: 1px solid rgba(238, 235, 229, .1);
  background: rgba(238, 235, 229, .025); transition: border-color .35s, background-color .35s; }
.poursuivre-liste .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.poursuivre-liste .t { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 20px; line-height: 1.1; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.poursuivre-liste .t span { transition: transform .5s var(--ease); font-family: var(--f-body); font-weight: 500; }
.poursuivre-liste .d { color: var(--mute); font-size: 15px; }
.poursuivre-liste a:hover { border-color: rgba(238, 235, 229, .24); background: rgba(238, 235, 229, .05); }
.poursuivre-liste a:hover .t span { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) { .poursuivre-liste a, .poursuivre-liste .t span { transition: none; } }

/* ---------- 12. Tableau comparatif ---------- */
.tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); }
.tableau { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.tableau caption { text-align: left; padding: 0 0 14px; color: var(--mute); font-size: 14.5px; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.tableau thead th { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #a8a4b1; }
.tableau tbody th { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; text-transform: uppercase; font-size: 16px; white-space: nowrap; }
.tableau tbody th a { display: inline-block; padding-block: 4px; margin-block: -4px; text-decoration: underline; text-decoration-color: rgba(238, 235, 229, .35); text-underline-offset: 4px; }
.tableau td { color: #c9c5d0; }
.tableau-defile:focus-visible { outline-offset: 2px; }

/* ---------- 13. Pages légales ---------- */
.legal-grille { display: grid; gap: 40px; }
@media (min-width: 961px) { .legal-grille { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 5vw; align-items: start; } .legal-sommaire { position: sticky; top: calc(var(--hdr-h, 102px) + 24px); } }
.legal-sommaire { display: grid; gap: 12px; font-size: 14.5px; }
.legal-sommaire p { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.legal-sommaire ol { display: grid; gap: 2px; border-left: 1px solid var(--line); counter-reset: s; }
.legal-sommaire a { display: block; padding: 7px 0 7px 16px; color: #b9b5c2; margin-left: -1px; border-left: 1px solid transparent; min-height: 32px; }
.legal-sommaire a:hover { color: var(--paper); border-left-color: var(--orange); }
@media (pointer: coarse) { .legal-sommaire a { min-height: 44px; display: flex; align-items: center; } }
@media (max-width: 960px) { .legal-sommaire ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); border-left: 0; } .legal-sommaire a { padding-left: 0; border-left: 0; } }
.legal-texte { display: grid; gap: 44px; max-width: 46em; min-width: 0; }
.legal-texte section { display: grid; gap: 14px; }
.legal-texte h2 { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; text-transform: uppercase; font-size: 21px; line-height: 1.2; letter-spacing: .005em; display: flex; gap: 14px; align-items: baseline; }
.legal-texte h2 .n { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; color: var(--orange); flex: none; }
.legal-texte h3 { font-weight: 600; font-size: 16.5px; color: var(--paper); margin-top: 4px; }
.legal-texte p, .legal-texte li { color: #c9c5d0; }
.legal-texte strong { color: var(--paper); font-weight: 600; }
.legal-texte ul { display: grid; gap: 6px; padding-left: 0; }
.legal-texte ul li { position: relative; padding-left: 20px; }
.legal-texte ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--orange); }
.legal-texte a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(238, 235, 229, .45); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-texte a:hover { text-decoration-color: var(--paper); }
.legal-texte dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; }
.legal-texte dt { color: var(--mute); }
.legal-texte dd { margin: 0; color: var(--paper); }
@media (max-width: 560px) { .legal-texte dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .legal-texte dd { margin-bottom: 10px; } }
.a-confirmer { display: inline; padding: 1px 7px; border-radius: 3px; background: rgba(255, 143, 26, .14); border: 1px dashed rgba(255, 179, 122, .6); color: #ffd2ad; font-size: .94em; }
.legal-maj { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* ---------- 14. Variantes d'ouverture ---------- */
/* portrait (écran de téléphone) dans l'ouverture partagée du socle */
.pi-media--portrait { justify-self: center; width: min(100%, 460px); }
.pi-media--portrait img { aspect-ratio: 4 / 5; border-radius: 10px; -webkit-mask-image: none; mask-image: none;
  box-shadow: 0 0 0 1px rgba(238, 235, 229, .08), 0 40px 100px -40px var(--acc1); }
.pi-texte .ouverture-logo { margin-bottom: -4px; }
/* affiche centrée (Click & Music) : titre au centre, la scène en grand dessous */
.affiche .affiche-inner { display: grid; gap: 24px; justify-items: center; text-align: center; container-type: inline-size; }
.affiche .ariane ol { justify-content: center; }
.affiche h1 { font-size: clamp(40px, 8.4cqi, 112px); max-width: 100%; }
.affiche .lead { max-width: 36em; margin-inline: auto; }
.affiche .pi-actions, .affiche .meta-ligne { justify-content: center; }
.affiche .eyebrow { justify-content: center; }
.affiche-scene { margin: clamp(40px, 7vh, 80px) auto 0; max-width: 1100px; border-radius: 8px; overflow: clip; position: relative; }
.affiche-scene img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; }
.affiche-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(238, 235, 229, .08); background: linear-gradient(0deg, rgba(8, 7, 11, .55), transparent 40%); }
.affiche-scene .legende { position: absolute; left: 18px; bottom: 14px; z-index: 1; margin: 0; }
@media (max-width: 560px) { .affiche-scene img { aspect-ratio: 4 / 3; } }

/* ---------- 15. Dossier et gestes (Click & Mystery) ---------- */
.dossier { position: relative; display: grid; gap: 18px; align-content: start; padding: clamp(26px, 4vw, 44px); border-radius: 4px;
  background: linear-gradient(160deg, rgba(217, 164, 65, .09), rgba(42, 157, 143, .04) 60%, rgba(238, 235, 229, .02));
  border: 1px solid rgba(232, 194, 122, .22); }
.dossier::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 1px; background: linear-gradient(90deg, var(--acc1), transparent); }
.dossier-tampon { position: absolute; right: 18px; top: 18px; padding: 6px 12px; border: 1.5px solid rgba(232, 194, 122, .7); border-radius: 3px; transform: rotate(-6deg);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #e8c27a; }
.dossier-accroche { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: #f1e2c2; }
.gestes { display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; counter-reset: g; }
@media (min-width: 520px) { .gestes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 961px) { .gestes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* six gestes : 2 × 3 ou 3 × 2, jamais de case orpheline */
.gestes li { display: grid; gap: 8px; align-content: start; padding: 24px 22px; background: var(--ink); counter-increment: g; }
.gestes li::before { content: counter(g, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--acc-texte); }
.gestes h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; }
.gestes p { color: var(--mute); font-size: 15px; }

/* ---------- 16. Cartes avec capture (preuves) ---------- */
.cartes--captures { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.carte-capture { padding: 0 0 24px; overflow: hidden; gap: 12px; }
.carte-capture img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid rgba(238, 235, 229, .08); margin-bottom: 10px; transition: transform .9s var(--ease); }
.carte-capture > :not(img) { margin-inline: 24px; }
.carte-capture:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .carte-capture img { transition: none; } .carte-capture:hover img { transform: none; } }

/* ---------- 17. Terrains (Applications) ---------- */
.terrains { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.terrain { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3.4vw, 40px); border-radius: 6px; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--acc1) 20%, transparent), transparent 60%), rgba(238, 235, 229, .03); border: 1px solid rgba(238, 235, 229, .1); }
.terrain:nth-child(2) { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--acc2) 18%, transparent), transparent 60%), rgba(238, 235, 229, .03); }
.terrain .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc-texte); }
.terrain h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.02; }
.terrain p:last-child { color: #c9c5d0; max-width: 32em; }

/* ---------- 18. Projets (Réalisations) ---------- */
.sommaire-projets { display: grid; border-top: 1px solid var(--line); align-self: end; }
.sommaire-projets li { border-bottom: 1px solid var(--line); }
.sommaire-projets a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding-block: 16px; min-height: 52px;
  font-family: var(--f-display); font-weight: 700; font-stretch: 108%; text-transform: uppercase; font-size: 18px; transition: color .3s; }
.sommaire-projets .n { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; color: var(--orange); }
.sommaire-projets .t { font-family: var(--f-mono); font-weight: 400; font-stretch: 100%; font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.sommaire-projets a:hover { color: #fff; }
@media (max-width: 420px) { .sommaire-projets a { grid-template-columns: 34px minmax(0, 1fr); } .sommaire-projets .t { grid-column: 2; } }
.projet-grille { display: grid; gap: 36px; align-items: center; }
.projet-texte { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.projet-logo { width: 140px; height: auto; background: #fff; border-radius: 6px; padding: 10px 14px; }
.projet-logo--clair { width: 110px; padding: 8px; }
.projet-logo--rond { width: 96px; border-radius: 50%; padding: 4px; }
@media (min-width: 961px) {
  .projet-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5vw; }
  .projet--inverse .projet-grille > :first-child { order: 2; }
}
.ecrans--projet { justify-content: center; }
.ecrans--projet .ecran { flex-basis: 190px; }
.logos-univers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.logos-univers img { width: 100%; height: auto; border-radius: 22%; box-shadow: 0 16px 50px -20px rgba(242, 41, 111, .6); }
@media (max-width: 560px) { .logos-univers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; } }

/* ---------- 19. Pages de projet ---------- */
.appareils--large { max-width: 1120px; margin-inline: auto; }
.appareils--large .telephone { width: clamp(96px, 20%, 220px); }
.capture-seule { margin: 0; max-width: 980px; }
.capture-seule .ordinateur { max-width: none; }
.capture-tel { margin: 0; width: min(230px, 62vw); display: grid; gap: 4px; }
.familles--music article { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.familles--music h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 22px; line-height: 1.05; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.familles--music h3 span { font-family: var(--f-mono); font-weight: 400; font-stretch: 100%; font-size: 11px; letter-spacing: .14em; color: var(--acc-texte, var(--orange)); }
.familles--music p { color: #c9c5d0; }

/* ---------- 20. Pages légales et 404 ---------- */
.page-intro--legal .wrap { display: grid; gap: 18px; justify-items: start; }
.page-intro--legal h1 { font-size: clamp(36px, 6.4vw, 84px); }
.sec--legal { padding-top: clamp(24px, 4vh, 48px); }
.page-404 { min-height: 62vh; display: grid; align-content: center; }
.page-404 .wrap { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 960px) { .legal-sommaire ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); column-gap: 12px; } .legal-sommaire a { font-size: 13.5px; padding-block: 6px; min-height: 28px; } }
@media (min-width: 961px) { .legal-sommaire { max-height: calc(100vh - var(--hdr-h, 102px) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
/* ouverture dont le fond est une interface : flou d'ambiance, pour que les textes de l'interface ne concurrencent pas le titre */
.ouverture--flou .ouverture-fond img { filter: blur(7px) saturate(.85); transform: scale(1.06); opacity: .5; }
.reponse-grille { display: grid; gap: 40px; align-items: center; }
.reponse-grille .capture-tel { justify-self: center; }
@media (min-width: 961px) { .reponse-grille { grid-template-columns: minmax(0, 1fr) 240px; gap: 6vw; } }

/* =====================================================================================================
   FINITIONS PREMIUM — moments propres à chaque expérience (même famille : encre, lumière d'ambiance,
   typographie du site pour les titres ; la typographie de chaque application n'apparaît que « dans le monde »).
   ===================================================================================================== */

/* ---------- 21. Loups-Garous Master — « Une pièce en cinq actes » ---------- */
.actes { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 14vh, 160px); }
.actes-ciel { position: absolute; inset: 0; margin: 0; z-index: -1; pointer-events: none; }
.actes-ciel img { width: 100%; height: 72%; object-fit: cover; object-position: 50% 30%; opacity: .5; filter: saturate(.8);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.75) 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.75) 45%, transparent 100%); }
.actes-ciel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,11,.35) 0%, rgba(8,7,11,.2) 30%, var(--ink) 92%); }
.actes .sec-tete { position: relative; }
.actes-liste { counter-reset: acte; display: grid; gap: clamp(40px, 6vh, 64px); margin-top: clamp(48px, 8vh, 88px); position: relative; }
.actes-liste::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, rgba(232,200,140,.55), rgba(232,200,140,.08)); }
.actes-liste li { position: relative; display: grid; align-content: start; gap: 10px; padding-left: 48px; max-width: 560px; }
.actes-liste li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #e8c88c; box-shadow: 0 0 0 4px rgba(232,200,140,.14), 0 0 22px rgba(232,200,140,.6); }
.acte-n { font-family: "Cinzel", Georgia, serif; font-weight: 500; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: #e8c88c; }
.acte-voix { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; color: var(--paper); text-wrap: balance; }
.actes-liste h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 15px; letter-spacing: .06em; color: #c7b2ff; }
.actes-liste li > p:last-child { color: #c9c5d0; max-width: 46ch; }
@media (min-width: 961px) {
  .actes-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8vw; row-gap: 72px; }
  .actes-liste::before { left: 50%; }
  .actes-liste li:nth-child(odd) { grid-column: 1; text-align: right; padding: 0 56px 0 0; justify-self: end; }
  .actes-liste li:nth-child(even) { grid-column: 2; padding: 0 0 0 56px; margin-top: 110px; }
  .actes-liste li:nth-child(odd)::before { left: auto; right: calc(-4vw - 6px); }
  .actes-liste li:nth-child(even)::before { left: calc(-4vw - 5px); }
  .actes-liste li:nth-child(odd) > p:last-child { margin-left: auto; }
}
/* la lune descend lentement derrière les actes (défilement, sans JavaScript) — désactivé en mouvement réduit */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .actes-ciel img { animation: lune-descend linear both; animation-timeline: view(); animation-range: entry 0% exit 60%; }
    @keyframes lune-descend { from { transform: translateY(-6%) scale(1.06); opacity: .62; } to { transform: translateY(10%) scale(1); opacity: .28; } }
  }
}

/* ---------- 22. Click & Quiz — le plateau de démonstration ---------- */
.plateau-grille { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 961px) { .plateau-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.plateau { --or: #ffc34d; --bleu: #4f7cff; position: relative; display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 22px;
  background: radial-gradient(120% 70% at 50% -10%, rgba(79,124,255,.38), transparent 60%), radial-gradient(60% 50% at 100% 100%, rgba(255,195,77,.16), transparent 70%), #0a0e26;
  border: 1px solid rgba(160,180,255,.22); box-shadow: 0 30px 90px -40px rgba(79,124,255,.7), inset 0 1px 0 rgba(255,255,255,.06); min-width: 0; }
.plateau::before { content: ""; position: absolute; inset: 10px; border-radius: 14px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,214,140,.9) 0 1.4px, transparent 2px) 0 0 / 22px 22px; opacity: .07; }
.plateau-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plateau-theme { font-family: "Sora", var(--f-body); font-weight: 600; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #dfe6ff; padding: 7px 12px; border-radius: 999px; background: rgba(79,124,255,.22); border: 1px solid rgba(160,180,255,.3); }
.plateau-chrono { font-family: "Big Shoulders Display", var(--f-display); font-weight: 900; color: var(--or); line-height: .8; display: flex; align-items: baseline; gap: 2px; text-shadow: 0 0 24px rgba(255,195,77,.45); }
.plateau-chrono b { font-size: 54px; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.plateau-chrono i { font-style: normal; font-size: 22px; }
.plateau-barre { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.plateau-barre i { display: block; height: 100%; background: linear-gradient(90deg, var(--or), #ff7a3d); transform-origin: left; }
.plateau-q { font-family: var(--f-display); font-weight: 700; font-stretch: 100%; font-size: clamp(19px, 2vw, 24px); line-height: 1.25; color: #fff; text-wrap: balance; }
.plateau-rep { display: grid; gap: 10px; }
@media (min-width: 520px) { .plateau-rep { grid-template-columns: 1fr 1fr; } }
.plateau-rep button { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; text-align: left; color: #eef1ff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(160,180,255,.25); font: 500 15.5px/1.25 var(--f-body); cursor: pointer; transition: background .25s, border-color .25s, transform .2s, opacity .25s; }
.plateau-rep button b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; font-family: "Big Shoulders Display", var(--f-display); font-weight: 900; font-size: 20px; color: #0a0e26; background: var(--or); }
.plateau-rep button:not(:disabled):hover { background: rgba(79,124,255,.2); border-color: rgba(160,180,255,.6); transform: translateY(-1px); }
.plateau-rep button:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.plateau-rep button:disabled { cursor: default; }
.plateau[data-etat="pret"] .plateau-rep button { opacity: .55; }
.plateau-rep button.verrou { background: rgba(255,195,77,.18); border-color: var(--or); }
.plateau-rep button.ok { background: rgba(46,204,113,.2); border-color: #45d483; opacity: 1; }
.plateau-rep button.ok b { background: #45d483; }
.plateau-rep button.ko { background: rgba(255,82,82,.16); border-color: #ff6b6b; opacity: 1; }
.plateau-rep button.ko b { background: #ff6b6b; }
.plateau[data-etat="fin"] .plateau-rep button:not(.ok):not(.ko) { opacity: .4; }
.plateau-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.plateau-msg { flex: 1 1 240px; font-size: 15px; color: #dfe3f2; min-height: 2.6em; }
.plateau-go { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; font: 700 14px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: #0a0e26; background: linear-gradient(90deg, var(--or), #ffdf8a); box-shadow: 0 10px 30px -10px rgba(255,195,77,.7); }
.plateau-go:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.plateau-note { font-size: 12.5px; color: #a8a4b1; }
/* sans JavaScript : la question se lit comme un texte, le bouton et le chrono disparaissent */
.plateau:not(.js) .plateau-go, .plateau:not(.js) .plateau-chrono, .plateau:not(.js) .plateau-barre, .plateau:not(.js) .plateau-msg { display: none; }
.plateau:not(.js) .plateau-rep button { opacity: 1; }
.plateau.js .plateau-sol { display: none; }
@media (prefers-reduced-motion: reduce) { .plateau-barre i { transition: none; } .plateau-rep button { transition: none; } }

/* ---------- 23. Click & Music — la scène néon, l'égaliseur, les pochettes ---------- */
.neons { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 14vh, 170px); text-align: center;
  background: radial-gradient(60% 50% at 20% 30%, rgba(255,46,151,.22), transparent 70%), radial-gradient(55% 50% at 85% 70%, rgba(0,224,255,.18), transparent 70%); }
.neons::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.neons-inner { display: grid; justify-items: center; gap: clamp(22px, 3.4vh, 34px); }
.neons-titre { font-family: "Unbounded", var(--f-display); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; font-size: clamp(34px, 6.4vw, 92px); text-wrap: balance; display: grid; gap: .08em; }
.neon-a { color: #ffe3f1; text-shadow: 0 0 6px rgba(255,46,151,.9), 0 0 22px rgba(255,46,151,.75), 0 0 60px rgba(255,46,151,.45); }
.neon-b { color: #dffbff; text-shadow: 0 0 6px rgba(0,224,255,.9), 0 0 22px rgba(0,224,255,.7), 0 0 60px rgba(0,224,255,.4); }
.neons-titre.in .neon-a { animation: neon-allume 1.6s steps(1, end) both; }
.neons-titre.in .neon-b { animation: neon-allume 1.6s .45s steps(1, end) both; }
@keyframes neon-allume { 0% { opacity: .15; } 8% { opacity: 1; } 12% { opacity: .3; } 20% { opacity: 1; } 26% { opacity: .55; } 32%, 100% { opacity: 1; } }
.neons-texte { max-width: 52ch; color: #d9d3e2; font-size: clamp(16px, 1.25vw, 18px); }
.egaliseur { display: flex; align-items: flex-end; justify-content: center; gap: clamp(3px, .5vw, 7px); height: clamp(64px, 9vw, 120px); width: min(100%, 760px); }
.egaliseur i { flex: 1 1 0; max-width: 14px; height: var(--h); border-radius: 3px 3px 1px 1px; transform-origin: bottom;
  background: linear-gradient(to top, #ff2e97, #b05cff 55%, #00e0ff); box-shadow: 0 0 12px rgba(255,46,151,.45); opacity: .92; }
@media (prefers-reduced-motion: no-preference) {
  .egaliseur.joue i { animation: eq .5s var(--d) ease-in-out infinite alternate; }   /* 120 battements par minute */
  @keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1.35); } }
}
.pochettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px) clamp(22px, 3vw, 44px); padding-right: 6%; }
@media (min-width: 761px) { .pochettes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pochettes { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pochettes li { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: visible; isolation: isolate; }
.pochettes li::before { content: ""; position: absolute; inset: 0; border-radius: 6px; z-index: 1;
  background: linear-gradient(140deg, hsl(var(--t) 85% 56%), hsl(calc(var(--t) + 40) 80% 28%) 70%, hsl(calc(var(--t) + 60) 70% 14%));
  box-shadow: 0 18px 40px -22px hsl(var(--t) 90% 50% / .8), inset 0 0 0 1px rgba(255,255,255,.12); }
.pochettes li::after { content: ""; position: absolute; z-index: 0; top: 5%; left: 5%; width: 90%; aspect-ratio: 1; border-radius: 50%; transform: translateX(24%);
  background: radial-gradient(circle, hsl(var(--t) 80% 62%) 0 9%, #0e0e11 9.5% 12%, #2a2a31 12.5% 30%, #121216 30.5% 31.5%, #2a2a31 32% 47%, #121216 47.5% 48.5%, #34343c 49% 70.5%, transparent 71%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pochettes li:hover::after { transform: translateX(44%) rotate(50deg); }
.pochettes span { position: absolute; z-index: 2; left: 10%; right: 8%; bottom: 10%; font-family: "Unbounded", var(--f-display); font-weight: 700; font-size: clamp(11.5px, .95vw, 14px); line-height: 1.1; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); hyphens: manual; }
@media (prefers-reduced-motion: reduce) { .pochettes li::after { transition: none; } .pochettes li:hover::after { transform: translateX(24%); } }

/* ---------- 24. Lecteur de bande-annonce (chargement à la demande) ---------- */
.bande-annonce { width: min(100%, 640px); margin: clamp(16px, 3vh, 32px) auto 0; display: grid; gap: 14px; text-align: left; }
.ba-cadre { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #050408; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 120px -50px rgba(255,46,151,.7), 0 0 0 6px rgba(255,255,255,.02); }
.ba-cadre img, .ba-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-cadre video { object-fit: contain; background: #000; }
.ba-lire { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; border: 0; cursor: pointer; color: #fff;
  background: radial-gradient(closest-side, rgba(8,7,11,.62), rgba(8,7,11,.3) 70%, rgba(8,7,11,.12)); font: 700 14px/1.2 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.ba-icone { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 0 10px rgba(255,255,255,.05); transition: transform .3s, background .3s; }
.ba-icone::before { content: ""; width: 0; height: 0; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent #fff; }
.ba-lire:hover .ba-icone, .ba-lire:focus-visible .ba-icone { transform: scale(1.06); background: rgba(255,255,255,.2); }
.ba-lire:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
  .ba-txt { text-shadow: 0 1px 12px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8); }
.ba-icone { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ba-duree { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .16em; color: #e6e2ec; background: rgba(8,7,11,.55); padding: 5px 10px; border-radius: 999px; }
.bande-annonce figcaption { font-size: 13.5px; color: #b8b4c1; }
.bande-annonce.js .ba-lien { display: none; }
.ba-desc summary { cursor: pointer; font-size: 14px; color: var(--paper); min-height: 32px; display: flex; align-items: center; }
.ba-desc div { padding-top: 8px; font-size: 14.5px; color: #c9c5d0; display: grid; gap: 8px; }
@media (max-width: 699px) { .ba-cadre { aspect-ratio: 9 / 16; max-height: 82vh; margin-inline: auto; width: min(100%, calc(82vh * 9 / 16)); } }
@media (prefers-reduced-motion: reduce) { .ba-icone { transition: none; } }

/* ---------- 25. Click & Mystery — la loupe sur la scène ---------- */
.scene-crime { margin: 0; display: grid; gap: 12px; position: relative; min-width: 0; }
.sc-photo { position: relative; overflow: hidden; border-radius: 6px; touch-action: pan-y; cursor: zoom-in; border: 1px solid rgba(232,194,122,.22); box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.tm .sc-photo img, .sc-photo img { display: block; width: 100%; height: auto; aspect-ratio: 590 / 700; object-fit: cover; border-radius: 0; filter: saturate(.85) contrast(1.05); }
.sc-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(8,7,11,.55)); }
.sc-lentille { position: absolute; left: 0; top: 0; z-index: 3; width: clamp(120px, 34%, 190px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: 0;
  background-repeat: no-repeat; border: 2px solid rgba(232,194,122,.85); box-shadow: 0 0 0 6px rgba(8,7,11,.35), 0 18px 50px rgba(0,0,0,.7), inset 0 0 30px rgba(0,0,0,.45); transition: opacity .2s; }
.loupe-on .sc-lentille { opacity: 1; }
.sc-indice { position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 0; cursor: pointer; background: transparent; }
.sc-indice::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #e8c27a; box-shadow: 0 0 0 4px rgba(232,194,122,.25), 0 0 18px rgba(232,194,122,.9); }
.sc-indice::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(232,194,122,.7); }
@media (prefers-reduced-motion: no-preference) { .sc-indice::after { animation: sc-pouls 2.2s ease-out infinite; } @keyframes sc-pouls { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } } }
.sc-indice:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sc-legende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; color: #b8b4c1; }
.sc-statut { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8f8b99; }
.scene-crime:not(.js) .sc-aide, .scene-crime:not(.js) .sc-indice { display: none; }
.sc-releve[hidden] { display: none; }
.sc-releve { position: absolute; inset: 0 0 auto 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: 6px; overflow: hidden;
  background: #0e0c12; border: 1px solid rgba(232,194,122,.35); box-shadow: 0 30px 90px rgba(0,0,0,.8); max-height: 100%; }
.sc-releve img { width: 100%; height: auto; max-height: 62%; object-fit: cover; object-position: top; display: block; }
.sc-releve-txt { display: grid; gap: 8px; padding: 18px 20px 20px; }
.sc-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #e8c27a; }
.sc-releve h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 18px; }
.sc-releve-txt p:not(.sc-k) { font-size: 14.5px; color: #c9c5d0; }
.sc-fermer { justify-self: start; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(232,194,122,.6); background: transparent; color: #f1e3c6; font: 600 13px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.sc-fermer:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (min-width: 520px) { .sc-releve { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } .sc-releve img { max-height: none; height: 100%; } }
@media (max-width: 519px) { .sc-releve { position: relative; inset: auto; max-height: none; } .sc-releve img { max-height: 240px; } .releve-on .sc-photo { display: none; } }   /* téléphone : le compte rendu prend la place de la photo, en entier */

/* ---------- 26. Travailler ensemble (Sites internet, Applications) : chaque étape, ce que vous faites / ce que nous faisons ---------- */
.ensemble { display: grid; border-top: 1px solid var(--line); counter-reset: none; }
.ensemble li { display: grid; gap: 10px 28px; padding-block: 24px; border-bottom: 1px solid var(--line); grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
.ens-n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--acc-texte, var(--orange)); padding-top: 4px; grid-row: span 3; }
.ensemble h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 18px; letter-spacing: .01em; }
.ens-cote { display: grid; gap: 4px; }
.ens-cote p:not(.ens-k) { color: #c9c5d0; font-size: 15.5px; max-width: 48ch; }
.ens-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #a8a4b1; }
.ens-nous .ens-k { color: var(--acc-texte, var(--orange)); }
@media (min-width: 961px) {
  .ensemble li { grid-template-columns: 56px minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); padding-block: 28px; }
  .ens-n { grid-row: auto; }
}
.interlocuteur { margin-top: clamp(32px, 5vh, 48px); display: grid; gap: 10px; max-width: 640px; padding: 22px 24px; border-left: 2px solid var(--acc-texte, var(--orange)); background: linear-gradient(90deg, rgba(255,255,255,.04), transparent); }
.interlocuteur p:not(.ens-k) { color: var(--paper); font-size: 16.5px; }
.interloc-coord { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--f-mono); font-size: 13px; }
.interloc-coord a { white-space: nowrap; min-height: 24px; display: inline-flex; align-items: center; }
.interloc-coord span { color: var(--mute); }

/* ---------- 27. Études de cas : six parties, sommaire fixe sur ordinateur ---------- */
.etude-grille { display: grid; gap: 32px; }
.etude-sommaire ol { display: flex; flex-wrap: wrap; gap: 8px; }
.etude-sommaire a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: #d9d5df; transition: border-color .25s, color .25s; }
.etude-sommaire a span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--acc-texte, var(--orange)); }
.etude-sommaire a:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.etude-corps { display: grid; gap: clamp(48px, 7vh, 80px); min-width: 0; }
.etude-partie { display: grid; gap: 16px; scroll-margin-top: calc(var(--hdr-h, 102px) + 24px); padding-top: 22px; border-top: 1px solid var(--line); min-width: 0; }
.etude-n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--acc-texte, var(--orange)); }
.etude-partie > h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; letter-spacing: -.005em; }
.etude-liste { display: grid; gap: 10px; max-width: 62ch; }
.etude-liste li { position: relative; padding-left: 26px; color: #d6d2dc; }
.etude-liste li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--acc-texte, var(--orange)); }
.filets--etude h4 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 16px; letter-spacing: .01em; }
.etude-liens { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.etude .reponse-grille { gap: 32px; }
@media (min-width: 961px) {
  .etude-grille { grid-template-columns: 220px minmax(0, 1fr); gap: 5vw; align-items: start; }
  .etude-sommaire { position: sticky; top: calc(var(--hdr-h, 102px) + 28px); }
  .etude-sommaire ol { display: grid; gap: 0; border-top: 1px solid var(--line); }
  .etude-sommaire a { display: flex; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; min-height: 44px; }
  .etude .reponse-grille { grid-template-columns: minmax(0, 1fr) 220px; }
}
.ecrans--grand .ecran { flex-basis: 220px; }

/* ---------- 28. Section bande-annonce (Loups-Garous Master) : un rideau de théâtre de nuit ---------- */
.ba-sec { position: relative; isolation: isolate; padding-block: clamp(96px, 14vh, 160px); overflow: hidden; }
.ba-sec--lgm::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 70% 50%, rgba(122,20,24,.35), transparent 70%), repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 18px, rgba(255,255,255,.012) 18px 36px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 18%, transparent 82%, #000); mask-image: linear-gradient(90deg, #000, transparent 18%, transparent 82%, #000); }
.ba-grille { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ba-grille .bande-annonce { margin: 0; justify-self: center; }
.ba-sec--lgm .ba-cadre { box-shadow: 0 40px 120px -50px rgba(200,40,50,.7), 0 0 0 6px rgba(255,255,255,.02); border-color: rgba(232,200,140,.25); }
/* Click & Quiz : projecteurs de plateau, immobiles (aucune animation ajoutée) */
.ba-sec--quiz::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 70% at 22% 0%, rgba(60,90,230,.28), transparent 70%), radial-gradient(40% 70% at 82% 0%, rgba(208,154,42,.22), transparent 70%), radial-gradient(60% 40% at 50% 100%, rgba(122,31,255,.18), transparent 70%); }
.ba-sec--quiz .ba-cadre { box-shadow: 0 40px 120px -50px rgba(208,154,42,.6), 0 0 0 6px rgba(255,255,255,.02); border-color: rgba(232,200,140,.28); }
@media (min-width: 961px) { .ba-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
/* téléphone : le tampon « Dossier n° 1 » passe au-dessus du surtitre au lieu de le chevaucher */
@media (max-width: 560px) { .dossier-tampon { position: static; justify-self: end; margin: -6px -4px 0 0; } }
