/* ZF GAMES — feuille de style principale. Identité : bleu électrique + or sur nuit profonde (reprise du jeu). */
:root {
  --bg: #060a14;
  --bg-2: #0a1020;
  --panel: #0f172b;
  --panel-2: #141f3a;
  --line: rgba(125, 162, 255, .14);
  --line-strong: rgba(125, 162, 255, .32);
  --blue: #2447d6;
  --blue-l: #7da2ff;
  --cyan: #00d4ff;
  --gold: #f2b53b;
  --gold-d: #c98a14;
  --text: #eef2ff;
  --soft: #b9c3e0;
  --muted: #7f8bab;
  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- Fond animé global */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(36, 71, 214, .28), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(242, 181, 59, .07), transparent 60%),
    var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.glow-cursor {
  position: fixed; width: 420px; height: 420px; left: 0; top: 0; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 162, 255, .13), transparent 65%);
  transform: translate3d(-999px, -999px, 0); transition: opacity .3s;
}

/* ---------------------------------------------------------------- Préchargement et transitions de page */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg); display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .pl-mark { display: grid; justify-items: center; gap: 22px; }
.zf-mark {
  font-family: var(--head); font-weight: 700; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 12px;
}
.zf-mark .zf-glyph {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: #07101f;
  background: linear-gradient(135deg, var(--gold), #ffd983 55%, var(--gold-d)); box-shadow: 0 0 30px rgba(242, 181, 59, .35);
  transform: skewX(-8deg);
}
.zf-mark .zf-glyph b { transform: skewX(8deg); }
.zf-mark .zf-word { font-size: 22px; letter-spacing: .14em; }
.zf-mark .zf-word i { font-style: normal; color: var(--blue-l); }
.pl-bar { width: 180px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pl-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--gold)); animation: plbar 1.1s var(--ease) forwards; }
@keyframes plbar { to { width: 100%; } }
.curtain {
  position: fixed; inset: 0; z-index: 900; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr);
}
.curtain i { background: linear-gradient(180deg, #0c1530, #070c1a); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); border-right: 1px solid var(--line); }
.curtain i:nth-child(2) { transition-delay: .04s; } .curtain i:nth-child(3) { transition-delay: .08s; }
.curtain i:nth-child(4) { transition-delay: .12s; } .curtain i:nth-child(5) { transition-delay: .16s; }
body.leaving .curtain { pointer-events: all; }
body.leaving .curtain i { transform: scaleY(1); }
body.entering .curtain i { transform: scaleY(1); transform-origin: top; transition: none; }
body.entering-go .curtain i { transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }

/* ---------------------------------------------------------------- En-tête */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.site-header.scrolled { background: rgba(6, 10, 20, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 10px 16px; font-size: 14.5px; font-weight: 500; color: var(--soft); border-radius: 999px; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; background: linear-gradient(90deg, var(--blue-l), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: rgba(15, 23, 43, .6);
}
.lang button { padding: 5px 11px; font-size: 12px; font-weight: 600; letter-spacing: .06em; border-radius: 999px; color: var(--muted); transition: .25s; }
.lang button.on { background: var(--blue); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); position: relative; }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease);
}
.burger span { top: 21px; } .burger span::before { top: -7px; left: 0; right: 0; } .burger span::after { top: 7px; left: 0; right: 0; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); } .burger.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- Boutons */
.btn {
  --h: 52px; position: relative; display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 8px 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 15px; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s;
  will-change: transform;
}
.btn .arr {
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease);
}
.btn .arr svg { width: 18px; height: 18px; }
.btn:hover .arr { transform: rotate(-45deg); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #3a63ff); color: #fff; box-shadow: 0 12px 34px -10px rgba(36, 71, 214, .8); }
.btn-primary .arr { background: #fff; color: var(--blue); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--gold), #ffd983); opacity: 0; transition: opacity .35s; }
.btn-primary:hover { color: #07101f; box-shadow: 0 14px 38px -8px rgba(242, 181, 59, .55); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(15, 23, 43, .55); backdrop-filter: blur(8px); }
.btn-ghost .arr { background: rgba(125, 162, 255, .16); }
.btn-ghost:hover { border-color: var(--blue-l); background: rgba(36, 71, 214, .25); }
.btn-sm { --h: 42px; padding-left: 18px; font-size: 14px; }
.btn-tight { padding: 0 24px; }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 140px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -2; background-size: cover; background-position: center top; will-change: transform; }
.hero-bg.art {
  background:
    radial-gradient(60% 55% at 70% 35%, rgba(36, 71, 214, .55), transparent 70%),
    radial-gradient(40% 40% at 20% 70%, rgba(242, 181, 59, .16), transparent 70%),
    linear-gradient(180deg, #0a1226, #060a14);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 10, 20, .35) 0%, rgba(6, 10, 20, .55) 55%, var(--bg) 100%); }
#fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .8; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-l); background: rgba(15, 23, 43, .6); backdrop-filter: blur(8px);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.hero h1 { font-size: clamp(46px, 8.4vw, 124px); font-weight: 700; margin: 26px 0 22px; max-width: 14ch; }
.hero h1 em { font-style: normal; }
.hero h1 em, .hero h1 em .w > span { background: linear-gradient(100deg, var(--blue-l), #fff 40%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero h1 em .w { overflow: visible; }
.hero h1 em .w > span { display: inline-block; }
.hero p.lead { max-width: 56ch; font-size: clamp(16px, 1.5vw, 20px); color: var(--soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; }
.hero-logo { justify-self: end; width: min(420px, 100%); filter: drop-shadow(0 30px 60px rgba(36, 71, 214, .55)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(1.2deg); } }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(10, 16, 32, .7); backdrop-filter: blur(14px); overflow: hidden;
}
.hero-stats > div { padding: 24px 28px; border-right: 1px solid var(--line); }
.hero-stats > div:last-child { border: 0; }
.stat-n { font-family: var(--head); font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1; }
.stat-n small { font-size: .55em; color: var(--gold); margin-left: 3px; }
.stat-l { margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 40px; border: 1.5px solid var(--line-strong); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero compact des sous-pages */
.page-hero { position: relative; padding: 170px 0 70px; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 88px); margin: 20px 0 18px; max-width: 18ch; }
.page-hero p.lead { color: var(--soft); max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 0%, rgba(36, 71, 214, .32), transparent 70%); }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- Sous-navigation EM27 */
body.hdr-hidden .subnav { top: 0; }
.subnav { position: sticky; top: 76px; z-index: 60; transition: top .5s var(--ease); background: rgba(6, 10, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { position: relative; flex: none; padding: 17px 18px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s; }
.subnav a:hover { color: #fff; }
.subnav a.active { color: #fff; }
.subnav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blue-l), var(--gold)); }
.subnav .sub-brand { display: flex; align-items: center; gap: 10px; padding-right: 18px; margin-right: 10px; border-right: 1px solid var(--line); font-family: var(--head); font-weight: 700; font-size: 15px; flex: none; }
.subnav .sub-brand img { width: 30px; height: 30px; }
.subnav .sub-cta { margin-left: auto; padding: 0; flex: none; }

/* ---------------------------------------------------------------- Sections */
section { position: relative; }
.sec { padding: clamp(70px, 10vw, 140px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(34px, 4.8vw, 66px); max-width: 16ch; margin-top: 16px; }
.sec-head p { max-width: 46ch; color: var(--soft); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.grad { background: linear-gradient(100deg, var(--blue-l), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Bandeau défilant */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(10, 16, 32, .6); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--head); font-size: clamp(22px, 3vw, 38px); font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--line-strong); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; color: var(--gold); -webkit-text-stroke: 0; font-size: .6em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Cartes (jeux, licences, articles) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; color: var(--soft);
  background: rgba(15, 23, 43, .5); transition: .3s var(--ease);
}
.chip:hover { border-color: var(--blue-l); color: #fff; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 28px -10px rgba(36, 71, 214, .9); }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2));
  overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; transform-style: preserve-3d; will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(125, 162, 255, .16), transparent 45%);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-2); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 3; padding: 6px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; background: var(--gold); color: #07101f;
}
.badge.blue { background: var(--blue); color: #fff; } .badge.dark { background: rgba(6, 10, 20, .8); color: var(--blue-l); border: 1px solid var(--line-strong); }
.card-body { padding: 24px 26px 28px; }
.card-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-l); font-weight: 600; }
.card h3 { font-size: 26px; margin: 10px 0 10px; }
.card p { color: var(--soft); font-size: 15px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.card-meta b { color: var(--text); font-weight: 600; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 14.5px; color: var(--gold); }
.card-link svg { width: 16px; transition: transform .3s var(--ease); } .card:hover .card-link svg { transform: translateX(6px); }
.ph { background: linear-gradient(135deg, #0d1936, #16275a 60%, #0b1330); position: relative; display: grid; place-items: center; }
.ph::after { content: attr(data-label); font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: .1em; color: rgba(125, 162, 255, .35); }
.hidden-f { display: none !important; }
.card.pop { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(22px) scale(.97); } }

/* Mise en avant jeu (accueil) */
.showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, var(--panel), var(--bg-2)); }
.showcase-media { position: relative; min-height: 480px; background: var(--panel-2); overflow: hidden; }
.showcase-media img, .showcase-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.showcase:hover .showcase-media img { transform: scale(1.05); }
.showcase-body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.showcase-body h3 { font-size: clamp(32px, 4vw, 54px); }
.showcase-body p { color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(242, 181, 59, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f2b53b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Blocs fonctionnalités alternés */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--panel-2); }
.feature-media img, .feature-media .ph { width: 100%; height: 100%; object-fit: cover; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(36, 71, 214, .18), transparent 45%); pointer-events: none; }
.feature-num { font-family: var(--head); font-size: 80px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.feature h3 { font-size: clamp(28px, 3.4vw, 44px); margin: 6px 0 16px; }
.feature p { color: var(--soft); }

/* Bandeau de chiffres */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.numbers > div { background: var(--bg-2); padding: 38px 28px; }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 760px; }
.cmp th, .cmp td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp thead th { font-family: var(--head); font-size: 18px; background: var(--panel); position: sticky; top: 0; }
.cmp thead th small { display: block; font-family: var(--body); font-size: 11.5px; letter-spacing: .12em; color: var(--blue-l); text-transform: uppercase; margin-top: 4px; font-weight: 600; }
.cmp tbody th { color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.cmp tbody tr { transition: background .25s; } .cmp tbody tr:hover { background: rgba(36, 71, 214, .1); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border: 0; }
.yes { color: var(--gold); font-weight: 700; } .no { color: var(--muted); }

[hidden] { display: none !important; }
/* Glossaire */
.g-bar { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.g-search { position: relative; flex: 1 1 420px; max-width: 640px; }
.g-search svg { position: absolute; left: 20px; top: 50%; width: 22px; transform: translateY(-50%); color: var(--blue-l); pointer-events: none; }
.g-search input { width: 100%; height: 64px; padding: 0 22px 0 56px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); font: 500 18px var(--body); transition: .3s; }
.g-search input:focus { outline: 0; border-color: var(--blue-l); box-shadow: 0 0 0 5px rgba(125, 162, 255, .15); }
.g-ex { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.g-ex .chip { padding: 6px 14px; font-size: 13px; }
.g-count { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.g-table td { font-size: 16px; } .g-table .g-where { color: var(--muted); font-size: 13.5px; }
.g-new { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--gold); }
.g-table mark { background: rgba(125, 162, 255, .28); color: #fff; border-radius: 4px; padding: 0 2px; }
.g-empty td { text-align: center; padding: 56px 20px; color: var(--soft); } .g-empty b { color: #fff; font-size: 20px; font-family: var(--head); }
.g-note { margin-top: 36px; color: var(--muted); font-size: 13px; max-width: 70ch; }
@media (max-width: 640px) {
  .g-table { min-width: 0; } .g-table thead { display: none; } .g-table, .g-table tbody, .g-table tr, .g-table td { display: block; }
  .g-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); } .g-table td { border: 0; padding: 4px 0; }
  .g-table td::before { content: attr(data-l); display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
}

/* Galerie */
.gallery { columns: 3; column-gap: 20px; }
.shot { break-inside: avoid; margin-bottom: 20px; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); cursor: zoom-in; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.shot:hover { transform: translateY(-6px); border-color: var(--blue-l); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(6, 10, 20, .95)); transform: translateY(40%); opacity: 0; transition: .45s var(--ease); }
.shot:hover figcaption { transform: none; opacity: 1; }
.shot figcaption b { display: block; font-family: var(--head); font-size: 17px; }
.shot figcaption span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.shot.ph-shot { aspect-ratio: 16 / 9; }
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(4, 7, 14, .94); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: .4s var(--ease); padding: 40px 70px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1280px; width: 100%; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.lightbox figcaption { margin-top: 18px; text-align: center; color: var(--soft); }
.lightbox figcaption b { color: #fff; font-family: var(--head); font-size: 20px; display: block; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: rgba(15, 23, 43, .8); transition: .3s; }
.lb-btn:hover { background: var(--blue); border-color: var(--blue); }
.lb-btn svg { width: 20px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; } .lb-close { top: 18px; right: 18px; }

/* Articles / guides */
.article-card .card-media { aspect-ratio: 16 / 9; }
.read-time { margin-left: auto; }
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: clamp(26px, 3vw, 36px); margin: 56px 0 16px; }
.article p { color: var(--soft); font-size: 17.5px; line-height: 1.8; margin-bottom: 18px; }
.article ul { color: var(--soft); font-size: 17px; line-height: 1.8; padding-left: 22px; }
.article li { margin-bottom: 8px; } .article li::marker { color: var(--gold); }
.article .callout { margin: 32px 0; padding: 24px 28px; border-left: 3px solid var(--gold); background: rgba(242, 181, 59, .06); border-radius: 0 14px 14px 0; color: var(--text); }
.article figure { margin: 36px 0; } .article figure img { border-radius: 16px; border: 1px solid var(--line); }
.article figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--blue-l), var(--gold)); }

/* Feuille de route */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 38px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--blue) 60%, transparent); }
.tl-item { position: relative; padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); transition: .4s var(--ease); }
.tl-item:hover { border-color: var(--line-strong); transform: translateX(8px); }
.tl-item::before { content: ""; position: absolute; left: -37px; top: 32px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue-l); }
.tl-item.done::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 16px var(--gold); }
.tl-item.now::before { background: var(--blue-l); box-shadow: 0 0 0 6px rgba(125, 162, 255, .2); animation: pulse 2s infinite; }
.tl-item h3 { font-size: 24px; margin: 6px 0 8px; } .tl-item p { color: var(--soft); font-size: 15px; }
.tl-state { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.tl-item.now .tl-state { color: var(--blue-l); } .tl-item.next .tl-state { color: var(--muted); }

/* Équipe / studio */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); transition: .4s var(--ease); }
.value:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.value .ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(36, 71, 214, .22); color: var(--blue-l); margin-bottom: 22px; }
.value .ico svg { width: 26px; }
.value h3 { font-size: 22px; margin-bottom: 10px; } .value p { color: var(--soft); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .3s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--head); font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; color: var(--gold); transition: transform .35s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--soft); }

