/* Wiki public d'OmniFall. Refonte du 13/11 (gabarit de documentation a 3 colonnes), puis habillage du 15/11 sur la nouvelle DA
   « Ultra HD » peinte du jeu : hangar acier sombre + laiton, l'oeil rouge d'OMNI comme seul point chaud (pas de neon criard).
   Images : splash_w / splash_v (accueil), bannieres de l'Histoire story_aN (en-tetes de page), objets story_aNlM (rubriques),
   coques hull_<vaisseau> (fiches vaisseaux). Genere avec tools/wiki-site.js ; recherche : wiki.js + recherche.json. */
:root {
  --bg: #0e0d0b; --panel: #191714; --raise: #221f1a; --rule: #302c26; --rule2: #463f35;
  --ink: #efe8d9; --soft: #c2b7a2; --mute: #9a907c; --brass: #d4a24c; --brass-hi: #f1cc7a; --brass-lo: #8a6a2c; --red: #e0453a;
  --steel: linear-gradient(180deg, #1f1d19 0%, #171512 100%);
  --frame: 0 0 0 1px rgba(241, 204, 122, .06) inset, 0 0 0 3px var(--bg), 0 0 0 4px rgba(138, 106, 44, .55), 0 18px 44px rgba(0, 0, 0, .5);
  --display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif; --body: 'Manrope', system-ui, sans-serif;
  --hd: 64px; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hd) + 16px); }
