.tunnel {max-width: 1060px; margin-inline: auto; padding-bottom: 4rem}
.tunnel nav {display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1.25rem}
.tunnel article {max-width: 42rem; margin: 1.5rem auto 0}
.tunnel article > * + * {margin-top: 1rem}
.tunnel .tunnel-image {display:block; width:100%; padding:0; border:0; background:#151720; cursor:pointer}
.tunnel .tunnel-image[hidden] {display:none}
.tunnel-image img {display:block; width:100%; max-height:62vh; object-fit:contain}
.tunnel-back {display:block; padding:0; border:0; background:transparent; color:inherit; font:inherit; text-decoration:underline; cursor:pointer}
.tunnel :focus-visible {outline:2px solid var(--c, currentColor); outline-offset:4px}
.tunnel-plan {display:grid; gap:.25rem; place-content:center; min-height:8rem; padding:1rem; border:1px dashed currentColor; text-align:center; overflow-wrap:anywhere}
.tunnel-image:not([hidden]) + .tunnel-plan {min-height:0; padding:.5rem 1rem; border:0; font-size:.8rem}
.tunnel nav ul {max-height:45vh; overflow:auto}

/* Le titre, l’image et le récit partagent le même cadre. */
main.tunnel { padding-top: 100px; }
.tunnel > h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; margin: 0 0 24px; }
.tunnel-scene { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:start; gap:clamp(20px,4vw,42px); }
.tunnel-scene article { min-width:0; max-width: none; margin:0; }
.tunnel-scene article h2 { font-size:clamp(1.55rem,3vw,2.6rem); line-height:1.12; margin:0; }
.tunnel-scene .lead { font-size:clamp(1rem,1.35vw,1.2rem); line-height:1.55; max-width:none; }
.tunnel-scene .tunnel-plan { display:none; }
.tunnel-scene .btn { background:color-mix(in srgb,var(--c) 30%,#f3eaf3); color:#17121b; }
.tunnel-image img { border-radius:4px; }
.tunnel-montage { display:grid; gap:10px; }
.tunnel-montage > img { width:42%; justify-self:end; border-radius:4px; }
@media(max-width:760px) {
  main.tunnel { padding-top: 112px; }
  .tunnel-scene { display:flex; flex-direction:column; }
  .tunnel-scene article { width:100%; }
  .tunnel-montage { width:100%; }
}
.tunnel-image img { aspect-ratio:16/9; }

.tunnel-chapter-reader { display:block; width:100%; height:740px; border:0; background:#0c0a10; }
.tunnel-with-reader { max-width:1180px; }

.tunnel-complement-image {position:relative; margin:0; aspect-ratio:16/9; background:#17131d; border:1px solid #42334d; border-radius:5px; overflow:hidden }
.tunnel-complement-image img {width:100%; height:100%; display:block; object-fit:contain}
.tunnel-complement-image img[hidden], .tunnel-complement-missing[hidden] {display:none}
.tunnel-complement-missing {position:absolute; inset:0; display:grid; place-items:center; padding-bottom:4rem; color:#c9bfd0}
.tunnel-complement-image .tunnel-complement-point {position:absolute; left:var(--complement-x,50%); top:var(--complement-y,60%); transform:translate(-50%,-50%); width:46px; height:46px; display:grid; place-items:center; border:0; border-radius:50%; background:#1b142b; cursor:pointer}
.tunnel-complement-point .strategy-dot {width:20px; height:20px; border:2px solid #e1d6ee; background:var(--c); border-radius:50%}
.tunnel-reflection {font-style:italic; margin-top:1rem}
.tunnel .btn:disabled {opacity:.5; cursor:default}
@media(max-width:760px) {.tunnel-complement-image {width:100%}}

.stratege-portrait {max-width:880px; padding-top:108px; padding-bottom:80px; display:grid; gap:36px}
.stratege-identity img {display:block; width:100%; aspect-ratio:16/8; object-fit:cover; border:1px solid #40344e; border-radius:10px}
.stratege-identity h1 {margin:18px 0 6px; font-size:clamp(2.5rem,6vw,4.6rem); line-height:1}
.stratege-identity h1 span {font:600 .95rem var(--mono,monospace); letter-spacing:.12em; vertical-align:middle; color:#c9b9e6}
.stratege-portrait h2 {margin:0 0 6px; font-size:clamp(1.65rem,4vw,2.55rem); line-height:1.1}
.stratege-portrait p {max-width:68ch; margin:.5rem 0 1rem}
.stratege-stack,.stratege-plan ol {list-style:none; padding:0; margin:0}
.stratege-stack {border:1px solid #443650; border-radius:10px; overflow:hidden}
.stratege-stack li {padding:11px 16px; display:grid; grid-template-columns:44px minmax(0,1fr) minmax(0,1.1fr); gap:12px; align-items:center; background:color-mix(in srgb,var(--c) calc(var(--position) / 3),#16111e)}
.stratege-stack li + li,.stratege-plan li + li {border-top:1px solid #3e3449}
.stratege-stack b {color:color-mix(in srgb,#f4e8ff var(--position),#b299cf); font-size:1.15rem}
.stratege-stack strong {display:block}
.stratege-stack strong::first-letter {text-transform:uppercase}
.stratege-stack small,.stratege-plan small {color:#cbbfd7}
.stratege-plan {text-align:center}
.stratege-plan p {margin:.8rem auto 1.3rem}
.stratege-plan ol {max-width:580px; margin:0 auto 25px; text-align:left}
.stratege-plan li {display:grid; grid-template-columns:28px 1fr auto; gap:12px; align-items:center; padding:7px 8px}
.stratege-plan li b {color:#d2baf6}
.btn.stratege-iris {display:inline-flex; align-items:center; gap:12px; color:#1b1324; background:#ede1f9; text-decoration:none; padding:.5rem 1.15rem .5rem .5rem}
.stratege-iris > span {position:relative; width:52px; height:43px; border-radius:6px; overflow:hidden}
.stratege-iris img {position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.stratege-iris img + img {animation:stratege-iris 3.2s ease-in-out infinite alternate}
@keyframes stratege-iris {0%,20%{opacity:0} 75%,100%{opacity:1}}
@media(prefers-reduced-motion:reduce) {.stratege-iris img + img {animation:none}}
.stratege-stage {position:sticky; z-index:2; top:var(--top-height,64px); background:#17121f; border:1px solid #41334f; border-radius:8px; padding:10px 14px; margin-bottom:26px}
.stratege-stage p {font-weight:650; line-height:1.3; margin:0 0 7px}
.stratege-stage span {color:#d4c5ec}
.stratege-stage progress {display:block; width:100%; height:5px; accent-color:#ad8fdf}
.stratege-frame {width:100%; display:block; aspect-ratio:16/9; object-fit:cover; border-radius:6px}
.stratege-regard article h1,.stratege-recap h1 {font-size:clamp(2rem,4.3vw,3.35rem); line-height:1.03; margin:0 0 .6em}
.stratege-opening {align-items:center}
.stratege-regard .tunnel-back {margin:.75rem 0 0 1rem}
.stratege-supplement {margin-top:1.2rem}
.stratege-supplement img {display:block; width:100%; margin:.5rem 0}
.stratege-recap {max-width:880px; margin:auto}
.stratege-recap-copy {line-height:1.55; margin:18px 0 26px}
.stratege-recap-copy p {margin:.55rem 0}
.stratege-recap dl {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 20px; padding:12px 0; border-block:1px solid #41334f}
.stratege-recap dl div {display:grid; grid-template-columns:32px 1fr; gap:6px}
.stratege-recap dt {font-weight:700;color:#ceb9ee}
.stratege-recap dd {margin:0}
.stratege-next {border-top:1px solid #41334f; padding-top:18px}
.stratege-next h2 {margin:0 0 4px}
.stratege-next p {margin:0 0 12px}
@media(max-width:620px) {
  .stratege-portrait {gap:27px}
  .stratege-stack li {grid-template-columns:34px 1fr}
  .stratege-stack li > span {grid-column:2}
  .stratege-recap dl {grid-template-columns:1fr}
  .stratege-stage {top:56px}
}

/* --- 20/11 (Claude) : lecture pédagogique, schémas, alliés, moteur --- */
.tunnel-peda { margin: 6px 0 14px; display: grid; gap: 12px; }
.tunnel-peda div { padding: 10px 14px; border-left: 2px solid color-mix(in srgb, var(--c) 60%, transparent); background: #ffffff06; }
.tunnel-peda dt { color: color-mix(in srgb, var(--c) 45%, #efe6ef); font: 650 .7rem/1.3 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.tunnel-peda dd { margin: 4px 0 0; color: #ece4ec; line-height: 1.55; font-size: 16px; }
.sch { margin: 6px 0 18px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--c) 30%, #2a2630); border-radius: 6px;
  background: radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--c) 16%, #121016), #0e0d11 70%); }
.sch figcaption { color: #cfc5d2; font: 650 .7rem/1.3 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.sch-legende { margin: 10px 0 0; color: #b9afc0; font-size: 14px; line-height: 1.5; }
.sch-tuile { display: grid; justify-items: center; gap: 2px; padding: 8px 10px; min-width: 96px; border-radius: 5px; border: 1px solid #2c2832; background: #14121a; text-align: center; transition: opacity .2s; }
.sch-tuile .cg-mark { width: 92px; height: 40px; }
.sch-tuile b { color: #fff; font: 500 20px/1 var(--serif, Georgia), serif; }
.sch-tuile small { color: #b3a9ba; font-size: 12px; line-height: 1.3; }
.sch-tuile.actif { border-color: color-mix(in srgb, var(--c) 65%, #2c2832); box-shadow: 0 0 22px -8px var(--c); }
.sch-tuile.eteint { opacity: .35; filter: grayscale(.6); }
.sch-tuile.saute { opacity: .45; border-style: dashed; position: relative; }
.sch-tuile.saute::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: #e0607a; transform: rotate(-8deg); }
.sch-autre { border-color: #6e6a74; }
.sch-une { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sch-chaine { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: #e6dde6; font-size: 13.5px; }
.sch-chaine span { padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 22%, #1a1720); }
.sch-chaine i { color: color-mix(in srgb, var(--c) 60%, #fff); font-style: normal; }
.sch-pile { position: relative; display: grid; gap: 8px; max-width: 260px; padding-right: 60px; }
.sch-pile .sch-tuile { grid-template-columns: 92px 1fr; justify-items: start; text-align: left; align-items: center; }
.sch-pile .sch-tuile small { grid-column: 2; }
.sch-pile .sch-tuile b { grid-column: 2; grid-row: 1; }
.sch-pile .sch-tuile .cg-mark { grid-row: 1 / span 2; }
.sch-fleche { position: absolute; right: 4px; top: 6px; width: 54px; height: 200px; overflow: visible; }
.sch-fleche path { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-dasharray: 6 5; animation: sch-tourne 2.4s linear infinite; }
.sch-fleche path.retour { opacity: .55; }
@keyframes sch-tourne { to { stroke-dashoffset: -22; } }
.sch-ligne { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sch-plus { color: color-mix(in srgb, var(--c) 60%, #fff); font: 500 24px/1 var(--serif, Georgia), serif; font-style: normal; }
.stratege-amis .amis { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stratege-amis .amis a { display: grid; gap: 4px; padding: 12px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--c) 40%, #2a2630);
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--c) 22%, #121016), #0f0d12 75%); color: inherit; text-decoration: none; transition: transform .2s; }
.stratege-amis .amis a:hover { transform: translateY(-3px); }
.stratege-amis .amis img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.stratege-amis .amis strong { color: #fff; font: 500 20px/1.15 var(--serif, Georgia), serif; }
.stratege-amis .amis small { color: color-mix(in srgb, var(--c) 55%, #fff); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.stratege-amis .amis span { color: #b9afc0; font-size: 13.5px; line-height: 1.45; }
.stratege-invite { margin: 10px 0 24px; padding: 20px; border-radius: 6px; border: 1px dashed color-mix(in srgb, var(--c) 50%, #2a2630); }
.stratege-invite h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 30px); }
.stratege-recap-transition { margin-top: 18px; color: #ece4ec; font-size: 17px; }
@media (max-width: 760px) { .stratege-amis .amis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .sch-fleche path { animation: none; } }

/* Symbole des fonctions, toujours à côté de leur nom (20/11). */
.fn-symbole { display: inline-block; vertical-align: middle; width: 64px; margin-right: 10px; }
.fn-symbole .cg-mark { width: 64px; height: 30px; }
.fn-symbole--petit { width: 44px; margin-right: 6px; }
.fn-symbole--petit .cg-mark { width: 44px; height: 20px; }
.stratege-recap-fonctions dt { display: flex; align-items: center; gap: 4px; }
.stratege-recap-fonctions dt .fn-symbole { width: 54px; margin-right: 4px; }
.stratege-recap-fonctions dt .fn-symbole .cg-mark { width: 54px; height: 24px; }
.stratege-opening h1 .fn-symbole { width: 96px; display: block; margin: 0 0 8px; }
.stratege-opening h1 .fn-symbole .cg-mark { width: 96px; height: 44px; }
.stratege-recap .stratege-recap-fonctions { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
.stratege-recap .stratege-recap-fonctions > div { display: grid !important; grid-template-columns: 130px 1fr !important; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 5px; background: #ffffff06; }
.stratege-recap .stratege-recap-fonctions dt { display: flex !important; align-items: center; gap: 8px; margin: 0; width: auto !important; }
.stratege-recap .stratege-recap-fonctions dt span:last-child { color: #fff; font: 500 22px/1 var(--serif, Georgia), serif; }
.stratege-recap .stratege-recap-fonctions dd { margin: 0 !important; }

/* « Un geste, trois moteurs » (20/11) */
.trois-moteurs { max-width: 900px; margin: auto; --lueur: #ffffff00; }
.trois-scene { position: relative; margin: 18px 0; border-radius: 6px; overflow: hidden; }
.trois-scene img { display: block; width: 100%; filter: saturate(.85) brightness(.85); transition: filter .5s ease; }
.trois-lueur { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .6s ease, background .6s ease;
  background: radial-gradient(circle at 56% var(--ly, 50%), var(--lueur) 0%, color-mix(in srgb, var(--lueur) 45%, transparent) 14%, transparent 42%); }
.trois-allume .trois-lueur { opacity: 1; animation: trois-pouls 2.8s ease-in-out infinite; }
.trois-allume .trois-scene img { filter: saturate(.6) brightness(.6); }
@keyframes trois-pouls { 50% { opacity: .65; } }
.trois-consigne { color: #b9afc0; text-align: center; }
.trois-choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0 16px; }
.trois-choix button { display: grid; justify-items: center; gap: 4px; padding: 14px 10px; border-radius: 8px; cursor: pointer;
  background: #121016; border: 1px solid color-mix(in srgb, var(--l) 45%, #2a2630); color: #f4ecf4; font: 600 16px/1.2 Inter, system-ui, sans-serif; transition: transform .2s, box-shadow .2s; }
.trois-choix button small { color: #a99fb0; font-weight: 500; font-size: 12.5px; }
.trois-choix button:hover { transform: translateY(-2px); }
.trois-choix button[aria-selected="true"] { border-color: var(--l); box-shadow: 0 0 26px -6px var(--l); }
.trois-choix button[data-vu]:not([aria-selected="true"]) { opacity: .75; }
.trois-pastille { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, var(--l) 40%, transparent 72%); box-shadow: 0 0 16px var(--l); }
.trois-texte { padding: 4px 16px; border-left: 3px solid var(--l); background: #ffffff06; }
.trois-question { margin-top: 18px; color: #ece4ec; }
@media (max-width: 560px) { .trois-choix { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .trois-allume .trois-lueur { animation: none; } .trois-scene img, .trois-lueur { transition: none; } }
.sch-domaine { max-width: 340px; padding-right: 0; }
.sch-domaine .sch-tuile small { font-size: 13px; color: #ded5e0; }

/* « Pourquoi là ? » — transition du regard au moteur (27/11). La chaleur du moteur est blanc-or :
   ni la couleur du personnage (--c, réservée au regard), ni une couleur de centre (elles viennent ensuite). */
.pq { max-width: 900px; margin: auto; --chaleur: #f3dfb4; }
.pq-temps { animation: pq-entree .6s ease both; }
.pq-sur { margin: 6px 0 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #b9afc0; outline: none; }
.pq-scene { position: relative; margin: 0 0 14px; border-radius: 8px; overflow: hidden; }
.pq-scene img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pq-voile { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 52%, transparent 0 22%, #0b0910b3 58%); animation: pq-voile 2.4s ease .4s both; }
.pq-titre-scene { margin: 0 0 8px; font-size: clamp(20px, 2.6vw, 26px); color: #ece4ec; }
.pq-frise { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 12px; align-items: center; margin: 6px 0 18px; }
.pq-frise figure { position: relative; margin: 0; }
.pq-frise img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.pq-frise figcaption { margin-top: 6px; text-align: center; font-size: 13px; color: #b9afc0; }
.pq-centre img { filter: saturate(.75) brightness(.7); box-shadow: 0 0 0 1px var(--c), 0 0 26px -8px var(--c); }
.pq-centre figcaption { color: #ece4ec; }
.pq-chaleur { position: absolute; inset: 0 0 26px; border-radius: 6px; pointer-events: none; box-shadow: inset 0 0 0 1px var(--chaleur), inset 0 0 42px -6px var(--chaleur); opacity: 0; animation: pq-chaleur 3.2s ease-in-out .5s infinite; }
.pq-toi { position: relative; margin: 0 0 16px; max-width: 420px; border-radius: 8px; overflow: hidden; }
.pq-toi .pq-chaleur { inset: 0; }
.pq-formule { margin: 18px 0; font-size: clamp(19px, 2.4vw, 24px); color: #ece4ec; }
.pq-formule strong { color: var(--chaleur); font-weight: 600; }
.pq-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 14px 0 4px; }
.pq-carte { margin: 0; border: 1px solid #ffffff1c; border-top: 3px solid var(--c); border-radius: 8px; overflow: hidden; background: #ffffff06; }
.pq-fp { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; }
.pq-carte figcaption { padding: 12px 14px 14px; display: grid; gap: 6px; }
.pq-carte strong { font-size: 18px; color: #ece4ec; }
.pq-dom { font-size: 13px; color: var(--c); filter: brightness(1.5); }
.pq-carte p { margin: 0; color: #d6cdd8; line-height: 1.55; }
.pq-base { font-size: 13px; color: var(--chaleur); }
@keyframes pq-entree { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pq-voile { from { opacity: 0; } to { opacity: 1; } }
@keyframes pq-chaleur { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 640px) { .pq-frise { grid-template-columns: 1fr; } .pq-duo { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pq-temps, .pq-voile { animation: none; } .pq-chaleur { animation: none; opacity: .8; } }
