/* Cartouches Club · le site (01/12/2026). Un seul fond (encre), le jaune acide par touches, le vert en appui, le magenta pour les annonces. */
@font-face { font-family: Anton; src: url(../fonts/anton-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Pixel; src: url(../fonts/press-start-2p-latin-400-normal.woff2) format('woff2'); font-display: swap; }

:root {
  --encre: #050C0B; --profond: #0B1614; --jaune: #C7EB6B; --vert: #2E8C7A; --magenta: #FF3E7F; --blanc: #EEF3EC;
  --titre: Anton, 'Arial Narrow', sans-serif; --texte: Archivo, system-ui, sans-serif; --pixel: Pixel, monospace;
  --marge: clamp(20px, 6vw, 96px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--encre); color: var(--blanc); font-family: var(--texte); font-size: clamp(16px, 1.15vw, 19px); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Les petites briques ---- */
.tag { font-family: var(--pixel); font-size: 11px; letter-spacing: .08em; color: var(--vert); text-transform: uppercase; }
.titre { font-family: var(--titre); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; margin: 0; text-wrap: balance; }
.titre em { font-style: normal; color: var(--jaune); }
.bouton { display: inline-flex; align-items: center; gap: .6em; font-family: var(--titre); text-transform: uppercase; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: .03em; padding: .7em 1.3em .65em; border: 3px solid var(--jaune); color: var(--encre); background: var(--jaune); text-decoration: none; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: transform .2s ease, background .2s; cursor: pointer; }
.bouton:hover { transform: translateY(-3px) rotate(-1deg); }
.bouton.creux { background: transparent; color: var(--jaune); }
.bouton.creux:hover { background: rgba(199, 235, 107, .1); }
.mot { display: inline-block; opacity: 0; transform: scale(1.6) rotate(-4deg); }
.vu .mot { animation: tampon .32s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes tampon { to { opacity: 1; transform: scale(1) rotate(0); } }
.apparait { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.vu .apparait, .apparait.vu { opacity: 1; transform: none; }

/* ---- La barre du haut ---- */
.barre { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--marge); pointer-events: none; }
.barre > * { pointer-events: auto; }
.barre .marque { width: 120px; transition: opacity .3s, transform .3s; opacity: 0; transform: translateY(-10px); }
.defile .barre .marque { opacity: 1; transform: none; }
.barre { transition: background .3s; }
.defile .barre { background: linear-gradient(180deg, rgba(5, 12, 11, .92) 55%, rgba(5, 12, 11, 0)); }
.barre nav { display: flex; gap: 28px; align-items: center; font-family: var(--titre); text-transform: uppercase; font-size: 18px; letter-spacing: .04em; }
.barre nav a { text-decoration: none; opacity: .8; }
.barre nav a:hover { opacity: 1; color: var(--jaune); }
.barre nav .bouton { font-size: 16px; padding: .55em 1em .5em; }

/* ---- 1 · L'arrivée ---- */
.arrivee { position: relative; min-height: 100svh; display: grid; place-items: center; padding: clamp(150px, 20svh, 210px) var(--marge) 90px; overflow: hidden; }
#poussiere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.arrivee .scene { position: relative; width: min(800px, 84vw, calc((100svh - 440px) * 1.9)); min-width: min(300px, 88vw); }
.etiquette { position: relative; transform: rotate(-2deg); }
.etiquette .logo { width: 100%; height: auto; position: relative; z-index: 2; opacity: 0; transform: scale(1.25) rotate(3deg); }
.pret .etiquette .logo { animation: frappe .45s cubic-bezier(.2, 1.5, .4, 1) .15s forwards; }
@keyframes frappe { 0% { opacity: 0; transform: scale(1.25) rotate(3deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
/* le Bandit passe la tête au-dessus du bord de l'étiquette, à gauche du coin coupé */
.cachette { position: absolute; z-index: 1; left: 58%; bottom: 99.4%; width: 26%; height: 70%; overflow: hidden; }
.cachette img { position: absolute; bottom: -2px; left: 0; width: 100%; transform: translateY(105%); transition: transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.pret .cachette img { transform: translateY(0); transition-delay: .9s; }
.pret .cachette.cache img { transform: translateY(105%); transition-delay: 0s; transition-duration: .18s; }
.arrivee .dire { margin-top: clamp(30px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.arrivee .phrase { font-family: var(--titre); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 46px); line-height: 1; margin: 0; max-width: 16ch; }
.arrivee .phrase span { color: var(--jaune); }
.arrivee .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.arrivee .tag { position: absolute; left: var(--marge); bottom: 28px; }
.arrivee .indice { left: auto; right: var(--marge); }

/* ---- 2 · L'étagère ---- */
.etagere { padding: clamp(90px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); position: relative; }
.etagere .entete { padding: 0 var(--marge); display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.etagere .titre { font-size: clamp(54px, 8vw, 132px); }
.etagere .entete p { max-width: 34ch; margin: 0; opacity: .8; }
.rayon { margin-top: clamp(50px, 7vw, 90px); display: flex; gap: clamp(18px, 2.4vw, 36px); padding: 40px var(--marge) 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: translateX(var(--glisse, 0)); }
.rayon::-webkit-scrollbar { display: none; }
.planche { margin: 0 var(--marge); height: 10px; background: var(--jaune); clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 6px 100%); opacity: .9; }
.cart { flex: 0 0 auto; width: clamp(200px, 19vw, 270px); aspect-ratio: 5 / 6; position: relative; scroll-snap-align: start; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); transform: translateY(14px); }
.cart:hover, .cart:focus-within { transform: translateY(-26px) rotate(-2deg); }
.cart .coque { position: absolute; inset: 0; background: var(--profond); border: 3px solid var(--blanc); border-radius: 22px 22px 10px 10px; }
.cart .coque::before { content: ''; position: absolute; top: 14px; left: 50%; width: 64px; height: 22px; transform: translateX(-50%); background: repeating-linear-gradient(90deg, var(--blanc) 0 6px, transparent 6px 14px); opacity: .9; }
.cart .lab { position: absolute; left: 14px; right: 14px; top: 54px; bottom: 16px; background: var(--c, var(--vert)); color: var(--encre); padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.cart .num { font-family: var(--titre); font-size: clamp(40px, 4vw, 58px); line-height: .9; }
.cart .nom { font-family: var(--titre); text-transform: uppercase; font-size: 20px; line-height: 1; }
.cart .etat { font-family: var(--pixel); font-size: 9px; letter-spacing: .06em; }
.cart.mystere .lab { background: repeating-linear-gradient(-45deg, #13221f 0 12px, #0f1b19 12px 24px); color: var(--blanc); }
.cart.mystere .num { opacity: .35; }
.cart.mystere .q { font-family: var(--titre); font-size: 90px; line-height: 1; color: var(--vert); align-self: center; }
.cart .tampon { position: absolute; right: -14px; top: 40%; z-index: 3; font-family: var(--titre); font-size: 20px; color: var(--magenta); border: 3px solid var(--magenta); padding: 6px 10px 4px; transform: rotate(-12deg); background: var(--encre); text-transform: uppercase; }

/* ---- 3 · Le Club ---- */
.club { position: relative; padding: clamp(100px, 14vw, 220px) var(--marge); }
.club .lignes { display: grid; gap: clamp(8px, 1.4vw, 18px); }
.club .ligne { font-size: clamp(64px, 11vw, 190px); }
.club .ligne:nth-child(1) { transform: rotate(-2deg); }
.club .ligne:nth-child(2) { margin-left: 18vw; transform: rotate(1.5deg); }
.club .ligne:nth-child(2) em { color: var(--magenta); }
.club .ligne:nth-child(3) { margin-left: 6vw; transform: rotate(-1deg); }
.club .texte { max-width: 40ch; margin: clamp(50px, 6vw, 90px) 0 0 auto; font-size: clamp(18px, 1.4vw, 22px); }
.club .salut { position: absolute; width: clamp(130px, 14vw, 220px); right: 6vw; top: 9vw; transform: rotate(8deg); }
.club .ruse { position: absolute; width: clamp(110px, 11vw, 170px); left: 4vw; bottom: 6vw; transform: rotate(-6deg); }

/* ---- 4 · Hors collection ---- */
.hors { position: relative; padding: clamp(60px, 8vw, 120px) var(--marge) clamp(110px, 14vw, 200px); }
.autocollant { position: relative; max-width: 1180px; margin: 0 auto; background: var(--vert); color: var(--encre); transform: rotate(-1.6deg); padding: clamp(18px, 2.4vw, 30px); display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.autocollant::before, .autocollant::after { content: ''; position: absolute; width: 120px; height: 34px; background: rgba(238, 243, 236, .55); top: -16px; }
.autocollant::before { left: 40px; transform: rotate(-6deg); }
.autocollant::after { right: 240px; transform: rotate(5deg); }
.autocollant video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--encre); }
.autocollant .tag { color: var(--encre); opacity: .75; }
.autocollant .titre { font-size: clamp(56px, 7vw, 110px); margin: 10px 0 14px; }
.autocollant p { margin: 0 0 22px; max-width: 36ch; }
.autocollant .bouton { background: var(--encre); color: var(--jaune); border-color: var(--encre); }
.autocollant .mention { display: block; margin-top: 18px; font-size: 13px; opacity: .75; }
.autocollant .bootleg { position: absolute; right: -22px; top: -26px; font-family: var(--titre); font-size: 22px; background: var(--magenta); color: var(--encre); padding: 8px 14px 6px; transform: rotate(9deg); text-transform: uppercase; }

/* ---- 5 · La carte de membre ---- */
.rejoindre { padding: clamp(90px, 12vw, 180px) var(--marge); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.rejoindre .titre { font-size: clamp(56px, 7.5vw, 124px); }
.rejoindre p { max-width: 38ch; opacity: .85; }
.rejoindre form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.rejoindre input { flex: 1 1 220px; font: inherit; font-size: 20px; padding: 14px 18px; border: 3px solid var(--blanc); background: transparent; color: var(--blanc); }
.rejoindre input:focus { outline: none; border-color: var(--jaune); }
.carte { position: relative; aspect-ratio: 1.586; background: var(--jaune); color: var(--encre); padding: clamp(18px, 2.6vw, 34px); transform: rotate(3deg); box-shadow: 18px 18px 0 var(--profond); display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.carte.neuve { animation: imprime .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes imprime { 0% { transform: rotate(3deg) translateY(40px) scale(.92); opacity: .2; } 100% { transform: rotate(3deg); opacity: 1; } }
.carte .haut { display: flex; justify-content: space-between; align-items: start; }
.carte .marque { font-family: var(--titre); font-size: clamp(30px, 3.4vw, 52px); line-height: .9; text-transform: uppercase; }
.carte img { width: clamp(70px, 8vw, 110px); }
.carte .pseudo { font-family: var(--titre); font-size: clamp(26px, 2.6vw, 40px); text-transform: uppercase; line-height: 1; }
.carte .numero { font-family: var(--pixel); font-size: clamp(10px, .9vw, 13px); margin-top: 8px; }
.carte .tampons { display: flex; gap: 10px; }
.carte .tampons span { width: 46px; height: 46px; border-radius: 50%; border: 2px dashed rgba(5, 12, 11, .45); display: grid; place-items: center; font-family: var(--pixel); font-size: 7px; opacity: .7; }
.rejoindre .partage { display: none; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.rejoindre .partage.vu { display: flex; }

/* ---- Pied de page ---- */
.pied { position: relative; padding: 40px var(--marge) 120px; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; border-top: 2px solid var(--profond); }
.pied .liens { display: flex; gap: 24px; font-family: var(--titre); text-transform: uppercase; }
.pied .liens a { text-decoration: none; opacity: .8; }
.pied small { display: block; opacity: .55; margin-top: 10px; }
.dodo { position: relative; width: 170px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.dodo img { width: 100%; transition: transform .2s; }
.dodo .reveil { position: absolute; inset: 0; opacity: 0; }
.dodo.souffle .reveil { opacity: 1; }
.dodo.souffle .dort { opacity: 0; }
.dodo .jauge { position: absolute; left: 10%; right: 10%; bottom: -12px; height: 4px; background: var(--profond); }
.dodo .jauge i { display: block; height: 100%; width: 0; background: var(--jaune); }
.secret { position: absolute; right: var(--marge); bottom: 230px; max-width: 30ch; background: var(--jaune); color: var(--encre); font-family: var(--titre); text-transform: uppercase; font-size: 22px; line-height: 1.05; padding: 14px 18px; transform: rotate(-3deg) scale(.6); opacity: 0; pointer-events: none; transition: .35s cubic-bezier(.3, 1.5, .5, 1); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.secret.vu { opacity: 1; transform: rotate(-3deg); }

/* ---- La barre du bas, sur téléphone ---- */
.barre-bas { display: none; }

@media (max-width: 820px) {
  .barre nav { display: none; }
  .barre .marque { width: 96px; }
  .barre-bas { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 22, 20, .94); backdrop-filter: blur(8px); border: 2px solid #1c2e2a; font-family: var(--titre); text-transform: uppercase; font-size: 17px; }
  .barre-bas a { text-decoration: none; padding: 14px 8px 12px; text-align: center; }
  .barre-bas a:last-child { background: var(--jaune); color: var(--encre); }
  .arrivee { padding-top: 100px; }
  .arrivee .dire { flex-direction: column; align-items: start; }
  .arrivee .actions .creux { display: none; }
  .arrivee .tag, .arrivee .indice { display: none; }
  .cart { width: 62vw; }
  .club .salut { position: relative; display: block; width: 120px; top: auto; right: auto; margin: 0 0 24px auto; }
  .club .ruse { display: none; }
  .club .ligne:nth-child(2) { margin-left: 8vw; }
  .autocollant { grid-template-columns: 1fr; transform: rotate(-1deg); }
  .autocollant .bootleg { right: 6px; }
  .rejoindre { grid-template-columns: 1fr; }
  .carte { transform: rotate(2deg); }
  .pied { padding-bottom: 130px; }
  .secret { bottom: 260px; left: var(--marge); right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .mot, .apparait, .etiquette .logo { opacity: 1 !important; transform: none !important; }
}