html, body { margin: 0; color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
html { background: var(--bg); }
/* fond : plaques d'acier tres discretes et une lueur laiton en haut */
body { background: radial-gradient(ellipse 80% 40% at 50% 0, rgba(212, 162, 76, .07), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 96px), var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--brass-hi); text-decoration-color: rgba(241, 204, 122, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 2px; border-radius: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 20; background: var(--raise); padding: 8px 12px; }

/* en-tete : barre d'acier, filet laiton, la tete peinte d'OMNI devant le logo */
.hd { position: sticky; top: 0; z-index: 10; height: var(--hd); background: linear-gradient(180deg, #1d1b17 0%, #12110f 100%); border-bottom: 1px solid var(--brass-lo); box-shadow: 0 1px 0 rgba(241, 204, 122, .08), 0 8px 24px rgba(0, 0, 0, .45); }
.hd-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.hd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.hd-logo .hd-omni { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 6px rgba(224, 69, 58, .55)); }
.hd-logo .hd-mark { width: 124px; display: block; }
.hd-logo span { font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #1a1408; background: linear-gradient(#f0c96b, #b98a32); border-radius: 4px; padding: 5px 7px 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.sr { position: relative; flex: 1 1 auto; max-width: 560px; margin: 0 auto; }
.sr-l { position: absolute; left: -9999px; }
.sr input { width: 100%; height: 42px; padding: 0 40px 0 14px; border-radius: 8px; border: 1px solid var(--rule2); background: #0f0e0c; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); color: var(--ink); font: 500 15px var(--body); }
.sr input::placeholder { color: var(--mute); }
.sr input:focus { outline: none; border-color: var(--brass); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 3px rgba(212, 162, 76, .22); }
.sr kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 600 12px var(--body); color: var(--mute); border: 1px solid var(--rule2); border-radius: 5px; padding: 1px 6px; }
.sr-out { position: absolute; left: 0; right: 0; top: 48px; max-height: 480px; max-height: min(70vh, 480px); overflow-y: auto; background: var(--panel); border: 1px solid var(--brass-lo); border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); padding: 6px; }
.sr-out a { display: block; padding: 9px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.sr-out a small { display: block; color: var(--mute); font-size: 12.5px; line-height: 1.35; }
.sr-out a b { font-weight: 700; }
.sr-out a[aria-selected="true"], .sr-out a:hover { background: var(--raise); box-shadow: inset 3px 0 0 var(--brass); }
.sr-out p { margin: 8px 10px; color: var(--mute); font-size: 14px; }
.hd-cta { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 8px; background: linear-gradient(#f0c96b, #b98a32); color: #1a1408; font: 700 14px var(--body); text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 14px rgba(212, 162, 76, .2); }
.hd-cta:hover { background: linear-gradient(#f6d47e, #c69739); }

/* colonnes */
.lay { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 240px minmax(0, 1fr) 220px; gap: 40px; padding: 0 20px; }
.nv { position: sticky; top: var(--hd); align-self: start; height: calc(100vh - var(--hd)); overflow-y: auto; padding: 22px 0 32px; border-right: 1px solid var(--rule); }
.nv-d { display: none; }
.nv-l { display: flex; flex-direction: column; padding-right: 14px; }
.nv-g { margin: 16px 10px 4px; font: 700 11.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.nv-g:first-child { margin-top: 0; }
.nv a { display: flex; align-items: center; min-height: 36px; margin: 1px 0; padding: 5px 10px; border-radius: 6px; color: var(--soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nv a img, .nv-dot { width: 24px; height: 24px; object-fit: contain; flex: none; margin-right: 10px; }
.nv-dot { border-radius: 50%; background: url(/td/img/omni_head.webp?v=1) center / contain no-repeat; }
.nv a:hover { background: var(--panel); color: var(--ink); }
.nv a[aria-current="page"] { background: linear-gradient(90deg, rgba(212, 162, 76, .16), rgba(212, 162, 76, .02)); color: var(--brass-hi); box-shadow: inset 3px 0 0 var(--brass); }

.ar { min-width: 0; padding: 24px 0 40px; max-width: 860px; }

/* en-tete d'article : banniere peinte de l'Histoire assombrie, cadre laiton, objet peint de la rubrique a droite */
.ph { position: relative; max-width: 74ch; margin: 0 0 22px; padding: 18px 24px 22px; min-height: 150px; border: 1px solid var(--brass-lo); border-radius: 10px; overflow: hidden; background-color: #15130f; background-position: center 40%; background-size: cover; background-repeat: no-repeat; box-shadow: var(--frame); }
.ph::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(14, 13, 11, .95) 0%, rgba(14, 13, 11, .86) 50%, rgba(14, 13, 11, .45) 100%); }
.ph > * { position: relative; }
.ph.has-art { min-height: 200px; padding-right: 210px; }
.ph-art { position: absolute; right: 18px; top: 50%; width: 180px; height: 180px; margin-top: -90px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); }
.cr { margin: 0 0 10px; font-size: 14px; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; }
.cr > * { margin-right: 6px; }
.cr a { color: var(--soft); text-decoration: none; }
.cr a:hover { color: var(--brass-hi); }
.cr-s { color: var(--brass-lo); }
h1 { margin: 0 0 10px; font: 800 clamp(30px, 4.2vw, 44px)/1.08 var(--display); letter-spacing: -.01em; color: var(--ink); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.lead { margin: 0; font-size: 18px; color: var(--soft); max-width: 60ch; }
/* OMNI parle : sa tete peinte, un filet rouge (le seul rouge de la page) */
.omni { max-width: 74ch; display: flex; align-items: center; margin: 0 0 26px; padding: 12px 16px 12px 12px; border: 1px solid rgba(224, 69, 58, .35); border-left: 3px solid var(--red); background: linear-gradient(90deg, rgba(224, 69, 58, .12), rgba(224, 69, 58, .02)); border-radius: 0 8px 8px 0; color: var(--soft); font-size: 15px; }
.omni b { color: #ff9a90; font-size: 12px; letter-spacing: .12em; margin-right: 8px; }
.omni-eye { flex: none; width: 44px; height: 44px; margin-right: 14px; background: url(/td/img/omni_head.webp?v=1) center / contain no-repeat; filter: drop-shadow(0 0 8px rgba(224, 69, 58, .55)); }
.bd { max-width: 74ch; }
.bd > p, .bd li { color: var(--ink); }
.bd h2, .bd .sec { position: relative; margin: 40px 0 14px; padding: 12px 0 0 0; border-top: 1px solid var(--rule); font: 700 24px/1.2 var(--display); color: var(--ink); }
.bd h2::before, .bd .sec::before { content: ''; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--brass); }
.bd h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.bd h2:first-child::before { display: none; }
.bd h2 { clear: right; }   /* une section commence sous la fiche : la ligne du titre et le tableau ne passent plus dessous */
.bd h3 { margin: 22px 0 8px; font: 700 18px var(--display); color: var(--brass-hi); }
.bd ul { padding-left: 22px; }
.bd li { margin: 6px 0; }
.bd li::marker { color: var(--brass); }
blockquote { overflow: hidden; margin: 18px 0; padding: 10px 16px; border-left: 3px solid var(--brass); background: rgba(212, 162, 76, .06); border-radius: 0 8px 8px 0; color: var(--soft); font-style: italic; }
.toc { position: sticky; top: var(--hd); align-self: start; padding: 28px 0; font-size: 14px; }
.toc p { margin: 0 0 8px; font-weight: 700; color: var(--brass); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 1px solid var(--rule2); color: var(--soft); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--brass-hi); border-left-color: var(--brass); }
.toc-m { display: none; }

/* fiche : l'illustration en grand dans un cadre laiton riveté */
.fi { position: relative; float: right; width: 300px; margin: 0 0 24px 32px; background: var(--steel); border: 1px solid var(--brass-lo); border-radius: 8px; box-shadow: var(--frame); }
.fi::before, .fi::after { content: ''; position: absolute; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6dc9a, #8a6a2c 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .6); z-index: 1; }
.fi::before { left: 8px; }
.fi::after { right: 8px; }
.fi figure { margin: 0; padding: 22px 18px; border-radius: 7px 7px 0 0; background: radial-gradient(circle at 50% 46%, rgba(212, 162, 76, .2), rgba(212, 162, 76, 0) 62%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 24px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 24px), #121110; border-bottom: 2px solid var(--brass-lo); display: flex; justify-content: center; align-items: center; }
.fi figure img { width: 240px; height: 240px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .65)); }
.fi.is-tall figure img { width: auto; height: 340px; max-width: 100%; }
.fi-n { margin: 0; padding: 12px 16px 6px; font: 800 19px/1.2 var(--display); color: var(--brass-hi); }
.fi dl { margin: 0; padding: 0 16px 14px; display: grid; grid-template-columns: auto 1fr; font-size: 14.5px; }
.fi dt, .fi dd { padding: 6px 0; border-top: 1px solid var(--rule); }
.fi dt { color: var(--mute); padding-right: 14px; }
.fi dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }

/* tableaux : en-tete laiton, lignes alternees, premiere colonne a l'image */
.tw { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--brass-lo); border-radius: 8px; background: var(--panel); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--rule); white-space: nowrap; vertical-align: middle; }
th { background: linear-gradient(180deg, #2a251d, #1e1b16); color: var(--brass-hi); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--brass-lo); }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .022); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(212, 162, 76, .07); }
.lst td:first-child { white-space: normal; }
.lk { display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; color: var(--ink); }
.lk:hover { color: var(--brass-hi); }
.lk img { width: 48px; height: 48px; margin-right: 12px; padding: 3px; object-fit: contain; flex: none; border-radius: 8px; background: radial-gradient(circle, rgba(212, 162, 76, .18), rgba(0, 0, 0, .2) 70%); border: 1px solid var(--rule2); }
details > summary { cursor: pointer; }

/* rubriques illustrees (accueil) : l'objet peint de l'Histoire sur une plaque d'acier */
.rb { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.rb-i { position: relative; display: flex; flex-direction: column; border: 1px solid var(--rule2); border-radius: 8px; background: var(--steel); text-decoration: none; color: var(--ink); overflow: hidden; transition: border-color .15s, transform .15s; }
.rb-art { display: flex; align-items: center; justify-content: center; height: 150px; background: radial-gradient(circle at 50% 55%, rgba(212, 162, 76, .2), rgba(212, 162, 76, 0) 60%), #11100e; border-bottom: 1px solid var(--brass-lo); }
.rb-art img { width: 136px; height: 136px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); transition: transform .2s; }
.rb-tx { padding: 12px 14px 14px; }
.rb-i b { display: block; font: 800 17px/1.25 var(--display); color: var(--brass-hi); }
.rb-i small { display: block; margin-top: 3px; color: var(--soft); font-size: 13.5px; line-height: 1.4; }
.rb-i:hover, .rb-i:focus-visible { border-color: var(--brass); transform: translateY(-2px); }
.rb-i:hover .rb-art img { transform: scale(1.05); }
.shots { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shots img { width: 100%; border-radius: 8px; border: 1px solid var(--brass-lo); }

/* contenus des rubriques (cartes, talents, modes, monnaies, caisses, mecaniques, univers) : plaques d'acier */
.grid { display: grid; gap: 12px; margin: 12px 0 20px; }
.g2 { grid-template-columns: 1fr; }   /* dans un article : une section par ligne, lue comme un texte (13/11) */
.g3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card, .pick { background: var(--steel); border: 1px solid var(--rule2); border-radius: 8px; padding: 14px 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03); }
.card.big { display: flex; align-items: flex-start; }
.card .art { flex: none; width: 72px; height: 72px; margin-right: 16px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: radial-gradient(circle, rgba(212, 162, 76, .2), rgba(0, 0, 0, .25) 70%); border: 1px solid var(--brass-lo); }
.card .art img { width: 60px; height: 60px; object-fit: contain; }
.card .tx { min-width: 0; }
.card h2, .pick h2 { margin: 0 0 4px; padding: 0; border: 0; font: 700 17px/1.3 var(--display); color: var(--ink); }
.card h2::before, .pick h2::before { display: none; }
.card .role, .pick p { margin: 0; color: var(--soft); font-size: 15px; }
.card ul { margin: 8px 0 0; }
.pick .ic { font-size: 22px; line-height: 1; display: block; margin-bottom: 6px; }
.pick small { color: var(--mute); }
.tag { margin: 0 0 4px; color: var(--brass); font-size: 13px; font-weight: 700; }
.lore { color: var(--soft); font-style: italic; }
.tip { margin: 8px 0 0; color: var(--soft); font-size: 14.5px; }
.intro { color: var(--soft); }
.st { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; font-size: 14px; color: var(--soft); }
.st li { margin: 3px 14px 3px 0; }
.st b { color: var(--ink); }
.power { margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: rgba(212, 162, 76, .08); border: 1px solid var(--brass-lo); }
.power p { margin: 4px 0 0; color: var(--soft); font-size: 14.5px; }
.branch { margin-bottom: 14px; border-top: 2px solid var(--c, var(--brass-lo)); }
.tal .tl { padding: 10px 12px; border-radius: 6px; background: rgba(0, 0, 0, .22); border: 1px solid var(--rule); }
.tal .tl p { margin: 4px 0; color: var(--soft); font-size: 14.5px; }
.tal .tl small { color: var(--mute); }
.faq details { margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 28px; }
.faq summary::marker { color: var(--brass); }
.faq details[open] { border-color: var(--brass-lo); }
.faq .role { margin-top: 8px; }
.story { display: grid; gap: 12px; }
.story .card { border-left: 3px solid var(--brass); }
.story .tag { display: inline-block; min-width: 28px; padding: 1px 8px; border-radius: 4px; background: linear-gradient(#f0c96b, #b98a32); color: #1a1408; text-align: center; }
/* bannieres des actes de l'Histoire (rubrique Modes) */
.acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 6px; }
.acts figure { position: relative; margin: 0; border: 1px solid var(--brass-lo); border-radius: 8px; overflow: hidden; background: #15130f; }
.acts img { display: block; width: 100%; height: auto; }
.acts figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; background: linear-gradient(0deg, rgba(14, 13, 11, .92), rgba(14, 13, 11, 0)); font: 700 14px var(--display); color: var(--brass-hi); }

/* tablette : le sommaire de droite passe en haut de l'article */
@media (max-width: 1240px) {
  .lay { grid-template-columns: 228px minmax(0, 1fr); gap: 32px; }
  .toc { display: none; }
  .toc-m { display: block; margin: 0 0 24px; border: 1px solid var(--rule2); border-radius: 8px; padding: 10px 14px; background: var(--panel); }
  .toc-m summary { font-weight: 700; color: var(--soft); font-size: 14px; min-height: 28px; }
  .toc-m a { display: block; padding: 6px 0; color: var(--soft); text-decoration: none; font-size: 14.5px; }
}
/* telephone : rubriques en tiroir, fiche en haut, une colonne */
@media (max-width: 860px) {
  :root { --hd: auto; }
  .hd { height: auto; position: sticky; }
  .hd-in { flex-wrap: wrap; gap: 10px 12px; padding: 8px 16px 10px; }
  .hd-logo .hd-omni { width: 34px; height: 34px; }
  .hd-logo .hd-mark { width: 108px; }
  .sr { order: 3; flex: 1 1 100%; max-width: none; }
  .sr kbd { display: none; }
  .hd-cta { margin-left: auto; height: 38px; padding: 0 12px; font-size: 13px; }
  .lay { display: block; padding: 0 16px; }
  .nv { position: static; height: auto; overflow: visible; padding: 14px 0 0; border: 0; }
  .nv-desk { display: none; }
  .nv-d { display: block; border: 1px solid var(--rule2); border-radius: 8px; background: var(--panel); }
  .nv-d summary { padding: 10px 14px; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--brass-hi); }
  .nv-d .nv-l { padding: 0 8px 10px; }
  .nv a { min-height: 44px; }
  .ar { padding-top: 14px; }
  .ph { padding: 14px 16px 16px; min-height: 0; }
  .ph.has-art { min-height: 0; padding-right: 112px; }
  .ph-art { right: 8px; width: 100px; height: 100px; margin-top: -50px; }
  .lead { font-size: 16px; }
  .fi { float: none; width: 100%; margin: 0 0 22px; }
  .fi figure img { width: 200px; height: 200px; }
  .fi.is-tall figure img { height: 280px; }
  .shots { grid-template-columns: 1fr; }
  th, td { padding: 9px 10px; }
  .lk img { width: 40px; height: 40px; margin-right: 10px; }
  .card .art { width: 56px; height: 56px; margin-right: 12px; }
  .card .art img { width: 46px; height: 46px; }
  .acts { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .ph.has-art { padding-right: 92px; }
  .ph-art { top: 12px; right: 6px; width: 80px; height: 80px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ===== accueil vitrine (13/11 ; 15/11 : hero peint, l'oeil d'OMNI au-dessus de la tourelle) ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--rule2); background: rgba(34, 31, 26, .85); color: var(--ink); font: 700 15px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--brass); }
.btn.is-main { background: linear-gradient(#f0c96b, #c0902f); color: #1a1408; border-color: #f0c96b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 24px rgba(212, 162, 76, .3); }
.btn.is-ghost { background: transparent; }
.hero-b .btn { margin: 0 10px 10px 0; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--brass-lo); background: #0c0b0a; }
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero::before { content: ''; position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(12, 11, 10, .94) 0%, rgba(12, 11, 10, .74) 34%, rgba(12, 11, 10, .12) 60%, rgba(12, 11, 10, .3) 100%), linear-gradient(0deg, rgba(14, 13, 11, 1) 0%, rgba(14, 13, 11, 0) 22%); }
.hero-in { position: relative; z-index: 2; max-width: 1240px; min-height: 620px; margin: 0 auto; padding: 72px 24px 64px; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr) 300px; align-items: center; }
.hero-tx { grid-column: 1; }
.hero .phone { grid-column: 3; }
.hero-k { display: inline-block; margin: 0 0 16px; padding: 4px 10px; border: 1px solid var(--brass-lo); border-radius: 4px; background: rgba(14, 13, 11, .6); color: var(--brass-hi); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.hero h1 { margin: 0 0 18px; font: 800 clamp(36px, 4.8vw, 60px)/1.03 var(--display); letter-spacing: -.02em; text-shadow: 0 4px 24px rgba(0, 0, 0, .8); }
.hero-p { margin: 0 0 26px; font-size: 18px; color: #d8cdb8; max-width: 46ch; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.hero-b { display: flex; flex-wrap: wrap; }
.phone { margin: 0; padding: 10px; border-radius: 38px; background: linear-gradient(160deg, #3a332a, #15130f); border: 1px solid #6a5634; box-shadow: 0 30px 80px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(241, 204, 122, .14); }
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; }
.hero .phone { transform: rotate(2deg); }
.phone.is-sm { width: 260px; flex: none; border-radius: 30px; padding: 8px; }
.phone.is-sm img { border-radius: 22px; }
.feats { max-width: 1040px; margin: 0 auto; padding: 72px 24px 24px; display: flex; flex-direction: column; }
.feat { display: flex; align-items: center; margin-bottom: 72px; }
.feat > figure { margin-right: 56px; }
.feat.is-rev { flex-direction: row-reverse; }
.feat.is-rev > figure { margin-right: 0; margin-left: 56px; }
.feat h2 { margin: 0 0 12px; font: 800 clamp(26px, 3.4vw, 36px)/1.1 var(--display); }
.feat h2::after { content: ''; display: block; width: 56px; height: 2px; margin-top: 12px; background: var(--brass); }
.feat p { margin: 0; font-size: 17px; color: var(--soft); max-width: 46ch; }
.band { max-width: 1040px; margin: 0 auto; padding: 40px 24px 8px; }
.band > h2 { margin: 0 0 8px; font: 800 clamp(24px, 3vw, 32px)/1.15 var(--display); }
.band > p { margin: 0 0 20px; color: var(--soft); }
.band > h3 { margin: 28px 0 12px; color: var(--brass); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.towers { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.towers a { display: flex; flex-direction: column; align-items: center; padding: 14px 6px 12px; border: 1px solid var(--rule2); border-radius: 8px; background: radial-gradient(circle at 50% 38%, rgba(212, 162, 76, .18), rgba(212, 162, 76, 0) 60%), var(--steel); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; text-align: center; }
.towers a:hover, .towers a:focus-visible { border-color: var(--brass); }
.towers img { width: 80px; height: 80px; margin-bottom: 6px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); }
.cta-b { position: relative; max-width: 1040px; margin: 64px auto 0; padding: 44px 24px; text-align: center; border: 1px solid var(--brass-lo); border-radius: 10px; overflow: hidden; background: #15130f url(/td/img/story_a5.webp?v=1) center / cover no-repeat; box-shadow: var(--frame); }
.cta-b::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(14, 13, 11, .8); }
.cta-b > * { position: relative; }
.cta-b h2 { margin: 0 0 8px; font: 800 clamp(26px, 3.4vw, 36px)/1.1 var(--display); }
.cta-b p { margin: 0 auto 20px; color: var(--soft); max-width: 46ch; }
.ft { border-top: 1px solid var(--brass-lo); margin-top: 48px; padding: 28px 0 40px; color: var(--mute); font-size: 14px; background: linear-gradient(180deg, #14120f, var(--bg)); }
.ft-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ft-in img { width: 110px; opacity: .85; }
.ft-l { display: flex; flex-wrap: wrap; }
.ft-l a { margin: 0 18px 8px 0; }
.ar .ft { display: none; }
.toast-s { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--raise); border: 1px solid var(--brass-lo); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 30; }
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) 280px; }
  .hero .phone { grid-column: 2; }
  .hero::before { background: linear-gradient(90deg, rgba(12, 11, 10, .94) 0%, rgba(12, 11, 10, .7) 55%, rgba(12, 11, 10, .3) 100%), linear-gradient(0deg, rgba(14, 13, 11, 1) 0%, rgba(14, 13, 11, 0) 22%); }
}
/* telephone et tablette etroite : l'image en haut (l'oeil d'OMNI), le texte dessous */
@media (max-width: 760px) {
  .hero-bg { bottom: auto; height: 460px; }
  .hero-bg img { object-position: 50% 18%; }
  .hero::before { height: 460px; bottom: auto; background: linear-gradient(0deg, rgba(14, 13, 11, 1) 0%, rgba(14, 13, 11, .55) 32%, rgba(14, 13, 11, 0) 60%); }
  .hero-in { display: block; min-height: 0; padding: 300px 20px 44px; }
  .hero .phone { width: 300px; width: min(300px, 80vw); margin: 32px auto 0; transform: none; }
  .hero-b .btn { flex: 1 1 100%; margin-right: 0; }
}
@media (max-width: 960px) {
  .feat, .feat.is-rev { flex-direction: column; text-align: center; }
  .feat > figure, .feat.is-rev > figure { margin: 0 0 24px; }
  .feat h2::after { margin-left: auto; margin-right: auto; }
  .feat p { margin: 0 auto; }
  .phone.is-sm { width: 240px; width: min(240px, 70vw); }
  .towers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rb { grid-template-columns: 1fr; gap: 10px; }
  .rb-i { flex-direction: row; align-items: stretch; }
  .rb-art { flex: none; width: 96px; height: auto; min-height: 96px; border-bottom: 0; border-right: 1px solid var(--brass-lo); }
  .rb-art img { width: 80px; height: 80px; }
  .rb-tx { padding: 10px 12px; align-self: center; }
}
@media (max-width: 480px) {
  .towers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .towers img { width: 64px; height: 64px; }
  .feats { padding-top: 48px; }
  .feat { margin-bottom: 56px; }
}
.screen { margin: 0; flex: 0 1 560px; min-width: 0; padding: 8px; border-radius: 12px; background: linear-gradient(160deg, #3a332a, #15130f); border: 1px solid #6a5634; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.screen img { display: block; width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 960px) { .screen { flex: none; width: 100%; } }
/* capture dans un article (rubrique Colonie) */
.shot-c { margin: 24px 0; border: 1px solid var(--brass-lo); border-radius: 8px; overflow: hidden; background: #16140f; box-shadow: var(--frame); }
.shot-c img { display: block; width: 100%; height: auto; }

/* 14/11 : icônes peintes du jeu à la place des emojis, vignettes des mini-jeux et des décors */
.wk-ico { display: inline-block; width: 1.25em; height: 1.25em; object-fit: contain; vertical-align: -0.25em; margin: 0 0.05em; }
.pick .ic-img { display: block; width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.grid.g4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.grid.g4 .pick .ic-img { width: 80px; height: 80px; margin: 0 auto 6px; }
.grid.g4 .pick h2 { text-align: center; }
.pick h3 { margin: 0 0 4px; font-size: 15px; color: var(--ink); }
.grid.g4 .pick h3 { text-align: center; }
/* réseaux (18/11) : icônes TikTok et YouTube dans l'en-tête, liens dans le pied */
.hd-so { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: #e9dfc8; background: rgba(255, 255, 255, .06); border: 1px solid rgba(217, 164, 65, .35); }
.hd-so:hover { color: #fff; background: rgba(217, 164, 65, .18); }
.ft-so { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.ft-so a { display: inline-flex; align-items: center; gap: 6px; color: #e9dfc8; font-weight: 700; text-decoration: none; min-height: 44px; }
.ft-so a:hover { color: #f0c96b; }
@media (max-width: 760px) { .hd-so { display: none; } }
