/* ============================================================
   HAWKINS GAMES — l'identité du hub
   Un site de jeu : des couleurs franches, des contours épais,
   des boutons qu'on a envie d'écraser. Barz Life garde son or
   et son noir dans sa propre carte.
   ============================================================ */
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/lilita-one-latin.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(fonts/nunito-latin.woff2) format("woff2"); }

:root {
  --ink: #1b1340;          /* l'encre : contours, ombres, texte sur clair */
  --violet: #5b2ee8;
  --violet2: #7a4bff;
  --nuit: #2a1a7a;
  --jaune: #ffd23f;
  --rose: #ff5fa2;
  --menthe: #39e0a5;
  --ciel: #5ec8ff;
  --papier: #fffaf0;
  --tx: #ffffff;
  --tx2: #e4dcff;
  --b: 4px;                /* épaisseur des contours */
  --r: 22px;
  --titre: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --corps: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 5vw, 40px);
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--tx); font: 600 16px/1.55 var(--corps); overflow-x: hidden;
  background-color: var(--violet);
  /* un papier peint de griffonnages, très léger */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 40l6 12 13 2-9 9 2 13-12-6-12 6 2-13-9-9 13-2z'/%3E%3Cpath d='M150 30c10 0 10 14 20 14s10-14 20-14'/%3E%3Ccircle cx='200' cy='110' r='12'/%3E%3Cpath d='M60 150v-26l22-5v26'/%3E%3Ccircle cx='55' cy='151' r='6'/%3E%3Ccircle cx='77' cy='146' r='6'/%3E%3Cpath d='M140 180h40M160 160v40'/%3E%3Crect x='96' y='84' width='34' height='22' rx='8'/%3E%3Cpath d='M20 210c12-8 24 8 36 0'/%3E%3C/svg%3E"),
    radial-gradient(120% 80% at 50% 0%, var(--violet2), var(--violet) 55%, #4320c4);
  background-attachment: fixed, fixed;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--jaune); color: var(--ink); }
:focus-visible { outline: 4px solid var(--jaune); outline-offset: 3px; border-radius: 12px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--jaune); color: var(--ink); padding: 10px 14px; border-radius: 12px; font-weight: 800; text-decoration: none; border: var(--b) solid var(--ink); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; margin: 0; line-height: 1; letter-spacing: .01em; }

/* ---------- le logo : un badge et un mot épais ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tx); }
.logo-m { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 3px 0 var(--ink)); }
.logo-w { font-family: var(--titre); font-size: 22px; line-height: .9; letter-spacing: .02em; white-space: nowrap;
  text-shadow: 0 3px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink); }
.logo-w span { color: var(--jaune); }

/* ---------- les boutons : épais, une ombre en dessous, ça s'enfonce au clic ---------- */
.btn {
  --fond: var(--papier); --txt: var(--ink); --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 16px;
  font: 400 19px/1 var(--titre); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  color: var(--txt); background: var(--fond); border: var(--b) solid var(--ink);
  box-shadow: 0 6px 0 var(--ink); transform: translateY(0);
  transition: transform .12s ease, box-shadow .12s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); filter: brightness(1.04); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }
