/* Studio NoraGames — thème repris de base.html (NoraMusic) */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --acc: 255 0 85;
  --acc2: 255 42 109;
  --acc3: 255 78 128;
  --bg: 8 2 5;
  --dark: 13 2 6;
  --card: 20 4 9;
  --hover: 40 15 27;
  --light: 224 184 200;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  color: #fff;
  background: rgb(var(--bg));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 15% 0%, rgb(var(--acc) / .22), transparent 70%),
    radial-gradient(50% 45% at 90% 20%, rgb(var(--acc2) / .12), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgb(var(--acc) / .10), transparent 70%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgb(var(--acc) / .45); color: #fff; }
:focus-visible { outline: 2px solid rgb(var(--acc)); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin: 0 auto; }

/* ── Barre du haut ── */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(18px);
  background: rgb(var(--bg) / .6);
  border-bottom: 1px solid rgb(255 255 255 / .06);
}
.nav .wrap { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; letter-spacing: -.02em; font-size: 1.1rem; }
.brand img { width: 34px; height: 34px; }
.nav .links { margin-left: auto; display: flex; gap: .35rem; flex-wrap: wrap; }
.nav .links a {
  padding: .5rem .95rem; border-radius: 9999px; font-weight: 700; font-size: .9rem;
  color: rgb(var(--light)); transition: background .2s, color .2s;
}
.nav .links a:hover, .nav .links a.on { background: rgb(var(--hover)); color: #fff; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 9999px;
  font-weight: 800; font-size: 1rem; border: 0; cursor: pointer;
  transition: transform .2s, filter .2s, background .2s, border-color .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.btn-main { background: rgb(var(--acc)); color: #fff; box-shadow: 0 14px 34px -12px rgb(var(--acc) / .9); }
.btn-main:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-ghost { background: rgb(255 255 255 / .06); color: #fff; border: 1.5px solid rgb(255 255 255 / .14); }
.btn-ghost:hover { border-color: rgb(var(--acc) / .6); background: rgb(var(--acc) / .12); transform: translateY(-2px); }
.btn small { font-weight: 600; opacity: .8; font-size: .8rem; }

/* ── Héros ── */
.hero { padding: 6rem 0 4rem; text-align: center; position: relative; }
.hero .logo { width: min(260px, 60vw); margin: 0 auto 1.5rem; filter: drop-shadow(0 0 40px rgb(var(--acc) / .45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: 9999px; margin-bottom: 1.2rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: rgb(var(--acc3)); background: rgb(var(--acc) / .12); border: 1px solid rgb(var(--acc) / .35);
}
h1 {
  margin: 0; font-weight: 800; letter-spacing: -.04em; line-height: .95;
  font-size: clamp(3rem, 9vw, 6.5rem);
  background: linear-gradient(180deg, #fff 35%, rgb(var(--acc3)) 140%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 640px; margin: 1.4rem auto 2.2rem; font-size: 1.15rem; line-height: 1.6; color: rgb(var(--light)); }
.actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.meta { margin-top: 1rem; font-size: .85rem; color: rgb(var(--light) / .75); }

/* ── Sections ── */
section { padding: 3.5rem 0; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 .6rem; }
.sub { color: rgb(var(--light)); margin: 0 0 2rem; line-height: 1.6; }

.card {
  border-radius: var(--radius); padding: 1.6rem;
  background: linear-gradient(145deg, rgb(var(--card) / .85), rgb(var(--dark) / .55));
  border: 1px solid rgb(255 255 255 / .07);
  box-shadow: 0 24px 70px -38px rgb(0 0 0 / .9);
}
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feat { transition: transform .25s, border-color .25s; }
.feat:hover { transform: translateY(-4px); border-color: rgb(var(--acc) / .4); }
.feat .ic {
  width: 2.6rem; height: 2.6rem; border-radius: .9rem; display: grid; place-items: center; margin-bottom: 1rem;
  color: rgb(var(--acc3)); background: rgb(var(--acc) / .14);
}
.feat .ic svg { width: 1.3rem; height: 1.3rem; }
.feat h3 { margin: 0 0 .4rem; font-size: 1.08rem; font-weight: 800; }
.feat p { margin: 0; color: rgb(var(--light)); line-height: 1.55; font-size: .95rem; }

/* ── Jeu mis en avant (page studio) ── */
.game {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center;
  padding: 2rem; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgb(var(--acc) / .2), rgb(255 255 255 / .03) 60%);
  border: 1px solid rgb(var(--acc) / .3);
}
.game::before { content: ""; position: absolute; right: -6rem; top: -6rem; width: 18rem; height: 18rem; border-radius: 50%; background: rgb(var(--acc) / .25); filter: blur(70px); }
.game img.shot { border-radius: 18px; box-shadow: 0 30px 60px -25px rgb(0 0 0 / .9); position: relative; }
.game .txt { position: relative; }
.game h3 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; margin: .3rem 0 .6rem; }
.game p { color: rgb(var(--light)); line-height: 1.6; margin: 0 0 1.4rem; }
.tags { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.tag { padding: .35rem .75rem; border-radius: 9999px; font-size: .75rem; font-weight: 700; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .1); }

/* ── Galerie ── */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.shots figure { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgb(255 255 255 / .08); background: rgb(var(--card)); }
.shots img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .4s; }
.shots figure:hover img { transform: scale(1.04); }
.shots figcaption { padding: .8rem 1rem; font-size: .85rem; font-weight: 700; color: rgb(var(--light)); }

/* ── Étapes ── */
.steps { counter-reset: s; display: grid; gap: .8rem; }
.steps li { list-style: none; counter-increment: s; display: flex; gap: 1rem; align-items: flex-start; line-height: 1.55; color: rgb(var(--light)); }
.steps li::before {
  content: counter(s); flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: rgb(var(--acc));
}
.steps b { color: #fff; }
.note { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 18px; font-size: .9rem; line-height: 1.55; color: rgb(var(--light)); background: rgb(var(--acc) / .08); border: 1px solid rgb(var(--acc) / .25); }

/* ── Texte long (conditions) ── */
.legal h3 { margin: 1.8rem 0 .5rem; font-size: 1.1rem; }
.legal p, .legal li { color: rgb(var(--light)); line-height: 1.65; }
.legal ul { padding-left: 1.2rem; }

/* ── Pied de page ── */
footer { padding: 3rem 0; margin-top: 2rem; border-top: 1px solid rgb(255 255 255 / .06); color: rgb(var(--light) / .7); font-size: .85rem; }
footer .wrap { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
footer .links { margin-left: auto; display: flex; gap: 1.2rem; }
footer a:hover { color: #fff; }

.reveal { animation: up .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } }

@media (max-width: 820px) {
  .game { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .nav .links a { padding: .45rem .7rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }
