/* Le côté 2026 présenté comme le menu d'un jeu de rue : plein cadre sur une vraie vidéo de ville de nuit, une barre
   d'onglets en haut, une liste à gauche (la ligne choisie en blanc, le texte en noir), le contenu à droite.
   Des rectangles nets, pas de verre : un menu de jeu. */

.m26 { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; background: #000; color: var(--text); display: flex; flex-direction: column;
  padding: clamp(28px, 5vh, 56px) clamp(16px, 4vw, 64px) clamp(24px, 4vh, 44px); }
.m26__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1.1s ease; }
.m26__fond.is-on { opacity: 1; }
.m26::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .25) 26%, rgba(0, 0, 0, .35) 70%, rgba(0, 0, 0, .9) 100%),
  linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 40%); }

/* L'en-tête : le titre à gauche, l'état du script à droite */
.m26__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.m26__titre { margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 56px); line-height: .9; letter-spacing: -.01em; }
.m26__titre .cr { font-size: .52em; margin-left: .05em; }
.m26__etat { display: grid; justify-items: end; gap: 6px; text-align: right; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.m26__etat b { font: 600 15px/1 var(--f-body); letter-spacing: .02em; text-transform: none; color: var(--text); }

/* Les onglets */
.m26__onglets { display: flex; gap: 3px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.m26__onglets::-webkit-scrollbar { display: none; }
.m26__onglets button { flex: 1 0 auto; min-width: 128px; height: 42px; padding: 0 18px; border: 0; background: rgba(28, 28, 30, .78); color: rgba(243, 238, 236, .82);
  font: 700 12.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .15s, color .15s; }
.m26__onglets button:hover { background: rgba(48, 48, 50, .85); color: #fff; }
.m26__onglets button[aria-selected="true"] { background: #F3EEEC; color: #0A0A0A; }
.m26__onglets button:focus-visible { outline: 2px solid var(--blood-hi); outline-offset: -2px; }

/* Le corps : la liste, puis le contenu */
.m26__corps { flex: 1; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 3px; margin-top: 3px; min-height: 0; }
.m26__page { display: contents; }
.m26__page[hidden] { display: none; }
.m26__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; align-self: start; }
.m26__liste > li > button, .m26__liste > li > .m26__ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 0 16px; border: 0;
  background: rgba(28, 28, 30, .74); color: rgba(243, 238, 236, .88); font: 600 14.5px/1.2 var(--f-body); text-align: left; cursor: pointer; transition: background-color .12s, color .12s;
  height: auto; border-radius: 0; letter-spacing: 0; }
.m26__liste > li > button:hover { background: rgba(48, 48, 50, .85); color: #fff; }
.m26__liste > li > button.is-sel, .m26__liste > li > button.is-cur { background: #F3EEEC; color: #0A0A0A; }
.m26__liste > li > button i { font: 500 11px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; opacity: .7; }
.m26__liste > li > button:disabled { opacity: .45; cursor: default; }
.m26__liste > li > button:focus-visible { outline: 2px solid var(--blood-hi); outline-offset: -2px; }
.m26__ligne { cursor: default !important; }
.m26__ligne .segment, .m26__ligne .langue { margin: 0; }

.m26__detail { position: relative; min-height: 0; padding: clamp(20px, 2.6vw, 34px); background: rgba(12, 12, 13, .74); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: auto; scrollbar-width: thin; }
.m26__detail h3 { margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 2.8vw, 44px); line-height: .95; }
.m26__detail p { margin: 16px 0 0; max-width: 40em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: rgba(243, 238, 236, .8); }
.m26__detail .m26__ex { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; color: var(--text); }
.m26__detail .m26__ex::before { content: "Exemple"; display: block; margin-bottom: 6px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--blood-hi); }
.m26__info[hidden] { display: none; }
.m26__info { animation: m26-in .35s var(--ease); }
@keyframes m26-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* Parle-leur et le panneau dans le cadre de droite */
.m26 .t-parler { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; align-items: start; }
.m26 .scene { border-radius: 0; }
.m26__detail .scene__credit { margin: 0; max-width: none; font: 400 10px/1.3 var(--f-mono); color: rgba(243, 238, 236, .4); left: auto; right: 14px; top: auto; bottom: 10px; }
.m26__detail .scene__titre small, .m26__detail .scene__titre span { margin: 0; }
.m26__detail .couche__boite p, .m26__detail .sms__txt, .m26__detail .sms__de { max-width: none; margin-top: 0; font-size: 15px; }
.m26__detail .sms__de { font-size: 10.5px; }
.m26__detail .couche__boite { justify-items: center; text-align: center; }
.m26__detail .memoire__liste p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--text); }
.m26__detail .scene__note { display: none; }
.m26__detail .ecran__note { margin: 10px 0 0; font: 400 12px/1.5 var(--f-mono); color: var(--faint); }
.m26 .memoire { position: static; padding: 0 0 0 18px; border-left: 1px solid rgba(255, 255, 255, .14); background: none; border-radius: 0; box-shadow: none; }
.m26 .memoire__liste { max-height: 360px; }
.m26__detail .memoire h3 { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.m26__detail .memoire__qui { margin: 12px 0 0; font-family: var(--f-display); font-size: 17px; line-height: 1; }
.m26__detail .memoire p { max-width: none; }
.m26__detail .memoire__vide, .m26__detail .memoire__note { font-size: 13.5px; }
.m26 .ecran { margin: 0; border-radius: 0; }
.m26 .ecran__note { margin-top: 10px; }
.m26 .vitre { background: none; border: 0; box-shadow: none; }
.m26 .segment { padding: 0; border: 0; background: none; gap: 14px; }
.m26 .segment button { height: auto; padding: 0; border-radius: 0; background: none; color: inherit; opacity: .55; font-weight: 600; }
.m26 .segment button.is-cur { background: none; color: inherit; opacity: 1; border-bottom: 1px solid currentColor; }
.m26 .langue { height: auto; padding: 0 16px 0 0; border: 0; border-radius: 0; background: none; color: inherit; font-weight: 600; }

/* Les limites : la règle choisie s'allume dans le fichier */
.m26__code { margin: 22px 0 0; padding: 16px 18px; background: rgba(0, 0, 0, .55); border-left: 2px solid rgba(255, 255, 255, .14); font: 400 13px/1.7 var(--f-mono); color: rgba(243, 238, 236, .7); overflow: auto; white-space: pre; }
.m26__code .c { color: rgba(243, 238, 236, .38); }
.m26__code [data-regle] { display: inline-block; min-width: 100%; transition: background-color .25s, color .25s; }
.m26__code [data-regle].is-on { background: rgba(179, 15, 36, .55); color: #fff; }

/* Compatibilité, offre, questions */
.m26__noms { display: flex; flex-wrap: wrap; gap: 3px; margin: 20px 0 0; padding: 0; list-style: none; }
.m26__noms li { padding: 11px 16px; background: rgba(243, 238, 236, .1); font: 600 15px/1 var(--f-body); }
.m26__detail .m26__prix { margin: 14px 0 0; color: var(--text); font-family: var(--f-display); font-size: clamp(54px, 6.4vw, 104px); line-height: .9; }
.m26__actions { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 24px; }
.m26__bouton { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; background: #F3EEEC; color: #0A0A0A; text-decoration: none; font: 700 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.m26__bouton--sombre { background: rgba(243, 238, 236, .12); color: var(--text); }
.m26__bouton:hover { filter: brightness(1.1); }
.m26__route { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 3px; }
.m26__route li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 16px; background: rgba(243, 238, 236, .07); }
.m26__route b { font: 500 12px/1.5 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.m26__route li.is-now { background: rgba(179, 15, 36, .45); }
.m26__route span { color: rgba(243, 238, 236, .82); line-height: 1.5; }

.m26__pied { margin-top: 14px; font: 400 11px/1.4 var(--f-mono); color: rgba(243, 238, 236, .45); }

@media (max-width: 980px) {
  .m26__corps { grid-template-columns: minmax(0, 1fr); }
  .m26__liste { flex-direction: row; flex-wrap: wrap; }
  .m26__liste > li { flex: 1 1 auto; }
  .m26 .t-parler { grid-template-columns: minmax(0, 1fr); }
  .m26 .memoire { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .m26__tete { flex-direction: column; align-items: flex-start; }
  .m26__etat { justify-items: start; text-align: left; }
  .m26__onglets button { min-width: 0; }
  .m26__route li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .m26__fond { transition: none; } .m26__info { animation: none; } }

/* Le téléphone : l'app Ombre du script dans un burner, à gauche ; ce qu'on regarde, à droite */
.m26__tel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tel { --w: 340; position: relative; width: calc(var(--w) * 1px); aspect-ratio: 390 / 800; padding: 12px; border-radius: 34px; background: linear-gradient(160deg, #1d1d1f, #0b0b0c 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 5px #050505, 0 30px 70px rgba(0, 0, 0, .7), 0 0 50px rgba(179, 15, 36, .18); }
.tel::before { content: ""; position: absolute; top: 18px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: #050505; z-index: 2; }
.tel__ecran { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 24px; background: #0c0c0d; }
.tel__ecran iframe { position: absolute; left: 0; top: 0; width: 390px; height: 800px; border: 0; transform-origin: 0 0; transform: scale(calc((var(--w) - 24) / 390)); }
.tel__textes h3 { margin: 0; }
.tel__textes .m26__ex { margin-top: 18px; }
@media (max-width: 980px) { .m26__tel { grid-template-columns: minmax(0, 1fr); justify-items: center; } .tel { --w: 280; } }