.btn-play { --fond: var(--jaune); }
.btn-big { --h: 68px; padding: 0 34px; font-size: 26px; border-radius: 20px; }
.btn-s { --h: 44px; padding: 0 16px; font-size: 16px; border-radius: 14px; box-shadow: 0 4px 0 var(--ink); }
.btn-s:hover { box-shadow: 0 6px 0 var(--ink); }
.btn-s:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn .ico { width: 22px; height: 22px; flex: none; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 10px 0; transition: background-color .2s ease, box-shadow .2s ease; }
.nav.scrolled { background: rgba(67, 32, 196, .92); box-shadow: 0 4px 0 rgba(27, 19, 64, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-links { display: none; gap: 6px; list-style: none; margin: 0 0 0 18px; padding: 0; }
.nav-links a { display: inline-block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 15px; color: var(--tx2); transition: background-color .15s ease, color .15s ease; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-l { display: flex; align-items: center; min-width: 0; }
.nav-cta-long { display: none; }
@media (min-width: 720px) { .nav-links { display: flex; } .nav-cta-long { display: inline; } .nav-cta-court { display: none; } }
@media (max-width: 380px) { .logo-w { font-size: 19px; } .logo-m { width: 36px; height: 36px; } }

/* ---------- l'accueil ---------- */
.hero { padding: clamp(28px, 7vh, 72px) 0 clamp(40px, 8vh, 80px); text-align: center; }
.hero-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.hero-badge { width: clamp(84px, 16vw, 120px); height: auto; filter: drop-shadow(0 6px 0 var(--ink)); transform: rotate(-6deg); }
.hero h1 { font-size: clamp(52px, 13vw, 132px); line-height: .88; letter-spacing: .01em;
  text-shadow: 0 8px 0 var(--ink), 4px 0 0 var(--ink), -4px 0 0 var(--ink), 0 -4px 0 var(--ink), 4px 4px 0 var(--ink), -4px 4px 0 var(--ink), 4px -4px 0 var(--ink), -4px -4px 0 var(--ink); }
.hero h1 span { display: block; color: var(--jaune); font-size: .62em; margin-top: .06em; }
.ruban { display: inline-block; margin-top: 22px; padding: 8px 18px; border-radius: 12px; transform: rotate(-2deg);
  background: var(--rose); color: #fff; border: var(--b) solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  font: 400 clamp(18px, 3.4vw, 26px)/1.1 var(--titre); letter-spacing: .04em; text-transform: uppercase; }
.hero-sub { margin: 24px auto 0; max-width: 30ch; font-size: clamp(17px, 2.4vw, 20px); font-weight: 700; color: var(--tx2); }
.hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-note { font-size: 14px; font-weight: 800; color: var(--tx2); display: inline-flex; align-items: center; gap: 8px; }
.pastille { width: 10px; height: 10px; border-radius: 50%; background: var(--menthe); border: 2px solid var(--ink); flex: none; }

/* ---------- les panneaux : papier, contour, ombre franche ---------- */
.panneau { position: relative; background: var(--papier); color: var(--ink); border: var(--b) solid var(--ink); border-radius: var(--r); box-shadow: 0 10px 0 var(--ink); }
.titre-sec { text-align: center; margin-bottom: 28px; }
.titre-sec h2 { font-size: clamp(34px, 6.4vw, 56px); text-shadow: 0 5px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink); }
.titre-sec p { margin: 10px 0 0; color: var(--tx2); font-weight: 700; }
.sec { padding: clamp(36px, 7vw, 72px) 0; }

/* ---------- la carte Barz Life ---------- */
.jeu { display: grid; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.jeu:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 14px 0 var(--ink); }
.jeu-v { position: relative; overflow: hidden; background: #0b0a0c; border-bottom: var(--b) solid var(--ink); aspect-ratio: 16 / 11; isolation: isolate; }
.jeu-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .4s ease; }
.jeu:hover .jeu-cover { transform: scale(1.04); }
.tel { position: absolute; left: 50%; bottom: -58%; width: min(52%, 250px); transform: translateX(-50%) rotate(-5deg);
  border-radius: 28px; padding: 6px; background: #050505; border: 3px solid var(--ink); box-shadow: 0 0 0 3px rgba(255, 255, 255, .14), 0 24px 40px -18px #000; transition: transform .3s ease; }
.tel img { width: 100%; height: auto; border-radius: 22px; }
.jeu:hover .tel { transform: translateX(-50%) rotate(-3deg) translateY(-8px); }
.sticker { position: absolute; z-index: 2; top: 16px; left: 16px; transform: rotate(-6deg);
  background: var(--menthe); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 0 4px 0 var(--ink);
  padding: 6px 12px; font: 400 16px/1 var(--titre); letter-spacing: .05em; text-transform: uppercase; }
.jeu-t { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.jeu-genre { align-self: flex-start; font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6a5aa8; }
.jeu-n { font-size: clamp(46px, 9vw, 78px); line-height: .9; color: var(--ink); }
.jeu-n span { color: #e6a417; }
.jeu-tag { margin: 0; font-weight: 900; font-size: clamp(18px, 2.6vw, 22px); line-height: 1.3; }
.jeu-d { margin: 0; color: #4a4170; font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 2px 0 0; padding: 0; }
.facts li { font-size: 13px; font-weight: 900; padding: 6px 12px; border-radius: 999px; border: 3px solid var(--ink); background: #fff; }
.facts li:nth-child(4n+1) { background: #fff1b8; } .facts li:nth-child(4n+2) { background: #d6f7ff; } .facts li:nth-child(4n+3) { background: #ffd9ea; } .facts li:nth-child(4n+4) { background: #d4f9ea; }
.jeu-cta { margin-top: 8px; }
@media (min-width: 880px) {
  .jeu { grid-template-columns: 1.1fr 1fr; }
  .jeu-v { order: 2; aspect-ratio: auto; min-height: 500px; border-bottom: 0; border-left: var(--b) solid var(--ink); }
  .tel { bottom: -18%; width: min(58%, 280px); }
  .jeu-t { justify-content: center; }
}

/* ---------- la boîte mystère ---------- */
.mystere { margin-top: clamp(34px, 6vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; padding: clamp(20px, 4vw, 30px);
  background: var(--nuit); color: #fff; border-style: dashed; }
.mystere .boite { width: clamp(72px, 14vw, 96px); height: auto; transform: rotate(-8deg); filter: drop-shadow(0 5px 0 var(--ink)); transition: transform .25s ease; }
.mystere:hover .boite { transform: rotate(4deg) translateY(-3px); }
.mystere h2 { font-size: clamp(28px, 5vw, 42px); color: var(--jaune); text-shadow: 0 4px 0 var(--ink); }
.mystere p { margin: 6px 0 0; color: var(--tx2); font-weight: 700; }
@media (max-width: 420px) { .mystere { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- le studio, en trois bulles ---------- */
.bulles { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .bulles { grid-template-columns: repeat(3, 1fr); } }
.bulle { padding: 22px 20px 20px; text-align: center; }
.bulle:nth-child(1) { transform: rotate(-1.2deg); } .bulle:nth-child(2) { transform: rotate(.8deg); } .bulle:nth-child(3) { transform: rotate(-.6deg); }
.bulle .ic { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 16px; border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: 0 4px 0 var(--ink); }
.bulle .ic svg { width: 30px; height: 30px; }
.bulle:nth-child(1) .ic { background: var(--jaune); } .bulle:nth-child(2) .ic { background: var(--rose); } .bulle:nth-child(3) .ic { background: var(--ciel); }
.bulle h3 { font-size: 24px; color: var(--ink); }
.bulle p { margin: 6px 0 0; color: #4a4170; font-weight: 700; font-size: 15px; }

/* ---------- pied de page ---------- */
.foot { margin-top: clamp(20px, 5vw, 48px); background: var(--ink); color: var(--tx2); padding: 40px 0 28px; font-size: 14px; border-top: var(--b) solid #120c2e; }
.foot-g { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.foot p { margin: 12px 0 0; max-width: 32ch; font-weight: 600; }
.foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot nav a { display: inline-block; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 800; }
.foot nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.foot-nav { display: grid; gap: 10px; }
.foot-b { margin-top: 28px; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; font-size: 13px; color: #a89fd0; }

/* ---------- pages simples (mentions, 404) ---------- */
.doc-w { padding-top: clamp(24px, 6vw, 56px); padding-bottom: 56px; max-width: 820px; }
.doc { padding: clamp(22px, 5vw, 44px); }
.doc h1 { font-size: clamp(34px, 7vw, 54px); color: var(--ink); margin-bottom: 18px; }
.doc h2 { font-family: var(--corps); font-weight: 900; font-size: 19px; margin: 28px 0 8px; color: var(--ink); }
.doc p, .doc li { color: #3e3566; }
.doc a { color: var(--violet); font-weight: 800; }

/* ---------- mouvement ---------- */
@keyframes pop { from { opacity: 0; transform: scale(.88) translateY(10px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
