/* =========================================================
   TyNox Games Production — page du studio (tgp/index.php)
   Couleur d'accent : cyan TGP (identique à l'en-tête, thème .tgh--tgp).
   Chaque production a sa teinte (--acc) posée dans le HTML.
   ========================================================= */
:root {
  --bg:      #05070b;
  --bg-2:    #0a0e15;
  --panel:   #0d121b;
  --line:    rgba(255, 255, 255, .07);
  --line-2:  rgba(255, 255, 255, .14);
  --text:    #eef1f4;
  --muted:   #9aa5b1;
  --dim:     #66717d;
  --cyan:    #00e5ff;
  --on-cyan: #00161a;

  --display: 'Anton', 'Impact', sans-serif;
  --sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'Space Mono', ui-monospace, monospace;

  --pad-x:   clamp(20px, 6vw, 96px);
  --pad-y:   clamp(80px, 11vw, 150px);
  --max-w:   1360px;
  --radius:  18px;
  --ease:    cubic-bezier(.16, 1, .3, 1);
  --head-h:  var(--tgp-header-h, 68px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body.tgp {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* :where() = aucune priorité : les classes des liens (boutons, liens cyan) gardent leur couleur */
:where(body.tgp) a { color: inherit; text-decoration: none; }
:where(body.tgp main) img { max-width: 100%; display: block; }
::selection { background: var(--cyan); color: var(--on-cyan); }
main { display: block; overflow-x: clip; }

/* Grain léger sur toute la page */
body.tgp::before {
  content: ''; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .03; mix-blend-mode: overlay;
}

/* Apparition au défilement (seulement si JavaScript tourne) */
.js .r { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .r.in { opacity: 1; transform: none; }
.r-d1 { transition-delay: .08s; } .r-d2 { transition-delay: .16s; }
.r-d3 { transition-delay: .24s; } .r-d4 { transition-delay: .32s; } .r-d5 { transition-delay: .4s; }

/* ═══ Éléments communs ═══ */
.eye {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.6rem;
}
.eye::before { content: '>'; font-weight: 700; }

.stitle {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 5rem); line-height: .98; letter-spacing: .01em;
  text-transform: uppercase; margin-bottom: 1.6rem; hyphens: auto; overflow-wrap: break-word;
}
.stitle--xl { font-size: clamp(3rem, 6vw, 6.2rem); }
.stroke { -webkit-text-stroke: 1.5px var(--text); color: transparent; }
@supports not (-webkit-text-stroke: 1px #000) { .stroke { color: var(--muted); } }

.lead { font-size: clamp(.92rem, 1.15vw, 1.02rem); font-weight: 300; color: var(--muted); line-height: 1.85; max-width: 440px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .9rem 1.7rem; border-radius: 10px;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn--accent { background: var(--cyan); color: var(--on-cyan); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(0, 229, 255, .65); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(5, 7, 11, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }

.link-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); transition: gap .25s var(--ease), opacity .2s;
}
.link-cta:hover { gap: 1rem; }

body.tgp :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sec-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end;
  max-width: var(--max-w); margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.sec-head .stitle { margin-bottom: 0; }
.sec-head > .link-cta { justify-self: end; }

/* Quadrillage décoratif */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0, 229, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 50%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 70% 50%, #000 15%, transparent 75%);
}

/* ═══ HERO ═══ */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--head-h)); min-height: max(560px, calc(100svh - var(--head-h)));
  display: grid; grid-template-rows: 1fr auto;
  padding: 0 var(--pad-x);
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: -1; background: var(--bg-2); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slide__img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 7s linear;
}
.hero-slide.is-on .hero-slide__img { transform: scale(1); }
.hero-slide__logo {
  position: absolute; right: clamp(24px, 8vw, 140px); top: 50%;
  width: min(30vw, 420px); max-height: 34%; object-fit: contain;
  transform: translateY(-58%) translateX(24px); opacity: 0;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .7));
  transition: opacity .9s .25s var(--ease), transform .9s .25s var(--ease);
}
.hero-slide.is-on .hero-slide__logo { opacity: .95; transform: translateY(-58%); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 11, .88) 30%, rgba(5, 7, 11, .25) 62%, rgba(5, 7, 11, .1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 7, 11, 0) 34%);
}