/* Formulaire */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); font: inherit; transition: .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue-l); box-shadow: 0 0 0 4px rgba(125, 162, 255, .15); }
.field textarea { min-height: 150px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.info-line { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); } .info-line:last-child { border: 0; }
.info-line small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(44px, 7vw, 96px); text-align: center; border: 1px solid var(--line-strong); background: radial-gradient(70% 120% at 50% 0%, rgba(36, 71, 214, .5), transparent 70%), linear-gradient(180deg, var(--panel), var(--bg-2)); }
.cta h2 { font-size: clamp(34px, 5vw, 70px); max-width: 17ch; margin: 18px auto; }
.cta p { color: var(--soft); max-width: 54ch; margin: 0 auto 32px; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 80px 0 36px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-family: var(--body); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-grid a { color: var(--soft); transition: color .25s; } .foot-grid a:hover { color: var(--gold); }
.foot-grid p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 34ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: .3s; color: var(--soft); }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; }

/* ---------------------------------------------------------------- Révélation au défilement */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-l { transform: translateX(-50px); } .rv-r { transform: translateX(50px); } .rv-s { transform: scale(.94); }
.rv-l.in, .rv-r.in, .rv-s.in { transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * .045s + .15s); }
.split.in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv, .split .w > span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1060px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .hero-grid { grid-template-columns: 1fr; } .hero-logo { display: none; }
  .showcase { grid-template-columns: 1fr; } .showcase-media { min-height: 320px; }
  .feature, .contact-grid { grid-template-columns: 1fr; } .feature:nth-child(even) .feature-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .numbers, .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; } .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 880px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; padding: 18px 24px 32px; gap: 2px;
    background: rgba(6, 10, 20, .97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    transform: translateY(-14px); opacity: 0; visibility: hidden; transition: .4s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 16px 12px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a::after { display: none; }
  .nav-right .btn { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .lightbox { padding: 70px 14px 30px; } .lb-prev { left: 6px; top: auto; bottom: 14px; } .lb-next { right: 6px; top: auto; bottom: 14px; }
  .hero { padding-bottom: 60px; } .hero-stats > div { padding: 18px 16px; }
  .sub-brand span { display: none; } .subnav { top: 76px; } .subnav .sub-cta { display: none; }
}
