/* ============================================================
   zygotchi.lol — feuille de style « 1996 »
   Fond étoilé tuilé, tableaux beige, Times, boutons 3D.
   ============================================================ */

* { box-sizing: border-box; }

:root {
  --ink: #111;
  --paper: #fffdf0;
  --paper-2: #f3eed6;
  --link: #0000cc;
  --link-visited: #800080;
  --hot: #ff00cc;
  --sky: #00ccff;
  --sun: #ffd400;
  --grass: #00aa00;
  --grey: #c0c0c0;
  --font-body: "Times New Roman", Times, Georgia, serif;
  --font-head: "Comic Sans MS", "Trebuchet MS", Verdana, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
  background-color: #04121f;
  background-image:
    radial-gradient(1px 1px at 24px 40px, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 120px 90px, #dff3ff, transparent),
    radial-gradient(2px 2px at 200px 30px, #ffffff, transparent),
    radial-gradient(1px 1px at 60px 170px, #bfe3ff, transparent),
    radial-gradient(1.5px 1.5px at 160px 150px, #ffffff, transparent),
    linear-gradient(180deg, #07182b 0%, #0a2237 45%, #041017 100%);
  background-size: 240px 220px, 240px 220px, 240px 220px, 240px 220px, 240px 220px, 100% 100%;
  background-repeat: repeat, repeat, repeat, repeat, repeat, no-repeat;
  background-attachment: fixed;
  padding-bottom: 20px;
}

/* liens façon 1996 */
a { color: var(--link); text-decoration: underline; }
a:visited { color: var(--link-visited); }
a:hover { color: #ff0000; }

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ---------------- Header ---------------- */
.site-header {
  padding: 16px 0 0;
  text-align: center;
}
.site-header .wrap {
  display: block;
  padding-top: 10px;
  padding-bottom: 0;
}

.logo {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: .05em;
  color: #ffffff;
  text-decoration: none;
  text-shadow:
    2px 2px 0 var(--hot),
    4px 4px 0 #7a00ff,
    6px 6px 0 #000;
  line-height: 1;
  margin-bottom: 8px;
}
.logo:visited { color: #fff; }
.logo span { color: var(--sky); }

.bootle {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--sun);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.bootle .blink { color: #00ff00; }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  font-family: Verdana, Arial, sans-serif;
  font-size: .78rem;
  font-weight: bold;
  margin-bottom: 2px;
}
.nav a {
  display: inline-block;
  padding: 5px 11px;
  color: #000;
  text-decoration: none;
  background: var(--grey);
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
}
.nav a:visited { color: #000; }
.nav a:hover { background: #ffff99; color: #000; }
.nav a[aria-current="page"] {
  background: var(--sun);
  border-color: #404040 #ffffff #ffffff #404040;
}

/* ---------------- Marquee ---------------- */
.ticker {
  overflow: hidden;
  border-top: 3px double var(--sky);
  border-bottom: 3px double var(--sky);
  background: #000;
  margin-top: 10px;
}
.ticker__track {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: bold;
  letter-spacing: .1em;
  color: #00ff00;
  animation: scroll-left 30s linear infinite;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 46px 0 30px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: bold;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #000;
  background: var(--sun);
  border: 2px solid #000;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0 auto 16px;
  max-width: 16ch;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1.08;
  color: #ffffff;
  text-shadow: 2px 2px 0 #000, 4px 4px 0 var(--hot);
}
.hero h1 em {
  font-style: normal;
  color: var(--sun);
  text-shadow: 2px 2px 0 #000, 4px 4px 0 #ff6600;
}
.hero p.lead {
  max-width: 58ch;
  margin: 0 auto 24px;
  font-size: 1.08rem;
  color: #e6e6ff;
}
.cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- Boutons 3D ---------------- */
.btn {
  display: inline-block;
  padding: 9px 18px;
  font-family: Verdana, Arial, sans-serif;
  font-weight: bold;
  font-size: .82rem;
  color: #000;
  background: var(--grey);
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn:visited { color: #000; }
.btn:hover { background: #e0e0e0; color: #000; }
.btn:active { border-color: #404040 #ffffff #ffffff #404040; }
.btn--primary { background: var(--sun); }
.btn--primary:hover { background: #ffe44d; }
.btn--ghost { background: var(--grey); }

/* ---------------- Sections ---------------- */
main { padding-bottom: 30px; }

.section { padding: 30px 0 6px; }
.section__head { margin-bottom: 16px; }
.section__head h2 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 5vw, 1.9rem);
  color: var(--sun);
  text-shadow: 2px 2px 0 #000, 3px 3px 0 var(--hot);
}
.section__head h2 .hash { color: #00ff00; }
.section__head p { margin: 0; color: #d9d9ff; max-width: 62ch; }

/* tableaux (cartes) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.card {
  display: block;
  padding: 16px 18px;
  background: var(--paper);
  color: var(--ink);
  border: 3px ridge #9a9a9a;
  box-shadow: 4px 4px 0 #000;
  text-decoration: none;
}
.card:visited { color: var(--ink); }
.card:hover { background: #ffffcc; color: var(--ink); }
.card__icon { font-family: var(--font-mono); font-size: .82rem; font-weight: bold; letter-spacing: .1em; color: #cc0066; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 1.1rem; color: #0000cc; }
.card p { margin: 0; font-size: .9rem; color: #333; }
.card__tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: bold;
  letter-spacing: .06em;
  color: #cc0066;
}

/* ---------------- Pages articles ---------------- */
.page-head { padding: 40px 0 8px; text-align: left; }
.page-head h1 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 2px 2px 0 #000, 4px 4px 0 var(--hot);
}
.page-head p { margin: 0; color: #e0e0ff; max-width: 64ch; }

.prose {
  max-width: 100%;
  margin: 12px 0 0;
  padding: 22px 24px;
  background: var(--paper);
  color: var(--ink);
  border: 3px ridge #9a9a9a;
  box-shadow: 5px 5px 0 #000;
}
.prose h2 {
  margin: 34px 0 10px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: #cc0000;
  border-left: 6px solid var(--sun);
  padding-left: 10px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 22px 0 6px; font-size: 1.15rem; color: #0000cc; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: #000; }
.prose code { font-family: var(--font-mono); background: #eee; padding: 1px 4px; }
.prose a { color: var(--link); }
.prose a:visited { color: var(--link-visited); }
.prose .drop::first-letter {
  float: left;
  font-size: 3.4rem;
  line-height: .8;
  padding: 6px 10px 0 0;
  color: #cc0000;
  font-weight: bold;
  font-family: var(--font-head);
}

/* fenêtre rétro (Win95) */
.window {
  margin: 20px 0;
  border: 2px solid #000;
  background: var(--paper);
  box-shadow: 4px 4px 0 #000;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: #000080;
  color: #ffffff;
  font-family: Verdana, Arial, sans-serif;
  font-size: .74rem;
  font-weight: bold;
  letter-spacing: .04em;
}
.window__dots { display: flex; gap: 4px; }
.window__dots i { width: 10px; height: 10px; display: block; background: var(--grey); border: 1px solid; border-color: #fff #404040 #404040 #fff; }
.window__body { padding: 14px 16px; font-size: .95rem; color: #111; }
.window__body p:last-child { margin-bottom: 0; }
.window__body a { color: var(--link); }

/* puces / étiquettes */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.chip {
  font-family: var(--font-mono);
  font-size: .74rem;
  padding: 3px 9px;
  background: #e8e8e8;
  border: 1px solid #666;
  color: #111;
}

/* ligne du temps */
.timeline { list-style: none; margin: 16px 0; padding: 0 0 0 18px; border-left: 4px solid #999; }
.timeline li { position: relative; padding: 0 0 16px 18px; }
.timeline li::before {
  content: "";
  position: absolute; left: -27px; top: 4px;
  width: 12px; height: 12px;
  background: var(--sun);
  border: 2px solid #000;
}
.timeline b { display: block; color: #cc0000; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .06em; }

/* bandeau de stats */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 10px; margin: 18px 0; }
.stat-box { padding: 12px; background: var(--paper-2); border: 2px ridge #9a9a9a; text-align: center; }
.stat-box b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #cc0000; }
.stat-box span { font-size: .78rem; color: #333; }

/* citation */
.pull {
  margin: 22px 0;
  padding: 14px 18px;
  background: #ffffcc;
  border: 2px solid #000;
  border-left: 8px solid #ff9900;
  color: #111;
  font-size: 1.02rem;
  font-style: italic;
}

/* bandeau CTA */
.banner {
  margin: 34px 0 8px;
  padding: 22px 20px;
  text-align: center;
  background: #ffffe0;
  border: 3px double #0000cc;
  box-shadow: 4px 4px 0 #000;
}
.banner h2 { margin: 0 0 8px; font-family: var(--font-head); font-size: 1.4rem; color: #cc0000; }
.banner p { margin: 0 auto 16px; color: #222; max-width: 52ch; }

/* grille de mini-fiches */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 16px 0; }
.mini { padding: 12px 14px; background: var(--paper-2); border: 2px ridge #b0b0b0; }
.mini b { color: #cc0000; }
.mini span { display: block; font-size: .85rem; color: #333; }

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: 34px;
  padding: 24px 0 18px;
  border-top: 4px double var(--sky);
  background: rgba(0,0,0,.55);
  text-align: center;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  text-align: left;
  margin-bottom: 20px;
}
.site-footer h4 { margin: 0 0 8px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 5px; }
.site-footer a { color: #ffff99; font-size: .9rem; }
.site-footer a:visited { color: #ffccff; }
.site-footer a:hover { color: #ffffff; }
.site-footer p { color: #cccccc; }

.construction {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: bold;
  color: var(--sun);
  background: #000;
  border: 2px dashed var(--sun);
  padding: 8px 12px;
  margin: 0 0 14px;
}
.webring {
  font-family: Verdana, sans-serif;
  font-size: .82rem;
  margin: 0 0 14px;
  color: #cccccc;
}
.webring a { color: #ffff99; }
.disclaimer { font-size: .78rem; color: #aaaaaa; margin: 0 0 14px; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 12px; }
.badge {
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: bold;
  letter-spacing: .06em;
  padding: 5px 8px;
  color: #000;
  background: var(--grey);
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
}
.updated { font-family: var(--font-mono); font-size: .72rem; color: #9999cc; margin: 0; }

.counter { display: inline-flex; gap: 3px; font-family: var(--font-mono); background: #000; padding: 3px 5px; border: 2px solid #666; }
.counter span { background: #001a00; color: #00ff00; padding: 1px 4px; text-shadow: 0 0 6px rgba(0,255,0,.8); }

/* clignotant */
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------- Quiz ---------------- */
.quiz { padding: 18px; background: var(--paper-2); border: 3px ridge #9a9a9a; margin: 18px 0; }
.quiz h3 { margin: 0 0 12px; font-family: var(--font-head); color: #0000cc; }
.quiz__q { margin-bottom: 16px; }
.quiz__q p { margin: 0 0 8px; font-weight: bold; }
.quiz__opts { display: grid; gap: 6px; }
.quiz__opt {
  text-align: left;
  padding: 8px 12px;
  background: #e2e2e2;
  color: #111;
  font-family: Verdana, sans-serif;
  font-size: .86rem;
  cursor: pointer;
  border: 2px solid;
  border-color: #ffffff #555 #555 #ffffff;
}
.quiz__opt:hover { background: #ffff99; }
.quiz__opt.correct { background: #b6f5b6; border-color: #008000; }
.quiz__opt.wrong { background: #ffb6b6; border-color: #cc0000; }
.quiz__score { font-weight: bold; color: #cc0000; }

@media (prefers-reduced-motion: reduce) {
  .creature, .creature.pulse, .mood-hungry, .ticker__track, .blink { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 32px 0 20px; }
  .prose { padding: 16px 14px; }
  .nav { font-size: .72rem; }
  .nav a { padding: 4px 8px; }
}

/* ============================================================
   Widgets interactifs (Le Sous-Sol)
   ============================================================ */
.widget {
  margin: 16px 0;
  padding: 14px;
  background: var(--paper-2);
  border: 3px ridge #9a9a9a;
}
.widget__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.widget__meta { font-family: var(--font-mono); font-size: .78rem; font-weight: bold; color: #333; }

.souvenir {
  min-height: 132px;
  padding: 16px 18px;
  background: #fff;
  border: 2px dashed #000080;
}
.souvenir--in { animation: pop .3s ease; }
.souvenir__num { font-family: var(--font-mono); font-size: .72rem; font-weight: bold; letter-spacing: .08em; color: #cc0066; }
.souvenir h3 { margin: 6px 0 8px; font-family: var(--font-head); color: #0000cc; font-size: 1.25rem; }
.souvenir p { margin: 0; color: #222; }

/* terminal Vidéoway */
.terminal { margin: 16px 0; border: 3px solid #000; background: #08120a; box-shadow: 4px 4px 0 #000; }
.terminal__screen {
  min-height: 132px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  color: #33ff66;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.25) 0 1px, transparent 1px 3px),
    #051007;
  text-shadow: 0 0 6px rgba(51,255,102,.7);
}
.terminal__screen p { margin: 0 0 6px; }
.terminal__hello { color: #aaffbb; }
.terminal__title { color: #ffffff; font-weight: bold; letter-spacing: .08em; margin-bottom: 8px !important; }
.terminal__big { font-size: 1.5rem; font-weight: bold; color: #ffffff; margin: 6px 0 !important; }
.terminal__list { margin: 0; padding-left: 20px; }
.terminal__list li { margin-bottom: 4px; }
.terminal__keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px; background: #1a1a1a; border-top: 2px solid #000; }
.terminal__keys button {
  padding: 9px 8px;
  font-family: Verdana, sans-serif;
  font-size: .76rem;
  font-weight: bold;
  color: #000;
  background: var(--grey);
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  cursor: pointer;
}
.terminal__keys button:hover { background: #ffff99; }
.terminal__keys button:active { border-color: #404040 #ffffff #ffffff #404040; }

/* chat */
.chat { margin: 16px 0; border: 3px solid #000; background: #000; }
.chat__log {
  height: 210px;
  overflow-y: auto;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: .86rem;
  line-height: 1.5;
  background: #001007;
}
.chat__line { margin: 0 0 6px; }
.chat__line--bot { color: #33ff66; }
.chat__line--me { color: #66ccff; }
.chat__opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; background: #1a1a1a; border-top: 2px solid #000; }
.chat__opt {
  padding: 7px 12px;
  font-family: Verdana, sans-serif;
  font-size: .78rem;
  color: #000;
  background: var(--grey);
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  cursor: pointer;
}
.chat__opt:hover { background: #ffff99; }

/* jeu de mémoire */
.mem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mem-card {
  aspect-ratio: 1 / 1;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: bold;
  color: #000;
  background: var(--grey);
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  cursor: pointer;
  word-break: break-word;
  padding: 4px;
}
.mem-card:hover { background: #ffff99; }
.mem-card--up { background: #ffffff; border-color: #000080; color: #000080; }
.mem-card--done { background: #b6f5b6; border-color: #008000; color: #004d00; }

/* table de son */
.sound-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 14px 0; }
.sound-grid button {
  padding: 12px 8px;
  font-family: Verdana, sans-serif;
  font-size: .78rem;
  font-weight: bold;
  color: #000;
  background: var(--grey);
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  cursor: pointer;
}
.sound-grid button:hover { background: #ffff99; }
.sound-grid button:active { border-color: #404040 #ffffff #ffffff #404040; }

/* résultat du profil */
.profil-saved { font-family: var(--font-mono); font-size: .8rem; color: #660066; background: #fff; border: 2px dashed #660066; padding: 6px 10px; }
.profil-result { margin-top: 16px; }
.profil-result--on {
  padding: 18px;
  text-align: center;
  background: #ffffe0;
  border: 3px double #0000cc;
  box-shadow: 4px 4px 0 #000;
  animation: pop .3s ease;
}
.profil-result__icon { font-family: var(--font-mono); font-size: 2rem; font-weight: bold; color: #cc0000; }
.profil-result--on h3 { margin: 6px 0 8px; font-family: var(--font-head); color: #0000cc; }
.profil-result--on p { margin: 0 0 10px; color: #222; }
.profil-result__save { font-size: .82rem; color: #666 !important; }

/* curseur étoilé + konami */
.trail { position: fixed; z-index: 9999; pointer-events: none; font-family: var(--font-mono); font-weight: bold; color: var(--sun); text-shadow: 0 0 6px var(--hot); animation: trail-fade .65s ease-out forwards; }
@keyframes trail-fade { from { opacity: .9; transform: translate(-50%,-50%) scale(1); } to { opacity: 0; transform: translate(-50%,-50%) scale(.2); } }
.konami-toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 10000; padding: 10px 18px; font-family: var(--font-mono); font-weight: bold; letter-spacing: .12em; color: #000; background: var(--sun); border: 3px solid #000; box-shadow: 4px 4px 0 #000; }
body.fluo-mode { animation: hue-spin 6s linear infinite; }
@keyframes hue-spin { to { filter: hue-rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .trail { display: none; } body.fluo-mode { animation: none; } }

/* ============================================================
   Refonte visuelle : images, couleur, mouvement
   ============================================================ */
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
  text-align: left;
}
.hero__text { text-align: left; }
.hero__text h1 { margin-left: 0; }
.hero__text p.lead { margin-left: 0; }
.hero__text .cta-row { justify-content: flex-start; }

.tv {
  position: relative;
  padding: 16px 16px 34px;
  background: linear-gradient(160deg, #f3f0ff, #b8b2d0);
  border: 4px solid #0b0620;
  border-radius: 20px;
  box-shadow: 10px 10px 0 #0b0620;
}
.tv::before {
  content: "";
  position: absolute;
  left: 26px; right: 26px; top: -18px;
  height: 10px; background: #0b0620; border-radius: 6px;
}
.tv__screen {
  position: relative;
  border: 5px solid #0b0620;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 3;
}
.tv__screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv__screen::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
}
.tv__label {
  position: absolute; left: 0; right: 0; bottom: 7px; text-align: center;
  font-family: var(--font-mono); font-size: .66rem; font-weight: bold;
  letter-spacing: .16em; color: #0b0620;
}

.card { padding: 0; overflow: hidden; }
.card__cover {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #0b0620;
  background: #111;
}
.card__body { padding: 14px 16px 18px; }

.figure {
  margin: 20px 0;
  border: 3px solid #0b0620;
  box-shadow: 6px 6px 0 #000;
  background: #000;
}
.figure img { width: 100%; height: auto; display: block; }
.figure figcaption {
  font-family: var(--font-mono); font-size: .72rem; font-weight: bold;
  letter-spacing: .04em; color: var(--sun); background: #0b0620;
  padding: 7px 11px;
}
.figure--right { float: right; width: 46%; margin: 6px 0 12px 18px; }

.band {
  display: flex; gap: 14px; align-items: center;
  margin: 18px 0; padding: 14px 16px;
  border: 3px solid #0b0620; box-shadow: 4px 4px 0 #000;
  color: #111; font-weight: bold;
}
.band p { margin: 0; }
.band--pink { background: #ff9ccb; }
.band--cyan { background: #9beaf6; }
.band--yellow { background: #ffe680; }
.band--lime { background: #c9ff8f; }

.rainbow {
  height: 10px;
  margin: 30px 0 6px;
  border: 2px solid #0b0620;
  background: repeating-linear-gradient(90deg,
    #ff2e88 0 30px, #ffd400 30px 60px, #a6ff3d 60px 90px,
    #22d3ee 90px 120px, #7c2ff7 120px 150px);
}

.section__head h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.section__head h2::before {
  content: "";
  width: 28px; height: 28px; flex: 0 0 auto;
  background: url("img/star.gif") center / contain no-repeat;
}

.sticker { display: inline-block; vertical-align: middle; margin-left: 8px; transform: rotate(-6deg); }

.flame-deco { width: 34px; height: auto; display: inline-block; vertical-align: middle; }
.star-deco { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }

@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text, .hero__text p.lead { text-align: center; }
  .hero__text .cta-row { justify-content: center; }
  .hero__text h1 { margin-inline: auto; }
  .figure--right { float: none; width: 100%; margin: 18px 0; }
}

/* ---------- Vidéos intégrées (YouTube, sans cookies) ---------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 16px 0;
  border: 3px solid #0b0620;
  box-shadow: 6px 6px 0 #000;
  background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__btn {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 100%; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: .85rem; font-weight: bold; letter-spacing: .06em;
  background: #111; color: var(--qc-yellow);
}
.video-embed__btn:hover { background: #000; color: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 16px 0; }
.video-cap { font-family: var(--font-mono); font-size: .72rem; font-weight: bold; color: #660066; margin: 6px 0 14px; }

/* ---------- Télécommande interactive ---------- */
.remote { margin: 18px 0; padding: 14px; background: #1a1a1a; border: 3px solid #000; box-shadow: 6px 6px 0 #000; }
.remote__screen { position: relative; aspect-ratio: 16 / 9; background: #000; border: 4px solid #0b0620; box-shadow: inset 0 0 0 3px #333; }
.remote__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.remote__keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.remote__keys button {
  padding: 10px 8px; font-family: Verdana, sans-serif; font-size: .74rem; font-weight: bold;
  color: #000; background: var(--grey); border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff; cursor: pointer;
}
.remote__keys button:hover { background: #ffff99; }
.remote__keys button:active,
.remote__keys button.is-on { background: var(--sun); border-color: #404040 #ffffff #ffffff #404040; }
.remote__now { font-family: var(--font-mono); font-size: .74rem; color: #33ff66; background: #000; padding: 5px 9px; margin: 10px 0 0; border: 1px solid #333; }
.remote__placeholder {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; text-align: center;
  font-family: var(--font-mono); font-weight: bold; letter-spacing: .1em;
  color: #33ff66; background: radial-gradient(circle at 50% 40%, #001a0a, #000);
  text-shadow: 0 0 8px rgba(51,255,102,.6); padding: 16px;
}
.remote__placeholder span { font-size: .66rem; color: #88ffab; letter-spacing: .04em; font-weight: normal; }
.remote.is-playing .remote__placeholder { display: none; }

/* ---------- Easter egg ---------- */
.secret-star { display: inline-block; margin-top: 12px; background: none; border: 0; cursor: pointer; padding: 0; }
.secret-star img { width: 26px; height: 26px; }
.secret-msg {
  margin-top: 10px; font-family: var(--font-mono); font-size: .8rem;
  color: var(--sun); background: #000; border: 2px dashed var(--sun); padding: 8px 12px;
}

/* ---------- Accordéons (moins de mur de texte) ---------- */
details.more { margin: 16px 0; border: 2px solid #808080; background: #f3eed6; }
details.more > summary { cursor: pointer; padding: 10px 14px; font-family: Verdana, sans-serif; font-weight: bold; font-size: .84rem; color: #000; background: var(--grey); border-bottom: 2px solid #ffffff; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "▸ "; color: #cc0000; }
details.more[open] > summary::before { content: "▾ "; }
details.more > summary:hover { background: #ffff99; }
details.more[open] > summary { border-bottom: 2px solid #404040; }
details.more .more__body { padding: 14px; }
details.more .more__body > :first-child { margin-top: 0; }
details.more .more__body > :last-child { margin-bottom: 0; }

/* ---------- Capsule temporelle ---------- */
.tc-label { display: block; font-family: Verdana, sans-serif; font-weight: bold; font-size: .82rem; margin-bottom: 8px; color: #111; }
.tc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-row input {
  padding: 10px 12px; font-family: var(--font-mono); font-size: 1rem;
  border: 3px inset #808080; background: #fff; color: #111; width: 170px;
}
.tc-out { margin-top: 16px; }
.tc-card {
  padding: 18px; background: #fffbe0;
  border: 3px double #cc0066; box-shadow: 5px 5px 0 #000;
}
.tc-eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #cc0066; margin: 0; }
.tc-year {
  font-family: var(--font-head); font-size: clamp(2.6rem, 10vw, 3.6rem); line-height: 1;
  color: #0000cc; margin: 2px 0 8px; text-shadow: 2px 2px 0 #ffd400;
}
.tc-why { margin: 0 0 12px; color: #222; }
.tc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tc-list li { padding: 10px 12px; background: #fff; border: 2px solid #000; }
.tc-list b { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #cc0000; margin-bottom: 3px; }
.tc-list span { color: #111; }
.tc-share { margin-top: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tc-share p { margin: 0; font-family: var(--font-mono); font-size: .8rem; color: #660066; }
.tc-error { color: #cc0000; font-weight: bold; }
.tc-detail {
  margin: 12px 0 0; padding: 8px 10px;
  background: #fff; border-left: 4px solid var(--accent);
  color: #222; font-size: .9rem;
}

/* ============================================================
   Système couleur piloté par la section (salience / wayfinding)
   Base : Memphis 80s-90s (abstrait, saturé) — mais hiérarchie
   disciplinée : 1 accent par section, 1 accent d'action (jaune).
   ============================================================ */
body { --accent: #ffd400; }
body[data-section="accueil"]   { --accent: #ffd400; }
body[data-section="tele"]      { --accent: #ff2e88; }
body[data-section="jeux"]      { --accent: #7ee01f; }
body[data-section="internet"]  { --accent: #22d3ee; }
body[data-section="mode"]      { --accent: #ff8a3d; }
body[data-section="musique"]   { --accent: #b06bff; }
body[data-section="interactif"]{ --accent: #ffd400; }
body[data-section="zygotchi"]  { --accent: #ff5fa2; }

.site-header { border-bottom: 3px solid var(--accent); }
.page-head h1 { text-shadow: 2px 2px 0 #000, 4px 4px 0 var(--accent); }
.prose h2 { border-left-color: var(--accent); }
.card:hover { box-shadow: 0 0 0 3px var(--accent), 6px 6px 0 #000; }
.chip { border-color: var(--accent); color: #111; }
.timeline li::before { background: var(--accent); }
.ticker { border-color: var(--accent); }
.rainbow { background: linear-gradient(90deg, var(--accent), #ffd400, var(--accent)); }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, .card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Barre de statut persistante (rétention) ---------- */
.statusbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(0, 0, 0, .82);
  border-bottom: 2px solid var(--accent);
  backdrop-filter: blur(4px);
}
.statusbar__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
}
.statusbar__label { color: var(--accent); font-weight: bold; letter-spacing: .16em; }
.statusbar a { color: #ece7fb; text-decoration: none; border-bottom: 1px dotted #6a5a90; }
.statusbar a:hover { color: var(--accent); }
.statusbar .dot { color: #5a4e7a; }
.statusbar__rand {
  margin-left: auto;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: bold;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  border: 2px solid #000;
  cursor: pointer;
}
.statusbar__rand:hover { background: var(--qc-yellow); }
@media (max-width: 560px) {
  .statusbar__inner { font-size: .66rem; gap: 6px; }
  .statusbar__label { letter-spacing: .1em; }
}

/* ---------- Marqueurs québécois ---------- */
.seal { display: block; width: 84px; height: 84px; margin: 16px auto 6px; }
.qc-intro { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); letter-spacing: .06em; }

/* le contenu passe au-dessus de la neige */
.site-header, .ticker, main, .site-footer { position: relative; z-index: 1; }

/* neige qui tombe (Québec, pas l'espace) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 30px 20px, rgba(255,255,255,.85), transparent),
    radial-gradient(2px 2px at 120px 80px, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 190px 40px, rgba(255,255,255,.75), transparent);
  background-size: 220px 160px;
  animation: snowfall 16s linear infinite;
}
@keyframes snowfall {
  from { background-position: 0 0, 0 0, 0 0; }
  to   { background-position: 0 160px, 0 160px, 0 160px; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}

/* ============================================================
   Peau québécoise : circulaire / signalétique / drapeau
   Objectif : sortir de la grammaire « web américain » (vaporwave,
   Windows 95, Comic Sans, badges GeoCities) vers une grammaire d'ici.
   ============================================================ */
:root {
  --qc-blue: #003da5;
  --qc-blue-l: #2f6fb3;
  --qc-red: #d62828;
  --qc-yellow: #ffd400;
  --qc-green: #1f9d3a;
  --qc-orange: #e8590c;
  --qc-cream: #fff8e7;

  /* on éteint les néons vaporwave en les ramenant à des couleurs primaires */
  --hot: #d62828;
  --pink: #d62828;
  --cyan: #2f6fb3;
  --sky: #2f6fb3;
  --purple: #003da5;
  --lime: #1f9d3a;

  /* titres = enseigne / circulaire, pas Comic Sans */
  --font-head: Impact, "Arial Black", "Haettenschweiler", "Franklin Gothic Bold", sans-serif;
}

body[data-section="accueil"]    { --accent: var(--qc-yellow); }
body[data-section="tele"]       { --accent: var(--qc-red); }
body[data-section="jeux"]       { --accent: var(--qc-green); }
body[data-section="internet"]   { --accent: var(--qc-blue-l); }
body[data-section="mode"]       { --accent: var(--qc-orange); }
body[data-section="musique"]    { --accent: #e0a800; }
body[data-section="interactif"] { --accent: #0f8b8d; }
body[data-section="zygotchi"]   { --accent: #d81b60; }

/* ruban fleur-de-lis */
.qc-ribbon {
  position: relative;
  z-index: 1;
  height: 16px;
  background: var(--qc-blue) url("img/fleur.svg") repeat-x center / auto 16px;
  border-bottom: 2px solid #000;
}

.site-header { background: linear-gradient(180deg, rgba(0, 61, 165, .5), transparent); }
.logo { color: #fff; text-shadow: 3px 3px 0 var(--qc-red), 6px 6px 0 #000; }
.logo span { color: var(--qc-yellow); }
.hero h1 { color: #fff; text-shadow: 3px 3px 0 #000, 6px 6px 0 var(--qc-blue); }
.hero h1 em { color: var(--qc-yellow); text-shadow: 3px 3px 0 #000, 6px 6px 0 var(--qc-red); }
.section__head h2 { color: #fff; text-shadow: 2px 2px 0 var(--qc-blue), 4px 4px 0 #000; }
.page-head h1 { color: #fff; text-shadow: 2px 2px 0 #000, 4px 4px 0 var(--accent); }
.kicker { background: var(--qc-red); color: #fff; border: 2px solid #000; }

/* nav = panneaux d'enseigne plats */
.nav a {
  background: var(--qc-cream);
  color: #000;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  text-transform: uppercase;
}
.nav a:hover { background: var(--qc-yellow); color: #000; }
.nav a[aria-current="page"] { background: var(--qc-red); color: #fff; border-color: #000; }

/* boutons = collants de prix / coupons */
.btn {
  background: var(--qc-red);
  color: #fff;
  border: 3px solid #000;
  border-radius: 2px;
  box-shadow: 4px 4px 0 #000;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.btn:hover { background: #b71c1c; color: #fff; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.btn--primary { background: var(--qc-yellow); color: #000; }
.btn--primary:hover { background: #ffe44d; color: #000; }
.btn--ghost { background: var(--qc-cream); color: #000; }

/* fenêtres = coupons de circulaire, plus de chrome Win95 */
.window { background: var(--qc-cream); border: 3px dashed var(--qc-red); box-shadow: 5px 5px 0 #000; }
.window__bar { background: var(--qc-red); color: #fff; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.window__dots { display: none; }

/* badges = étiquettes de prix */
.badge { background: var(--qc-yellow); color: #000; border: 2px solid #000; box-shadow: 2px 2px 0 #000; transform: rotate(-2deg); }
.construction { background: #111; color: var(--qc-yellow); border: 2px dashed var(--qc-yellow); }

/* cartes et puces = papier de circulaire */
.card { background: var(--qc-cream); border: 3px solid #000; box-shadow: 5px 5px 0 #000; }
.card:hover { box-shadow: 0 0 0 3px var(--accent), 5px 5px 0 #000; }
.card h3 { color: var(--qc-blue); }
.card__tag { color: var(--qc-red); }
.chip { background: var(--qc-cream); border: 2px solid var(--accent); color: #000; }
.ticker { border-color: var(--qc-red); }
.ticker__track { color: var(--qc-yellow); }

/* widgets : boutons en signalétique, pas en bevel Windows */
.remote__keys button,
.terminal__keys button,
.sound-grid button,
.chat__opt,
.quiz__opt {
  background: var(--qc-cream);
  color: #000;
  border: 2px solid #000;
  border-radius: 2px;
  box-shadow: 2px 2px 0 #000;
}
.remote__keys button:hover,
.sound-grid button:hover,
.chat__opt:hover,
.quiz__opt:hover { background: var(--qc-yellow); color: #000; }
.remote__keys button.is-on { background: var(--qc-yellow); color: #000; box-shadow: 2px 2px 0 #000; }
details.more > summary { background: var(--qc-cream); color: #000; border-bottom: 2px solid #000; }
details.more > summary:hover { background: var(--qc-yellow); }

/* ---------- Marque : zygotchi.lol ---------- */
.logo { text-transform: none; letter-spacing: 0; }
.logo span { color: var(--qc-yellow); font-size: .74em; }
.brandline {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--qc-yellow);
  margin: 0 0 10px;
}

/* ---------- Vraies images : vidéothèque + polaroids ---------- */
.poster-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.poster {
  display: block; background: #000; border: 2px solid #000; padding: 0; cursor: pointer;
  box-shadow: 3px 3px 0 #000; text-align: left; color: #fff; font-family: var(--font-ui);
  text-decoration: none;
}
.poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.poster span { display: block; font-family: var(--font-mono); font-size: .66rem; font-weight: bold; padding: 5px 7px; background: #111; color: var(--qc-yellow); }
.poster:hover { outline: 3px solid var(--qc-yellow); }
.poster.is-on { outline: 3px solid var(--accent); box-shadow: 3px 3px 0 var(--accent); }

.polaroid-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; margin: 20px 0 6px; }
.polaroid {
  display: block; background: #fff; padding: 10px 10px 0;
  box-shadow: 4px 4px 0 #000; border: 1px solid #ddd;
  color: #111; text-decoration: none; transform: rotate(-2deg);
  transition: transform .15s ease;
}
.polaroid:nth-child(even) { transform: rotate(2deg); }
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border: 1px solid #ccc; background: #ddd; }
.polaroid span { display: block; font-family: var(--font-mono); font-size: .72rem; color: #222; padding: 8px 2px 10px; text-align: center; }

.credits-link { font-family: var(--font-mono); font-size: .74rem; margin: 0 0 10px; }
.credits-link a { color: var(--qc-yellow); }

@media (max-width: 560px) {
  .polaroid-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .poster-wall { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Captures VHS (nostalgie) ---------- */
.vhs { margin: 18px 0; }
.vhs__screen {
  position: relative;
  border: 6px solid #111;
  box-shadow: 5px 5px 0 #000;
  background: #000;
  overflow: hidden;
}
.vhs__screen img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.8) contrast(1.08) sepia(.12) brightness(.95);
}
.vhs__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.22) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.vhs__screen::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: rgba(255,255,255,.10);
  z-index: 1;
  animation: vhs-track 6s linear infinite;
}
@keyframes vhs-track {
  0% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.vhs__osd {
  position: absolute; top: 8px; left: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  color: #fff; text-shadow: 0 0 6px rgba(0, 255, 120, .85);
}
.vhs__ts {
  position: absolute; bottom: 8px; right: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: .72rem; color: #fff; text-shadow: 0 0 4px #000;
}
.vhs figcaption {
  font-family: var(--font-mono); font-size: .72rem; color: var(--qc-yellow);
  background: #111; padding: 7px 10px; border: 2px solid #000; border-top: 0;
}
.card__cover--vhs { filter: saturate(.8) contrast(1.08) sepia(.12); }
.polaroid img { filter: saturate(.85) contrast(1.05) sepia(.1); }
@media (prefers-reduced-motion: reduce) { .vhs__screen::before { animation: none; } }

.vhs--widescreen .vhs__screen { aspect-ratio: 16 / 9; }
.vhs--widescreen .vhs__screen img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.vhs__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 0; }
.remote-panel { margin-top: 6px; }
.pubs-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.filter {
  padding: 8px 12px; font-family: var(--font-ui); font-weight: bold; font-size: .78rem;
  background: var(--qc-cream); color: #000; border: 2px solid #000;
  box-shadow: 2px 2px 0 #000; cursor: pointer; text-transform: uppercase;
}
.filter:hover { background: var(--qc-yellow); }
.filter.is-on { background: var(--qc-red); color: #fff; }
.poster { position: relative; }
.poster--seen::after {
  content: "VU"; position: absolute; top: 6px; right: 6px; z-index: 3;
  padding: 2px 5px; font-family: var(--font-mono); font-size: .6rem; font-weight: bold;
  background: var(--qc-green); color: #fff; border: 1px solid #000;
}

/* ---------- Parcours + carte de fidélité ---------- */
.loyalty {
  background: var(--qc-cream);
  border: 3px dashed var(--qc-red);
  padding: 14px;
  margin: 0 0 18px;
  box-shadow: 4px 4px 0 #000;
}
.loyalty__title { font-family: var(--font-head); font-size: 1.15rem; color: var(--qc-blue); margin: 0 0 10px; }
.loyalty__stamps { display: flex; gap: 12px; flex-wrap: wrap; }
.stamp {
  width: 84px; height: 84px; border: 3px dashed #999; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #999; background: #fff; transform: rotate(-4deg);
  font-family: var(--font-mono); text-align: center;
}
.stamp:nth-child(even) { transform: rotate(4deg); }
.stamp span { font-size: 1.4rem; font-weight: bold; line-height: 1; }
.stamp small { font-size: .56rem; letter-spacing: .06em; margin-top: 2px; }
.stamp--on { border-color: var(--qc-green); color: var(--qc-green); box-shadow: inset 0 0 0 3px rgba(31,157,58,.2); }
.stamp--big { width: 112px; height: 112px; margin: 0 auto 10px; }
.stamp--big span { font-size: 1.8rem; }
.loyalty__note { margin: 10px 0 0; font-family: var(--font-mono); font-size: .74rem; color: #333; }

.parcours-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.parcours-tab {
  padding: 10px 14px; font-family: var(--font-ui); font-weight: bold; font-size: .82rem;
  background: var(--qc-cream); color: #000; border: 2px solid #000;
  box-shadow: 3px 3px 0 #000; cursor: pointer; text-align: left;
}
.parcours-tab:hover { background: var(--qc-yellow); }
.parcours-tab.is-on { background: var(--qc-red); color: #fff; }

.journey { border: 3px solid #000; background: #fff; padding: 16px; box-shadow: 5px 5px 0 #000; }
.journey__head h2 { margin-top: 0; }
.journey__head p { color: #333; }
.journey__meta { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; font-family: var(--font-mono); font-size: .78rem; color: #333; }
.journey__bar { flex: 1; height: 10px; background: #ddd; border: 1px solid #999; }
.journey__bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .3s ease; }
.journey__step-title { margin: 14px 0 6px; font-family: var(--font-head); color: var(--qc-blue); font-size: 1.25rem; }
.journey-label {
  min-height: 180px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: #111; color: var(--qc-yellow); font-family: var(--font-head);
  font-size: clamp(2rem, 12vw, 4rem); letter-spacing: .04em;
  border: 6px solid #111; box-shadow: 5px 5px 0 #000; padding: 20px;
}
.journey__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.journey__nav .btn:disabled { opacity: .4; cursor: not-allowed; }
.journey-done { margin-top: 18px; padding: 16px; border: 3px double var(--qc-green); background: #f0fff0; text-align: center; color: #111; }

/* ---------- Grille du câble (culture dès le premier écran) ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  width: 100%;
  height: 100%;
  background: #000;
}
.channel-grid img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(.88) contrast(1.06) sepia(.08);
}

.channel-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.channel-card {
  display: block;
  width: 100%;
  padding: 0;
  font: inherit;
  cursor: pointer;
  background: #000;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.channel-card.is-on { outline: 3px solid var(--accent); }
.channel-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(.9) contrast(1.05);
}
.channel-card b {
  display: block;
  font-family: var(--font-head);
  font-size: .95rem;
  padding: 7px 8px 0;
  color: var(--qc-yellow);
  line-height: 1.1;
}
.channel-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: .64rem;
  padding: 1px 8px 8px;
  color: #cccccc;
}
.channel-card:hover { outline: 3px solid var(--qc-yellow); }
.channel-card:hover b { color: #fff; }

/* ---------- Barre « le saviez-vous » (instructif) ---------- */
.ticker { display: none; }
.factbar {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 61, 165, .55), rgba(0, 61, 165, .18));
  border-bottom: 2px solid var(--accent);
}
.factbar .wrap {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 7px 14px; font-family: var(--font-mono); font-size: .74rem; color: #e9e7f5;
}
.factbar__label { color: var(--qc-yellow); font-weight: bold; letter-spacing: .14em; }

.hero .tc-label { color: #ffffff; }
.tc-inline { margin-top: 4px; }
.tc-quick { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.tc-quick__label { font-family: var(--font-mono); font-size: .74rem; color: #b3a7d6; }
.tc-quick .tc-year {
  margin: 0; padding: 4px 10px; font-family: var(--font-mono); font-size: .78rem; font-weight: bold; line-height: normal;
  background: #000; color: var(--qc-yellow); border: 2px solid var(--qc-yellow); text-shadow: none; cursor: pointer;
}
.tc-quick .tc-year:hover { background: var(--qc-yellow); color: #000; text-shadow: none; }
.tc-alt { font-family: var(--font-mono); font-size: .78rem; margin: 10px 0 0; }
.tc-alt a { color: var(--qc-yellow); }
.hero-proof { font-family: var(--font-mono); font-size: .76rem; color: var(--qc-yellow); margin: 12px 0 0; }
.tv-link { display: block; text-decoration: none; color: inherit; }
.tc-note { font-family: var(--font-mono); font-size: .72rem; color: #b3a7d6; margin: 8px 0 0; }
.channel-wall--preview { grid-template-columns: repeat(3, 1fr); }
.grille-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 14px 0; }

/* ---------- Micro-expériences par dossier ---------- */
.micro { margin: 22px 0; border-left: 6px solid var(--accent); }
.micro__title { margin: 0 0 6px; font-family: var(--font-head); color: var(--qc-blue); font-size: 1.12rem; }
.micro__intro { margin: 0 0 10px; color: #333; }
.micro__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.micro-btn {
  padding: 9px 14px; font-family: var(--font-ui); font-weight: bold; font-size: .82rem;
  background: var(--qc-cream); color: #000; border: 2px solid #000;
  box-shadow: 2px 2px 0 #000; cursor: pointer;
}
.micro-btn:hover { background: var(--qc-yellow); }
.micro-btn.is-on { background: var(--qc-red); color: #fff; }
.micro-out {
  margin: 12px 0 0; padding: 10px 12px; min-height: 2.6em;
  background: #111; color: var(--qc-yellow);
  font-family: var(--font-mono); font-size: .82rem; line-height: 1.5; border: 2px solid #000;
}
.cartridge {
  width: 124px; height: 76px; margin: 10px 0 14px;
  background: linear-gradient(#ded8c7, #b8b19e);
  border: 3px solid #000; border-radius: 6px;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.15);
  position: relative; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); color: #333;
}
.cartridge::after {
  content: ""; position: absolute; bottom: 8px; left: 16px; right: 16px; height: 10px;
  background: repeating-linear-gradient(90deg, #8a8270 0 4px, #c9c3b1 4px 8px);
  border: 1px solid #555;
}
.cartridge span { transform: translateY(-9px); }
.cartridge.is-blow { animation: blow .4s ease; }
@keyframes blow {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px) rotate(-1deg); }
  50% { transform: translateX(3px) rotate(1deg); }
  100% { transform: translateX(0); }
}

/* ---------- Napster (La nuit) ---------- */
.napster { margin: 22px 0; border: 3px solid #000; box-shadow: 6px 6px 0 #000; background: #1a1a1a; }
.napster__bar {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 8px 12px; background: #000080; color: #fff;
  font-family: var(--font-mono); font-size: .76rem; font-weight: bold;
}
.napster__logo { letter-spacing: .06em; }
.napster__users { color: var(--qc-yellow); }
.napster__body { padding: 14px; background: #e9e7f5; color: #111; }
.napster__hint { margin: 0 0 10px; font-size: .84rem; color: #333; }
.napster__search { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.napster__song {
  padding: 6px 10px; font-family: Verdana, sans-serif; font-size: .74rem;
  background: #fff; color: #111; border: 2px solid #000; cursor: pointer;
}
.napster__song:hover { background: var(--qc-yellow); }
.napster__song:disabled { opacity: .5; cursor: not-allowed; }
.napster__queue { min-height: 56px; padding: 10px; background: #000; color: #33ff66; font-family: var(--font-mono); font-size: .8rem; border: 2px solid #000; }
.napster__idle { margin: 0; color: #88ffab; }
.napster__bar2 { height: 14px; margin: 10px 0 6px; background: #001a0a; border: 2px solid #000; }
.napster__fill { height: 100%; width: 0; background: repeating-linear-gradient(90deg, #1f9d3a 0 10px, #39c45a 10px 20px); transition: width .1s linear; }
.napster__status { margin: 0; font-family: var(--font-mono); font-size: .78rem; color: #333; }

/* ---------- Cadran radio ---------- */
.radio { margin: 22px 0; padding: 16px; background: linear-gradient(#3a3a3a, #1a1a1a); border: 3px solid #000; box-shadow: 5px 5px 0 #000; border-radius: 10px; }
.radio__brand { margin: 0 0 10px; font-family: var(--font-head); letter-spacing: .14em; color: var(--qc-yellow); }
.radio__display { padding: 12px 14px; background: #0a1a0a; border: 2px solid #000; color: #33ff66; font-family: var(--font-mono); }
.radio__freq { font-size: 2rem; font-weight: bold; }
.radio__unit { margin-left: 4px; font-size: .8rem; }
.radio__now { margin: 4px 0 0; font-size: .8rem; color: #aaffbb; min-height: 2.4em; }
.radio__presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.radio__preset {
  padding: 8px 10px; font-family: Verdana, sans-serif; font-size: .74rem; font-weight: bold;
  background: var(--qc-cream); color: #000; border: 2px solid #000; box-shadow: 2px 2px 0 #000; cursor: pointer;
}
.radio__preset:hover { background: var(--qc-yellow); }
.radio__preset.is-on { background: var(--qc-red); color: #fff; }

/* ---------- Créateur de cassette ---------- */
.mixtape { margin: 22px 0; padding: 16px; background: var(--qc-cream); border: 3px solid #000; box-shadow: 5px 5px 0 #000; }
.mixtape input {
  width: 100%; max-width: 320px; padding: 9px 11px; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: .9rem; border: 3px inset #808080; background: #fff; color: #111;
}
.mixtape__songs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; margin: 8px 0; }
.mixtape__song {
  text-align: left; padding: 8px 10px; font-family: Verdana, sans-serif; font-size: .76rem;
  background: #fff; color: #111; border: 2px solid #000; cursor: pointer;
}
.mixtape__song:hover { background: var(--qc-yellow); }
.mixtape__song.is-on { background: var(--qc-red); color: #fff; }
.mixtape__count { font-family: var(--font-mono); font-size: .76rem; color: #333; margin: 6px 0 10px; }

/* ---------- La journée (fil conducteur) ---------- */
.chapter {
  display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap;
  margin: 0 0 16px; padding: 14px 16px;
  background: linear-gradient(180deg, rgba(0,61,165,.35), rgba(0,61,165,.14));
  border: 3px solid #000; box-shadow: 5px 5px 0 #000; color: #fff;
}
.chapter__time {
  font-family: var(--font-mono); font-weight: bold; font-size: .8rem; letter-spacing: .08em;
  color: var(--qc-yellow); background: #000; padding: 4px 8px; border: 2px solid #000; white-space: nowrap;
}
.chapter__body b { display: block; font-family: var(--font-head); font-size: 1.2rem; }
.chapter__body p { margin: 2px 0 0; color: #e6e6ff; }
.chapter__link { margin-left: auto; align-self: center; font-family: var(--font-mono); font-size: .78rem; }
.chapter-nav {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: 28px 0 0; padding-top: 16px; border-top: 3px double #555;
}
.chapter-nav a { font-family: var(--font-mono); font-size: .8rem; }

.route { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.route__item {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px;
  background: var(--qc-cream); border: 3px solid #000; box-shadow: 4px 4px 0 #000;
}
.route__time { font-family: var(--font-head); font-size: 1.6rem; color: #cc0000; line-height: 1; min-width: 72px; }
.route__body b { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--qc-blue); }
.route__body p { margin: 2px 0 4px; color: #333; }
.route__link { font-family: var(--font-mono); font-size: .78rem; }

/* ---------- Soirée en 1995 (ligne du temps) ---------- */
.soiree { list-style: none; margin: 18px 0; padding: 0 0 0 18px; border-left: 4px solid var(--qc-red); }
.soiree__item { position: relative; padding: 0 0 18px 16px; }
.soiree__item::before {
  content: ""; position: absolute; left: -29px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--qc-yellow); border: 2px solid #000;
}
.soiree__time { font-family: var(--font-mono); font-weight: bold; font-size: .8rem; letter-spacing: .08em; color: #cc0000; }
.soiree__body b { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--qc-blue); margin: 2px 0 4px; }
.soiree__body p { margin: 0 0 8px; color: #333; }
.soiree__play { font-size: .78rem; }
.soiree__note { font-family: var(--font-mono); font-size: .72rem; color: #666; }

/* ---------- Prochaine étape (guidage personnalisé) ---------- */
.nextstep {
  margin: 12px 0 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(0,61,165,.35), rgba(0,61,165,.14));
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  color: #fff;
}
.nextstep__label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: var(--qc-yellow); }
.nextstep__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.nextstep h2 { margin: 0 0 4px; font-family: var(--font-head); font-size: 1.3rem; color: #fff; }
.nextstep p { margin: 0; color: #e6e6ff; max-width: 52ch; }

/* ---------- Défi du sous-sol ---------- */
.defi {
  padding: 18px;
  background: var(--paper-2);
  color: #111;
  border: 3px ridge #9a9a9a;
  border-left: 6px solid var(--accent);
  margin: 18px 0;
}
.quiz__title { font-family: var(--font-head); color: var(--qc-blue); margin: 0 0 8px; }
.defi__intro { margin: 0 0 14px; color: #333; }
.defi__why {
  margin: 8px 0 0; padding: 8px 10px;
  font-size: .86rem; color: #222;
  background: #fffbe0; border-left: 4px solid var(--qc-green);
}
.defi__why:empty { display: none; }
.defi__result { margin-top: 14px; }
.defi__share { font-family: var(--font-mono); font-size: .8rem; color: #660066; }
.defi__src { font-family: var(--font-mono); font-size: .72rem; color: #666; }
.defi__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.defi__next { font-family: var(--font-mono); font-size: .78rem; color: #666; margin: 8px 0 0; }
.tc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* finition du pied de page : moins de kitsch */
.badge-row { display: none; }
.construction .blink { animation: none; }
@media (prefers-reduced-motion: reduce) { .cartridge.is-blow { animation: none; } }
@media (max-width: 640px) {
  .channel-wall--preview { grid-template-columns: repeat(2, 1fr); }
}
/* ---------- Le Placoteux (widget flottant) ---------- */
.placoteux { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 95; font-family: var(--font-mono); }
.placoteux__panel { width: min(320px, calc(100vw - 28px)); margin-bottom: 8px; background: var(--qc-cream); color: #111; border: 3px solid #000; box-shadow: 5px 5px 0 #000; }
.placoteux__bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; background: #000; color: var(--qc-yellow); font-size: .72rem; font-weight: bold; letter-spacing: .08em; }
.placoteux__close { background: none; border: 0; color: var(--qc-yellow); font-family: inherit; font-size: 1rem; cursor: pointer; padding: 0 2px; }
.placoteux__body { padding: 12px; }
.placoteux__face { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--font-head); }
.placoteux__radio { position: relative; width: 54px; height: 38px; background: #d9d2c0; border: 2px solid #000; border-radius: 4px; flex: 0 0 auto; }
.placoteux__radio::before { content: ""; position: absolute; left: 6px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #111; box-shadow: inset 0 0 0 3px #d9d2c0; }
.placoteux__radio::after { content: ""; position: absolute; right: 6px; top: 8px; width: 18px; height: 18px; background: repeating-linear-gradient(#6b6455 0 2px, #d9d2c0 2px 4px); border: 1px solid #000; }
.placoteux__antenna { position: absolute; left: 12px; top: -14px; width: 2px; height: 14px; background: #111; transform: rotate(18deg); transform-origin: bottom; }
.placoteux__bubble { margin: 0; padding: 10px 12px; background: #fff; border: 2px solid #000; font-family: var(--font-ui); font-size: .9rem; line-height: 1.45; color: #111; }
.placoteux__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.placoteux__actions .btn { font-size: .76rem; padding: 8px 10px; }
.placoteux__toggle { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; background: #111; color: var(--qc-yellow); border: 3px solid #000; box-shadow: 4px 4px 0 #000; font-family: var(--font-head); font-size: .9rem; letter-spacing: .04em; }
.placoteux__toggle:hover { background: #000; color: #fff; }
.placoteux__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--qc-green); }
.placoteux[data-open="false"] .placoteux__panel { display: none; }

/* ---------- Comptoir (widgets en direct) + ZAP ---------- */
.comptoir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.comptoir__item { min-width: 0; }
.comptoir__item--wide { grid-column: 1 / -1; }
.comptoir .widget, .comptoir .radio, .comptoir .mixtape, .comptoir .defi { margin: 0; }
.comptoir__item > .micro__title { margin-top: 0; }
.zap { display: flex; flex-direction: column; gap: 12px; }
.zap .remote { margin: 0; }
.zap__controls { display: flex; gap: 10px; flex-wrap: wrap; }
.remote__placeholder.is-hidden { display: none; }
@media (max-width: 720px) {
  .comptoir { grid-template-columns: 1fr; }
  .comptoir__item--wide { grid-column: auto; }
}

/* ---------- Dock / bureau (toujours là) ---------- */
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.placoteux { bottom: calc(70px + env(safe-area-inset-bottom)); }
body.dock-panel-open .placoteux { display: none; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: flex; align-items: center; gap: 4px;
  padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
  background: #c0c0c0; border-top: 3px solid #fff; box-shadow: 0 -2px 0 #404040;
  overflow-x: auto; font-family: var(--font-ui);
}
.dock__label {
  font-family: var(--font-head); font-size: .8rem; color: #000;
  padding: 0 8px; border-right: 2px solid #808080; margin-right: 4px; white-space: nowrap;
}
.dock__btn {
  padding: 6px 10px; font-family: var(--font-ui); font-size: .74rem; font-weight: bold;
  color: #000; background: var(--grey); border: 2px solid;
  border-color: #fff #404040 #404040 #fff; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.dock__btn:hover { background: #ffff99; }
.dock__btn.is-on { background: #ffffcc; border-color: #404040 #fff #fff #404040; }
.dock__panel {
  position: fixed; right: 8px; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 86;
  width: min(380px, calc(100vw - 16px)); background: var(--qc-cream); color: #111;
  border: 3px solid #000; box-shadow: 5px 5px 0 #000;
}
.dock__panel[hidden] { display: none; }
.dock__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 6px 10px; background: #000080; color: #fff;
  font-family: var(--font-mono); font-size: .72rem; font-weight: bold; letter-spacing: .04em;
}
.dock__close { background: none; border: 0; color: #fff; font-size: 1rem; cursor: pointer; }
.dock__body { padding: 12px; max-height: 60vh; overflow: auto; }
.dock__meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #cc0066; margin: 0 0 6px; }
.dock__body h4 { margin: 0 0 6px; font-family: var(--font-head); color: var(--qc-blue); }
.dock__body p { margin: 0 0 8px; }
.dock__opts { display: grid; gap: 6px; }
.dock__opt {
  text-align: left; padding: 8px 10px; font-family: Verdana, sans-serif; font-size: .78rem;
  background: #fff; color: #111; border: 2px solid #000; cursor: pointer;
}
.dock__opt:hover { background: var(--qc-yellow); }
.dock__opt.correct { background: #b6f5b6; border-color: #008000; }
.dock__opt.wrong { background: #ffb6b6; border-color: #cc0000; }
.dock__why { margin: 8px 0 0; padding: 8px 10px; background: #fffbe0; border-left: 4px solid var(--qc-green); font-size: .82rem; }
.dock__why:empty { display: none; }
.dock__links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.dock__stations { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.dock__radio-display { padding: 10px; background: #0a1a0a; color: #33ff66; font-family: var(--font-mono); }
.dock__radio-display .freq { font-size: 1.4rem; font-weight: bold; }
.dock__radio-display p { margin: 4px 0 0; color: #aaffbb; font-size: .76rem; }
.dock__zap-screen { position: relative; aspect-ratio: 16 / 9; background: #000; border: 2px solid #000; overflow: hidden; }
.dock__zap-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dock__zap-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--qc-yellow); font-family: var(--font-mono); font-size: .8rem; }
.dock__zap-ph.is-hidden { display: none; }
@media (max-width: 560px) { .dock__label { display: none; } .dock__panel { right: 8px; left: 8px; width: auto; } }

/* ---------- Boutique Amazon ---------- */
.affiliate-note { font-family: var(--font-mono); font-size: .72rem; color: #aaaaaa; margin: 0 0 10px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.shop-card { padding: 14px 16px; background: var(--paper-2); border: 3px ridge #9a9a9a; }
.shop-card b { display: block; font-family: var(--font-head); color: var(--qc-blue); }
.shop-card p { margin: 4px 0 10px; color: #333; font-size: .88rem; }
.shop-card .btn { font-size: .76rem; padding: 8px 10px; }
.shop-note { font-family: var(--font-mono); font-size: .72rem; color: #444; }
body[data-section="boutique"] { --accent: var(--qc-orange); }

/* Images d'article : format vignette, plus de bannière géante sur desktop */
.vhs { max-width: 360px; margin-left: auto; margin-right: auto; }
.figure { max-width: 360px; margin-left: auto; margin-right: auto; }
.vhs--widescreen { max-width: 720px; }

/* Télécommande / lecteurs : plafonnés pour ne pas être géants sur desktop */
.remote { max-width: 560px; margin-left: auto; margin-right: auto; }
.zap .remote { margin: 0 auto; }

/* Pictogrammes SVG de la boutique (auto-hébergés, aucune marque) */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shop-card__art {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 0 10px;
  padding: 4px;
  color: var(--qc-blue);
  background: var(--paper);
  border: 2px solid #b9b09a;
  border-radius: 4px;
  box-shadow: 2px 2px 0 #d8cfb8;
}

.catalog { margin: 18px 0 0; border: 3px solid #000; background: var(--qc-cream); box-shadow: 5px 5px 0 #000; }
.catalog__head { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 14px 16px; border-bottom: 3px dashed var(--qc-orange); }
.catalog .catalog__kicker { margin: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--qc-red); }
.catalog h2 { margin: 4px 0 6px; padding-left: 0; border-left: 0; color: var(--qc-blue); font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; }
.catalog .catalog__lead { margin: 0; color: #333; font-size: .9rem; }
.catalog__stamp { flex: 0 0 auto; min-width: 76px; padding: 8px; text-align: center; background: var(--qc-yellow); border: 3px solid #000; box-shadow: 3px 3px 0 #000; transform: rotate(2deg); }
.catalog__stamp span { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: #000; }
.catalog__stamp small { font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; color: #000; }
.catalog__tools { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding: 12px 16px; background: #fff; border-bottom: 3px dashed var(--qc-orange); }
.catalog__search { flex: 1 1 100%; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #333; }
#shop-search { flex: 1 1 220px; min-width: 0; padding: 9px 10px; font-family: Verdana, sans-serif; font-size: .9rem; border: 3px solid #000; background: var(--qc-cream); color: #111; box-shadow: inset 2px 2px 0 #b9b09a; }
.catalog__tools .btn { flex: 0 0 auto; }
.catalog .catalog__empty { margin: 0; padding: 14px 16px; font-family: var(--font-mono); font-size: .8rem; color: var(--qc-red); }
.catalog__tools[hidden], .catalog__empty[hidden], .shop-card[hidden], .shop-grid[hidden], .prose h2[hidden], .shop-add[hidden], .shop-list[hidden], .shop-list__empty[hidden] { display: none; }
.shop-card { display: flex; flex-direction: column; }
.shop-card__actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.shop-card__actions .btn { width: 100%; text-align: center; }
.shop-add[aria-pressed="true"] { background: var(--qc-yellow); color: #000; }
.shop-list { margin: 18px 0 0; border: 3px solid #000; background: var(--qc-cream); box-shadow: 5px 5px 0 #000; }
.shop-list__head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--qc-blue); color: #fff; }
.shop-list__head h3 { margin: 0; font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; color: #fff; }
.shop-list__head h3 span { display: inline-block; min-width: 1.6em; padding: 0 4px; text-align: center; background: var(--qc-yellow); color: #000; border: 2px solid #000; }
.shop-list__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-list__actions .btn { font-size: .68rem; padding: 7px 9px; }
.shop-list .shop-note { margin: 10px 14px; }
.shop-list__items { list-style: none; margin: 0; padding: 0 14px; }
.shop-list__items li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 2px dotted #b9b09a; }
.shop-list__icon { width: 32px; height: 32px; margin: 0; padding: 2px; color: var(--qc-blue); background: var(--paper); border: 2px solid #b9b09a; box-shadow: none; }
.shop-list__items .shop-list__title { display: block; font-family: var(--font-head); color: var(--qc-blue); }
.shop-list__buy { display: block; font-size: .78rem; }
.shop-list__remove { padding: 2px; font-family: var(--font-mono); font-size: .68rem; background: none; border: 0; color: var(--qc-red); text-decoration: underline; cursor: pointer; }
.shop-list .shop-list__empty { margin: 0; padding: 0 14px 14px; font-family: var(--font-mono); font-size: .8rem; color: #555; }
@media (max-width: 560px) {
  .catalog__head { flex-direction: column; }
  .catalog__stamp { align-self: flex-start; }
  .catalog__tools .btn { width: 100%; }
  .shop-list__items li { grid-template-columns: 30px 1fr; }
  .shop-list__remove { grid-column: 2; justify-self: start; }
}

.store-top { margin: 0 0 12px; padding: 8px 12px; background: var(--qc-cream); color: #000; border: 2px solid #000; box-shadow: 3px 3px 0 #000; font-family: var(--font-mono); font-size: .78rem; text-align: center; }
.page-head .store-top { color: #000; }
.store-top strong { color: var(--qc-blue); }
.store-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin: 12px 0 0; padding: 10px; background: var(--qc-cream); border: 3px solid #000; box-shadow: 5px 5px 0 #000; }
.store-tools[hidden] { display: none; }
.store-search { flex: 1 1 100%; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #333; }
.store-tools .btn { flex: 0 0 auto; }
.store-nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 0; }
.store-nav a { padding: 6px 10px; background: var(--qc-cream); color: #000; border: 2px solid #000; box-shadow: 2px 2px 0 #000; font-family: var(--font-head); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.store-nav a:visited { color: #000; }
.store-nav a:hover { background: var(--qc-yellow); color: #000; }
@media (max-width: 560px) {
  .store-tools .btn { width: 100%; }
  .store-nav a { padding: 5px 8px; font-size: .68rem; }
}

.shop-card .shop-card__meta { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 0 0 4px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: #555; }
.shop-card__badge { padding: 1px 5px; background: var(--qc-yellow); color: #000; border: 2px solid #000; font-weight: bold; }
.shop-card .shop-card__desc { margin: 4px 0 10px; color: #333; font-size: .88rem; }
.shop-suggest, .shop-kits { margin: 18px 0 0; border: 3px solid #000; background: var(--qc-cream); box-shadow: 5px 5px 0 #000; }
.shop-suggest[hidden], .shop-kits[hidden] { display: none; }
.shop-suggest__head, .shop-kits__head { padding: 10px 14px; background: var(--qc-blue); color: #fff; }
.shop-suggest__head h2, .shop-kits__head h2 { margin: 0; padding: 0; border: 0; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.1; text-transform: uppercase; color: #fff; }
.shop-suggest__head p, .shop-kits__head p { margin: 3px 0 0; font-family: var(--font-mono); font-size: .7rem; color: #dbe7ff; }
.shop-suggest__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 12px 14px; }
.shop-suggest__card { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: #fff; border: 2px solid #000; }
.shop-suggest__card .shop-card__art { width: 38px; height: 38px; margin: 0; }
.shop-suggest__card strong { font-family: var(--font-head); color: var(--qc-blue); }
.shop-suggest__card .shop-suggest__why { margin: 0; font-family: var(--font-mono); font-size: .68rem; color: #555; }
.shop-suggest__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.shop-suggest__actions .btn { font-size: .64rem; padding: 7px 8px; }
.shop-kits__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 12px 14px; }
.shop-kit { padding: 10px; background: #fff; border: 2px solid #000; }
.shop-kit h3 { margin: 0 0 4px; font-family: var(--font-head); color: var(--qc-blue); }
.shop-kit p { margin: 0 0 8px; font-size: .84rem; color: #333; }
.shop-kit .btn { font-size: .64rem; padding: 7px 8px; }
@media (max-width: 560px) {
  .shop-suggest__grid, .shop-kits__grid { grid-template-columns: 1fr; }
}

.disclosure { margin: 0 0 18px; padding: 10px 14px; background: var(--qc-cream); border-left: 4px solid var(--qc-orange); box-shadow: 3px 3px 0 rgba(0, 0, 0, .22); font-family: var(--font-mono); font-size: .72rem; color: #333; }
.disclosure p { margin: 0; }
.disclosure strong { color: var(--qc-blue); }
.disclosure__more { margin-top: 6px; }
.disclosure__more summary { cursor: pointer; color: var(--qc-blue); font-weight: bold; }
.disclosure__more p { margin: 6px 0 0; color: #555; }

.answer { margin: 14px 0 0; padding: 10px 14px; background: var(--qc-cream); color: #111; border-left: 4px solid var(--accent); box-shadow: 3px 3px 0 #000; font-size: .95rem; }
.page-head .answer { color: #111; }
.answer strong { color: var(--qc-blue); }
.faq { margin: 6px 0 0; }
.faq__item { margin: 0 0 10px; padding: 10px 12px; background: #fff; border: 2px solid #000; }
.faq__item h3 { margin: 0 0 4px; font-family: var(--font-head); font-size: 1rem; color: var(--qc-blue); }
.faq__item p { margin: 0; color: #222; }
.sources { margin: 10px 0 0; padding-left: 20px; font-family: var(--font-mono); font-size: .74rem; color: #222; }
.sources li { margin-bottom: 4px; }
.sources-note { margin: 4px 0 0; font-family: var(--font-mono); font-size: .68rem; color: #444; }
.affiliate-box { margin: 18px 0 0; padding: 12px 14px; background: var(--qc-cream); color: #222; border: 3px solid #000; box-shadow: 5px 5px 0 #000; }
.affiliate-box h2 { margin: 0 0 6px; padding: 0; border: 0; font-family: var(--font-head); font-size: 1.1rem; text-transform: uppercase; color: var(--qc-blue); }
.affiliate-box p { margin: 0 0 8px; }
.affiliate-box ul { margin: 0; padding-left: 20px; }
.affiliate-box li { margin: 0 0 6px; }
.affiliate-box .note { margin: 8px 0 0; font-family: var(--font-mono); font-size: .7rem; color: #444; }
.prose .see-also { margin: 12px 0 0; padding: 10px 14px; background: var(--qc-cream); color: #222; border-left: 4px solid var(--accent); font-family: var(--font-mono); font-size: .78rem; }
.prose .see-also a { color: var(--link); }

/* Photos génériques des cartes (auto-hébergées, sans marque) */
.shop-card { position: relative; overflow: hidden; }
.shop-card__photo { display: block; width: calc(100% + 32px); height: 96px; margin: -14px -16px 10px; object-fit: cover; background: #f3eed6; filter: saturate(.92) contrast(1.04); }
.shop-card .shop-card__art { position: absolute; top: 8px; left: 8px; width: 34px; height: 34px; margin: 0; padding: 3px; z-index: 2; }

/* Liens eBay (recherche, sans affiliation) */
.shop-card__ebay { margin-top: 2px; font-family: var(--font-mono); font-size: .68rem; color: #444; text-align: center; text-decoration: underline; }
.shop-card__ebay:hover { color: var(--qc-blue); }
.affiliate-box .ebay-link { margin-left: 6px; font-family: var(--font-mono); font-size: .7rem; white-space: nowrap; }

/* Intro éditoriale de Catalogue 95 */
.catalog-intro { margin: 18px 0 0; padding: 16px 18px; background: var(--qc-cream); color: #222; border: 3px solid #000; box-shadow: 5px 5px 0 #000; }
.catalog-intro h2 { margin: 0 0 8px; padding: 0; border: 0; font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; color: var(--qc-blue); }
.catalog-intro p { margin: 0 0 12px; font-size: .92rem; color: #222; }
.catalog-intro__links { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-intro__links a { padding: 6px 9px; background: var(--qc-yellow); color: #000; border: 2px solid #000; box-shadow: 2px 2px 0 #000; font-family: var(--font-mono); font-size: .72rem; text-decoration: none; }
.catalog-intro__links a:hover { background: #ffe44d; }

/* Intégration Gaga au brand zygotchi.lol */
.logo__gaga { display: inline-block; width: 44px; height: 44px; margin-right: 8px; vertical-align: middle; }
.hero__media { position: relative; }
.hero__gaga { position: absolute; right: -4px; bottom: -16px; width: clamp(110px, 16vw, 170px); height: auto; z-index: 3; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, .35)); }
.gaga-footer { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--font-mono); font-size: .72rem; color: #d8f7f2; }
.gaga-footer img { width: 34px; height: 34px; flex: 0 0 auto; }
.empty__gaga { display: inline-block; width: 32px; height: 32px; margin-right: 6px; vertical-align: middle; }
@media (max-width: 560px) {
  .logo__gaga { width: 34px; height: 34px; }
  .hero__gaga { width: 110px; }
  .gaga-footer { font-size: .68rem; }
}