.hero-body {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  max-width: 780px; padding: clamp(40px, 7vh, 88px) 0 clamp(28px, 5vh, 48px);
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 2rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan);
  animation: fup .9s .1s var(--ease) both;
}
.hero-kicker img { width: 40px; height: 40px; border-radius: 10px; }
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3rem, min(6.6vw, 9.5vh), 7rem); line-height: .9; letter-spacing: .005em;
  text-transform: uppercase; margin-bottom: 2rem; hyphens: auto; overflow-wrap: break-word;
}
.hl { display: block; animation: fup .9s var(--ease) both; }
.hl:nth-child(1) { animation-delay: .15s; } .hl:nth-child(2) { animation-delay: .25s; }
.hl:nth-child(3) { animation-delay: .35s; } .hl:nth-child(4) { animation-delay: .45s; }
.hero-title .stroke { -webkit-text-stroke-width: 2px; }
.hero-title .accent { color: var(--cyan); text-shadow: 0 0 60px rgba(0, 229, 255, .35); }
.hero-desc { color: #c3cbd3; max-width: 460px; font-weight: 300; line-height: 1.85; margin-bottom: 2.4rem; animation: fup .9s .55s var(--ease) both; }
.hero-acts { display: flex; gap: .8rem; flex-wrap: wrap; animation: fup .9s .65s var(--ease) both; }
@keyframes fup { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Onglets du carrousel */
.hero-tabs {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 0;
  border-top: 1px solid var(--line-2);
  animation: fup .9s .8s var(--ease) both;
}
.hero-tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px;
  padding: 20px 20px 22px 0; text-align: left;
  background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer;
  transition: color .3s;
}
.hero-tab + .hero-tab { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-tab__num { grid-row: span 2; font-family: var(--mono); font-size: .66rem; color: var(--dim); padding-top: 3px; transition: color .3s; }
.hero-tab__name { font-family: var(--display); font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tab__type { font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hero-tab__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--acc, var(--cyan)); transform: scaleX(0); transform-origin: left; }
.hero-tab:hover, .hero-tab.is-on { color: var(--text); }
.hero-tab.is-on .hero-tab__num { color: var(--acc, var(--cyan)); }
.hero-tab.is-on .hero-tab__bar { animation: tabbar var(--hero-delay, 6000ms) linear forwards; }
.hero.is-paused .hero-tab.is-on .hero-tab__bar, .hero.is-off .hero-tab.is-on .hero-tab__bar { animation-play-state: paused; }
.hero.is-paused .hero-tab.is-on .hero-tab__bar { animation: none; transform: scaleX(1); }
@keyframes tabbar { to { transform: scaleX(1); } }
.hero-tab + .hero-tab .hero-tab__bar { left: 0; }

.hero-pause {
  align-self: center; margin-left: 16px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--text);
  transition: background .2s, border-color .2s;
}
.hero-pause:hover { background: rgba(0, 229, 255, .12); border-color: var(--cyan); }
.hero-pause .ico-play { display: none; }
.hero.is-paused .hero-pause .ico-play { display: block; }
.hero.is-paused .hero-pause .ico-pause { display: none; }

/* ═══ RUBAN ═══ */
.mq { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 16px 0; }
.mq-track { display: flex; width: max-content; animation: mrun 36s linear infinite; will-change: transform; }
.mq:hover .mq-track, .mq.is-off .mq-track { animation-play-state: paused; }
@keyframes mrun { to { transform: translateX(-25%); } }   /* 4 copies : -25 % = une copie */
.mq-item {
  display: inline-flex; align-items: center; gap: 28px; padding: 0 28px; white-space: nowrap;
  font-family: var(--display); font-size: clamp(1rem, 1.6vw, 1.3rem); letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
.mq-sep { color: var(--cyan); font-size: .8em; }

/* ═══ CHIFFRES ═══ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { position: relative; padding: clamp(28px, 4vw, 48px) var(--pad-x); padding-right: 24px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 48px); }
.stat::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0; transition: opacity .4s;
}
.stat:hover::after { opacity: .7; }
.stat-num { font-family: var(--display); font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.stat-suf { color: var(--cyan); }
.stat-label { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ═══ PRODUCTIONS ═══ */
.games { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.games-side { border-right: 1px solid var(--line); }
.games-side__in {
  position: sticky; top: var(--head-h);
  min-height: calc(100svh - var(--head-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad-y) clamp(24px, 4vw, 64px) var(--pad-y) var(--pad-x);
}
.games-side .lead { margin-bottom: 2.2rem; }
.games-index { list-style: none; margin-bottom: 2.4rem; border-top: 1px solid var(--line); }
.games-index a {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dim);
  transition: color .25s, padding-left .35s var(--ease);
}
.games-index a span { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; color: var(--dim); transition: color .25s; }
.games-index a:hover, .games-index a.is-on { color: var(--text); padding-left: 8px; }
.games-index a.is-on span, .games-index a:hover span { color: var(--acc); }

.games-list { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 4vw, 64px) var(--pad-x) clamp(24px, 4vw, 64px) clamp(20px, 3vw, 48px); background: var(--bg-2); }

.gc {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(440px, 74vh, 660px); padding: clamp(22px, 2.6vw, 36px);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); color: var(--text);
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.gc-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease);
}
.gc::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, .55) 0%, rgba(5, 7, 11, 0) 30%, rgba(5, 7, 11, .3) 52%, rgba(5, 7, 11, .94) 100%),
    radial-gradient(ellipse at 15% 100%, color-mix(in srgb, var(--acc) 26%, transparent) 0%, transparent 60%);
}
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .gc::before { background: linear-gradient(180deg, rgba(5, 7, 11, .55) 0%, rgba(5, 7, 11, 0) 30%, rgba(5, 7, 11, .3) 52%, rgba(5, 7, 11, .94) 100%); }
}
.gc:hover { border-color: var(--acc); box-shadow: 0 30px 80px -40px var(--acc); }
.gc:hover .gc-bg { transform: scale(1.05); }
.gc:hover .gc-arrow { transform: translateX(6px); background: var(--acc); color: var(--bg); border-color: var(--acc); }

