/* Compléments des nouvelles pages ; la feuille historique style.css reste inchangée. */
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 12px 18px; color: #fff; background: var(--noir); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--rouge-vif); outline-offset: 4px; }
.ip { text-decoration: none; }
.jeu { position: relative; }
.jeu-link { text-decoration: none; }
.jeu-link::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.jeu:focus-within { outline: 3px solid var(--rouge); outline-offset: 4px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; font-size: .85rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.page-hero .hero-in { max-width: 940px; padding: 76px 16px 48px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 12px 0 18px; overflow-wrap: anywhere; }
.page-hero .lead { max-width: 650px; margin-bottom: 0; }
.breadcrumbs { color: var(--muted); font-size: .85rem; margin: 0 0 24px; }
.breadcrumbs a, .text-link { color: var(--rouge); font-weight: 700; text-underline-offset: 4px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: #fff; border-radius: 12px; padding: 28px; border-bottom: 4px solid var(--rouge); box-shadow: 0 10px 24px rgba(68,54,54,.08); }
.panel h2, .panel h3 { color: var(--brun); text-transform: uppercase; margin: 0 0 12px; }
.panel h2:not(:first-child) { margin-top: 32px; }
.panel p { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.editorial-note { margin-top: 24px; }
.game-controls { display: flex; align-items: end; gap: 18px; margin: 24px 0; }
.game-controls label { flex: 1; font-weight: 700; color: var(--brun); }
.game-controls label:last-child { flex: 0 1 240px; }
.game-controls input, .game-controls select { display: block; margin-top: 8px; width: 100%; border: 1px solid #d6cdcd; border-radius: 8px; padding: 12px; font: inherit; color: var(--texte); background: #fff; min-height: 48px; }
.empty-state { text-align: center; padding: 40px 20px; border: 1px dashed #d6cdcd; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 36px; align-items: start; }
.red-list { padding-left: 24px; }
.red-list li { margin: 10px 0; }
.red-list li::marker { color: var(--rouge); }
.editorial { max-width: 820px; margin: auto; }
.article-cover { display: block; width: 100%; height: auto; border-radius: 12px 12px 0 0; }
.editorial .panel { border-top-left-radius: 0; border-top-right-radius: 0; }
.steps { list-style: none; counter-reset: steps; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.steps li { counter-increment: steps; }
.steps h3::before { content: '0' counter(steps) ' / '; color: var(--rouge); }
.btn:disabled { opacity: .65; cursor: default; box-shadow: none; transform: none; }
.faq details { background: #fff; border-bottom: 1px solid #d6cdcd; padding: 20px 24px; }
.faq summary { font-weight: 700; color: var(--brun); cursor: pointer; }
.faq details p { margin: 16px 0 0; }
.notice { padding: 16px; background: var(--creme); border-left: 4px solid var(--rouge); }
@media (max-width: 800px) {
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .game-controls { display: block; }
  .game-controls label { display: block; margin-bottom: 16px; }
  .panel { padding: 22px; }
  .breadcrumbs { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* L’inspiration Discord passe par la composition, jamais par une planche intégrée. */
.eyebrow { color: var(--space-accent, var(--rouge)); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin: 0 0 14px; }
.eyebrow::before { content: ''; display: block; width: 36px; height: 3px; background: currentColor; margin-bottom: 12px; }
.space-accent { border-bottom-color: var(--space-accent); }
.space-accent .jeu-cat, .space-accent .eyebrow { color: var(--space-accent); }
.space-accent .jeu-cat::before { content: ''; display: block; width: 30px; height: 3px; margin-bottom: 12px; background: currentColor; }
.memory-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.memory-photo { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; }
.memory-layout h3 { color: var(--brun); font-size: 1.45rem; line-height: 1.3; margin: 0 0 14px; }
.project-identity { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; margin-top: 40px; padding: 32px 0; border-top: 1px solid #d6cdcd; border-bottom: 1px solid #d6cdcd; }
.project-identity h2 { color: var(--brun); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; line-height: 1.15; margin: 0; }
.project-identity > p { color: var(--muted); margin: 0; }
.project-spaces .panel { border-bottom-color: #c4775d; }
.catalog-heading { text-align: center; margin: 20px 0 28px; }
.catalog-heading .eyebrow::before { margin-left: auto; margin-right: auto; }
.catalog-heading h2 { color: var(--brun); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin: 0 0 8px; }
.catalog-heading > p:last-child { margin: 0; color: var(--muted); }
.page-hero--game .hero-in { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; padding: 54px 32px 40px; align-items: center; text-align: left; }
.page-hero--game .hero-copy { max-width: 640px; }
.page-hero--game .kicker { font-size: .75rem; letter-spacing: .14em; }
.page-hero--game h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); margin-top: 16px; }
.page-hero--game h1::after { content: ''; display: block; width: 64px; height: 4px; background: var(--game-accent, var(--rouge)); margin-top: 20px; }
.page-hero--game .lead { margin-left: 0; font-size: 1.05rem; }
.hero-game-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-game-art img { width: 218px; height: 280px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.hero-game-art::before { content: ''; position: absolute; width: 130px; height: 95px; right: 0; top: 16px; background-image: linear-gradient(to right, var(--game-accent) 4px, transparent 4px); background-size: 18px 18px; mask-image: linear-gradient(to bottom, #000 4px, transparent 4px); mask-size: 18px 18px; mask-repeat: repeat; opacity: .18; z-index: -1; }
.hero-meta { display: flex; gap: 16px; margin-top: 22px; color: #ded1d2; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-meta span + span { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.3); }
.game-notes { padding: 24px 0; border-top: 2px solid var(--space-accent, var(--rouge)); }
.game-notes .eyebrow { color: var(--space-accent); }
.game-notes h2 { color: var(--brun); font-size: 1.25rem; line-height: 1.3; margin: 0 0 20px; }
.game-notes p { font-size: .9rem; color: var(--muted); }
.game-notes dl { margin: 0 0 24px; }
.game-notes dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #d6cdcd; font-size: .85rem; }
.game-notes dt { color: var(--muted); }
.game-notes dd { margin: 0; font-weight: 700; }
@media (max-width: 800px) {
  .page-hero--game .hero-in { grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; padding: 60px 24px 36px; }
  .hero-game-art img { width: 160px; height: 206px; }
  .memory-layout { gap: 24px; }
}
@media (max-width: 520px) {
  .page-hero--game .hero-in { grid-template-columns: 1fr; gap: 24px; text-align: center; padding: 54px 20px 30px; }
  .page-hero--game h1::after { margin-left: auto; margin-right: auto; }
  .page-hero--game .lead { margin-left: auto; }
  .hero-meta { justify-content: center; }
  .hero-game-art img { width: 150px; height: 193px; }
  .hero-game-art::before { right: calc(50% - 100px); }
  .memory-layout, .project-identity { grid-template-columns: 1fr; gap: 22px; }
  .memory-photo { height: 220px; }
}

.catalog-group { margin: 32px 0 48px; }
.catalog-group--upcoming { padding-top: 36px; border-top: 2px solid #ded4d0; }
.catalog-group--upcoming .jeu { border-top-color: #9c8b86; }