.gc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.gc-num { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; padding: 6px 10px; border-radius: 8px; background: rgba(5, 7, 11, .55); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gc-logo { max-width: 46%; max-height: 86px; object-fit: contain; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .6)); }

.gc-tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); margin-bottom: .9rem; }
.gc-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .94; text-transform: uppercase; letter-spacing: .015em; margin-bottom: 1rem; }
.gc-desc { font-size: .9rem; font-weight: 300; color: rgba(238, 241, 244, .78); line-height: 1.7; max-width: 460px; margin-bottom: 1.3rem; }

.gc-eds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 1.3rem; }
.gc-eds__lbl { font-family: var(--mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.gc-ed { font-size: .74rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: color-mix(in srgb, var(--acc) 18%, rgba(5, 7, 11, .6)); border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); }

.gc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 1.1rem; border-top: 1px solid var(--line-2); }
.gc-plats { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-plats span { font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); background: rgba(5, 7, 11, .4); }
.gc-arrow {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; line-height: 1;
  border: 1px solid var(--line-2); color: var(--text);
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}

/* ═══ TGP LAUNCHER ═══ */
.launch { padding: var(--pad-y) var(--pad-x); }
.launch-panel {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 72px); border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, #0b1620 0%, var(--panel) 55%, #0a0d14 100%);
  border: 1px solid rgba(0, 229, 255, .18);
}
.launch-glow {
  position: absolute; z-index: -1; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, .22) 0%, transparent 65%);
  pointer-events: none;
}
.launch-main { display: flex; flex-direction: column; justify-content: center; }
.launch-main .lead { margin-bottom: 2.2rem; max-width: 520px; }
.acts { display: flex; gap: .8rem; flex-wrap: wrap; }
.launch-tool {
  display: flex; align-items: center; gap: 16px; margin-top: 2.4rem; max-width: 520px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2);
  transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.launch-tool:hover { border-color: #fd5de1; background: rgba(253, 93, 225, .06); transform: translateY(-2px); }
.launch-tool:hover .gc-arrow { background: #fd5de1; color: #1b0418; border-color: #fd5de1; transform: translateX(4px); }
.launch-tool__logo { flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px; background: #1a0f22; padding: 6px; object-fit: contain; }
.launch-tool__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.launch-tool__tag { font-family: var(--mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: #fd5de1; }
.launch-tool__name { font-family: var(--display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.launch-tool__desc { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.launch-tool .gc-arrow { width: 38px; height: 38px; font-size: .95rem; }
.launch-shot {
  align-self: center; margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2); background: #0d0b14;
  box-shadow: 0 40px 90px -40px rgba(0, 229, 255, .45), 0 0 0 6px rgba(255, 255, 255, .025);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.launch-panel:hover .launch-shot { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.launch-shot img { width: 100%; height: auto; }

/* ═══ ACTUS (cartes de includes/news.php) ═══ */
.news { padding: 0 var(--pad-x) var(--pad-y); }
.news-lay { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.nc {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
  transition: border-color .3s, transform .4s var(--ease);
}
.nc:hover { border-color: rgba(0, 229, 255, .5); transform: translateY(-4px); }
.nc-thumb { position: relative; overflow: hidden; background: linear-gradient(135deg, #0b1620, var(--panel)); }
.nc-thumb picture { display: block; height: 100%; }
.nc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nc:hover .nc-thumb img { transform: scale(1.04); }
.nc-thumb--fade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, var(--panel) 100%); }
.nc-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; color: #fff;
  background: rgba(5, 7, 11, .55); border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.nc-meta { display: flex; gap: 10px; font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; color: var(--dim); margin-bottom: 10px; }
.nc-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 10px; }
.nc-exc { font-size: .86rem; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.nc-lnk { margin-top: auto; display: inline-flex; gap: 6px; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); transition: gap .25s; }
.nc-lnk::after { content: ''; position: absolute; inset: 0; }   /* toute la carte est cliquable */
.nc:hover .nc-lnk { gap: 12px; }
.nc.feat { grid-row: span 2; }
.nc.feat .nc-thumb { flex: 1; min-height: 320px; }
.nc.feat .nc-body { flex: 0 0 auto; }
.nc.feat .nc-title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.nc.sm .nc-thumb { height: 150px; }
.news-lay:has(> .nc:only-child) { grid-template-columns: 1fr; }

/* ═══ SAVOIR-FAIRE ═══ */
.craft { padding: var(--pad-y) var(--pad-x); border-top: 1px solid var(--line); }
.craft-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.craft-item {
  position: relative; overflow: hidden; padding: 32px 28px 36px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .35s, background .35s, transform .45s var(--ease);
}
.craft-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.craft-item:hover { border-color: var(--line-2); background: var(--panel); transform: translateY(-4px); }
.craft-item:hover::before { transform: scaleX(1); }
.ci-num { position: absolute; top: 26px; right: 26px; font-family: var(--mono); font-size: .62rem; color: var(--dim); }
.ci-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 2.4rem;
  border-radius: 14px; font-size: 1.5rem; color: var(--cyan);
  background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .2);
}
.ci-title { font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .8rem; }
.ci-desc { font-size: .85rem; font-weight: 300; color: var(--muted); line-height: 1.75; }

/* ═══ CONTACT ═══ */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 86vh; border-top: 1px solid var(--line); }
.contact-main { display: flex; flex-direction: column; justify-content: center; padding: var(--pad-y) clamp(24px, 4vw, 64px) var(--pad-y) var(--pad-x); }
.contact-main .lead { margin-bottom: 2.4rem; }
.contact-mail {
  align-self: flex-start; margin-bottom: 2.4rem; padding-bottom: 4px;
  font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.7rem); letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 2px solid var(--cyan); overflow-wrap: anywhere; transition: color .2s;
}
.contact-mail:hover { color: var(--cyan); }
.contact-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .6rem 1.1rem; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted);
  transition: border-color .2s, color .2s, background .2s;
}
.chip-link:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 229, 255, .06); }

.contact-art {
  position: relative; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, .13) 0%, transparent 62%), var(--bg-2);
  border-left: 1px solid var(--line);
}
.contact-art .hero-grid { -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 75%); }
.contact-big, .contact-user {
  position: relative; font-family: var(--display); line-height: .9; text-transform: uppercase; text-align: center;
  user-select: none; pointer-events: none; padding: 0 24px; max-width: 100%; overflow-wrap: anywhere;
}
.contact-big { font-size: clamp(7rem, 20vw, 20rem); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 229, 255, .35); }
.contact-user { font-size: clamp(3rem, 8vw, 8rem); letter-spacing: .02em; color: var(--cyan); text-shadow: 0 0 80px rgba(0, 229, 255, .35); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-tab__type { display: none; }
}
@media (max-width: 960px) {
  .games { grid-template-columns: 1fr; }
  .games-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .games-side__in { position: relative; top: 0; min-height: 0; padding: var(--pad-y) var(--pad-x) 3rem; }
  .games-index { display: none; }
  .games-list { padding: 24px var(--pad-x) var(--pad-y); }
  .gc { min-height: clamp(400px, 110vw, 560px); }
  .launch-panel { grid-template-columns: 1fr; }
  .launch-shot { transform: none; order: -1; }
  .launch-panel:hover .launch-shot { transform: none; }
  .news-lay { grid-template-columns: 1fr; }
  .nc.feat { grid-row: auto; }
  .sec-head { grid-template-columns: 1fr; gap: 1.4rem; }
  .sec-head > .link-cta { justify-self: start; }
  .contact { grid-template-columns: 1fr; min-height: 0; }
  .contact-art { min-height: 260px; border-left: 0; border-top: 1px solid var(--line); }
  .contact-big { font-size: clamp(6rem, 34vw, 12rem); }
}
@media (max-width: 760px) {
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 7, 11, .82) 45%, rgba(5, 7, 11, .45) 100%); }
  .hero-slide__logo { top: 22%; right: 50%; width: 58vw; max-height: 22%; transform: translate(50%, -50%); opacity: 0; }
  .hero-slide.is-on .hero-slide__logo { opacity: .35; transform: translate(50%, -50%); }
  .hero-body { justify-content: flex-end; padding-top: 30vh; }
  .hero-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
  .hero-tab, .hero-tab + .hero-tab { padding: 16px 6px 18px; display: block; text-align: center; }
  .hero-tab__name { display: none; }
  .hero-tab__num { font-size: .78rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 26px var(--pad-x); border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .craft-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero-acts .btn, .acts .btn { flex: 1 1 100%; }
}

/* Mouvement réduit demandé par le système */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mq-track { animation: none !important; }
  .js .r { opacity: 1 !important; transform: none !important; }
  .hero-slide__img { transform: none !important; }
}
